Commit 888ae618 authored by liudong1993's avatar liudong1993
parents 5462fadc e804de03
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
<div class="DT_rightList"> <div class="DT_rightList">
<div class="TMTitle"><i></i>联运设置</div> <div class="TMTitle"><i></i>联运设置</div>
<!--保存--> <!--保存-->
<input type='button' class="normalBtn" @click="SaveUnion()" value="保存"></input> <input type='button' class="normalBtn" @click="SaveUnion()" value="保存" />
<table class="singeRowTable DT_Table" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable DT_Table" border="0" cellspacing="0" cellpadding="0">
<tbody> <tbody>
<tr> <tr>
...@@ -128,6 +128,9 @@ ...@@ -128,6 +128,9 @@
<th width="160"> <th width="160">
集合地点 集合地点
</th> </th>
<th width="160">
隐藏航班
</th>
<th width="150"> <th width="150">
操作 操作
</th> </th>
...@@ -197,6 +200,13 @@ ...@@ -197,6 +200,13 @@
<td rowspan="2"> <td rowspan="2">
<el-input class="w150" v-model="item.GatherAddress"></el-input> <el-input class="w150" v-model="item.GatherAddress"></el-input>
</td> </td>
<td rowspan="2">
<el-select class="w200" filterable v-model="item.NotShowFlightIdsList" multiple clearable>
<el-option v-for="subItem in TravelFlightList" :label='subItem.Flight_number' :value='subItem.ID'
:key="subItem.subCode">
</el-option>
</el-select>
</td>
<td rowspan="2"> <td rowspan="2">
<el-button type="danger" icon="iconfont icon-guanbi" circle @click="DeleteUnion(item,index)"></el-button> <el-button type="danger" icon="iconfont icon-guanbi" circle @click="DeleteUnion(item,index)"></el-button>
<el-popover width="400" trigger="click"> <el-popover width="400" trigger="click">
...@@ -273,9 +283,9 @@ ...@@ -273,9 +283,9 @@
</tbody> </tbody>
<tfoot> <tfoot>
<tr> <tr>
<td colspan="12"> <td colspan="13">
<input v-if="ChoosrPriceArray!=null && ChoosrPriceArray.length>0" type='button' class="normalBtn" <input v-if="ChoosrPriceArray!=null && ChoosrPriceArray.length>0" type='button' class="normalBtn"
@click="AddItem()" value="新增"></input> @click="AddItem()" value="新增" />
</td> </td>
</tr> </tr>
</tfoot> </tfoot>
...@@ -338,10 +348,23 @@ ...@@ -338,10 +348,23 @@
ID: 2, ID: 2,
Name: "后两天" Name: "后两天"
} }
] ],
//团绑定的航班列表
TravelFlightList: [],
}; };
}, },
methods: { methods: {
//根据团号获取团绑定的航班列表
getTravelPriceFlight(TCID) {
this.apipost(
"travel_post_GetFlightListByTCID", {
TCID: TCID
},
res => {
this.TravelFlightList = res.data.data;
},
);
},
//交通类型切换 //交通类型切换
getTrafficType1(item, type) { getTrafficType1(item, type) {
item.FlightList = []; item.FlightList = [];
...@@ -383,6 +406,7 @@ ...@@ -383,6 +406,7 @@
//出团公司 //出团公司
OutBranchId: item.OutBranchId OutBranchId: item.OutBranchId
}; };
this.getTravelPriceFlight(item.TCID);
switch (item.checkState) { switch (item.checkState) {
//未选中====>选中 //未选中====>选中
case this.ShowStatusList.NoChecked: case this.ShowStatusList.NoChecked:
...@@ -573,6 +597,8 @@ ...@@ -573,6 +597,8 @@
ArrList: [], ArrList: [],
GoTrafficType: 1, //去程交通类型 GoTrafficType: 1, //去程交通类型
BackTrafficType: 1, //回程交通类型 BackTrafficType: 1, //回程交通类型
NotShowFlightIdsList: [], //不显示航班下拉列表
NotShowFlightIds: "", //不显示航班
}); });
}, },
//保存联运信息数据 //保存联运信息数据
......
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