From 218870c17885db181f3466bc917e1fa5b19b3148 Mon Sep 17 00:00:00 2001 From: niexiting <85552560@qq.com> Date: Thu, 28 Dec 2023 15:26:00 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=98=E7=82=B9=E6=89=AB=E6=8F=8F=E6=97=B6?= =?UTF-8?q?=E5=8E=BB=E6=8E=89=E8=B4=9F=E5=BA=93=E5=AD=98=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mycomponents/scan/winScanPackAndLocation.vue | 23 +++++++++++--------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/mycomponents/scan/winScanPackAndLocation.vue b/mycomponents/scan/winScanPackAndLocation.vue index 99eb53af..e64f960a 100644 --- a/mycomponents/scan/winScanPackAndLocation.vue +++ b/mycomponents/scan/winScanPackAndLocation.vue @@ -21,7 +21,7 @@ 来源库位 - + @@ -41,7 +41,7 @@ + :isShowHistory="isShowHistory" :clearResult="true" :headerType="headerType"> @@ -264,14 +264,17 @@ }) } else if (datas.length == 1) { let balance = datas[0]; - if (balance.qty > 0) { - this.packCallBack(balance); - } else { - this.showErrorMessage(this.getQueryCondition() + '
查找到库存记录数量为[' + balance.qty + "],
不可以进行操作", - res => { - this.packGetFocus(); - }) - } + this.packCallBack(balance); + + //因为盘点时有负库存,暂时去掉判断 2023年12月28日 + // if (balance.qty > 0) { + // this.packCallBack(balance); + // } else { + // this.showErrorMessage(this.getQueryCondition() + '
查找到库存记录数量为[' + balance.qty + "],
不可以进行操作", + // res => { + // this.packGetFocus(); + // }) + // } } else { this.showBalanceSelect(datas); }