|
@@ -497,6 +497,8 @@ export default {
|
|
},
|
|
},
|
|
// 停车优惠
|
|
// 停车优惠
|
|
discounts() {
|
|
discounts() {
|
|
|
|
+ // totalFee 为零的时候不做跳转
|
|
|
|
+ if (this.orderDetail.parkingRecord.totalFeeInYuan === 0) return;
|
|
if (!this.enableConsume && !this.memberLevelDiscount && this.orderDetail.parkInfo.parkMallCode !== 2) {
|
|
if (!this.enableConsume && !this.memberLevelDiscount && this.orderDetail.parkInfo.parkMallCode !== 2) {
|
|
return Toast({
|
|
return Toast({
|
|
message: '暂无可用优惠',
|
|
message: '暂无可用优惠',
|
|
@@ -536,6 +538,8 @@ export default {
|
|
return 1;
|
|
return 1;
|
|
},
|
|
},
|
|
coupon() {
|
|
coupon() {
|
|
|
|
+ // totalFee 为零的时候不做跳转
|
|
|
|
+ if (this.orderDetail.parkingRecord.totalFeeInYuan === 0) return;
|
|
// 如果没有电子券的话,提示用户
|
|
// 如果没有电子券的话,提示用户
|
|
if (this.coupons.length === 0 && this.source !== 'KIP') {
|
|
if (this.coupons.length === 0 && this.source !== 'KIP') {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
@@ -548,6 +552,8 @@ export default {
|
|
});
|
|
});
|
|
},
|
|
},
|
|
paperCoupon() {
|
|
paperCoupon() {
|
|
|
|
+ // totalFee 为零的时候不做跳转
|
|
|
|
+ if (this.orderDetail.parkingRecord.totalFeeInYuan === 0) return;
|
|
this.$router.push({
|
|
this.$router.push({
|
|
path: 'parkingFeePaperCoupon',
|
|
path: 'parkingFeePaperCoupon',
|
|
query:{
|
|
query:{
|
|
@@ -576,6 +582,8 @@ export default {
|
|
},
|
|
},
|
|
// 积分修改框
|
|
// 积分修改框
|
|
showPointsMathPopup() {
|
|
showPointsMathPopup() {
|
|
|
|
+ // totalFee 为零的时候不做跳转
|
|
|
|
+ if (this.orderDetail.parkingRecord.totalFeeInYuan === 0) return;
|
|
if(this.integralDesc === '暂无可用积分'){
|
|
if(this.integralDesc === '暂无可用积分'){
|
|
return
|
|
return
|
|
}
|
|
}
|