Browse Source

Merge pull request #515 from tron/lock/release-3.6.0/SCRM-5892

feat(SCRM-5892): [DE][C端]临时停车,BKC,新会员积分,当用户使用优惠券抵扣金额为0的时候,点击新会员积分,依然可…
Tron 1 year ago
parent
commit
defbf314e9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/newMemberPoints/index.vue

+ 1 - 1
src/components/newMemberPoints/index.vue

@@ -122,7 +122,7 @@ export default {
       // 调整points的积分available
     },
     isAdd() {
-      if (this.orderDetail.parkingRecord.actualPayFee === 0) return 
+      if (this.orderDetail.parkingRecord.actualPayFee === 0) return Toast('当前无需追加优惠')
       const {usedDiscountHours, maxDiscountHours, totalAvailable, pointsPerUnit} = this.newMemberPoints
       // const { hourPrice = 0 } = this.orderDetail?.parkingRule
       const availableDiscountHours = maxDiscountHours - usedDiscountHours