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