Commit e5131efd authored by 18224442217's avatar 18224442217

no message

parent 5c8d02f7
...@@ -210,13 +210,8 @@ ...@@ -210,13 +210,8 @@
} }
}, },
onLoad(options){ onLoad(options){
if(options.data){ this.msg.DepartCityId = this.OriginAddress.DepartCityId = options.DepartCityId?options.DepartCityId:0,
let obj = JSON.parse(options.data) this.msg.ArriveCityId = this.OriginAddress.DepartCityId = options.ArriveCityId?options.ArriveCityId:0
// this.OriginAddress.DepartCityName = obj.DepartCityName,
this.msg.DepartCityId = this.OriginAddress.DepartCityId = obj.DepartCityId,
// this.OriginAddress.ArriveCityName = obj.ArriveCityName,
this.msg.ArriveCityId = this.OriginAddress.DepartCityId = obj.ArriveCityId
}
this.U = uni.getStorageSync("mall_UserInfo") this.U = uni.getStorageSync("mall_UserInfo")
if(this.U&&this.U.Token){ if(this.U&&this.U.Token){
this.isToken = true this.isToken = true
...@@ -245,6 +240,9 @@ ...@@ -245,6 +240,9 @@
this.OriginAddress = JSON.parse(JSON.stringify(obj)) this.OriginAddress = JSON.parse(JSON.stringify(obj))
this.msg.DepartCityId = this.OriginAddress.DepartCityId this.msg.DepartCityId = this.OriginAddress.DepartCityId
this.msg.ArriveCityId = this.OriginAddress.ArriveCityId this.msg.ArriveCityId = this.OriginAddress.ArriveCityId
if(this.msg.DepartCityId||this.msg.ArriveCityId){
this.getDataList()
}
} }
}, },
RenewalAddres(SelectObj,AddressType){ RenewalAddres(SelectObj,AddressType){
......
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