Browse Source

feat(feat-15985): QHKC | 临时停车规则增加当日积分抵扣上限2

lock.qiu@kerryprops.com 1 năm trước cách đây
mục cha
commit
f928f6c0b0
1 tập tin đã thay đổi với 4 bổ sung5 xóa
  1. 4 5
      src/store/order/points.js

+ 4 - 5
src/store/order/points.js

@@ -64,12 +64,11 @@ export default {
     commit('setUnLimitWeekendPoints', unLimitWeekendPoints);
     commit('setUnitHour', unitHour);
  // parkMallCode = 3,5 表示北京、深圳前海
-    commit('setUnitHour', label);
    
-    // if(label === '今日积分已达上线') {
-    //   commit('setIntegralDesc', '今日积分已达上限');
-    //   return
-    // }
+    if(label === '今日积分已达上限') {
+      commit('setIntegralDesc', '今日积分已达上限');
+      return
+    }
     dispatch('integralDescTule',{
       pointsTime, parkMallCode, available, pointsPerUnit, enableNewMemberPoints, unitAmount, newMemberPoints, checkOutResponse
     })