@ -404,4 +404,5 @@ export enum DICT_TYPE {
RETURN_REASON_TYPE = 'return_reason_type', // 采购退货原因类型
SCRAPPING_REASON = 'scrapping_reason', //制品子件报废原因
RECEIVE_STATUS = 'receive_status', // 收货确认状态
LINE_SCRAP_REASON = 'line_scrap_reason', // 线边报废原因
}
@ -107,6 +107,25 @@ export const ProductionscrapRequestMain = useCrudSchemas(
},
{
label: '报废原因',
field: 'lineScrapReason',
dictType: DICT_TYPE.LINE_SCRAP_REASON,
dictClass: 'string',
sort: 'custom',
table: {
width: 150
form: {
componentProps: {
filterable: true
tableForm: {
type: 'Select',
label: '状态',
field: 'status',