From 624a4b8e29fd4dcb7f037cdb7bef85c810bba37b Mon Sep 17 00:00:00 2001 From: chenfang Date: Mon, 29 Jul 2024 15:33:52 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=96=99=E7=8A=B6=E6=80=81=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../itemManage/itembasic/itembasic.data.ts | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts b/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts index fbb97b258..e34ec8ea0 100644 --- a/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts +++ b/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts @@ -64,27 +64,27 @@ export const Itembasic = useCrudSchemas(reactive([ width: 150 } , }, - // { - // label: '状态', - // field: 'status', - // sort: 'custom', - // dictType: DICT_TYPE.ITEM_STATUS, - // dictClass: 'string', - // isForm: false, - // isSearch: false, - // isTable: false, - // table: { - // width: 100 - // } , - // form: { - // component: 'Switch', - // value: 'ENABLE', - // componentProps: { - // inactiveValue: 'DISABLE', - // activeValue: 'ENABLE' - // } - // }, - // }, + { + label: '状态', + field: 'status', + sort: 'custom', + dictType: DICT_TYPE.ITEM_STATUS, + dictClass: 'string', + isForm: false, + isSearch: false, + isTable: false, + table: { + width: 100 + } , + form: { + component: 'Switch', + value: 'ENABLE', + componentProps: { + inactiveValue: 'DISABLE', + activeValue: 'ENABLE' + } + }, + }, { label: '计量单位', field: 'uom',