Commit 10c69920 authored by zhengke's avatar zhengke

增加模板选择

parent 96310fe0
......@@ -80,7 +80,7 @@
padding-top: 10px;
}
.PassengerList .el-input__inner {
.pmyTable .el-input__inner {
height: 23px !important;
padding: 0 5px;
}
......@@ -113,6 +113,10 @@
.singeRowTable .redTr td{
color: #E95252;
}
.pg_checkModule{
margin-top:20px;
font-size:14px;
}
</style>
<template>
......@@ -203,7 +207,7 @@
</el-pagination>
<el-dialog custom-class='passgenrDialog' title="航班列表" :visible.sync="outerVisible" center>
<table border="0" cellspacing="0" cellpadding="0" class="singeRowTable">
<table border="0" cellspacing="0" cellpadding="0" class="singeRowTable pmyTable">
<tr>
<td colspan="6" style="text-align:left;font-weight:bold;padding-left:5px">票务航班信息</td>
</tr>
......@@ -282,6 +286,13 @@
</tbody>
</table>
<div slot="footer" class="dialog-footer">
<span class="pg_checkModule" v-if="isShowSelect">
选择模板
<el-select v-model="checkModule" filterable :placeholder="$t('system.ph_buxian')" class="w180">
<el-option label="代理模板" :value="0"></el-option>
<el-option label="航空公司B2B模板" :value="1"></el-option>
</el-select>
</span>
<button class="normalBtn" type="primary" @click="getIsSure()">确认航班信息</button> &nbsp;
<button class="hollowFixedBtn" @click="outerVisible = false">{{$t('pub.cancelBtn')}}</button>
</div>
......@@ -328,6 +339,8 @@
checkedGJzd: false,
checkedshuijin: false,
checkedsc: false,
isShowSelect:false,
checkModule:0
};
},
methods: {
......@@ -444,7 +457,7 @@
exportExcel() {
let msg = {
AirTicketId: this.msg.AirTicketId,
Type:0
Type:this.checkModule
};
var fileName = this.$route.query.flightdate //this.QueryMsg.nowDate;
var TempfileName = ""
......@@ -551,6 +564,12 @@
},
mounted() {
this.QueryMsg.AirTicketId = this.$route.query.id;
var alcode = this.$route.query.alcode;
if(alcode=='HO'){
this.isShowSelect = true;
}else{
this.isShowSelect = false;
}
this.msg.AirTicketId = this.$route.query.id;
if (this.$route.query.isFromTk != undefined) {
this.isShowGuoji = this.$route.query.isFromTk;
......
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