Showing
1 changed file
with
12 additions
and
1 deletions
| @@ -168,10 +168,21 @@ Page({ | @@ -168,10 +168,21 @@ Page({ | ||
| 168 | actionSheetHidden:true | 168 | actionSheetHidden:true |
| 169 | }) | 169 | }) |
| 170 | }, | 170 | }, |
| 171 | - startDinner(e){ | 171 | + async startDinner(e){ |
| 172 | + let cause={}; | ||
| 173 | + let enter_params=util.cache('enter_params'); | ||
| 174 | + let sc=(await App.Reserve.SellerInfo(enter_params)).data | ||
| 175 | + cause={desc:""} | ||
| 176 | + if(enter_params){ | ||
| 177 | + cause.uid=enter_params.manager_id; | ||
| 178 | + } | ||
| 179 | + if(sc.seller_user){ | ||
| 180 | + cause.uname=(sc.seller_user.nick_name||sc.seller_user.nickname) | ||
| 181 | + } | ||
| 172 | App.Reserve.SetReserveStatus({ | 182 | App.Reserve.SetReserveStatus({ |
| 173 | rid:this.data.bookInfo.id, | 183 | rid:this.data.bookInfo.id, |
| 174 | status:util.attr(e,'status'), | 184 | status:util.attr(e,'status'), |
| 185 | + cause:JSON.stringify(cause), | ||
| 175 | }).then(()=>{ | 186 | }).then(()=>{ |
| 176 | this.getDetail(this.data.bookInfo.id,true); | 187 | this.getDetail(this.data.bookInfo.id,true); |
| 177 | }); | 188 | }); |
-
Please register or login to post a comment