|
@@ -129,10 +129,30 @@
|
|
|
<template v-else-if="['createTime','udpateTime'].includes(field.prop)">
|
|
<template v-else-if="['createTime','udpateTime'].includes(field.prop)">
|
|
|
{{ u.fmt.fmtDateTime(row[field.prop]) }}
|
|
{{ u.fmt.fmtDateTime(row[field.prop]) }}
|
|
|
</template>
|
|
</template>
|
|
|
|
|
+ <template v-else-if="'toStationId'===field.prop">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ {{ row.toStationId }}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <hr/>
|
|
|
|
|
+ <div>
|
|
|
|
|
+ {{ row.toStationName }}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template v-else-if="'fromStationId'===field.prop">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ {{ row.fromStationId }}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <hr/>
|
|
|
|
|
+ <div>
|
|
|
|
|
+ {{ row.fromStationName }}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </template>
|
|
|
<template v-else>
|
|
<template v-else>
|
|
|
<div>{{ row[field.prop] }}</div>
|
|
<div>{{ row[field.prop] }}</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
</el-table>
|
|
</el-table>
|
|
@@ -184,12 +204,12 @@ const state = reactive({
|
|
|
exportConfig: {},
|
|
exportConfig: {},
|
|
|
columns: [
|
|
columns: [
|
|
|
// {type: 'selection', width: 60, align: 'center', fixed: 'left'},
|
|
// {type: 'selection', width: 60, align: 'center', fixed: 'left'},
|
|
|
- {label: '入账站点ID', width: 180, prop: 'toStationId', query: true, type: 'text', resizable: true, fixed: 'left'},
|
|
|
|
|
- {label: '出账站点ID', width: 180, prop: 'fromStationId', query: true, type: 'text', resizable: true, fixed: 'left'},
|
|
|
|
|
- {label: '状态', prop: 'status', sortable: 'custom', align: 'center', query: true, width: 120, conf: {dict: 'SplitRecord.status'}},
|
|
|
|
|
- {label: '分账交易金额(分)', width: 180, prop: 'amount', query: true, type: '', resizable: true},
|
|
|
|
|
|
|
+ {label: '入账站点ID/名称', prop: 'toStationId', width: 200,align:'center', resizable: true, fixed: 'left'},
|
|
|
|
|
+ {label: '出账站点ID/名称', prop: 'fromStationId', width: 200,align:'center', resizable: true, fixed: 'left'},
|
|
|
|
|
+ // {label: '状态', prop: 'status', sortable: 'custom', align: 'center', query: true, width: 120, conf: {dict: 'SplitRecord.status'}},
|
|
|
|
|
+ {label: '分账交易金额(元)', width: 180, prop: 'amount', query: true, type: '', resizable: true},
|
|
|
{label: '分账交易流水号', width: 280, prop: 'tradeNo', query: true, type: 'text', resizable: true},
|
|
{label: '分账交易流水号', width: 280, prop: 'tradeNo', query: true, type: 'text', resizable: true},
|
|
|
- {label: '交易类型', width: 180, prop: 'type', query: true, type: '', resizable: true},
|
|
|
|
|
|
|
+ {label: '交易类型', width: 130, prop: 'type', query: true, type: '', resizable: true},
|
|
|
{label: '创建时间', width: 180, prop: 'createTime', query: true, sortable: 'custom', type: 'datetime', resizable: true, conf: {format: (val: any) => u.fmt.fmtDate(val)}},
|
|
{label: '创建时间', width: 180, prop: 'createTime', query: true, sortable: 'custom', type: 'datetime', resizable: true, conf: {format: (val: any) => u.fmt.fmtDate(val)}},
|
|
|
{label: '更新时间', width: 180, prop: 'updateTime', query: true, sortable: 'custom', type: 'datetime', resizable: true, conf: {format: (val: any) => u.fmt.fmtDate(val)}},
|
|
{label: '更新时间', width: 180, prop: 'updateTime', query: true, sortable: 'custom', type: 'datetime', resizable: true, conf: {format: (val: any) => u.fmt.fmtDate(val)}},
|
|
|
],
|
|
],
|
|
@@ -268,4 +288,4 @@ const handleRowDelete = (row: any) => {
|
|
|
// defineExpose({
|
|
// defineExpose({
|
|
|
// loadData,
|
|
// loadData,
|
|
|
// });
|
|
// });
|
|
|
-</script>
|
|
|
|
|
|
|
+</script>
|