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