|
@ -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: '计量单位', |
|
|