Showing
1 changed file
with
4 additions
and
2 deletions
| @@ -83,6 +83,8 @@ Page({ | @@ -83,6 +83,8 @@ Page({ | ||
| 83 | cusman:man.user_name, | 83 | cusman:man.user_name, |
| 84 | cusman_phone:man.user_phone?man.user_phone:'', | 84 | cusman_phone:man.user_phone?man.user_phone:'', |
| 85 | cusman_account:man.user_wechat?man.user_wechat:'', | 85 | cusman_account:man.user_wechat?man.user_wechat:'', |
| 86 | + }).then(()=>{ | ||
| 87 | + this.getDetail(this.data.bookInfo.id,true); | ||
| 86 | }); | 88 | }); |
| 87 | } | 89 | } |
| 88 | }catch(e){ | 90 | }catch(e){ |
| @@ -90,8 +92,8 @@ Page({ | @@ -90,8 +92,8 @@ Page({ | ||
| 90 | } | 92 | } |
| 91 | }, | 93 | }, |
| 92 | detailData:null, | 94 | detailData:null, |
| 93 | - getDetail(id){ | ||
| 94 | - App.Reserve.Detail({rid:id,openid:''}).then(res=>{ | 95 | + getDetail(id,force=false){ |
| 96 | + App.Reserve.Detail({rid:id,openid:''},force).then(res=>{ | ||
| 95 | res.data.rdateStr=util.unixtoTime(res.data.rdate,"MM月DD日 HH:II") | 97 | res.data.rdateStr=util.unixtoTime(res.data.rdate,"MM月DD日 HH:II") |
| 96 | this.detailData=res.data; | 98 | this.detailData=res.data; |
| 97 | this.setData({ | 99 | this.setData({ |
-
Please register or login to post a comment