7-17提交发布

ymt-db-dev
游梦婷 1 year ago
parent 417b7e0490
commit 49a8bfa4c7
  1. 21
      pages/order/confirmation.vue
  2. 2
      subPages/coupon-package/coupon-package.vue

@ -308,6 +308,9 @@
<view class="marb5"> <view class="marb5">
4.使用时请告知加油员使用汇联通电子券支付 4.使用时请告知加油员使用汇联通电子券支付
</view> </view>
<view class="marb5">
5.由于产品特殊每个用户同一ID视为同一用户每日最多购买4张电子券
</view>
</view> </view>
<view class="mart30"> <view class="mart30">
<view @click="toAgreeInstructions()" :class="'width65 needKnowBtn fotct fontwig6 '+(isFinish? ' active ' : 'nactive') " style="margin: 0 auto;"> <view @click="toAgreeInstructions()" :class="'width65 needKnowBtn fotct fontwig6 '+(isFinish? ' active ' : 'nactive') " style="margin: 0 auto;">
@ -394,13 +397,14 @@
cardNoNumber: '', // cardNoNumber: '', //
getHeight:370, getHeight:420,
countDown:3, countDown:5,
isFinish:false, isFinish:false,
isAgree:false,// isAgree:false,//
Timer:null, Timer:null,
payWeixin:'',// payWeixin:'',//
couponSource:'',//
}; };
}, },
onLoad(option) { onLoad(option) {
@ -618,6 +622,7 @@
this.paytheprice = res.return_data.discountPrice; this.paytheprice = res.return_data.discountPrice;
this.saveprice = res.return_data.discountPrice; this.saveprice = res.return_data.discountPrice;
this.orderPrice = res.return_data.salesPrice; this.orderPrice = res.return_data.salesPrice;
this.couponSource = res.return_data.couponSource;
this.getRebateIntegral(); this.getRebateIntegral();
this.findUser(); this.findUser();
// this.getThirdPartyByDetail(); // this.getThirdPartyByDetail();
@ -636,7 +641,7 @@
} }
if(!this.isFinish){ if(!this.isFinish){
this.countDown = 3; this.countDown = 5;
this.Timer = setInterval(()=>{ this.Timer = setInterval(()=>{
if(this.countDown == 0){ if(this.countDown == 0){
@ -830,7 +835,7 @@
}) })
return; return;
} }
if(!this.isAgree){ if(!this.isAgree&&this.couponSource==4){
this.showPopupNeedKnow(); this.showPopupNeedKnow();
return; return;
} }
@ -846,7 +851,8 @@
}) })
return; return;
} }
@ -895,6 +901,11 @@
} }
/* 显示弹窗 ,couponSource==4贵州业务*/
if(!this.isAgree&&this.couponSource==4){
this.showPopupNeedKnow();
return;
}
if (this.orderDetails) { if (this.orderDetails) {
this.wechatPay(this.orderDetails); this.wechatPay(this.orderDetails);

@ -131,7 +131,7 @@
} }
let pagenum = this.pageNum; let pagenum = this.pageNum;
let params = { let params = {
regionId: app.globalData.cityId, companyId: app.globalData.companyId,
pageNum: pagenum, pageNum: pagenum,
pageSize: this.pageSize, pageSize: this.pageSize,
title: this.couponName title: this.couponName

Loading…
Cancel
Save