Commit 40227866 authored by youjie's avatar youjie
parents 53b32a9e 9b2450c8
...@@ -140,7 +140,13 @@ ...@@ -140,7 +140,13 @@
</table> </table>
</li> </li>
<li> <li>
<input type="button" class="normalBtn" value="导出报表" @click="getFlightInfo(),getCombinTeam()" /> <input type="button" class="normalBtn" value="导出报表" @click="getFlightInfo(0),getCombinTeam()" />
<el-tooltip class="item" effect="dark" content="包含联运机票信息" placement="top">
<span>
<input type="button" class="normalBtn" value="导出旅客" @click="getFlightInfo(1),getCombinTeam()" />
</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>
...@@ -303,6 +309,7 @@ ...@@ -303,6 +309,7 @@
</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>
...@@ -333,6 +340,7 @@ ...@@ -333,6 +340,7 @@
TempCode: "" TempCode: ""
}, },
outerVisible: false, outerVisible: false,
TemplateType:0,
flightList: [], flightList: [],
combineTeamList: [], combineTeamList: [],
isShowGuoji: false, isShowGuoji: false,
...@@ -386,7 +394,8 @@ ...@@ -386,7 +394,8 @@
err => {} err => {}
); );
}, },
getFlightInfo() { getFlightInfo(val) {
this.TemplateType=val;
let msg = { let msg = {
ID: this.$route.query.id ID: this.$route.query.id
} }
...@@ -426,7 +435,7 @@ ...@@ -426,7 +435,7 @@
this.$message.info("已取消!"); this.$message.info("已取消!");
}); });
}, },
//确定
getCheckInfo() { getCheckInfo() {
let FlightList = [] let FlightList = []
this.flightList.forEach(x => { this.flightList.forEach(x => {
...@@ -466,7 +475,8 @@ ...@@ -466,7 +475,8 @@
exportExcel() { exportExcel() {
let msg = { let msg = {
AirTicketId: this.msg.AirTicketId, AirTicketId: this.msg.AirTicketId,
Type:this.checkModule Type:this.checkModule,
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 = ""
...@@ -490,6 +500,7 @@ ...@@ -490,6 +500,7 @@
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
this.msg.pageIndex = val; this.msg.pageIndex = val;
this.getList(); this.getList();
......
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