|
@@ -290,7 +290,12 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
const { maxConsumeTime, remainConsumeTime, hourPrice } = this.orderDetail.parkingRule;
|
|
|
- const remainingLimitToIncrease = Math.abs(this.remainPrice - this.availableDiscountFee) / hourPrice
|
|
|
+ // 如果是浦东的话, 重新计算优惠
|
|
|
+ if (this.parkMallCode === 1) {
|
|
|
+ this.maxReduceDiscount = maxConsumeTime === remainConsumeTime ? maxConsumeTime : remainConsumeTime
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ const remainingLimitToIncrease = Math.abs(this.remainPrice - this.availableDiscountFee || 0) / hourPrice;
|
|
|
if (!remainingLimitToIncrease) {
|
|
|
// if(!this.consume.selected) {
|
|
|
// this.isReduces = true
|