diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue index cea9e2c05..87d493a03 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/labelForm.vue @@ -448,6 +448,11 @@ const addX = (oneRow, oneIndex, twoRow, twoIndex, type) => { // 有父级托的时候 if (type == 1) { // 在托下添加箱 + // 在托下添加箱 + if (parseFloat(twoRow.xNumber) == parseFloat(oneRow.otherNumber)) { + message.warning('每托箱个数最多' + oneRow.otherNumber + '箱') + return + } twoRow.children.push({ id: twoId.value, // xPoNumber: