Commit c204b126 authored by zhengke's avatar zhengke

修改

parent 6211b39a
......@@ -349,7 +349,9 @@
//顶部图片
lineTripFeatureTopBg:'',
//底部图片
lineTripFeatureBottomBg:''
lineTripFeatureBottomBg:'',
//航空公司下拉
airLineList: [],
}
},
mounted() {
......@@ -359,6 +361,7 @@
this.isopOperation=
// this.getWxCode();
this.init();
this.initAirlines()
this.getDataList();
},
methods: {
......@@ -414,6 +417,18 @@
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) {
item.airLineID = airLineId
this.airLineList.forEach(x => {
......@@ -635,7 +650,7 @@
}
this.editForm.travelOrderFlightList.forEach(fItem => {
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