|
|
@ -10,7 +10,7 @@ export const ItemRules = reactive({ |
|
|
|
|
|
|
|
export const Item = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
{ |
|
|
|
label: '编号唯一标识', |
|
|
|
label: '备件编号', |
|
|
|
field: 'number', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true, |
|
|
@ -32,17 +32,17 @@ export const Item = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
sort: 'custom', |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '是否存储TRUE/FALSE', |
|
|
|
label: '是否存储', |
|
|
|
field: 'isConstant', |
|
|
|
sort: 'custom', |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '科目代码枚举工具、易耗品、备品备件、机物料', |
|
|
|
label: '科目代码', |
|
|
|
field: 'subject', |
|
|
|
sort: 'custom', |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '枚举分类 A、B、C', |
|
|
|
label: '枚举', |
|
|
|
field: 'classification', |
|
|
|
sort: 'custom', |
|
|
|
}, |
|
|
@ -89,34 +89,36 @@ export const Item = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
field: 'financer', |
|
|
|
sort: 'custom', |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
label: '是否框架协议TRUE/FALSE', |
|
|
|
field: 'isFramework', |
|
|
|
sort: 'custom', |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '是否以旧换新TRUE/FALSE', |
|
|
|
label: '是否以旧换新', |
|
|
|
field: 'isRadeIn', |
|
|
|
sort: 'custom', |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '地点ID', |
|
|
|
field: 'siteId', |
|
|
|
sort: 'custom', |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '是否可用', |
|
|
|
field: 'available', |
|
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
|
dictClass: 'string', |
|
|
|
isSearch: true, |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '并发乐观锁', |
|
|
|
field: 'concurrencyStamp', |
|
|
|
sort: 'custom', |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
value: 0 |
|
|
|
tableForm: { |
|
|
|
type: 'Select', |
|
|
|
inactiveValue: 'FALSE', |
|
|
|
disabled: true |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'Switch', |
|
|
|
value: 'TRUE', |
|
|
|
componentProps: { |
|
|
|
inactiveValue: 'FALSE', |
|
|
|
activeValue: 'TRUE' |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '操作', |
|
|
|