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>
...@@ -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>
...@@ -632,7 +635,7 @@ ...@@ -632,7 +635,7 @@
</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>
...@@ -668,7 +671,8 @@ ...@@ -668,7 +671,8 @@
<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>
...@@ -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