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',