Commit b4b1682f authored by youjie's avatar youjie

no message

parent c5b48bad
...@@ -619,7 +619,9 @@ ...@@ -619,7 +619,9 @@
:disabled="groundShow"></el-input> :disabled="groundShow"></el-input>
</el-form-item> </el-form-item>
<el-form-item v-if="checkList.indexOf('3')!=-1" label="线路" prop="LineId" style="width: 50%;"> <el-form-item v-if="checkList.indexOf('3')!=-1" label="线路" prop="LineId" style="width: 50%;">
<el-select size="mini" v-model="form.LineId" @change="handleCurrentLine"> <el-select size="mini" v-model="form.LineId"
filterable
@change="handleCurrentLine">
<el-option v-for="(item,index) in LineList" :key="index" :label="item.LineName" :value="item.LineID"> <el-option v-for="(item,index) in LineList" :key="index" :label="item.LineName" :value="item.LineID">
</el-option> </el-option>
</el-select> </el-select>
...@@ -1841,6 +1843,8 @@ ...@@ -1841,6 +1843,8 @@
DiJieMoney: this.obj.DiJieMoney, //地接应收 DiJieMoney: this.obj.DiJieMoney, //地接应收
MealMoney: this.obj.MealMoney, //套餐应收 MealMoney: this.obj.MealMoney, //套餐应收
DepartTime: this.obj.DepartTime, DepartTime: this.obj.DepartTime,
LineId: this.obj.LineId?this.obj.LineId:'',
LineName: this.obj.LineName,
} }
} }
...@@ -1960,9 +1964,8 @@ ...@@ -1960,9 +1964,8 @@
}, },
methods: { methods: {
handleCurrentLine(){ handleCurrentLine(){
let findIndex = this.LineList.findIndex(x=>x.LineID==this.form.LineId) let filter = this.LineList.filter(x=>{return x.LineID==this.form.LineId})
console.log(findIndex,'--000') this.form.LineName = filter[0].LineName
this.form.LineName = findIndex.LineName
}, },
getLineList() { getLineList() {
this.apipost2( this.apipost2(
...@@ -2641,6 +2644,8 @@ ...@@ -2641,6 +2644,8 @@
DiJieMoney: this.form.DiJieMoney, //地接应收 DiJieMoney: this.form.DiJieMoney, //地接应收
MealMoney: this.form.MealMoney, //套餐应收 MealMoney: this.form.MealMoney, //套餐应收
DepartTime: this.form.DepartTime, //出发日期 DepartTime: this.form.DepartTime, //出发日期
LineId: this.form.LineId,
LineName: this.form.LineName,//线路
} }
} }
if (this.name == '编辑机票订单') { if (this.name == '编辑机票订单') {
...@@ -2659,6 +2664,8 @@ ...@@ -2659,6 +2664,8 @@
DiJieMoney: this.form.DiJieMoney, //地接应收 DiJieMoney: this.form.DiJieMoney, //地接应收
MealMoney: this.form.MealMoney, //套餐应收 MealMoney: this.form.MealMoney, //套餐应收
DepartTime: this.form.DepartTime, //出发日期 DepartTime: this.form.DepartTime, //出发日期
LineId: this.form.LineId,
LineName: this.form.LineName,//线路
} }
} }
this.clickShow = true this.clickShow = true
......
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