diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue index 453320ce8..28800293d 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue @@ -826,11 +826,12 @@ const tableSelectionDelete = (selection) => { // 主子数据 提交 const submitForm = async (formType, data) => { - if(tableData.value.find(item=>Number(item.returnedQty)>Number(item.receiptQty))){ - message.warning("退货数量不能大于收获数量") - return; - } - if(tableData.value.find(item=>Number(item.returnedQty)>Number(item.inventoryBalance))){ + console.log('submitForm',tableData.value) + // if(tableData.value.find(item=>Number(item.returnedQty)>Number(item.receiptQty))){ + // message.warning("退货数量不能大于收获数量") + // return; + // } + if(tableData.value.find(item=>Number(item.qty)>Number(item.inventoryBalance))){ message.warning("退货数量不能大于库存余额") return; }