From b117ca3e7f88c98795318630e8beaec2974f22e7 Mon Sep 17 00:00:00 2001 From: yinq Date: Thu, 29 May 2025 14:12:40 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20mes=E8=AE=A2=E5=8D=95=E7=BB=91?= =?UTF-8?q?=E5=AE=9A=E6=95=B0=E9=87=8F=E6=A0=A1=E9=AA=8C=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=EF=BC=9A=E7=BB=91=E5=AE=9A=E6=95=B0=E9=87=8F=E9=A1=BB=E4=B8=BA?= =?UTF-8?q?=E5=A4=A7=E4=BA=8E0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hw-ui/src/views/mes/purchaseOrder/bindOrder.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw-ui/src/views/mes/purchaseOrder/bindOrder.vue b/hw-ui/src/views/mes/purchaseOrder/bindOrder.vue index b196874a..7050c68d 100644 --- a/hw-ui/src/views/mes/purchaseOrder/bindOrder.vue +++ b/hw-ui/src/views/mes/purchaseOrder/bindOrder.vue @@ -302,8 +302,8 @@ export default { return; } - if (!this.isPositiveInteger(bindAmount) || bindAmount <= 0) { - this.$modal.msgError("序号为" + (i + 1) + ",绑定数量须为大于0的正整数!"); + if (bindAmount <= 0) { + this.$modal.msgError("序号为" + (i + 1) + ",绑定数量须为大于0!"); return; }