소스 검색

fix: [AE-会员端] bug修改

bill 11 시간 전
부모
커밋
5cb28c1174
2개의 변경된 파일과 3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/ui-refactor/views/guest-shop/GuestPurchaseFlow.vue
  2. 2 2
      src/ui-refactor/views/purchase/PurchaseFlow.vue

+ 1 - 1
src/ui-refactor/views/guest-shop/GuestPurchaseFlow.vue

@@ -119,7 +119,7 @@
             :tax="totals.tax"
             :tax="totals.tax"
             :currency="currency"
             :currency="currency"
             :shipping="
             :shipping="
-              stage === 'cart' || (settingsReady && Number(freight) === 0)
+              stage === 'cart' || stage === 'checkout' || (settingsReady && Number(freight) === 0)
                 ? 'To be determined'
                 ? 'To be determined'
                 : currency + ' ' + totals.shipping.toFixed(2)
                 : currency + ' ' + totals.shipping.toFixed(2)
             "
             "

+ 2 - 2
src/ui-refactor/views/purchase/PurchaseFlow.vue

@@ -286,7 +286,7 @@
           :total="stage === 'cart' ? sellPriceSum : orderTotal"
           :total="stage === 'cart' ? sellPriceSum : orderTotal"
           :currency="currencyUnitCode"
           :currency="currencyUnitCode"
           :shipping="
           :shipping="
-            stage === 'cart' || (!isUpgrade && settingsReady && Number(freight) === 0)
+            stage === 'cart' || stage === 'checkout' || (!isUpgrade && settingsReady && Number(freight) === 0)
               ? 'To be determined'
               ? 'To be determined'
               : currencyUnitCode + ' ' + (isUpgrade ? '0.00' : pointFreight)
               : currencyUnitCode + ' ' + (isUpgrade ? '0.00' : pointFreight)
           "
           "
@@ -397,7 +397,7 @@ export default {
   },
   },
   computed: {
   computed: {
     stockistCountryId() {
     stockistCountryId() {
-      return this.isSelf ? this.accountCountryId : this.memberDetails?.countryId
+      return this.isSelf ? usersInfo.baseData()?.COUNTRY_ID : this.memberDetails?.countryId
     },
     },
     ...behavior.computed,
     ...behavior.computed,
     isEmptyCart() {
     isEmptyCart() {