Ver Fonte

Revert "feat(SCRM-3713): 功能优化 | 临时停车优惠券选择达到使用上限或优惠上限提示"

John-Hong há 1 ano atrás
pai
commit
2ec5122cc7

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

@@ -335,7 +335,7 @@ export default {
       if (parkMallCode === 5 && this.remainPrice  >= this.availableDiscountFee) {
         if ( showMsg ) return true
         return Toast({
-          message: `优惠券已达当日使用上限,不可再用`,
+          message: `每日最高可抵扣${this.maxOneDayDiscountFee}元`,
           icon: 'none',
         });
       }
@@ -344,7 +344,7 @@ export default {
       if (oneDayLimitation && this.remainPrice >= this.availableDiscountFee) {
         if ( showMsg ) return true
         return Toast({
-          message: parkMallCode === 5 ? '当日优惠已达上限,不可再用' : `每日最高可抵扣${maxOneDayDiscountFee}元`,
+          message: `每日最高可抵扣${maxOneDayDiscountFee}元`,
           icon: 'none',
         });
       }

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

@@ -335,7 +335,7 @@ export default {
       if (parkMallCode === 5 && this.remainPrice  >= this.availableDiscountFee) {
         if ( showMsg ) return true
         return Toast({
-          message: `优惠券已达当日使用上限,不可再用`,
+          message: `每日最高可抵扣${this.maxOneDayDiscountFee}元`,
           icon: 'none',
         });
       }
@@ -344,7 +344,7 @@ export default {
       if (oneDayLimitation && this.remainPrice >= this.availableDiscountFee) {
         if ( showMsg ) return true
         return Toast({
-          message: parkMallCode === 5 ? '当日优惠已达上限,不可再用' : `每日最高可抵扣${maxOneDayDiscountFee}元`,
+          message: `每日最高可抵扣${maxOneDayDiscountFee}元`,
           icon: 'none',
         });
       }