|
|
@ -186,11 +186,12 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
|
if(formField == 'purchaseReceiptRecordNumber'){ |
|
|
|
// isShowButton.value = false |
|
|
|
setV[formField] = val[0][searchField] |
|
|
|
console.log(333333,val[0]); |
|
|
|
|
|
|
|
setV['purchaseReceiptRecordNumber'] = val[0]['number'] |
|
|
|
setV['supplierCode'] = val[0]['supplierCode'] |
|
|
|
setV['asnNumber'] = val[0]['asnNumber'] |
|
|
|
setV['ppNumber'] = val[0]['ppNumber'] |
|
|
|
|
|
|
|
// 获取子表数据 getBomDisassemble |
|
|
|
// PurchasereceiptRecordDetailApi.getPurchasereceiptRecordDetailList({ |
|
|
|
PurchasereceiptRecordDetailApi.getPurchasereceiptRecordDetailListToRepeat({ |
|
|
@ -201,7 +202,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
|
item.batch = item.toBatch |
|
|
|
item.packingNumber = item.toPackingNumber |
|
|
|
item.containerNumber = item.toContainerNumber |
|
|
|
item.containerNumber = item.toContainerNumber |
|
|
|
item.receiptQty = item.qty |
|
|
|
item.toLocationGroupCode = null |
|
|
|
item.toWarehouseCode = null |
|
|
|
item.toAreaTypes = null |
|
|
@ -261,6 +262,7 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef) => { |
|
|
|
setV['altBatch'] = val[0]['altBatch'] |
|
|
|
setV['packingNumber'] = val[0]['toPackingNumber'] |
|
|
|
setV['containerNumber'] = val[0]['toContainerNumber'] |
|
|
|
setV['receiptQty'] = val[0]['qty'] |
|
|
|
setV['qty'] = val[0]['qty'] |
|
|
|
setV['uom'] = val[0]['uom'] |
|
|
|
setV['supplierQty'] = val[0]['supplierQty'] |
|
|
|