Explorar o código

Merge pull request #323 from John-Hong/release-2.20.0

北京新会员积分展示
John-Hong hai 1 ano
pai
achega
c9a2c03e47

+ 5 - 1
src/pages/parkingFeeV2/mixins/parkingFeeDetailSuccess.js

@@ -27,7 +27,7 @@ export default {
     ...mapState({
       // custTypeId: (state) => state.custTypeId,
       // paramsScene: (state) => state.paramsScene,
-      // mallid: (state) => state.mallId,
+      mallId: (state) => state.mallId,
       // openId: (state) => state.openid,
       // member: (state) => state.member,
       groupId: (state) => state.groupId,
@@ -105,6 +105,10 @@ export default {
         },
       });
     },
+    isBKC() {
+      const lbsList = ['8a8884e77cc9e70a017cca4003590008','8a8485067ce4da2d017ce555e9b20000','8aaa80b47c784020017c78b205ba0023']
+      return lbsList.indexOf(this.mallId) > -1
+    },
   },
   filters: {
     orderStatus(val) {

+ 4 - 0
src/pages/parkingFeeV2/parkingFeeDetailSuccess.vue

@@ -70,6 +70,10 @@
             <span class="info-key">消费减免</span>
             <span class="info-value">{{ detail.discountInfo.consumeDiscount | currency }}</span>
           </div>
+          <div class="parking-info-item" v-if="isBKC">
+            <span class="info-key">新会员积分减免</span>
+            <span class="info-value">{{ detail.discountInfo.newMemberPointsDiscount  | currency }}</span>
+          </div>
 
           <div class="parking-info-item">
             <span class="info-key">积分减免</span>