diff --git a/src/views/wms/productionManage/processproduction/processproductionRecord/processproductionRecordMain.data.ts b/src/views/wms/productionManage/processproduction/processproductionRecord/processproductionRecordMain.data.ts index 85ab46da6..ba0c04612 100644 --- a/src/views/wms/productionManage/processproduction/processproductionRecord/processproductionRecordMain.data.ts +++ b/src/views/wms/productionManage/processproduction/processproductionRecord/processproductionRecordMain.data.ts @@ -53,7 +53,16 @@ export const ProcessproductionRecordMain = useCrudSchemas(reactive table: { width: 150 }, - isTable:false, + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + form: { + component: 'Switch', + value: 'TRUE', + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE' + } + }, }, { label: '备注', @@ -318,6 +327,16 @@ export const ProcessproductionRecordDetail = useCrudSchemas(reactive