|
...
|
...
|
@@ -25,15 +25,8 @@ Component({ |
|
|
|
'date,section': function(newdate,newsection) {
|
|
|
|
console.log('room',newdate,newsection)
|
|
|
|
if(newdate && newsection){
|
|
|
|
if(this.data.roomlist.length>0){
|
|
|
|
this.data.roomlist.forEach((v,i)=>{
|
|
|
|
if(v.selectnum>0){
|
|
|
|
v.selectnum=0;
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|
|
|
|
this.setData({
|
|
|
|
roomlist:this.data.roomlist
|
|
|
|
roomlist:[]
|
|
|
|
})
|
|
|
|
this.getroomtype();
|
|
|
|
}else{
|
|
...
|
...
|
@@ -50,7 +43,7 @@ Component({ |
|
|
|
day:util.timetouUnix(this.data.date+' 00:00:00'),
|
|
|
|
interval:dur.indexOf(this.data.section)+1
|
|
|
|
}
|
|
|
|
console.log('参数',this.data.date,parmdata)
|
|
|
|
console.log('参数',this.data.date,parmdata);
|
|
|
|
App.Seller.GetSellerTableClass(parmdata).then((json)=>{
|
|
|
|
console.log('roomlist',json)
|
|
|
|
if(json.ret==200){
|
...
|
...
|
|