Commit eda0aaf8 authored by 黄奎's avatar 黄奎

页面修改

parent 2a402a91
...@@ -287,7 +287,8 @@ ...@@ -287,7 +287,8 @@
</tr> </tr>
<template v-for='(outItem,outIndex) in list.HotelOrderListReport'> <template v-for='(outItem,outIndex) in list.HotelOrderListReport'>
<template v-for="(subItem,subIndex) in outItem.HotelOrderList"> <template v-for="(subItem,subIndex) in outItem.HotelOrderList">
<tr v-for="(childItem,childIndex) in subItem.OrderDetailsList" :key="outIndex*100+subIndex*1000+childIndex*10000+1000000"> <tr v-for="(childItem,childIndex) in subItem.OrderDetailsList"
:key="outIndex*100+subIndex*1000+childIndex*10000+1000000">
<td v-if="childIndex==0&&subIndex==0" <td v-if="childIndex==0&&subIndex==0"
:rowspan="subItem.OrderDetailsList.length*outItem.HotelOrderList.length" style="white-space:nowrap; "> :rowspan="subItem.OrderDetailsList.length*outItem.HotelOrderList.length" style="white-space:nowrap; ">
{{outItem.UseTimeStr}} {{outItem.UseTimeStr}}
...@@ -303,9 +304,9 @@ ...@@ -303,9 +304,9 @@
<template v-else> <template v-else>
{{subItem.HotelName}} {{subItem.HotelName}}
</template> </template>
<br/> <br />
<span style="color:green">报价金额 :{{subItem.OfferUnitPrice}}/人(标准间)</span> <span style="color:green">报价金额 :{{subItem.OfferUnitPrice}}/人(标准间)</span>
<br/> <br />
<span style="color:red" v-if="subItem.StandardRoomPrice">实际金额 :{{subItem.StandardRoomPrice}}/人(标准间)</span> <span style="color:red" v-if="subItem.StandardRoomPrice">实际金额 :{{subItem.StandardRoomPrice}}/人(标准间)</span>
</td> </td>
<td v-if="childIndex==0" :rowspan="subItem.OrderDetailsList.length" style="text-align:left; "> <td v-if="childIndex==0" :rowspan="subItem.OrderDetailsList.length" style="text-align:left; ">
...@@ -1475,9 +1476,13 @@ ...@@ -1475,9 +1476,13 @@
}); });
}, },
goZhiDan: function (obj, num, leadr, cur) { goZhiDan: function (obj, num, leadr, cur) {
let totailMoney = (Number(leadr.LeaderGetPriceT) + Number(cur.yiLing)).toFixed(2);
let leadrPlanPrice = 0;
if (leadr && leadr.PlanPrice) {
leadrPlanPrice = leadr.PlanPrice.toFixed(2);
}
if (!num) { if (!num) {
let totailMoney = Number(leadr.LeaderGetPriceT) + Number(cur.yiLing); if (totailMoney > leadrPlanPrice)
if (totailMoney > leadr.PlanPrice)
return this.$message.error("最大领款为预付合计金额的95%!"); return this.$message.error("最大领款为预付合计金额的95%!");
if (!leadr.LeaderGetPriceT || leadr.LeaderGetPriceT <= 0) if (!leadr.LeaderGetPriceT || leadr.LeaderGetPriceT <= 0)
return this.$message.error("请输入金额!"); return this.$message.error("请输入金额!");
...@@ -2099,13 +2104,11 @@ ...@@ -2099,13 +2104,11 @@
this.msg.TCIDs = this.$route.query.id; this.msg.TCIDs = this.$route.query.id;
this.NewCombinationNum = this.$route.query.NewCombinationNum; this.NewCombinationNum = this.$route.query.NewCombinationNum;
this.myLineId = this.$route.query.lineId; this.myLineId = this.$route.query.lineId;
if (this.myLineId == 14) {//日本线95% if (this.myLineId == 14) { //日本线95%
this.comRate = 0.95; this.comRate = 0.95;
} } else if (this.myLineId == 168 || this.myLineId == 2) { //欧洲线60% 2023-07-25 add by:W 徐总要求
else if (this.myLineId == 168||this.myLineId == 2) {//欧洲线60% 2023-07-25 add by:W 徐总要求
this.comRate = 0.60; this.comRate = 0.60;
} } else {
else {
this.comRate = 1; this.comRate = 1;
} }
if (this.$route.query.OutBranchId == 1216) { if (this.$route.query.OutBranchId == 1216) {
......
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