|
@@ -71,6 +71,9 @@
|
|
|
<template>
|
|
|
</template>
|
|
|
</span>
|
|
|
+ <template #detailStatus="text">
|
|
|
+ <badge :text="BaseTool.Object.getField(detailStatusMap,text)" :status="DictCache.COLOR.LONG_YAN_PURCHASE_DETAIL_STATUS[text]"/>
|
|
|
+ </template>
|
|
|
</s-table>
|
|
|
</div>
|
|
|
<!-- <purchase-dispatch-order ref="dispatchOrder" @ok="handleOk"/>-->
|
|
@@ -166,15 +169,6 @@ export default {
|
|
|
checked: true,
|
|
|
width: 150
|
|
|
},
|
|
|
- {
|
|
|
- title: '明细状态',
|
|
|
- width: 100,
|
|
|
- dataIndex: 'detailStatus',
|
|
|
- checked: true,
|
|
|
- customRender: (text, record, index) => {
|
|
|
- return this.BaseTool.Table.getMapText(this.detailStatusMap, text)
|
|
|
- }
|
|
|
- },
|
|
|
|
|
|
{
|
|
|
title: '创建人',
|
|
@@ -187,6 +181,14 @@ export default {
|
|
|
dataIndex: 'createdTime',
|
|
|
checked: true,
|
|
|
width: 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '明细状态',
|
|
|
+ width: 100,
|
|
|
+ dataIndex: 'detailStatus',
|
|
|
+ fixed: 'right',
|
|
|
+ checked: true,
|
|
|
+ scopedSlots: { customRender: 'detailStatus' }
|
|
|
}
|
|
|
// {
|
|
|
// title: '操作',
|