|
@@ -127,9 +127,9 @@ export default {
|
|
|
if ( type === 'add' && (state.pointsTime >= maxPointsTime || state.usingTotalDiscount >= state.availableDiscountFee) ) {
|
|
|
// 以下是深圳积分上限规则
|
|
|
// 超出抵扣上限,每日最高可抵扣${this.parkFee.parkInfoEntity.maxOneDayHour}元 '优惠金额' >= '每日最高可抵扣'
|
|
|
- if ( state.usingTotalDiscount >= state.availableDiscountFee && !msg ) {
|
|
|
- msg = `超出抵扣上限,每日最高可抵扣${ state.maxOneDayDiscountFee }元`
|
|
|
- }
|
|
|
+ // if ( state.usingTotalDiscount >= state.availableDiscountFee && !msg ) {
|
|
|
+ // msg = `超出抵扣上限,每日最高可抵扣${ state.maxOneDayDiscountFee }元`
|
|
|
+ // }
|
|
|
// 超出抵扣上限,每次最高可抵扣${this.integralMaxMoney}元 '积分兑换时长' >= '深圳前海停车积分上限'q
|
|
|
if ( state.pointsTime >= state.maxDiscountFee && !msg ) {
|
|
|
msg = `超出抵扣上限,每次最高可抵扣${ state.maxDiscountFee }元`
|
|
@@ -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);
|