Commit c204b126 authored by zhengke's avatar zhengke

修改

parent 6211b39a
...@@ -349,7 +349,9 @@ ...@@ -349,7 +349,9 @@
//顶部图片 //顶部图片
lineTripFeatureTopBg:'', lineTripFeatureTopBg:'',
//底部图片 //底部图片
lineTripFeatureBottomBg:'' lineTripFeatureBottomBg:'',
//航空公司下拉
airLineList: [],
} }
}, },
mounted() { mounted() {
...@@ -359,6 +361,7 @@ ...@@ -359,6 +361,7 @@
this.isopOperation= this.isopOperation=
// this.getWxCode(); // this.getWxCode();
this.init(); this.init();
this.initAirlines()
this.getDataList(); this.getDataList();
}, },
methods: { methods: {
...@@ -414,6 +417,18 @@ ...@@ -414,6 +417,18 @@
this.ToWord_V2(this.orderMsg.startDate + this.orderMsg.lineteamName + this.orderMsg.dayNum + '日游', isPc) this.ToWord_V2(this.orderMsg.startDate + this.orderMsg.lineteamName + this.orderMsg.dayNum + '日游', isPc)
} }
}, },
//初始化航空公司下拉
initAirlines: function () {
this.apipost(
'airline_post_GetList', {},
res => {
if (res.data.resultCode == 1) {
this.airLineList = res.data.data
}
},
err => {}
)
},
airLineSelectChange: function (airLineId, item, type) { airLineSelectChange: function (airLineId, item, type) {
item.airLineID = airLineId item.airLineID = airLineId
this.airLineList.forEach(x => { this.airLineList.forEach(x => {
...@@ -635,7 +650,7 @@ ...@@ -635,7 +650,7 @@
} }
this.editForm.travelOrderFlightList.forEach(fItem => { this.editForm.travelOrderFlightList.forEach(fItem => {
fItem.airportNameList = []; fItem.airportNameList = [];
this.airLineSelectChange(fItem.airLineID, fItem); this.airLineSelectChange(fItem.airLineID, fItem);
}); });
} }
......
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