|
@@ -84,7 +84,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
pageInit() {
|
|
|
- const {parkInfo} = this.orderDetail
|
|
|
+ const {parkInfo, parkingRecord} = this.orderDetail
|
|
|
const {parkMallCode} = parkInfo;
|
|
|
/*
|
|
|
* 电子优惠券初始化逻辑(后端处理)
|
|
@@ -93,7 +93,9 @@ export default {
|
|
|
* 2、superposition 叠加使用规则 (1不可叠加,2仅同类型可叠加,3可叠加);
|
|
|
* */
|
|
|
this.couponList = [...this.coupons];
|
|
|
- this.remainPrice = this.usingTotalDiscount - this.paperDiscountFee;
|
|
|
+ // 如果存在第三方车场优惠
|
|
|
+ const {parkDiscount = 0} = parkingRecord
|
|
|
+ this.remainPrice = this.usingTotalDiscount - this.paperDiscountFee - parkDiscount;
|
|
|
if ((this.parkMallCode === 4 || this.parkMallCode === 6) && this.orderDetail?.discountInfo?.points?.[0]?.discountFee) {
|
|
|
this.remainPrice = this.remainPrice - this.orderDetail.discountInfo.points[0].discountFee
|
|
|
}
|