Commit e771c6f6 authored by 黄奎's avatar 黄奎

新增安装团期编号查询

parent 46d0853a
...@@ -81,17 +81,21 @@ ...@@ -81,17 +81,21 @@
.TC_Content .avatar-uploader-icon { .TC_Content .avatar-uploader-icon {
height: auto; height: auto;
} }
.TC_HotelPop >div{
.TC_HotelPop>div {
overflow: auto; overflow: auto;
max-height:350px; max-height: 350px;
} }
.TC_HotelPop table td{
padding:5px 0; .TC_HotelPop table td {
padding: 5px 0;
text-align: center; text-align: center;
} }
.TC_HotelPop table th{
.TC_HotelPop table th {
text-align: center; text-align: center;
} }
</style> </style>
<template> <template>
<div class="TC_Content"> <div class="TC_Content">
...@@ -144,11 +148,11 @@ ...@@ -144,11 +148,11 @@
@keyup.native.enter="getControlList" :placeholder="$t('pub.pleaseImport')"></el-input> @keyup.native.enter="getControlList" :placeholder="$t('pub.pleaseImport')"></el-input>
</span> </span>
</li> </li>
<li style="display:none;"> <li>
<span> <span>
<em>{{$t('hotel.hotel_SerialNumber')}}</em> <em>{{$t('hotel.hotel_SerialNumber')}}</em>
<el-input maxlength="50" v-model="queryMsg.TCID" class="permiss-input w150" <el-input maxlength="50" v-model="queryMsg.TCID" class="permiss-input w150"
@keyup.native.enter="getControlList" :placeholder="$t('pub.pleaseImport')"></el-input> :placeholder="$t('pub.pleaseImport')" @keyup.native="checkInteger(queryMsg,'TCID')"></el-input>
</span> </span>
</li> </li>
<li> <li>
...@@ -552,11 +556,11 @@ ...@@ -552,11 +556,11 @@
<p v-if="item.LineID==14 && item.HotelOrderListReports && item.HotelOrderListReports.length>0 "> <p v-if="item.LineID==14 && item.HotelOrderListReports && item.HotelOrderListReports.length>0 ">
<el-popover width="600" trigger="click" popper-class="TC_HotelPop"> <el-popover width="600" trigger="click" popper-class="TC_HotelPop">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="singeRowTable"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="singeRowTable">
<tr> <tr>
<th width="100">日期</th> <th width="100">日期</th>
<th style="border-right:1px solid #E5E5E5">酒店情况</th> <th style="border-right:1px solid #E5E5E5">酒店情况</th>
<th style="border-right:1px solid #E5E5E5">占房时间</th> <th style="border-right:1px solid #E5E5E5">占房时间</th>
</tr> </tr>
</table> </table>
<div> <div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="singeRowTable"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="singeRowTable">
...@@ -569,8 +573,7 @@ ...@@ -569,8 +573,7 @@
<div v-if="subItem.SubList.length==1 && subItem.SubList[0].UseCount>0 "> <div v-if="subItem.SubList.length==1 && subItem.SubList[0].UseCount>0 ">
{{subItem.SubList[0].HotelName}} {{subItem.SubList[0].HotelName}}
<a style="color:green">{{subItem.SubList[0].Status==1?"【OK】":"【暂定】"}}</a> <a style="color:green">{{subItem.SubList[0].Status==1?"【OK】":"【暂定】"}}</a>
<a <a style="color:green"> 本团使用库存:{{subItem.SubList[0].UseCount}}
style="color:green"> 本团使用库存:{{subItem.SubList[0].UseCount}}
{{subItem.SubList[0].CostPrice!=0?"价格:"+subItem.SubList[0].CostPrice:""}}</a></div> {{subItem.SubList[0].CostPrice!=0?"价格:"+subItem.SubList[0].CostPrice:""}}</a></div>
<template v-else v-for="childItem in subItem.SubList"> <template v-else v-for="childItem in subItem.SubList">
<div>{{childItem.HotelName}} {{childItem.HotelName!="温馨的家"?"【暂定】":""}}</div> <div>{{childItem.HotelName}} {{childItem.HotelName!="温馨的家"?"【暂定】":""}}</div>
...@@ -580,12 +583,12 @@ ...@@ -580,12 +583,12 @@
<td> <td>
<template v-if="subItem.SubList"> <template v-if="subItem.SubList">
<div v-if="subItem.SubList.length==1 && subItem.SubList[0].UseCount>0 "> <div v-if="subItem.SubList.length==1 && subItem.SubList[0].UseCount>0 ">
{{subItem.SubList[0].CreateDateStr}} {{subItem.SubList[0].CreateDateStr}}
</div> </div>
<template v-else v-for="childItem in subItem.SubList"> <template v-else v-for="childItem in subItem.SubList">
<div></div> <div></div>
</template> </template>
</template> </template>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -630,9 +633,9 @@ ...@@ -630,9 +633,9 @@
<span v-if="item.LeaderName" class="TCL-greenType">{{item.LeaderName}}</span> <span v-if="item.LeaderName" class="TCL-greenType">{{item.LeaderName}}</span>
<span v-else class="TCL-redType">{{$t('Operation.Op_nozhipai')}}</span> <span v-else class="TCL-redType">{{$t('Operation.Op_nozhipai')}}</span>
</p> </p>
<p> <p>
<span>导游</span> <span>导游</span>
<span v-if="item.GuideName" class="TCL-greenType" >{{item.GuideName}}</span> <span v-if="item.GuideName" class="TCL-greenType">{{item.GuideName}}</span>
<span v-else class="TCL-redType">{{$t('Operation.Op_nozhipai')}}</span> <span v-else class="TCL-redType">{{$t('Operation.Op_nozhipai')}}</span>
</p> </p>
</div> </div>
...@@ -653,7 +656,7 @@ ...@@ -653,7 +656,7 @@
<div class="TC_SeatList">{{$t('Airticket.Air_businessClass')}}:{{item.CSeat}}</div> <div class="TC_SeatList">{{$t('Airticket.Air_businessClass')}}:{{item.CSeat}}</div>
<div class="TC_SeatList">{{$t('Airticket.Air_EconomyClass')}}:{{item.YSeat}}</div> <div class="TC_SeatList">{{$t('Airticket.Air_EconomyClass')}}:{{item.YSeat}}</div>
<div class="TC_SeatList" v-if="item.TicketNum>0 && item.TicketList"> <div class="TC_SeatList" v-if="item.TicketNum>0 && item.TicketList">
<el-popover width="340" trigger="click" popper-class="TC_customerInfo"> <el-popover width="340" trigger="click" popper-class="TC_customerInfo">
<table width="340" border="0" cellspacing="0" cellpadding="0"> <table width="340" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<th width="80">绑定数量</th> <th width="80">绑定数量</th>
...@@ -668,10 +671,11 @@ ...@@ -668,10 +671,11 @@
<td>{{subItem.PNR}}</td> <td>{{subItem.PNR}}</td>
</tr> </tr>
</table> </table>
<span slot="reference" title="点击查看详情" class="price" style="cursor:pointer;color:red;text-decoration: underline;" >总机位数: {{item.TicketNum}}</span> <span slot="reference" title="点击查看详情" class="price"
style="cursor:pointer;color:red;text-decoration: underline;">总机位数: {{item.TicketNum}}</span>
</el-popover> </el-popover>
</div> </div>
<div class="TC_SeatList" v-if="item.BindNum>0" style="color:red;">绑定数量: {{item.BindNum}}</div> <div class="TC_SeatList" v-if="item.BindNum>0" style="color:red;">绑定数量: {{item.BindNum}}</div>
</div> </div>
</div> </div>
<div class="el-col" style="width:200px;"> <div class="el-col" style="width:200px;">
...@@ -723,7 +727,7 @@ ...@@ -723,7 +727,7 @@
{{item.GroupVisaNum}} {{item.GroupVisaNum}}
</p> </p>
<p> <p>
<span>出票状态:</span> <span>出票状态:</span>
<span class="fz16 fbold"> <span class="fz16 fbold">
<el-tooltip class="item" effect="dark" content="全部出票" placement="top"> <el-tooltip class="item" effect="dark" content="全部出票" placement="top">
<span style="color: #4BCA81;" v-if="item.MakeInvoice==1"></span> <span style="color: #4BCA81;" v-if="item.MakeInvoice==1"></span>
...@@ -1022,7 +1026,7 @@ ...@@ -1022,7 +1026,7 @@
RateOn: '-1', RateOn: '-1',
TeamType: 0, //一般常规团 TeamType: 0, //一般常规团
IsShowUnion: -1, IsShowUnion: -1,
TCID: '0', TCID: '',
HotelId: 0, //酒店编号 HotelId: 0, //酒店编号
HotelUseTime: "", //酒店使用时间 HotelUseTime: "", //酒店使用时间
}, },
...@@ -1198,12 +1202,18 @@ ...@@ -1198,12 +1202,18 @@
if (msg.DayNum == '') { if (msg.DayNum == '') {
msg.DayNum = -1 msg.DayNum = -1
} }
this.queryCommonData.loading = true if (msg.TCID == "") {
msg.TCID = 0;
}
this.queryCommonData.loading = true;
this.apipost( this.apipost(
'travel_get_GetTravelPrciePageList', 'travel_get_GetTravelPrciePageList',
msg, msg,
res => { res => {
this.queryCommonData.loading = false this.queryCommonData.loading = false;
if (this.queryMsg.TCID == "0") {
this.queryMsg.TCID = "";
}
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.queryCommonData.dataList = res.data.data.pageData; this.queryCommonData.dataList = res.data.data.pageData;
this.queryMsg.total = res.data.data.count this.queryMsg.total = res.data.data.count
......
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