From d65b81d837e9f49ec636497784e91ab93209e786 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Thu, 14 Nov 2024 11:15:47 +0800 Subject: [PATCH] =?UTF-8?q?YT-954=E5=BA=93=E5=AD=98=E6=98=AF0=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E8=83=BD=E6=B7=BB=E5=8A=A0=E5=88=B0=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/inventoryMove/coms/comMoveRecord.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pages/inventoryMove/coms/comMoveRecord.vue b/src/pages/inventoryMove/coms/comMoveRecord.vue index 5d2cfe21..f0722be2 100644 --- a/src/pages/inventoryMove/coms/comMoveRecord.vue +++ b/src/pages/inventoryMove/coms/comMoveRecord.vue @@ -389,6 +389,12 @@ return res } }) + // 库存余额是0不让添加 + + if(!balance.qty){ + this.showErrorMessage("物料号[" + result.label.itemCode + "]库存余额余额数量是0") + return + } if (item == undefined) { var itemp = createItemInfoForLabel(balance, result.label); let newDetail = createDetailInfoForLabel(balance, pack, result.label);