瀏覽代碼

feat(SCRM-5892): [DE][C端]临时停车,BKC,新会员积分,当用户使用优惠券抵扣金额为0的时候,点击新会员积分,依然可以添加新会员积分减免

lock.qiu@kerryprops.com 1 年之前
父節點
當前提交
8dc5bc280a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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