diff --git a/src/services/UserService.ts b/src/services/UserService.ts index 1868a94..ea9135a 100644 --- a/src/services/UserService.ts +++ b/src/services/UserService.ts @@ -146,10 +146,9 @@ async function getEComStores(): Promise { const params = { "viewSize": 200, "fieldList": ["productStoreId", "storeName"], - "entityName": "ProductStoreFacilityDetail", + "entityName": "ProductStore", "distinct": "Y", - "noConditionFind": "Y", - "filterByDate": 'Y', + "noConditionFind": "Y" }; try { diff --git a/src/store/modules/user/actions.ts b/src/store/modules/user/actions.ts index 86a8306..65e1b4c 100644 --- a/src/store/modules/user/actions.ts +++ b/src/store/modules/user/actions.ts @@ -64,7 +64,7 @@ const actions: ActionTree = { dispatch('setPreferredDateTimeFormat', process.env.VUE_APP_DATE_FORMAT ? process.env.VUE_APP_DATE_FORMAT : 'MM/dd/yyyy'); const ecomStores = await UserService.getEComStores() - useUserStore().$state.eComStores = ecomStores + useUserStore().eComStores = ecomStores await useUserStore().getEComStorePreference("SELECTED_BRAND") const preferredStore: any = useUserStore().getCurrentEComStore diff --git a/src/views/ScheduledRestockReview.vue b/src/views/ScheduledRestockReview.vue index e5798f7..0b1f4eb 100644 --- a/src/views/ScheduledRestockReview.vue +++ b/src/views/ScheduledRestockReview.vue @@ -77,8 +77,8 @@ -

{{ item.parentProductName }}

-

{{ item.identification }}

+

{{ getProductIdentificationValue(productIdentificationPref.primaryId, getProduct(item.pseudoId)) ? getProductIdentificationValue(productIdentificationPref.primaryId, getProduct(item.pseudoId)) : item.parentProductName }}

+

{{ getProductIdentificationValue(productIdentificationPref.secondaryId, getProduct(item.pseudoId)) }}

@@ -97,9 +97,9 @@