|
@ -272,15 +272,15 @@ const buttonOperationClick = async (row, label, index,isSave = false)=> { |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
item.rowId = index |
|
|
item.rowId = index |
|
|
if(tableData.value[index].childList.length > 0) { |
|
|
// if(tableData.value[index].childList.length > 0) { |
|
|
tableData.value[index].childList.forEach(itemChild => { |
|
|
// tableData.value[index].childList.forEach(itemChild => { |
|
|
if (itemChild.itemCode == item.itemCode) { |
|
|
// if (itemChild.itemCode == item.itemCode) { |
|
|
item.qty = itemChild.qty |
|
|
// item.qty = itemChild.qty |
|
|
} |
|
|
// } |
|
|
}) |
|
|
// }) |
|
|
}else { |
|
|
// }else { |
|
|
item.qty = item.bomQty * row.qty |
|
|
item.qty = item.bomQty * row.qty |
|
|
} |
|
|
// } |
|
|
const obj = await banchBomPage(row.fromLocationCode, item) |
|
|
const obj = await banchBomPage(row.fromLocationCode, item) |
|
|
item.batch = obj.batch |
|
|
item.batch = obj.batch |
|
|
}) |
|
|
}) |
|
|