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') {