|
@@ -139,6 +139,7 @@ Page({ |
|
@@ -139,6 +139,7 @@ Page({ |
|
139
|
this.options.room_demand.forEach((v,i)=>{
|
139
|
this.options.room_demand.forEach((v,i)=>{
|
|
140
|
roomids.push(v.id)
|
140
|
roomids.push(v.id)
|
|
141
|
})
|
141
|
})
|
|
|
|
142
|
+ console.log('ceshi',roomids);
|
|
142
|
App.Customer.SetReserveInfo({
|
143
|
App.Customer.SetReserveInfo({
|
|
143
|
sid:this.options.sid,
|
144
|
sid:this.options.sid,
|
|
144
|
ddate:this.options.ddate,
|
145
|
ddate:this.options.ddate,
|
|
@@ -150,6 +151,7 @@ Page({ |
|
@@ -150,6 +151,7 @@ Page({ |
|
150
|
ddate_solt:dur.indexOf(this.options.section)+1,
|
151
|
ddate_solt:dur.indexOf(this.options.section)+1,
|
|
151
|
roomids:roomids.toString(),
|
152
|
roomids:roomids.toString(),
|
|
152
|
}).then(res=>{
|
153
|
}).then(res=>{
|
|
|
|
154
|
+ console.log('ceshi',this.hasSubmit,res);
|
|
153
|
if(res.ret!=200){
|
155
|
if(res.ret!=200){
|
|
154
|
this.hasSubmit=true;
|
156
|
this.hasSubmit=true;
|
|
155
|
return util.toast(res.msg,'none');
|
157
|
return util.toast(res.msg,'none');
|
|
@@ -167,7 +169,9 @@ Page({ |
|
@@ -167,7 +169,9 @@ Page({ |
|
167
|
firstShowMsg:firstShowMsg,
|
169
|
firstShowMsg:firstShowMsg,
|
|
168
|
},'/pages/customer/detail_owner')
|
170
|
},'/pages/customer/detail_owner')
|
|
169
|
})
|
171
|
})
|
|
170
|
- })
|
172
|
+ },()=>{
|
|
|
|
173
|
+ this.hasSubmit=true;
|
|
|
|
174
|
+ })
|
|
171
|
},
|
175
|
},
|
|
172
|
getRdate(){
|
176
|
getRdate(){
|
|
173
|
let daily=this.data.seller.daily;
|
177
|
let daily=this.data.seller.daily;
|