From 5a6693478a19201570de39c459d8480f30e0c1f7 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Fri, 21 Jun 2024 08:59:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A1=E5=88=92=E5=A4=96=E5=87=BA=E5=BA=93?= =?UTF-8?q?=E5=85=A5=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../unplannedissueRequestMain.data.ts | 40 +++++++++---------- .../unplannedreceiptRequestMain.data.ts | 6 +-- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts b/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts index 3a20417cc..d2b9a05f2 100644 --- a/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts @@ -450,26 +450,26 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([ }, isTable: false, }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isForm: true, - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'TRUE', - // activeValue: 'TRUE' - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isForm: true, + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE' + } + } + }, { label: '创建时间', field: 'createTime', diff --git a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts index c6f32aee9..84d128f25 100644 --- a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts @@ -451,7 +451,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', isForm: true, - isTable: true, + isTable: false, sort: 'custom', table: { width: 150 @@ -460,8 +460,8 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive component: 'Switch', value: requestsettingData.directCreateRecord, componentProps: { - inactiveValue: 'TRUE', - activeValue: 'TRUE', + inactiveValue: 'FALSE', + activeValue: 'TRUE' } } },