Skip to content

Commit

Permalink
Merge pull request #503 from amansinghbais/#494
Browse files Browse the repository at this point in the history
Fixed: wrong updation of cycle count items list on saving recount (#494)
  • Loading branch information
ravilodhi authored Nov 12, 2024
2 parents bfce3b5 + 13f429c commit bfba8bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/CountDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ async function saveCount(currentProduct) {
currentProduct.countedByUserLoginId = userProfile.value.username
currentProduct.isRecounting = false;
inputCount.value = '';
const items = JSON.parse(JSON.stringify(itemsList.value))
const items = JSON.parse(JSON.stringify(cycleCountItems.value.itemList))
items.map((item) => {
if(item.importItemSeqId === currentProduct.importItemSeqId) {
item.quantity = currentProduct.quantity
Expand Down

0 comments on commit bfba8bf

Please sign in to comment.