Skip to content

Commit

Permalink
Fixed: wrong updation of cycle count items list on saving recount (#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Nov 12, 2024
1 parent bfce3b5 commit 13f429c
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 13f429c

Please sign in to comment.