|
@@ -98,6 +98,10 @@
|
|
|
<template slot="salesReturnNo" slot-scope="text, record">
|
|
|
<span style="color: #ed1c24;cursor: pointer;" @click="handleDetail(record)">{{ record.salesReturnNo }}</span>
|
|
|
</template>
|
|
|
+ <!-- 财务状态 -->
|
|
|
+ <template slot="financialStatus" slot-scope="text, record">
|
|
|
+ <a-badge :color="text=='FINISH'?'#87d068':'gold'" :text="record.settleStateDictValue" />
|
|
|
+ </template>
|
|
|
<!-- 操作 -->
|
|
|
<template slot="action" slot-scope="text, record">
|
|
|
<a-button
|
|
@@ -173,7 +177,8 @@ export default {
|
|
|
{ title: '退款总金额', dataIndex: 'totalAmount', width: 110, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
{ title: '是否抓单', dataIndex: 'grabFlag', width: 100, align: 'center', customRender: function (text) { return ['否', '是'][text] } },
|
|
|
{ title: '审核时间', dataIndex: 'auditTime', width: 160, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
- { title: '状态', dataIndex: 'stateDictValue', width: 110, align: 'center' },
|
|
|
+ { title: '业务状态', dataIndex: 'stateDictValue', width: 110, align: 'center' },
|
|
|
+ { title: '财务状态', dataIndex: 'settleStateDictValue', scopedSlots: { customRender: 'financialStatus' }, width: 110, align: 'center' },
|
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: 220, align: 'center', fixed: 'right' }
|
|
|
],
|
|
|
// 加载数据方法 必须为 Promise 对象
|