diff --git a/src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRequestSpareMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRequestSpareMain/index.vue index 2b596b97a..2a55a212d 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRequestSpareMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRequestSpareMain/index.vue @@ -210,22 +210,7 @@ const onEnter = async (field, value) => { console.log(field, value) if ('supplierCode' == field) { //供应商代码 - formRef.value.opensearchTable( - 'purchaseReceiptRecordNumber', - 'number', - '采购收货记录', - PurchasereceiptRecordMain1.allSchemas, - PurchasereceiptRecordDetailApi.getPurchasereceiptRecordDetailPageReturn, - [ - { - key: 'supplierCode', - value: 'supplierCode', - isMainValue: true - } - ] - ) - } else if ('purchaseReceiptRecordNumber' == field) { - //采购收货记录 + chooseReceiptList() } } @@ -846,6 +831,7 @@ const submitForm = async (formType, submitData) => { } tableData.value.forEach(item=>{ item['fromLocationCode'] = data['locationCode'] + item['poNumber'] = data['poNumber'] }) console.log('submitForm', tableData.value) // if(tableData.value.find(item=>Number(item.returnedQty)>Number(item.receiptQty))){