Browse Source

feat(SCRM-3515): QHKC 临时停车积分抵扣功能增加周末和法定假日兑换规则

john 2 năm trước cách đây
mục cha
commit
f885a9ff87
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      src/store/order/points.js

+ 3 - 3
src/store/order/points.js

@@ -168,9 +168,9 @@ export default {
     }
     // 计算浦东的上限
     // if ( type === 'add' && state.usingTotalDiscount >= state.availableDiscountFee && parkMallCode === 5 && state.unlimitUsePoints === 'LIMIT') {
-    if ( type === 'add' && state.usingTotalDiscount >= state.availableDiscountFee && parkMallCode === 5 && !state.unLimitWeekendPoints) {
-      return;
-    }
+    // if ( type === 'add' && state.usingTotalDiscount >= state.availableDiscountFee && parkMallCode === 5 && !state.unLimitWeekendPoints) {
+    //   return;
+    // }
     if ( type === 'add' ) {
       let pointsTime = 0;
       pointsTime = state.pointsTime + (parkMallCode === 5 ? state.unitAmount : state.unitHour);