Commit efa824d4 authored by youjie's avatar youjie

Merge branch 'B2C' of http://gitlab.oytour.com/zk123/jz_travel into B2C

parents eddccb8f 5e35a849
...@@ -80,10 +80,10 @@ ...@@ -80,10 +80,10 @@
style="width: 27rpx;height: 27rpx;display: block;" style="width: 27rpx;height: 27rpx;display: block;"
@click="deleteGuest(index,i)" @click="deleteGuest(index,i)"
src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638751245939665786.png" /> src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638751245939665786.png" />
<image v-else <image v-else style="width: 27rpx;height: 27rpx;display: block;"
style="width: 27rpx;height: 27rpx;display: block;"
src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638755711218891689.png" /> src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638755711218891689.png" />
<image style="width: 27rpx;height: 27rpx;display: block;margin-left:20rpx;" @click="addGuest(index)" <image style="width: 27rpx;height: 27rpx;display: block;margin-left:20rpx;"
@click="addGuest(index)"
src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638751245974558349.png" /> src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638751245974558349.png" />
</view> </view>
</view> </view>
...@@ -155,8 +155,7 @@ ...@@ -155,8 +155,7 @@
<view class="val f14 regular" style="text-align: right;"> <view class="val f14 regular" style="text-align: right;">
<text style="margin-right: 30rpx;">{{searchObj.peoples}}</text> <text style="margin-right: 30rpx;">{{searchObj.peoples}}</text>
<text style="margin-right: 30rpx;">{{orderMsg.RoomCount}}间房</text> <text style="margin-right: 30rpx;">{{orderMsg.RoomCount}}间房</text>
<text <text class="red">{{RoomInfo.Currency}}
class="red">{{RoomInfo.Currency}}
<!--{{getPrice(orderMsg.TotalPrice)*orderMsg.RoomCount}}--> <!--{{getPrice(orderMsg.TotalPrice)*orderMsg.RoomCount}}-->
{{orderMsg.TotalPrice*orderMsg.RoomCount}} {{orderMsg.TotalPrice*orderMsg.RoomCount}}
</text> </text>
...@@ -242,8 +241,8 @@ ...@@ -242,8 +241,8 @@
<view class="sum-detail">共计 {{orderMsg.RoomCount}}间房</view> <view class="sum-detail">共计 {{orderMsg.RoomCount}}间房</view>
<u-button :ripple="true" :hair-line="false" <u-button :ripple="true" :hair-line="false"
:disabled="(this.orderMsg&&this.orderMsg.TotalPrice==0)||submit" :disabled="(this.orderMsg&&this.orderMsg.TotalPrice==0)||submit"
:custom-style="(this.orderMsg&&this.orderMsg.TotalPrice==0)||submit?btnStyle2:btnStyle" @click="buyRoom" :custom-style="(this.orderMsg&&this.orderMsg.TotalPrice==0)||submit?btnStyle2:btnStyle"
:loading="submit">立即购买</u-button> @click="buyRoom" :loading="submit">立即购买</u-button>
</view> </view>
</view> </view>
<u-picker v-model="showtime" mode="time" @confirm='confirm' :params="paramsTime" <u-picker v-model="showtime" mode="time" @confirm='confirm' :params="paramsTime"
...@@ -382,7 +381,7 @@ ...@@ -382,7 +381,7 @@
this.orderMsg.hotelId = this.HotelInfo.hotelid; this.orderMsg.hotelId = this.HotelInfo.hotelid;
this.orderMsg.HotelName = this.HotelInfo.name; this.orderMsg.HotelName = this.HotelInfo.name;
if (this.HotelInfo.images && this.HotelInfo.images.length > 0) { if (this.HotelInfo.images && this.HotelInfo.images.length > 0) {
this.orderMsg.HotelPic = this.HotelInfo.images[0]; this.orderMsg.HotelPic = this.HotelInfo.images[0].Path;
} }
} }
if (options.RoomInfo) { if (options.RoomInfo) {
...@@ -462,7 +461,7 @@ ...@@ -462,7 +461,7 @@
GoodsPic: "", GoodsPic: "",
GoodsType: 9, GoodsType: 9,
OrderMake: `${this.orderMsg.CheckInDate}入住;${this.orderMsg.CheckOutDate}离店 ${guestInfo}`, OrderMake: `${this.orderMsg.CheckInDate}入住;${this.orderMsg.CheckOutDate}离店 ${guestInfo}`,
TotalPrice: this.orderMsg.TotalPrice,//this.getPrice(this.orderMsg.TotalPrice) TotalPrice: this.orderMsg.TotalPrice, //this.getPrice(this.orderMsg.TotalPrice)
PreferentialPrice: this.currentCoupon.discountMoney, PreferentialPrice: this.currentCoupon.discountMoney,
ErpOrderId: OrderId, ErpOrderId: OrderId,
Country: 0, Country: 0,
...@@ -473,7 +472,7 @@ ...@@ -473,7 +472,7 @@
CreateBy: 0 CreateBy: 0
}; };
if (this.HotelInfo.images && this.HotelInfo.images.length > 0) { if (this.HotelInfo.images && this.HotelInfo.images.length > 0) {
msg.GoodsPic = this.HotelInfo.images[0]; msg.GoodsPic = this.HotelInfo.images[0].Path;
} }
// #ifdef MP-DI // #ifdef MP-DI
if (this.customer.salesBaseInfo && this.customer.salesBaseInfo.employeeId) { if (this.customer.salesBaseInfo && this.customer.salesBaseInfo.employeeId) {
...@@ -558,7 +557,8 @@ ...@@ -558,7 +557,8 @@
this.roomRateDetails = res.data.PriceDetails.HotelList[0]; this.roomRateDetails = res.data.PriceDetails.HotelList[0];
this.orderMsg.BookingID = res.data.PriceDetails.ReferenceNo; this.orderMsg.BookingID = res.data.PriceDetails.ReferenceNo;
this.orderMsg.checkInTime = res.data.PriceDetails.CheckInDate; this.orderMsg.checkInTime = res.data.PriceDetails.CheckInDate;
this.orderMsg.TotalPrice = this.roomRateDetails.TotalPrice//this.getPrice(this.roomRateDetails.TotalPrice); this.orderMsg.TotalPrice = this.roomRateDetails
.TotalPrice //this.getPrice(this.roomRateDetails.TotalPrice);
if (this.roomRateDetails.RatePlanList && this.roomRateDetails.RatePlanList.length > 0) { if (this.roomRateDetails.RatePlanList && this.roomRateDetails.RatePlanList.length > 0) {
this.orderMsg.roomType = this.roomRateDetails.RatePlanList[0].BedType this.orderMsg.roomType = this.roomRateDetails.RatePlanList[0].BedType
} }
......
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