Selaa lähdekoodia

feat(SCRM-3515): QHKC 临时停车积分抵扣功能增加周末和法定假日兑换规则

john 2 vuotta sitten
vanhempi
sitoutus
4d2c08417c
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      src/store/order/points.js

+ 3 - 3
src/store/order/points.js

@@ -127,9 +127,9 @@ export default {
       if ( type === 'add' && (state.pointsTime >= maxPointsTime || state.usingTotalDiscount >= state.availableDiscountFee) ) {
         // 以下是深圳积分上限规则
         // 超出抵扣上限,每日最高可抵扣${this.parkFee.parkInfoEntity.maxOneDayHour}元 '优惠金额' >= '每日最高可抵扣'
-        if ( state.usingTotalDiscount >= state.availableDiscountFee && !msg ) {
-          msg = `超出抵扣上限,每日最高可抵扣${ state.maxOneDayDiscountFee }元`
-        }
+        // if ( state.usingTotalDiscount >= state.availableDiscountFee && !msg ) {
+        //   msg = `超出抵扣上限,每日最高可抵扣${ state.maxOneDayDiscountFee }元`
+        // }
         // 超出抵扣上限,每次最高可抵扣${this.integralMaxMoney}元 '积分兑换时长' >= '深圳前海停车积分上限'q
         if ( state.pointsTime >= state.maxDiscountFee && !msg ) {
           msg = `超出抵扣上限,每次最高可抵扣${ state.maxDiscountFee }元`