Commit e2263d2f authored by youjie's avatar youjie

修复

parent 3d579215
...@@ -71,10 +71,9 @@ export default { ...@@ -71,10 +71,9 @@ export default {
} }
}) })
this.infor() this.infor()
this.getUserInfo()
}, },
onShow(){ onShow(){
this.getUserInfo()
}, },
methods: { methods: {
infor(){ infor(){
...@@ -159,7 +158,6 @@ export default { ...@@ -159,7 +158,6 @@ export default {
this.guestInfor.guest.length==1){ this.guestInfor.guest.length==1){
this.msg.Id = this.guestInfor.guest[0].Id; this.msg.Id = this.guestInfor.guest[0].Id;
this.msg.OrderId = this.guestInfor.guest[0].OrderId; this.msg.OrderId = this.guestInfor.guest[0].OrderId;
this.msg.Phone = this.guestInfor.guest[0].MobilePhone;
} }
uni.hideLoading(); uni.hideLoading();
}}, (error) => { }}, (error) => {
...@@ -183,7 +181,6 @@ export default { ...@@ -183,7 +181,6 @@ export default {
this.guestInfor.guest.length==1){ this.guestInfor.guest.length==1){
this.msg.Id = this.guestInfor.guest[0].Id; this.msg.Id = this.guestInfor.guest[0].Id;
this.msg.OrderId = this.guestInfor.guest[0].OrderId; this.msg.OrderId = this.guestInfor.guest[0].OrderId;
this.msg.Phone = this.guestInfor.guest[0].MobilePhone;
this.setRegister() this.setRegister()
}else if(this.guestInfor.guest&&this.guestInfor.guest.length>1){ }else if(this.guestInfor.guest&&this.guestInfor.guest.length>1){
uni.hideLoading(); uni.hideLoading();
......
...@@ -54,6 +54,8 @@ export default { ...@@ -54,6 +54,8 @@ export default {
onLoad(option) { onLoad(option) {
this.msg = JSON.parse(decodeURIComponent(option.msg)) this.msg = JSON.parse(decodeURIComponent(option.msg))
this.obj = JSON.parse(decodeURIComponent(option.obj)) this.obj = JSON.parse(decodeURIComponent(option.obj))
},
onShow(){
this.QueryUsers() this.QueryUsers()
}, },
methods: { methods: {
......
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