Commit 34b4a7d3 authored by youjie's avatar youjie

酒店列表

parent 202f43a3
......@@ -157,12 +157,8 @@ export default {
}, (res) => {
if (res.resultCode == 1) {
this.guestInfor = res.data;
if(this.guestInfor.guest.length==1){
if(this.guestInfor.guest&&this.guestInfor.guest.length==1){
this.isGuest = true
}
if(this.guestInfor.guest&&
this.guestInfor.guest.length>0&&
this.guestInfor.guest.length==1){
this.msg.Id = this.guestInfor.guest[0].Id;
this.msg.OrderId = this.guestInfor.guest[0].OrderId;
this.msg.Phone = this.guestInfor.guest[0].MobilePhone;
......
......@@ -444,9 +444,9 @@
},
sureAddress(msg){
this.showCityList = false;
if(this.parameters.CityCode2!=msg.CityCode2){
if(this.parameters.CityCode!=msg.CityCode2){
this.parameters.GName = msg.GName
this.parameters.CityCode2 = msg.CityCode2
this.parameters.CityCode = this.parameters.CityCode2 = msg.CityCode2
this.getRegion()
this.city = this.parameters.CityName = msg.CityName
this.research()
......
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