From 1965e3ae3a37a05a38bd46219d7a6d3b399395ca Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Thu, 11 Jul 2024 17:41:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E5=A2=9E=E5=8A=A0=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C=EF=BC=9A=E5=BD=93=E5=AD=98=E5=9C=A8=E6=89=98=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E6=89=98=E7=9A=84=E5=8C=85=E8=A3=85=E6=95=B0=E9=87=8F?= =?UTF-8?q?=E8=A6=81=E5=A4=A7=E4=BA=8E=E7=AE=B1=E7=9A=84=E5=8C=85=E8=A3=85?= =?UTF-8?q?=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierdeliver/supplierdeliverRequestMain/index.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue index f80b4e3e1..86eff1d93 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue @@ -670,6 +670,13 @@ const footButtonClick = async (val) => { message.warning('有数据没有选择箱规格') return } + let isNext1 = detatableData1.value.some((item) => { + return item.secondPackQty && item.packQty && parseFloat(item.packQty) > parseFloat(item.secondPackQty) + }) + if (isNext1) { + message.warning('托的包装数量要大于箱的包装数量,请修改') + return + } const data = JSON.parse(JSON.stringify(detatableData1.value)) labelFormRef.value.openLabel(data) } else if (val == 'close') {