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); }