Browse Source

增加提示文案

john 2 years ago
parent
commit
e2d189cce6
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/pages/parkingFee/mixins/parkingFeePaperCoupon.js

+ 4 - 0
src/pages/parkingFee/mixins/parkingFeePaperCoupon.js

@@ -193,6 +193,10 @@ export default {
         this.$store.commit('order/setPaperDiscountFee',this.paperDiscountFee + Number(res.discountFee))
         this.$store.commit('order/setPaperDiscountFee',this.paperDiscountFee + Number(res.discountFee))
         // 时间
         // 时间
         // this.$store.commit('order/setPaperDiscountTime',this.paperDiscountTime + discountTime)
         // this.$store.commit('order/setPaperDiscountTime',this.paperDiscountTime + discountTime)
+      } else {
+        return Toast({
+          message: '优惠劵已添加,请勿重复扫码',
+        });
       }
       }
     },
     },
     // 删除
     // 删除