|
|
@ -187,6 +187,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
|
newRow['fromPackingNumber'] = item['packingNumber'] |
|
|
|
newRow['toBatch'] = item['batch'] |
|
|
|
newRow['fromLocationCode'] = item['locationCode'] |
|
|
|
newRow['toLocationCode'] = item['locationCode'] |
|
|
|
newRow['inventoryStatus'] = item['inventoryStatus'] |
|
|
|
newRow['packUnit'] = item['packUnit'] |
|
|
|
newRow['packQty'] = item['packQty'] |
|
|
@ -227,8 +228,6 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
|
// console.log(row['itemCode']); |
|
|
|
// ItembasicApi.getItemListByCodes(row['itemCode']) |
|
|
|
row['downItemCode'] = val[0]['code'] |
|
|
|
} else if (formField == 'toLocationCode') { |
|
|
|
row['toLocationCode'] = val[0]['code'] |
|
|
|
} else { |
|
|
|
row[formField] = val[0][searchField] |
|
|
|
} |
|
|
|