From d06aae6276e36503d8c144e7574e2bf1d83adf83 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Sun, 11 Aug 2024 11:07:32 +0800 Subject: [PATCH] =?UTF-8?q?SCP=E4=BE=9B=E5=BA=94=E5=95=86=E5=8F=91?= =?UTF-8?q?=E8=B4=A7=EF=BC=8C=E7=BC=96=E8=BE=91=E5=8C=85=E8=A3=85=E6=95=B0?= =?UTF-8?q?=E9=87=8F=E6=97=B6=EF=BC=8C=E5=8F=AA=E5=85=81=E8=AE=B8=E5=B0=8F?= =?UTF-8?q?=E4=BA=8E=E7=AD=89=E4=BA=8E=E7=89=A9=E6=96=99=E5=8C=85=E8=A3=85?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E4=B8=AD=E7=9A=84=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierdeliverRequestMain/labelForm.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue index 8221156b3..ec839dc3b 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue @@ -566,11 +566,11 @@ const blurOne = (oneRow, twoRow) => { } //在托下方的箱数量失去焦点 const blurTwo = (oneRow, twoRow, threeRow) => { - // if (parseFloat(threeRow.qtyTwo) > parseFloat(oneRow.packQty)) { - // message.warning('数量最多为' + oneRow.packQty) - // threeRow.qtyTwo = oneRow.packQty - // return - // } + if (parseFloat(threeRow.qtyTwo) > parseFloat(oneRow.packQty)) { + message.warning('数量最多为' + oneRow.packQty) + threeRow.qtyTwo = oneRow.packQty + return + } let num = 0 twoRow.children.forEach((item) => { num = accuracyFun.add(parseFloat(num), parseFloat(item.qtyTwo)) @@ -579,10 +579,10 @@ const blurTwo = (oneRow, twoRow, threeRow) => { } // 箱数量失去焦点 const blurThree = (oneRow, twoRow, thereeRow) => { - // if (parseFloat(thereeRow.qtyTwo) > parseFloat(oneRow.packQty)) { - // message.warning('每箱个数最多' + oneRow.packQty) - // thereeRow.qtyTwo = oneRow.packQty - // } + if (parseFloat(thereeRow.qtyTwo) > parseFloat(oneRow.packQty)) { + message.warning('每箱个数最多' + oneRow.packQty) + thereeRow.qtyTwo = oneRow.packQty + } let num = 0 twoRow.children.forEach((item) => { num = accuracyFun.add(parseFloat(num), parseFloat(item.qtyTwo))