diff --git a/src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts b/src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts index 487282f3a..2ddf27dce 100644 --- a/src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts +++ b/src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts @@ -380,6 +380,25 @@ export const ScrapRecordMain = useCrudSchemas( width: 150 } }, + { + label: '是否已撤销', + field: 'revokeFlag', + sort: 'custom', + dictType: DICT_TYPE.TRUE_FALSE, + table: { + width: 150 + }, + detail:{ + // dictType:'primary', + // valueFilter:(value)=>{ + // if(value=='TRUE'){ + // return `是` + // }else{ + // return '否' + // } + // } + } + }, { label: '创建时间', field: 'createTime', @@ -462,22 +481,6 @@ export const ScrapRecordMain = useCrudSchemas( // width: 150 // }, // }, - { - label: '是否可用', - field: 'available', - dictType: DICT_TYPE.TRUE_FALSE, - dictClass: 'string', - isSearch: false, - isTable: true, - form: { - component: 'Switch', - value: 'TRUE', - componentProps: { - inactiveValue: 'FALSE', - activeValue: 'TRUE' - } - } - }, { label: '操作', field: 'action', @@ -732,6 +735,24 @@ export const ScrapRecordDetail = useCrudSchemas(reactive([ width: 150 }, }, + { + label: '是否已撤销', + field: 'revokeFlag', + sort: 'custom', + table: { + width: 150 + }, + detail:{ + dictType:'primary', + valueFilter:(value)=>{ + if(value=='TRUE'){ + return `是` + }else{ + return '否' + } + } + } + }, { label: '接口类型', field: 'interfaceType', diff --git a/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRecordMain/unplannedissueRecordMain.data.ts b/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRecordMain/unplannedissueRecordMain.data.ts index 559cf7f47..d1100c8fa 100644 --- a/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRecordMain/unplannedissueRecordMain.data.ts +++ b/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRecordMain/unplannedissueRecordMain.data.ts @@ -382,6 +382,25 @@ export const UnplannedissueRecordMain = useCrudSchemas(reactive([ }, isTable: false, }, + { + label: '是否已撤销', + field: 'revokeFlag', + sort: 'custom', + dictType: DICT_TYPE.TRUE_FALSE, + table: { + width: 150 + }, + detail:{ + // dictType:'primary', + // valueFilter:(value)=>{ + // if(value=='TRUE'){ + // return `是` + // }else{ + // return '否' + // } + // } + } + }, { label: '创建时间', field: 'createTime', diff --git a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRecordMain/unplannedreceiptRecordMain.data.ts b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRecordMain/unplannedreceiptRecordMain.data.ts index 8d03144d5..ab00714be 100644 --- a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRecordMain/unplannedreceiptRecordMain.data.ts +++ b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRecordMain/unplannedreceiptRecordMain.data.ts @@ -366,6 +366,25 @@ export const UnplannedreceiptRecordMain = useCrudSchemas(reactive( width: 150 } }, + { + label: '是否已撤销', + field: 'revokeFlag', + sort: 'custom', + dictType: DICT_TYPE.TRUE_FALSE, + table: { + width: 150 + }, + detail:{ + // dictType:'primary', + // valueFilter:(value)=>{ + // if(value=='TRUE'){ + // return `是` + // }else{ + // return '否' + // } + // } + } + }, { label: '创建时间', field: 'createTime', @@ -820,6 +839,7 @@ export const UnplannedreceiptRecordDetail = useCrudSchemas(reactive{ + // if(value=='TRUE'){ + // return `是` + // }else{ + // return '否' + // } + // } + } + }, { label: '创建者', field: 'creator',