Browse Source

修改

hella_online_20240919
zhaoxuebing 2 months ago
parent
commit
8c5cb102c6
  1. 1
      src/utils/dict.ts
  2. 19
      src/views/wms/issueManage/productionscrap/productionscrapRequestMain/productionscrapRequestMain.data.ts

1
src/utils/dict.ts

@ -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', // 线边报废原因
}

19
src/views/wms/issueManage/productionscrap/productionscrapRequestMain/productionscrapRequestMain.data.ts

@ -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',
filterable: true
}
},
{
label: '状态',
field: 'status',

Loading…
Cancel
Save