|
...
|
...
|
@@ -36,6 +36,10 @@ Page({ |
|
|
|
indexOpt:null,
|
|
|
|
YYYY:'YYYY',
|
|
|
|
onLoad:async function(opt){
|
|
|
|
if(opt.rid){
|
|
|
|
this.reserveId=opt.rid
|
|
|
|
delete opt.rid
|
|
|
|
}
|
|
|
|
this.indexOpt=opt;
|
|
|
|
mta.Page.init({
|
|
|
|
"appID":"500667280",
|
|
...
|
...
|
@@ -57,11 +61,6 @@ Page({ |
|
|
|
}else{
|
|
|
|
this.sellerid=util.cache('sellerid');
|
|
|
|
}
|
|
|
|
if(opt.rid){
|
|
|
|
return wx.navigateTo({
|
|
|
|
url:'./b_detail?id='+opt.rid
|
|
|
|
})
|
|
|
|
}
|
|
|
|
//this.sellerid=opt.seller_id ? opt.seller_id : util.cache('sellerid');
|
|
|
|
let timePickerArray= await bookOrder.getDayTimeSpace();
|
|
|
|
let speciallist=[
|
|
...
|
...
|
@@ -102,6 +101,13 @@ Page({ |
|
|
|
}
|
|
|
|
|
|
|
|
},1000);
|
|
|
|
if(this.reserveId){
|
|
|
|
let url='./b_detail?id='+this.reserveId
|
|
|
|
this.reserveId=''
|
|
|
|
return wx.navigateTo({
|
|
|
|
url:url
|
|
|
|
})
|
|
|
|
}
|
|
|
|
},
|
|
|
|
async getbooklist(isExport=false){
|
|
|
|
let time=0;
|
...
|
...
|
|