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