Commit 89fb94f7 authored by 黄奎's avatar 黄奎

1

parent 08292bd5
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
roomRateDetails.CancellationPolicyList.length > 0" style="color: #ff3166;"> roomRateDetails.CancellationPolicyList.length > 0" style="color: #ff3166;">
<template v-for="(itemCancella, index1) in roomRateDetails.CancellationPolicyList"> <template v-for="(itemCancella, index1) in roomRateDetails.CancellationPolicyList">
<template <template
v-if="index1==0">{{ getformatDateStr(itemCancella.FromDate) }}之前免费取消</template> v-if="index1==0">{{ getformatDateStr(itemCancella.FromDate) }}之前免费取消,</template>
<template v-if="itemCancella.Amount==roomRateDetails.TotalPrice"> <template v-if="itemCancella.Amount==roomRateDetails.TotalPrice">
<template>{{ getformatDateStr(itemCancella.FromDate) }}起不可取消,取消将收取订单全额费用;</template> <template>{{ getformatDateStr(itemCancella.FromDate) }}起不可取消,取消将收取订单全额费用;</template>
</template> </template>
...@@ -121,6 +121,14 @@ ...@@ -121,6 +121,14 @@
</text> </text>
</view> </view>
</view> </view>
<view class="ResInforText row-sb-n" v-if="orderData&&orderData.model&&orderData.model.ThirdOrderStatus==3">
<view class="ResInforL">退款信息</view>
<view class="ResInforR">
<text style="color: #ff3166;">
取消手续费{{orderData.model.CancelFee}}元,实际退款金额{{orderData.model.CancelPrice}}元.
</text>
</view>
</view>
</view> </view>
<view class="ReservationInforBox"> <view class="ReservationInforBox">
<view class="ReservationInforTitle">订房信息</view> <view class="ReservationInforTitle">订房信息</view>
...@@ -434,6 +442,7 @@ ...@@ -434,6 +442,7 @@
); );
}, },
formatStatus(status) { formatStatus(status) {
console.log("formatStatus",status)
if (status == 1) { if (status == 1) {
this.orderStatus.code = 0; this.orderStatus.code = 0;
this.orderStatus.text = "待付款"; this.orderStatus.text = "待付款";
...@@ -445,7 +454,7 @@ ...@@ -445,7 +454,7 @@
this.orderStatus.text = "退款中"; this.orderStatus.text = "退款中";
} else if (status == 4) { } else if (status == 4) {
this.orderStatus.code = -1; this.orderStatus.code = -1;
this.orderStatus.text = "已退款"; this.orderStatus.text = "已取消";
} else if (status == 5) { } else if (status == 5) {
this.orderStatus.code = 0; this.orderStatus.code = 0;
this.orderStatus.text = "正常"; this.orderStatus.text = "正常";
...@@ -551,6 +560,7 @@ ...@@ -551,6 +560,7 @@
if (tempData && tempData.PriceDetails && tempData.PriceDetails.HotelList && tempData if (tempData && tempData.PriceDetails && tempData.PriceDetails.HotelList && tempData
.PriceDetails.HotelList.length > 0) { .PriceDetails.HotelList.length > 0) {
this.RatePlanList = tempData.PriceDetails.HotelList[0].RatePlanList; this.RatePlanList = tempData.PriceDetails.HotelList[0].RatePlanList;
this.roomRateDetails = tempData.PriceDetails.HotelList[0];
} }
} }
}, failed => { }, failed => {
......
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