Commit 5bae929f authored by 黄奎's avatar 黄奎

查询报错Bug修改

parent a539c102
......@@ -260,17 +260,13 @@ export default {
this.loadTeamData()
},
loadTeamData(){
// if(this.keywords=='') {
// this.Info('请输入搜索关键字')
// return
// }
let minTripDay=-1,maxTripDay=-1,minPrice=-1,maxPrice=-1,startDate='',endDate='',startCityId=0
let search0="";
let search1="";
if(this.searchItem[0]!='' && this.searchItem[0]!='0') {
this.lines.forEach(x=>{
if(x.name==this.searchItem[0]){
lineId=x.id;
this.lineId=x.id;
search0=x.name;
}
})
......@@ -279,7 +275,7 @@ export default {
if(this.searchItem[1]!='' && this.searchItem[1]!='0') {
this.xilies.forEach(x=>{
if(x.name==this.searchItem[1]){
lineTeamId=x.id;
this.lineTeamId=x.id;
search1=x.name;
}
})
......@@ -450,7 +446,6 @@ export default {
if(this.companyId!=-1){
this.apipost('b2b_get_GetGroupSearchItem',{'companyId':this.companyId,cityId:this.cityId},r=>{
this.lines=r.data.data.line
console.log("this.lines",this.lines)
if(this.$route.query.lineId&&this.$route.query.lineteamId){
this.lineId=this.$route.query.lineId;
this.lineteamId=this.$route.query.lineteamId;
......
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