From 97fded5ac0b1009be7c8418121ef72c31517ca7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BF=97=E5=9B=BD?= <854933521@qq.com> Date: Tue, 29 Oct 2024 09:34:42 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BF=BB=E5=8C=85=E4=BB=BB=E5=8A=A1=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E6=89=AB=E6=8F=8F=EF=BC=8C=E6=95=B0=E9=87=8F=E4=B8=BA?= =?UTF-8?q?0=E6=97=B6=E6=A0=A1=E9=AA=8C=202024/8/8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/package/job/overPackageJobDetail.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pages/package/job/overPackageJobDetail.vue b/src/pages/package/job/overPackageJobDetail.vue index 43026db2..a05e0758 100644 --- a/src/pages/package/job/overPackageJobDetail.vue +++ b/src/pages/package/job/overPackageJobDetail.vue @@ -236,6 +236,10 @@ const checkSubmit = () => { const tempHandleQty = detailSource.value[0].Items[0].Locations[0].Batchs[0].handleQty const tempQty = detailSource.value[0].Items[0].Locations[0].Batchs[0].qty const { toPackQty } = detailSource.value[0].Items[0].Locations[0].Batchs[0] + if (tempHandleQty == 0) { + showErrorMessage("实际数量为0,请先扫描数据") + return + } if (tempHandleQty > tempQty) { // 大于需求数量 showCommitMessage(`实际数量【${tempHandleQty}】大于需求数量` + `【${tempQty}】, 是否提交?`, tempHandleQty, toPackQty)