Commit b4b1682f authored by youjie's avatar youjie

no message

parent c5b48bad
......@@ -619,7 +619,9 @@
:disabled="groundShow"></el-input>
</el-form-item>
<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>
</el-select>
......@@ -1841,6 +1843,8 @@
DiJieMoney: this.obj.DiJieMoney, //地接应收
MealMoney: this.obj.MealMoney, //套餐应收
DepartTime: this.obj.DepartTime,
LineId: this.obj.LineId?this.obj.LineId:'',
LineName: this.obj.LineName,
}
}
......@@ -1960,9 +1964,8 @@
},
methods: {
handleCurrentLine(){
let findIndex = this.LineList.findIndex(x=>x.LineID==this.form.LineId)
console.log(findIndex,'--000')
this.form.LineName = findIndex.LineName
let filter = this.LineList.filter(x=>{return x.LineID==this.form.LineId})
this.form.LineName = filter[0].LineName
},
getLineList() {
this.apipost2(
......@@ -2641,6 +2644,8 @@
DiJieMoney: this.form.DiJieMoney, //地接应收
MealMoney: this.form.MealMoney, //套餐应收
DepartTime: this.form.DepartTime, //出发日期
LineId: this.form.LineId,
LineName: this.form.LineName,//线路
}
}
if (this.name == '编辑机票订单') {
......@@ -2659,6 +2664,8 @@
DiJieMoney: this.form.DiJieMoney, //地接应收
MealMoney: this.form.MealMoney, //套餐应收
DepartTime: this.form.DepartTime, //出发日期
LineId: this.form.LineId,
LineName: this.form.LineName,//线路
}
}
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