Commit 7b78f22f authored by zhengke's avatar zhengke

修改

parent 905f667a
...@@ -561,7 +561,7 @@ ...@@ -561,7 +561,7 @@
</div> </div>
</div> </div>
<!-- 优惠券 --> <!-- 优惠券 -->
<div class="Yhq"> <div class="Yhq" v-if="!isLoginB2B">
<p class="pfR" style="color:#000000;padding-left:20px">优惠券使用</p> <p class="pfR" style="color:#000000;padding-left:20px">优惠券使用</p>
<ul class="yhqUl"> <ul class="yhqUl">
<p v-if="!Verification.length || Verification[0].ApplyState !== 1" class="_trip_xiangqing_tips">您还未进行 <span @click="goShenqing">实名认证</span>,认证后可使用优惠券哦~如果已提认证申请,申请审核通过后即可使用优惠券!</p> <p v-if="!Verification.length || Verification[0].ApplyState !== 1" class="_trip_xiangqing_tips">您还未进行 <span @click="goShenqing">实名认证</span>,认证后可使用优惠券哦~如果已提认证申请,申请审核通过后即可使用优惠券!</p>
...@@ -865,7 +865,8 @@ export default { ...@@ -865,7 +865,8 @@ export default {
ActivateCode:'', ActivateCode:'',
price:0, price:0,
Verification:'', Verification:'',
isShowTime: true isShowTime: true,
isLoginB2B:true,
}; };
}, },
mounted() { mounted() {
...@@ -899,6 +900,17 @@ export default { ...@@ -899,6 +900,17 @@ export default {
} }
this.sureMsg.roomGroup.push(obj); this.sureMsg.roomGroup.push(obj);
} }
if(!sessionStorage.getItem("OpenB2BCode")){
this.isLoginB2B=false;
let userInfo = this.getLocalStorage();
this.apipost("app_customer_GetCertificationModel", { CustomerID: userInfo.customerId }, res => {
if (res.data.resultCode == 1) {
this.Verification = res.data.data
} else {
this.$message.error(res.data.message);
}
},err => {});
}
this.getWeek(); this.getWeek();
this.getBookInfo(); this.getBookInfo();
...@@ -1170,7 +1182,7 @@ export default { ...@@ -1170,7 +1182,7 @@ export default {
// childJapanCount+=ChildJapanPrice; // childJapanCount+=ChildJapanPrice;
this.sureMsg.totalPriceJapanese += parseFloat(AdultJapanCount+childJapanCount+onlyJanpnase); this.sureMsg.totalPriceJapanese += parseFloat(AdultJapanCount+childJapanCount+onlyJanpnase);
if (this.isShowTime) { if (this.isShowTime&&!this.isLoginB2B) {
this.getUserCanUseCouponList(); this.getUserCanUseCouponList();
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment