Commit f589bd63 authored by zhengke's avatar zhengke

xiugai

parent fc6be58c
...@@ -80,11 +80,7 @@ ...@@ -80,11 +80,7 @@
<view class="jz_TopPrice"> <view class="jz_TopPrice">
<view class="jz_LineTitle"> <view class="jz_LineTitle">
<text class="jz_renmin">¥</text <text class="jz_renmin">¥</text
><text class="jz_B2bPrice">{{ ><text class="jz_B2bPrice">{{currentPrice.b2CPrice}}</text>
$utils.getretailer() == true
? currentPrice.b2BPrice
: currentPrice.b2CPrice
}}</text>
<text style="color: #999999; font-size: 24rpx; font-weight: 400"> <text style="color: #999999; font-size: 24rpx; font-weight: 400">
/人起</text /人起</text
> >
...@@ -181,9 +177,7 @@ ...@@ -181,9 +177,7 @@
<view <view
v-if="item.remainNum > 0" v-if="item.remainNum > 0"
style="color: #ff3166; font-size: 26rpx" style="color: #ff3166; font-size: 26rpx"
>{{ >{{item.b2CPrice}}</view
$utils.getretailer() == true ? item.b2BPrice : item.b2CPrice
}}</view
> >
<view v-if="item.remainNum == 0" style="padding: 20rpx 0"> <view v-if="item.remainNum == 0" style="padding: 20rpx 0">
<text style="font-size: 32rpx; font-weight: 600">已售罄</text> <text style="font-size: 32rpx; font-weight: 600">已售罄</text>
...@@ -1269,7 +1263,7 @@ export default { ...@@ -1269,7 +1263,7 @@ export default {
myObj.babyPrice = this.currentPrice.babyPrice; myObj.babyPrice = this.currentPrice.babyPrice;
myObj.babyChargePrice = this.currentPrice.babyChargePrice; myObj.babyChargePrice = this.currentPrice.babyChargePrice;
myObj.b2BMemberPrice = this.currentPrice.b2BMemberPrice; myObj.b2BMemberPrice = this.currentPrice.b2BMemberPrice;
myObj.tcid = this.currentPrice.tcid;
let imgCover = JSON.parse(this.dataList.imgCover); let imgCover = JSON.parse(this.dataList.imgCover);
if (imgCover.length > 0) { if (imgCover.length > 0) {
// myCurrentInfo.CoverImg = imgCover[0].Url; // myCurrentInfo.CoverImg = imgCover[0].Url;
......
...@@ -341,11 +341,7 @@ ...@@ -341,11 +341,7 @@
<text style="margin-right: 30rpx">成人</text> <text style="margin-right: 30rpx">成人</text>
</view> </view>
<view style="text-align: right" <view style="text-align: right"
>{{ orderMsg.ManNum }}人 × ¥{{ >{{ orderMsg.ManNum }}人 × ¥{{currentPriceInfo.b2CPrice}}</view
$utils.getretailer()
? currentPriceInfo.b2BPrice
: currentPriceInfo.b2CPrice
}}</view
> >
</view> </view>
<view <view
...@@ -571,11 +567,13 @@ export default { ...@@ -571,11 +567,13 @@ export default {
//计算价格 //计算价格
calcMoney() { calcMoney() {
var price = 0; var price = 0;
if (this.$utils.getretailer()) { // if (this.$utils.getretailer()) {
price = this.currentPriceInfo.b2BPrice; // price = this.currentPriceInfo.b2BPrice;
} else { // } else {
price = this.currentPriceInfo.b2CPrice; // price = this.currentPriceInfo.b2CPrice;
} // }
price = this.currentPriceInfo.b2CPrice;
this.orderMsg.ChirdNum = this.orderMsg.ChirdNum =
parseInt(this.orderMsg.ChirdNoBedNum) + parseInt(this.orderMsg.ChirdNoBedNum) +
parseInt(this.orderMsg.ChirdNeedBedNum); parseInt(this.orderMsg.ChirdNeedBedNum);
......
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