From 675a15646dc7d095e31ceb7786df73f0c54eac1a Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Mon, 29 Jul 2024 14:41:27 +0800 Subject: [PATCH] countQty --- src/views/wms/issueManage/issue/issueRequestMain/index.vue | 2 +- .../issue/issueRequestMain/issueRequestMain.data.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/wms/issueManage/issue/issueRequestMain/index.vue b/src/views/wms/issueManage/issue/issueRequestMain/index.vue index 00cc8063f..6da34065c 100644 --- a/src/views/wms/issueManage/issue/issueRequestMain/index.vue +++ b/src/views/wms/issueManage/issue/issueRequestMain/index.vue @@ -64,7 +64,7 @@ @clearSearchInput="onChange" :sumFormDataByTableCustom ="(formRef,formModel,tableData)=>{ tableData.forEach(item=>{ - item.qty = item.qty1*item.packQty + item.qty = item.countQty*item.packQty }) }" > diff --git a/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts b/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts index e752763d6..247798559 100644 --- a/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts +++ b/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts @@ -976,7 +976,7 @@ export const IssueRequestDetail = useCrudSchemas( }, { label: '包装数', - field: 'qty1', + field: 'countQty', sort: 'custom', table: { width: 150 @@ -1284,7 +1284,7 @@ export const IssueRequestDetailRules = reactive({ toLocationCode: [ { required: true, message: '请输入到库位代码', trigger: 'blur' } ], - qty1: [ + countQty: [ { required: true, message: '请输入包装数量', trigger: 'change' }, // { min: 0, message: '包装数量不能小于1', trigger: 'blur' } ],