瀏覽代碼

Merge branch 'release-2.20.0' of git.kerryprops.com.cn:tron/temporary-parking-frontend into release-2.20.0

john 1 年之前
父節點
當前提交
bd0657916e
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      src/pages/parkingFee/mixins/parkingFeeCoupon.js
  2. 2 2
      src/pages/parkingFeeV2/mixins/parkingFeeCoupon.js

+ 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',
         });
       }