Browse Source

物料状态字段展示

hella_online_20240829
chenfang 2 months ago
parent
commit
624a4b8e29
  1. 42
      src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts

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

@ -64,27 +64,27 @@ export const Itembasic = useCrudSchemas(reactive<CrudSchema[]>([
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',

Loading…
Cancel
Save