Commit eb42492f63be611fd2b13149f03941268fa2f02a

Authored by liuxuqinfhp1220
1 parent 06be9610

no message

... ... @@ -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){
... ...
... ... @@ -55,7 +55,7 @@
"id": 0,
"name": "预订本-商家1",
"pathName": "pack-book/pages/book/b_index",
"query": "seller_id=154&seller_openid=o9pcQ0cbjRKnRWczcOJaaSRGP1lE&manager_id=500",
"query": "seller_id=689&seller_openid=o9pcQ0cbjRKnRWczcOJaaSRGP1lE&manager_id=500",
"scene": 1001
},
{
... ...