Commit 878a68f1 authored by 黄奎's avatar 黄奎

旅客名单下载,新增查询条件

parent ba0a8748
...@@ -143,6 +143,11 @@ ...@@ -143,6 +143,11 @@
</table> </table>
</li> </li>
<li> <li>
<el-select v-if="!isShowAirticketOut" size="small" v-model="msg.checkOutState" @change="msg.pageIndex=1,getList()" placeholder="请选择开票类型">
<el-option label="全部" :value="0"></el-option>
<el-option label="已出票" :value="1"></el-option>
<el-option label="未出票" :value="2"></el-option>
</el-select>
<input v-if="!isShowAirticketOut" type="button" class="normalBtn" value="开票" @click="openAirticket" /> <input v-if="!isShowAirticketOut" type="button" class="normalBtn" value="开票" @click="openAirticket" />
<el-select v-if="isShowAirticketOut" size="small" v-model="checkOutMsg.TicketOutType" placeholder="请选择开票类型"> <el-select v-if="isShowAirticketOut" size="small" v-model="checkOutMsg.TicketOutType" placeholder="请选择开票类型">
<el-option label="团队票" :value="1"></el-option> <el-option label="团队票" :value="1"></el-option>
...@@ -347,7 +352,8 @@ ...@@ -347,7 +352,8 @@
PageSize: 15, PageSize: 15,
AirTicketId: 0, AirTicketId: 0,
total: 0, total: 0,
currentPage: 1 currentPage: 1,
checkOutState:0,//出票状态(1-已出票,2-未出票)
}, },
QueryMsg: { QueryMsg: {
loading: true, loading: true,
...@@ -391,7 +397,6 @@ ...@@ -391,7 +397,6 @@
}, },
methods: { methods: {
openAirticket() { openAirticket() {
this.isShowAirticketOut = true; this.isShowAirticketOut = true;
}, },
//设置旅客的出票类型 //设置旅客的出票类型
...@@ -469,7 +474,7 @@ ...@@ -469,7 +474,7 @@
//获取联运团信息 //获取联运团信息
getCombinTeam() { getCombinTeam() {
let msg = { let msg = {
AirTicketId: this.$route.query.id AirTicketId: this.$route.query.id,
} }
this.apipost("ticket_get_GetUnionFlightAllInfo", msg, res => { this.apipost("ticket_get_GetUnionFlightAllInfo", msg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
...@@ -493,7 +498,6 @@ ...@@ -493,7 +498,6 @@
this.$message.info("已取消!"); this.$message.info("已取消!");
}); });
}, },
getCheckInfo() { getCheckInfo() {
let FlightList = [] let FlightList = []
this.flightList.forEach(x => { this.flightList.forEach(x => {
...@@ -534,7 +538,8 @@ ...@@ -534,7 +538,8 @@
let msg = { let msg = {
AirTicketId: this.msg.AirTicketId, AirTicketId: this.msg.AirTicketId,
Type: this.checkModule, Type: this.checkModule,
TemplateType: this.TemplateType TemplateType: this.TemplateType,
checkOutState:this.msg.checkOutState,//出票状态(1-已出票,2-未出票)
}; };
var fileName = this.$route.query.flightdate; var fileName = this.$route.query.flightdate;
var TempfileName = "" var TempfileName = ""
......
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