|
...
|
...
|
@@ -26,10 +26,12 @@ Page({ |
|
|
|
this.options=options
|
|
|
|
this.GetSellerDetail();
|
|
|
|
App.Customer.GetCustomerInfo().then(res=>{
|
|
|
|
this.user = res.data
|
|
|
|
this.setData({
|
|
|
|
user: res.data,
|
|
|
|
})
|
|
|
|
if(res.data){
|
|
|
|
this.user = res.data
|
|
|
|
this.setData({
|
|
|
|
user: res.data,
|
|
|
|
})
|
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
|
|
|
|
|
...
|
...
|
@@ -152,7 +154,14 @@ Page({ |
|
|
|
editorReserve(){
|
|
|
|
wx.navigateBack()
|
|
|
|
},
|
|
|
|
getphoneNumber(e){
|
|
|
|
console.log('getphoneNumber',e);
|
|
|
|
getphone(e){
|
|
|
|
console.log('getphone',e);
|
|
|
|
if(e.detail.ret!=200){
|
|
|
|
return util.toast('获取失败,请手动填写','none');
|
|
|
|
}
|
|
|
|
this.user.phone=e.detail.phone
|
|
|
|
this.setData({
|
|
|
|
user: this.user
|
|
|
|
})
|
|
|
|
},
|
|
|
|
}) |
|
|
\ No newline at end of file |
...
|
...
|
|