Commit 4710398e authored by 黄奎's avatar 黄奎

11

parent ceb66672
......@@ -125,6 +125,7 @@
ErpOrderId: item.erpOrderId, //这是第三方订单表的Id
OrderTypeStr: "Hotel", //订单类型为酒店
ConfirmID: "",
Amount:0,
};
wx.showModal({
title: '提示',
......@@ -146,6 +147,7 @@
var tempData = res.data;
if (tempData) {
cancelMsg.ConfirmID = tempData.ConfirmID;
cancelMsg.Amount=tempData.Amount;
//有取消费用
if (tempData.Amount && tempData.Amount > 0) {
var tipmsg = "取消订单将收取【" + tempData.Amount +
......
......@@ -103,7 +103,7 @@
<view class="ResInforR">
<text v-if="roomRateDetails&&
roomRateDetails.CancellationPolicyList &&
roomRateDetails.CancellationPolicyList.length > 0">
roomRateDetails.CancellationPolicyList.length > 0" style="color: #ff3166;">
<template v-for="(itemCancella, index1) in roomRateDetails.CancellationPolicyList">
<template
v-if="index1==0">{{ getformatDateStr(itemCancella.FromDate) }}之前免费取消</template>
......@@ -355,6 +355,7 @@
ErpOrderId: this.orderData.model.OrderID,
OrderTypeStr: "Hotel", //订单类型为酒店
ConfirmID: "",
Amount:0,
};
wx.showModal({
title: '提示',
......@@ -376,6 +377,7 @@
var tempData = res.data;
if (tempData) {
cancelMsg.ConfirmID = tempData.ConfirmID;
cancelMsg.Amount=tempData.Amount;
//有取消费用
if (tempData.Amount && tempData.Amount > 0) {
var tipmsg = "取消订单将收取【" + tempData.Amount +
......
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