Prechádzať zdrojové kódy

Merge pull request #347 from John-Hong/John/release-2.21.0/KIP-13164

fix(KIP-13164): 前海积分不参与与当前电子券优惠上限
Tron 1 rok pred
rodič
commit
8e6fab164a

+ 2 - 2
src/pages/parkingFeeV2/mixins/parkingFeeCoupon.js

@@ -79,8 +79,8 @@ export default {
       if ((this.parkMallCode === 4 || this.parkMallCode === 6) && this.orderDetail?.discountInfo?.points[0]?.discountFee) {
         this.remainPrice = this.remainPrice - this.orderDetail.discountInfo.points[0].discountFee
       }   
-      // 如果前海开启无积分上限的话,则
-      if ( parkMallCode === 5 && this.unLimitWeekendPoints && this.orderDetail.discountInfo?.points[0]?.discountFee) {
+      // 前海积分不参与当前电子券优惠上限
+      if ( parkMallCode === 5 && this.orderDetail.discountInfo?.points[0]?.discountFee) {
         this.remainPrice = this.remainPrice - this.orderDetail?.discountInfo?.points[0]?.discountFee
       }
       this.newAvailableDiscountFee = this.availableDiscountFee