From be316733564df2e34d557d5d905100f25c07249e Mon Sep 17 00:00:00 2001 From: niexiting <85552560@qq.com> Date: Fri, 5 Jan 2024 10:45:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=AB=E6=8F=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mycomponents/scan/winScanPackAndLocation.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/mycomponents/scan/winScanPackAndLocation.vue b/mycomponents/scan/winScanPackAndLocation.vue index 4071f989..e7c2a9b9 100644 --- a/mycomponents/scan/winScanPackAndLocation.vue +++ b/mycomponents/scan/winScanPackAndLocation.vue @@ -267,14 +267,14 @@ this.packCallBack(balance); //因为盘点时有负库存,暂时去掉判断 2023年12月28日 - // if (balance.qty > 0) { - // this.packCallBack(balance); - // } else { - // this.showErrorMessage(this.getQueryCondition() + '
查找到库存记录数量为[' + balance.qty + "],
不可以进行操作", - // res => { - // this.packGetFocus(); - // }) - // } + if (balance.qty > 0) { + this.packCallBack(balance); + } else { + this.showErrorMessage(this.getQueryCondition() + '
查找到库存记录数量为[' + balance.qty + "],
不可以进行操作", + res => { + this.packGetFocus(); + }) + } } else { this.showBalanceSelect(datas); }