|
|
@ -195,8 +195,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
|
newRow['fromLocationCode'] = item['locationCode'] |
|
|
|
newRow['toLocationCode'] = item['locationCode'] |
|
|
|
newRow['inventoryStatus'] = item['inventoryStatus'] |
|
|
|
newRow['packUnit'] = item['packUnit'] |
|
|
|
newRow['packQty'] = item['packQty'] |
|
|
|
// newRow['packUnit'] = item['packUnit'] |
|
|
|
// newRow['packQty'] = item['packQty'] |
|
|
|
tableData.value.push(newRow) |
|
|
|
}) |
|
|
|
let itemCodes = [] |
|
|
@ -234,6 +234,9 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
|
// console.log(row['itemCode']); |
|
|
|
// ItembasicApi.getItemListByCodes(row['itemCode']) |
|
|
|
row['downItemCode'] = val[0]['code'] |
|
|
|
} else if (formField == 'packUnit') { |
|
|
|
row['packUnit'] = val[0]['packUnit'] |
|
|
|
row['packQty'] = val[0]['packQty'] |
|
|
|
} else { |
|
|
|
row[formField] = val[0][searchField] |
|
|
|
} |
|
|
|