From 618304161e841954bbaeb3b8d30e57cbfcf540d8 Mon Sep 17 00:00:00 2001 From: qiezi <15576055375@163.com> Date: Fri, 2 Aug 2024 21:01:36 +0800 Subject: [PATCH] =?UTF-8?q?24-05-16=20=E6=A0=87=E7=AD=BE=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/production/outboundLabelScan.vue | 10 +++++----- src/views/modules/production/shippingScan.vue | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/modules/production/outboundLabelScan.vue b/src/views/modules/production/outboundLabelScan.vue index 3fcff74..14fac98 100644 --- a/src/views/modules/production/outboundLabelScan.vue +++ b/src/views/modules/production/outboundLabelScan.vue @@ -200,7 +200,7 @@ export default { return } //起始箱号 + 箱数 > 总箱数,提示 起始箱号 + 箱数 -1 超出了总箱数。 - if (this.selectDelNotifyDetail.printBoxSeqNo + this.boxNum > this.selectDelNotifyDetail.printTotalBoxCount){ + if (this.selectDelNotifyDetail.printBoxSeqNo + this.boxNum -1> this.selectDelNotifyDetail.printTotalBoxCount){ this.$message.warning("超出总箱数。") return } @@ -715,17 +715,17 @@ export default { - + - + - + @@ -740,7 +740,7 @@ export default { - + diff --git a/src/views/modules/production/shippingScan.vue b/src/views/modules/production/shippingScan.vue index 812b3d7..f87e22f 100644 --- a/src/views/modules/production/shippingScan.vue +++ b/src/views/modules/production/shippingScan.vue @@ -217,7 +217,7 @@ export default { return } //起始箱号 + 箱数 > 总箱数,提示 起始箱号 + 箱数 -1 超出了总箱数。 - if (this.selectDelNotifyDetail.printBoxSeqNo + this.boxNum > this.selectDelNotifyDetail.printTotalBoxCount){ + if (this.selectDelNotifyDetail.printBoxSeqNo + this.boxNum -1> this.selectDelNotifyDetail.printTotalBoxCount){ this.$message.warning("超出总箱数。") return }