|
@@ -146,7 +146,7 @@ export default {
|
|
// 如果存在拆分逻辑的话
|
|
// 如果存在拆分逻辑的话
|
|
// this.consume.
|
|
// this.consume.
|
|
}
|
|
}
|
|
- this.isReduces = this.consume.hasOwnProperty('selected') ? false : true;
|
|
|
|
|
|
+ this.isReduces = this.consume.hasOwnProperty('selected') || this.consume.hasOwnProperty('defaultSelected') ? false : true;
|
|
this.reduceHours = this.consume.hasOwnProperty('discountFee') ? this.consume.discountFee / this.orderDetail.parkingRule.hourPrice : this.consume.defaultDiscountTime;
|
|
this.reduceHours = this.consume.hasOwnProperty('discountFee') ? this.consume.discountFee / this.orderDetail.parkingRule.hourPrice : this.consume.defaultDiscountTime;
|
|
if (maxConsumeTime) {
|
|
if (maxConsumeTime) {
|
|
this.maxReduceDiscount = maxConsumeTime;
|
|
this.maxReduceDiscount = maxConsumeTime;
|