|
|
@ -158,7 +158,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
|
newRow['uom'] = item['uom'] |
|
|
|
newRow['fromLocationCode'] = item['locationCode'] |
|
|
|
newRow['fromInventoryStatus'] = item['inventoryStatus'] |
|
|
|
newRow['toInventoryStatus'] = 'SCRAP' |
|
|
|
newRow['toInventoryStatus'] = item['inventoryStatus'] |
|
|
|
newRow['toQty'] = item['qty'] |
|
|
|
tableData.value.push(newRow) |
|
|
|
}) |
|
|
@ -426,9 +426,9 @@ const isShowButton = ref(true) |
|
|
|
const tableFormKeys = {} |
|
|
|
ContainerDetailRequest.allSchemas.tableFormColumns.forEach(item => { |
|
|
|
tableFormKeys[item.field] = item.default ? item.default : '' |
|
|
|
if(item.field == 'toInventoryStatus'){ |
|
|
|
tableFormKeys[item.field] = "SCRAP" |
|
|
|
} |
|
|
|
// if(item.field == 'toInventoryStatus'){ |
|
|
|
// tableFormKeys[item.field] = "SCRAP" |
|
|
|
// } |
|
|
|
}) |
|
|
|
const tableData = ref([]) |
|
|
|
|
|
|
|