From 8c5cb102c6393f6683aa7fd8419763cf9f8e20a6 Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Wed, 18 Sep 2024 08:47:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/dict.ts | 1 + .../productionscrapRequestMain.data.ts | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/src/utils/dict.ts b/src/utils/dict.ts index 842c9cb5b..4b57d7850 100644 --- a/src/utils/dict.ts +++ b/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', // 线边报废原因 } diff --git a/src/views/wms/issueManage/productionscrap/productionscrapRequestMain/productionscrapRequestMain.data.ts b/src/views/wms/issueManage/productionscrap/productionscrapRequestMain/productionscrapRequestMain.data.ts index 52940a1dd..f8d54babe 100644 --- a/src/views/wms/issueManage/productionscrap/productionscrapRequestMain/productionscrapRequestMain.data.ts +++ b/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',