修改状态插槽组件

This commit is contained in:
fengachen
2021-09-01 10:56:58 +08:00
parent a8f6fe97d1
commit 1f6f8d00ed
2 changed files with 44 additions and 35 deletions
@@ -93,6 +93,10 @@
</template>
<template slot="status" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text" :status-type="true"></status-slot>
</template>
<template slot="status-pack" slot-scope="text,record">
<status-slot :statu-obj="record" :status-no="text"></status-slot>
</template>
@@ -167,13 +171,13 @@ export default {
title: '打包',
align: "center",
dataIndex: 'pack',
scopedSlots: {customRender: 'status'}
scopedSlots: {customRender: 'status-pack'}
},
{
title: '需要发票',
align: "center",
dataIndex: 'needInvoice',
scopedSlots: {customRender: 'status'}
scopedSlots: {customRender: 'status-pack'}
},
{
title: '到账',