Commit 82c0ebfc authored by youjie's avatar youjie

no message

parent d7a11ea2
...@@ -1582,14 +1582,17 @@ ...@@ -1582,14 +1582,17 @@
let PlaceList = that.addMsg.PlaceList let PlaceList = that.addMsg.PlaceList
let AirportList = that.addMsg.AirportList let AirportList = that.addMsg.AirportList
for(let i=0;i<PlaceList.length;i++){ for(let i=0;i<PlaceList.length;i++){
if(!PlaceList[i].Lng||!PlaceList[i].Range){ if(!PlaceList[i].Range){
return that.tips(`请选择地图获取地理位置${i+1}`, "error"); return that.tips(`请输入上车距离中心范围${i+1}`, "error");
}
if(!PlaceList[i].Lng||!PlaceList[i].Lat){
return that.tips(`请选择上车信息地图获取地理位置${i+1}`, "error");
} }
} }
if(this.addMsg.CarType!=3){ if(this.addMsg.CarType!=3){
for(let i=0;i<AirportList.length;i++){ for(let i=0;i<AirportList.length;i++){
if(!AirportList[i].Lng||!AirportList[i].Range){ if(!AirportList[i].Lng||!AirportList[i].Lat){
return that.tips(`请选择地图获取地理位置${i+1}`, "error"); return that.tips(`请选择机场地址信息地图获取地理位置${i+1}`, "error");
} }
} }
} }
......
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