Commit 5202b17d authored by 黄奎's avatar 黄奎

票务机票修改

parent ed5c0baa
...@@ -622,6 +622,16 @@ ...@@ -622,6 +622,16 @@
<div class="flexOne TravelticketManager"> <div class="flexOne TravelticketManager">
<div class="query-box"> <div class="query-box">
<ul> <ul>
<li>
<span>
<em>线路</em>
<el-select v-model="Query.LineId" :placeholder="$t('pub.pleaseSel')" class="w120">
<el-option :label="$t('pub.unlimitedSel')" :value="0"></el-option>
<el-option v-for="item in LineList" :key="item.LineID" :label="item.LineName"
:value="item.LineID"></el-option>
</el-select>
</span>
</li>
<li> <li>
<span class="hotel_name"> <span class="hotel_name">
<em>起飞时间</em> <em>起飞时间</em>
...@@ -809,7 +819,10 @@ ...@@ -809,7 +819,10 @@
<span class="Ticket_TCID" v-for="subItem in item.PriceList">({{subItem.TCID}}){{subItem.TCNUM}} &nbsp;</span> <span class="Ticket_TCID" v-for="subItem in item.PriceList">({{subItem.TCID}}){{subItem.TCNUM}} &nbsp;</span>
</div> </div>
</el-col> </el-col>
<el-col :span="16"> <el-col :span="6">
<div class="TCID_cont"> 采购人:<span style="color:red;">{{item.PurchaseManName}}</span> </div>
</el-col>
<el-col :span="10">
<div class="TCID_cont"> <div class="TCID_cont">
PNR:{{item.PNR}} PNR:{{item.PNR}}
</div> </div>
...@@ -847,6 +860,7 @@ ...@@ -847,6 +860,7 @@
data() { data() {
return { return {
Query: { Query: {
LineId:0,//线路编号
//页码 //页码
pageIndex: 1, pageIndex: 1,
//每页显示条数 //每页显示条数
...@@ -872,7 +886,11 @@ ...@@ -872,7 +886,11 @@
currentPage: 1, currentPage: 1,
//起飞状态 //起飞状态
FlyState: "0", FlyState: "0",
//是否查询采购人员(1-查询,0-不查询)
IsQueryPurchase:1,
}, },
//线路列表
LineList:[],
//下拉框默认值 //下拉框默认值
selectDefauleValue: 0, selectDefauleValue: 0,
//防止重复提交 //防止重复提交
...@@ -923,7 +941,7 @@ ...@@ -923,7 +941,7 @@
this.Query.total = res.data.data.count; this.Query.total = res.data.data.count;
this.noData = !this.Query.total > 0; this.noData = !this.Query.total > 0;
this.dataList = res.data.data.pageData; this.dataList = res.data.data.pageData;
console.log("dataList",this.dataList);
} else { } else {
this.Warning(res.data.message); this.Warning(res.data.message);
} }
...@@ -931,6 +949,19 @@ ...@@ -931,6 +949,19 @@
err => {} err => {}
); );
}, },
//获取线路列表
GetLineList() {
this.apipost(
"line_post_GetAllList", {},
res => {
if (res.data.resultCode == 1) {
this.LineList = res.data.data;
}
},
err => {
}
);
},
GetPlaceHolder() { GetPlaceHolder() {
this.UseNum_placeholder = this.UseNum_placeholder =
"最多绑定" + this.bindAirticket.TotalNum + "个机位"; "最多绑定" + this.bindAirticket.TotalNum + "个机位";
...@@ -998,6 +1029,7 @@ ...@@ -998,6 +1029,7 @@
} }
}, },
mounted() { mounted() {
this.GetLineList();
this.initAirline(); this.initAirline();
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