|
@ -195,8 +195,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
newRow['fromLocationCode'] = item['locationCode'] |
|
|
newRow['fromLocationCode'] = item['locationCode'] |
|
|
newRow['toLocationCode'] = 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'] |
|
|
tableData.value.push(newRow) |
|
|
tableData.value.push(newRow) |
|
|
}) |
|
|
}) |
|
|
let itemCodes = [] |
|
|
let itemCodes = [] |
|
@ -234,6 +234,9 @@ 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 == 'packUnit') { |
|
|
|
|
|
row['packUnit'] = val[0]['packUnit'] |
|
|
|
|
|
row['packQty'] = val[0]['packQty'] |
|
|
} else { |
|
|
} else { |
|
|
row[formField] = val[0][searchField] |
|
|
row[formField] = val[0][searchField] |
|
|
} |
|
|
} |
|
|