优化:资金流程列表显示内容
This commit is contained in:
parent
b329b072d6
commit
dcab393e19
|
|
@ -277,7 +277,9 @@ export function transactionTypeFilter(type) {
|
|||
'brokerage_two': '二级分佣',
|
||||
'refund_brokerage_one': '返还一级分佣',
|
||||
'refund_brokerage_two': '返还二级分佣',
|
||||
'order': '订单支付'
|
||||
'order': '订单支付',
|
||||
'supplier_mer': '供应商提成',
|
||||
'province_mer': '省公司门店提成'
|
||||
}
|
||||
return typeMap[type]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,27 +45,27 @@
|
|||
</div>
|
||||
<cards-data :card-lists="cardLists" />
|
||||
<el-table v-loading="listLoading" :data="tableData.data" style="width: 100%" size="mini">
|
||||
<el-table-column label="订单号" min-width="200">
|
||||
<el-table-column label="订单号" min-width="200" align="center">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.financial_type != 'mer_accoubts'">{{ scope.row.order_sn }}</span>
|
||||
<span v-else>{{ scope.row.financial_record_sn }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="financial_record_sn" label="交易流水号" min-width="200" />
|
||||
<el-table-column prop="create_time" label="交易时间" min-width="200" sortable />
|
||||
<el-table-column prop="user_info" label="对方信息" min-width="150" />
|
||||
<el-table-column label="交易类型" min-width="100">
|
||||
<el-table-column prop="financial_record_sn" label="交易流水号" min-width="200" align="center" />
|
||||
<el-table-column prop="create_time" label="交易时间" min-width="200" align="center" sortable />
|
||||
<el-table-column prop="user_info" label="对方信息" min-width="150" align="center" />
|
||||
<el-table-column label="交易类型" min-width="150" align="center">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.financial_type | transactionTypeFilter }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="收支金额(元)" min-width="150">
|
||||
<el-table-column label="收支金额(元)" min-width="150" align="center">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.financial_pm === 1 ? scope.row.number : -scope.row.number }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" min-width="150" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
<el-table-column label="操作" min-width="150" fixed="right" align="center">
|
||||
<template slot-scope="scope" v-if="scope.row.financial_type != 'supplier_mer' && scope.row.financial_type != 'province_mer'">
|
||||
<router-link v-if="scope.row.financial_type == 'mer_accoubts'" :to=" { path:`${roterPre}` + '/accounts/reconciliation?reconciliation_id='+scope.row.order_id } ">
|
||||
<el-button type="text" size="small" class="mr10">详情</el-button>
|
||||
</router-link>
|
||||
|
|
|
|||
Loading…
Reference in New Issue