From a3430b066fbff030b7dc714c822892f3b8723e22 Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Tue, 10 Sep 2024 08:26:23 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=BA=E9=99=B7:HL-5787=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scrapRequestMain/scrapRequestMain.data.ts | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts index db21a5adb..af258d4f2 100644 --- a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts @@ -591,8 +591,9 @@ export const ScrapRequestMain = useCrudSchemas( table: { width: 150 }, - isSearch: true, - isForm: false + isSearch: false, + isForm: false, + isTableForm: false, }, { label: '从库区代码范围', @@ -601,7 +602,9 @@ export const ScrapRequestMain = useCrudSchemas( table: { width: 150 }, - isForm: false + isForm: false, + isTableForm: false, + isTable:false, }, { label: '业务类型', @@ -1154,7 +1157,7 @@ export const ScrapRequestDetail = useCrudSchemas(reactive([ isForm: false, }, { - label: '原因', + label: '报废原因', field: 'reason', table: { width: 150 @@ -1191,6 +1194,7 @@ export const ScrapRequestDetail = useCrudSchemas(reactive([ }, isTableForm: false, isForm: false, + isTable:false, }, { label: '明细备注', @@ -1305,4 +1309,7 @@ export const ScrapRequestDetailRules = reactive({ remark: [ { max: 50, message: '不得超过50个字符', trigger: 'blur' } ], + reason: [ + { required: true, message: '请输入报废原因', trigger: 'change' } + ], })