From 45a18c6e66a7715292be7e041942a19b334de76b Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Fri, 28 Jun 2024 19:56:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processproductionRecordMain.data.ts | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) 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