Commit c4252cf5 authored by zhengke's avatar zhengke

修改

parent 1be99f9f
<style>
.HotelWorkP{
display: inline-block;
text-decoration: underline;
cursor: pointer;
}
</style>
<template> <template>
<div class="PriceHotelWorkList"> <div class="PriceHotelWorkList">
<div class="query-box" style="border-bottom: none;"> <div class="query-box" style="border-bottom: none;">
...@@ -37,7 +45,7 @@ ...@@ -37,7 +45,7 @@
:picker-options="pickerBeginDateAfter"></el-date-picker> :picker-options="pickerBeginDateAfter"></el-date-picker>
</span> </span>
</li> </li>
<li style="displaynone;"><span> <li style="display:none;"><span>
<em>状态</em> <em>状态</em>
<el-select v-model='msg.PriceStatus'> <el-select v-model='msg.PriceStatus'>
<el-option :label="$t('pub.unlimitedSel')" :value="0"></el-option> <el-option :label="$t('pub.unlimitedSel')" :value="0"></el-option>
...@@ -127,8 +135,13 @@ ...@@ -127,8 +135,13 @@
<template v-for="(subItem,subIndex) in item.HotelOrderListReports"> <template v-for="(subItem,subIndex) in item.HotelOrderListReports">
<template v-for="(childItem,childIndex) in subItem.SubList"> <template v-for="(childItem,childIndex) in subItem.SubList">
<tr> <tr>
<td :rowspan="item.rootRowspan" v-if='subIndex==0&&childIndex==0'>{{item.LtName}}</td> <td :rowspan="item.rootRowspan" v-if='subIndex==0&&childIndex==0'>
<td :rowspan="item.rootRowspan" v-if='subIndex==0&&childIndex==0'>{{item.TCNUM}}({{item.TCID}})</td> <div>出团公司:{{item.OutBranchName}}</div>
<div>{{item.LtName}}</div>
</td>
<td :rowspan="item.rootRowspan" v-if='subIndex==0&&childIndex==0'>
<p class="HotelWorkP" @click="goUrlT('TravelControlList',item.TCNUM,'团控列表')">{{item.TCNUM}}({{item.TCID}})</p>
</td>
<td :rowspan="item.rootRowspan" v-if='subIndex==0&&childIndex==0'>{{item.DMCNum}} </td> <td :rowspan="item.rootRowspan" v-if='subIndex==0&&childIndex==0'>{{item.DMCNum}} </td>
<td :rowspan="item.rootRowspan" v-if='subIndex==0&&childIndex==0' <td :rowspan="item.rootRowspan" v-if='subIndex==0&&childIndex==0'
style="text-align:left; padding-left:5px;"> style="text-align:left; padding-left:5px;">
...@@ -142,7 +155,7 @@ ...@@ -142,7 +155,7 @@
</td> </td>
<td> <td>
<template v-if="childItem.HotelName!=childItem.NewHotelName && childItem.NewHotelName!=''"> <template v-if="childItem.HotelName!=childItem.NewHotelName && childItem.NewHotelName!=''">
<span style="text-decoration:line-through red solid"> {{childItem.HotelName}}</span> <span style="text-decoration:line-through;"> {{childItem.HotelName}}</span>
</template> </template>
<template v-else> <template v-else>
{{childItem.HotelName}} {{childItem.HotelName}}
...@@ -306,7 +319,9 @@ ...@@ -306,7 +319,9 @@
DayNum: obj.DayNum, DayNum: obj.DayNum,
HotelId: obj.ID HotelId: obj.ID
}; };
this.loading=true;
this.apipost("travel_post_SavePriceHotelService", nMsg, res => { this.apipost("travel_post_SavePriceHotelService", nMsg, res => {
this.loading=false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.Success(res.data.message); this.Success(res.data.message);
this.getList(); this.getList();
...@@ -315,37 +330,11 @@ ...@@ -315,37 +330,11 @@
} }
}); });
}, },
goUrlR(path, obj, title) { goUrlT(path, TCNUMS, title) {
this.$router.push({
name: path,
query: {
"ID": obj,
blank: 'y',
tab: title
}
})
},
goUrlT(path, obj, title) {
this.$router.push({
name: path,
query: {
"id": obj,
blank: 'y',
tab: title
}
})
},
goUrl(path, obj, outItem, title) {
this.$router.push({ this.$router.push({
name: path, name: path,
query: { query: {
"id": obj.TCIDS, tcmun: TCNUMS,
'TCNUM': obj.TCNUMS,
'flightTotal': obj.TotalSeat,
'GuestNum': obj.CommonReport.HouseStatistics.RealityNum,
'NewCombinationNum': outItem.NewCombinationNum,
'LeaderName': obj.LeaderName,
'GuideName': obj.GuideName,
blank: 'y', blank: 'y',
tab: title tab: title
} }
...@@ -487,8 +476,8 @@ ...@@ -487,8 +476,8 @@
parseInt(myDate.getMonth() + 1) + parseInt(myDate.getMonth() + 1) +
"-" + "-" +
myDate.getDate(); myDate.getDate();
//this.msg.StartGroupDate = nowDate; this.msg.StartGroupDate = nowDate;
this.msg.StartGroupDate='2019-12-05'; //this.msg.StartGroupDate='2019-12-05';
let width = window.innerWidth - 50; let width = window.innerWidth - 50;
let height = window.innerHeight - 65 - 164; let height = window.innerHeight - 65 - 164;
this.boxHeight = height; this.boxHeight = height;
......
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
this.HotelList = []; this.HotelList = [];
this.apipost('hotel_post_GetHasStockHotelList_V2', { this.apipost('hotel_post_GetHasStockHotelList_V2', {
//1-只查询有库存的酒店 //1-只查询有库存的酒店
IsMoreThanZero: 0, IsMoreThanZero: 1,
Country: "651", Country: "651",
IsAllHotel: 1, IsAllHotel: 1,
Province: this.qMsg.ProvinceId, Province: this.qMsg.ProvinceId,
......
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