Commit 7590539f authored by huangyuanyuan's avatar huangyuanyuan
parents 2f4e2cea dfabb1b4
...@@ -309,6 +309,9 @@ export default { ...@@ -309,6 +309,9 @@ export default {
} }
}, },
calcMoney(){ calcMoney(){
if(!localStorage.userInfo){
return this.$message.error('请登录!')
}
this.chosenObj.etCount = this.chosenObj.etbzcCount + this.chosenObj.etzc this.chosenObj.etCount = this.chosenObj.etbzcCount + this.chosenObj.etzc
// console.log(this.chosenObj.etbzcCount + '----------'+ this.chosenObj.etzc) // console.log(this.chosenObj.etbzcCount + '----------'+ this.chosenObj.etzc)
// console.log(this.priceFlight.childNoNeedPrice) // console.log(this.priceFlight.childNoNeedPrice)
......
...@@ -334,7 +334,7 @@ ...@@ -334,7 +334,7 @@
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
<div class="no-login" v-if="!this.customer || !localStorage.userInfo"> <div class="no-login" v-if="!this.customer ">
需要你登录以后才能预定哦!登录后还能享受更加优惠的价格,<span class="link" @click="goLogin">立即登录吧</span> 需要你登录以后才能预定哦!登录后还能享受更加优惠的价格,<span class="link" @click="goLogin">立即登录吧</span>
</div> </div>
</div> </div>
......
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