Browse Source

物料基础信息状态字段由开关样式修改为下拉框

hella_online_20240829
chenfang 3 months ago
parent
commit
d3df0963b4
  1. 15
      src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts

15
src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts

@ -70,20 +70,11 @@ export const Itembasic = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
dictType: DICT_TYPE.ITEM_STATUS, dictType: DICT_TYPE.ITEM_STATUS,
dictClass: 'string', dictClass: 'string',
isForm: true, isSearch: true,
isSearch: false,
isTable: true, isTable: true,
table: { table: {
width: 100 width: 120
} , }
form: {
component: 'Switch',
value: 'ENABLE',
componentProps: {
inactiveValue: 'DISABLE',
activeValue: 'ENABLE'
}
},
}, },
{ {
label: '计量单位', label: '计量单位',

Loading…
Cancel
Save