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