diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue index ee0b4c46d..226f1bc9c 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue @@ -586,17 +586,6 @@ const handleDeleteTable = (item, index, formRef) => { // 主子数据 提交 const submitForm = async (formType, data) => { data.subList = tableData.value // 拼接子表数据参数 - let array =[] - data.subList.forEach((item,index) => { - if(item.supplierCode != data.supplierCode){ - array.push(index+1) - } - }) - if (!data.purchaseReceiptRecordNumber && array.length>0) { - formRef.value.formLoading = false - message.error(`第${array.join(',')}行数据的供应商代码与上方填写的供应商代码不一致`) - return - } try { if (formType === 'create') { let flag = false;