|
@ -141,24 +141,24 @@ export const ScrapRecordMain = useCrudSchemas( |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
// {
|
|
|
label: '出库原因', |
|
|
// label: '出库原因',
|
|
|
field: 'outboundReason', |
|
|
// field: 'outboundReason',
|
|
|
dictType: DICT_TYPE.UNPLANNED_ISSUE_REASON, |
|
|
// dictType: DICT_TYPE.UNPLANNED_ISSUE_REASON,
|
|
|
dictClass: 'string', |
|
|
// dictClass: 'string',
|
|
|
table: { |
|
|
// table: {
|
|
|
width: 150 |
|
|
// width: 150
|
|
|
}, |
|
|
// },
|
|
|
form: { |
|
|
// form: {
|
|
|
componentProps: { |
|
|
// componentProps: {
|
|
|
filterable: true |
|
|
// filterable: true
|
|
|
} |
|
|
// }
|
|
|
}, |
|
|
// },
|
|
|
tableForm: { |
|
|
// tableForm: {
|
|
|
type: 'Select', |
|
|
// type: 'Select',
|
|
|
filterable: true |
|
|
// filterable: true
|
|
|
} |
|
|
// }
|
|
|
}, |
|
|
// },
|
|
|
{ |
|
|
{ |
|
|
label: '项目代码', |
|
|
label: '项目代码', |
|
|
field: 'projectCode', |
|
|
field: 'projectCode', |
|
@ -705,6 +705,25 @@ export const ScrapRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
{ |
|
|
{ |
|
|
label: '报废原因', |
|
|
label: '报废原因', |
|
|
field: 'reason', |
|
|
field: 'reason', |
|
|
|
|
|
dictType: DICT_TYPE.SCRAP_REASON, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
isForm: true, |
|
|
|
|
|
isTable: true, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
type: 'Select', |
|
|
|
|
|
filterable:true |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '备注', |
|
|
|
|
|
field: 'remark', |
|
|
|
|
|
isForm: true, |
|
|
|
|
|
isTable: true, |
|
|
|
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|