Showing
1 changed file
with
5 additions
and
4 deletions
| @@ -295,11 +295,12 @@ Page({ | @@ -295,11 +295,12 @@ Page({ | ||
| 295 | if(!this.reserve.selectroom || (this.reserve.selectroom && this.reserve.selectroom.length==0)){ | 295 | if(!this.reserve.selectroom || (this.reserve.selectroom && this.reserve.selectroom.length==0)){ |
| 296 | return util.toast('请选择包间类型','none'); | 296 | return util.toast('请选择包间类型','none'); |
| 297 | } | 297 | } |
| 298 | - this.reserve.sid=this.options.id | ||
| 299 | - this.reserve.ddate=util.timetouUnix(this.reserve.date+' '+this.reserve.time+':00'); | ||
| 300 | - this.reserve.selectroom=JSON.stringify(this.reserve.selectroom); | 298 | + let params={...this.reserve} |
| 299 | + params.sid=this.options.id | ||
| 300 | + params.ddate=util.timetouUnix(this.reserve.date+' '+this.reserve.time+':00'); | ||
| 301 | + params.selectroom=JSON.stringify(this.reserve.selectroom); | ||
| 301 | wx.navigateTo({ | 302 | wx.navigateTo({ |
| 302 | - url:util.http_build_query(this.reserve,'./submit') | 303 | + url:util.http_build_query(params,'./submit') |
| 303 | }) | 304 | }) |
| 304 | }, | 305 | }, |
| 305 | selecttime(e){//时间改变 | 306 | selecttime(e){//时间改变 |
-
Please register or login to post a comment