From 4f7d9090d04bcbe3d925481478fc5c17652e2bec Mon Sep 17 00:00:00 2001 From: Ravi Lodhi Date: Fri, 23 Feb 2024 18:10:33 +0530 Subject: [PATCH] Improved: Added support to set userLoginId as comments/description while recording variance. --- src/views/count.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/count.vue b/src/views/count.vue index 27256c47..fe629694 100644 --- a/src/views/count.vue +++ b/src/views/count.vue @@ -163,7 +163,8 @@ ...mapGetters({ product: "product/getCurrent", facility: 'user/getCurrentFacility', - QOHConfig: 'user/getViewQOHConfig' + QOHConfig: 'user/getViewQOHConfig', + userProfile: 'user/getUserProfile', }) }, data(){ @@ -365,7 +366,8 @@ "quantity": parseInt(this.product.varianceQuantity), "facilityId": this.facility.facilityId, "locationSeqId": this.product.locationId, - "varianceReasonId": this.product.varianceReasonId + "varianceReasonId": this.product.varianceReasonId, + "comments": this.userProfile.userLoginId } }