Commit 0bb9ab0c authored by 黄奎's avatar 黄奎

页面修改

parent d5af16a1
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
padding-top: 10px; padding-top: 10px;
} }
.pmyTable .el-input__inner { .pmyTable .el-input__inner {
height: 23px !important; height: 23px !important;
padding: 0 5px; padding: 0 5px;
} }
...@@ -109,14 +109,17 @@ ...@@ -109,14 +109,17 @@
line-height: 30px; line-height: 30px;
color: #fff; color: #fff;
} }
/*拒签人员*/
.singeRowTable .redTr td{ /*拒签人员*/
.singeRowTable .redTr td {
color: #E95252; color: #E95252;
} }
.pg_checkModule{
margin-top:20px; .pg_checkModule {
font-size:14px; margin-top: 20px;
} font-size: 14px;
}
</style> </style>
<template> <template>
...@@ -131,7 +134,7 @@ ...@@ -131,7 +134,7 @@
<th width="50">人数</th> <th width="50">人数</th>
<th width="120">出发日期</th> <th width="120">出发日期</th>
</tr> </tr>
<tr v-for="item in QueryMsg.TeamInfoData"> <tr v-for="(item,index) in QueryMsg.TeamInfoData" :key="index">
<td>{{item.TCNUM}}</td> <td>{{item.TCNUM}}</td>
<td>{{item.Title}}</td> <td>{{item.Title}}</td>
<td>{{item.OfferNumber}}</td> <td>{{item.OfferNumber}}</td>
...@@ -141,12 +144,9 @@ ...@@ -141,12 +144,9 @@
</li> </li>
<li> <li>
<input type="button" class="normalBtn" value="导出报表" @click="getFlightInfo(0),getCombinTeam()" /> <input type="button" class="normalBtn" value="导出报表" @click="getFlightInfo(0),getCombinTeam()" />
<el-tooltip class="item" effect="dark" content="包含联运机票信息" placement="top"> <el-tooltip class="item" effect="dark" content="包含机票信息" placement="bottom">
<span> <input type="button" class="normalBtn" value="导出旅客&航班" @click="getFlightInfo(1),getCombinTeam()" />
<input type="button" class="normalBtn" value="导出旅客" @click="getFlightInfo(1),getCombinTeam()" /> </el-tooltip>
</span>
</el-tooltip>
<input type="button" class="normalBtn" v-if="isShowGuoji" value="制作财务单据" @click="makeFinacelDoc()" /> <input type="button" class="normalBtn" v-if="isShowGuoji" value="制作财务单据" @click="makeFinacelDoc()" />
<input type="button" class="normalBtn" value="导出报表" @click="exportExcel()" style="display:none;" /> <input type="button" class="normalBtn" value="导出报表" @click="exportExcel()" style="display:none;" />
</li> </li>
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
<th>客人联系方式</th> <th>客人联系方式</th>
<th>签证状态</th> <th>签证状态</th>
</tr> </tr>
<tr v-for="(item,index) in QueryMsg.dataList" :class="{'redTr':item.VisaState==1}"> <tr v-for="(item,index) in QueryMsg.dataList" :class="{'redTr':item.VisaState==1}" :key="index+10000">
<td v-if="isShowGuoji"> <td v-if="isShowGuoji">
<input v-model="item.guoji" type="checkbox" /> <input v-model="item.guoji" type="checkbox" />
</td> </td>
...@@ -225,7 +225,7 @@ ...@@ -225,7 +225,7 @@
<th>起飞机场</th> <th>起飞机场</th>
<th>到达机场</th> <th>到达机场</th>
</tr> </tr>
<tr v-for="item in flightList"> <tr v-for="(item,index) in flightList" :key="index+20000">
<td>{{item.Flight_number}}</td> <td>{{item.Flight_number}}</td>
<td> <td>
<el-input class="w60" v-model="item.TicketDepartureTime" onkeyup="value=value.replace(/[^\d^\:]/g,'')"> <el-input class="w60" v-model="item.TicketDepartureTime" onkeyup="value=value.replace(/[^\d^\:]/g,'')">
...@@ -256,7 +256,7 @@ ...@@ -256,7 +256,7 @@
<th>起飞机场</th> <th>起飞机场</th>
<th>到达机场</th> <th>到达机场</th>
</tr> </tr>
<tbody v-for="subItem in combineTeamList"> <tbody v-for="(subItem,subIndex) in combineTeamList" :key="subIndex+30000">
<tr> <tr>
<td rowspan="2">{{subItem.TCNUM}}({{subItem.TCID}})</td> <td rowspan="2">{{subItem.TCNUM}}({{subItem.TCID}})</td>
<td rowspan="2">{{subItem.UnionBranchName}}({{subItem.UnionCityName}})</td> <td rowspan="2">{{subItem.UnionBranchName}}({{subItem.UnionCityName}})</td>
...@@ -270,7 +270,6 @@ ...@@ -270,7 +270,6 @@
<el-input class="w60" v-model="subItem.GoArriveTime" onkeyup="value=value.replace(/[^\d^\:]/g,'')"> <el-input class="w60" v-model="subItem.GoArriveTime" onkeyup="value=value.replace(/[^\d^\:]/g,'')">
</el-input> </el-input>
</td> </td>
</td>
<td>{{subItem.GoDepartAirportName}}</td> <td>{{subItem.GoDepartAirportName}}</td>
<td>{{subItem.GoArrivalAirportName}}</td> <td>{{subItem.GoArrivalAirportName}}</td>
</tr> </tr>
...@@ -285,7 +284,6 @@ ...@@ -285,7 +284,6 @@
<el-input class="w60" v-model="subItem.BackArriveTime" onkeyup="value=value.replace(/[^\d^\:]/g,'')"> <el-input class="w60" v-model="subItem.BackArriveTime" onkeyup="value=value.replace(/[^\d^\:]/g,'')">
</el-input> </el-input>
</td> </td>
</td>
<td>{{subItem.BackDepartAirportName}}</td> <td>{{subItem.BackDepartAirportName}}</td>
<td>{{subItem.BackArrivalAirportName}}</td> <td>{{subItem.BackArrivalAirportName}}</td>
</tr> </tr>
...@@ -300,8 +298,8 @@ ...@@ -300,8 +298,8 @@
<el-option label="航空公司B2B模板" :value="1"></el-option> <el-option label="航空公司B2B模板" :value="1"></el-option>
</el-select> </el-select>
</span> </span>
<!--南方航空模板--> <!--南方航空模板-->
<span class="pg_checkModule" v-if="isShowSelect==2"> <span class="pg_checkModule" v-if="isShowSelect==2">
选择模板 选择模板
<el-select v-model="checkModule" filterable :placeholder="$t('system.ph_buxian')" class="w180"> <el-select v-model="checkModule" filterable :placeholder="$t('system.ph_buxian')" class="w180">
<el-option label="代码模板" :value="0"></el-option> <el-option label="代码模板" :value="0"></el-option>
...@@ -309,7 +307,6 @@ ...@@ -309,7 +307,6 @@
</el-select> </el-select>
</span> </span>
<button class="normalBtn" type="primary" @click="getIsSure()">确认航班信息</button> &nbsp; <button class="normalBtn" type="primary" @click="getIsSure()">确认航班信息</button> &nbsp;
<!-- <button class="normalBtn" type="primary" @click="getIsSureAirTicket()">导出航班信息</button> &nbsp; -->
<button class="hollowFixedBtn" @click="outerVisible = false">{{$t('pub.cancelBtn')}}</button> <button class="hollowFixedBtn" @click="outerVisible = false">{{$t('pub.cancelBtn')}}</button>
</div> </div>
</el-dialog> </el-dialog>
...@@ -340,7 +337,7 @@ ...@@ -340,7 +337,7 @@
TempCode: "" TempCode: ""
}, },
outerVisible: false, outerVisible: false,
TemplateType:0, TemplateType: 0,
flightList: [], flightList: [],
combineTeamList: [], combineTeamList: [],
isShowGuoji: false, isShowGuoji: false,
...@@ -356,8 +353,8 @@ ...@@ -356,8 +353,8 @@
checkedGJzd: false, checkedGJzd: false,
checkedshuijin: false, checkedshuijin: false,
checkedsc: false, checkedsc: false,
isShowSelect:0, isShowSelect: 0,
checkModule:0 checkModule: 0
}; };
}, },
methods: { methods: {
...@@ -395,7 +392,7 @@ ...@@ -395,7 +392,7 @@
); );
}, },
getFlightInfo(val) { getFlightInfo(val) {
this.TemplateType=val; this.TemplateType = val;
let msg = { let msg = {
ID: this.$route.query.id ID: this.$route.query.id
} }
...@@ -475,8 +472,8 @@ ...@@ -475,8 +472,8 @@
exportExcel() { exportExcel() {
let msg = { let msg = {
AirTicketId: this.msg.AirTicketId, AirTicketId: this.msg.AirTicketId,
Type:this.checkModule, Type: this.checkModule,
TemplateType:this.TemplateType TemplateType: this.TemplateType
}; };
var fileName = this.$route.query.flightdate //this.QueryMsg.nowDate; var fileName = this.$route.query.flightdate //this.QueryMsg.nowDate;
var TempfileName = "" var TempfileName = ""
...@@ -549,9 +546,10 @@ ...@@ -549,9 +546,10 @@
this.jipiaoObj.shengcangArr.push(x.GuestName); this.jipiaoObj.shengcangArr.push(x.GuestName);
} }
}) })
if(this.jipiaoObj.guojiArr.length==0&&this.jipiaoObj.guoneiArr.length==0&&this.jipiaoObj.gjzdArr.length==0&&this.jipiaoObj.shuijinArr.length==0&&this.jipiaoObj.shengcangArr.length==0){ if (this.jipiaoObj.guojiArr.length == 0 && this.jipiaoObj.guoneiArr.length == 0 && this.jipiaoObj.gjzdArr
.length == 0 && this.jipiaoObj.shuijinArr.length == 0 && this.jipiaoObj.shengcangArr.length == 0) {
this.Error('请选择旅客名单'); this.Error('请选择旅客名单');
}else{ } else {
sessionStorage.setItem("guoji", JSON.stringify(this.jipiaoObj)); sessionStorage.setItem("guoji", JSON.stringify(this.jipiaoObj));
let orderObj = { let orderObj = {
OrderID: 0, OrderID: 0,
...@@ -589,9 +587,9 @@ ...@@ -589,9 +587,9 @@
mounted() { mounted() {
this.QueryMsg.AirTicketId = this.$route.query.id; this.QueryMsg.AirTicketId = this.$route.query.id;
var alcode = this.$route.query.alcode; var alcode = this.$route.query.alcode;
if(alcode=='HO'){ if (alcode == 'HO') {
this.isShowSelect = 1; this.isShowSelect = 1;
}else if(alcode=="CZ"){ } else if (alcode == "CZ") {
this.isShowSelect = 2; this.isShowSelect = 2;
} }
this.msg.AirTicketId = this.$route.query.id; this.msg.AirTicketId = this.$route.query.id;
......
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