Commit b7f669227a4f88d7d487033a633a147780dad933

Authored by vking
2 parents 16b4aff1 5acdbc40

Merge remote-tracking branch 'origin/master'

@@ -25,15 +25,8 @@ Component({ @@ -25,15 +25,8 @@ Component({
25 'date,section': function(newdate,newsection) { 25 'date,section': function(newdate,newsection) {
26 console.log('room',newdate,newsection) 26 console.log('room',newdate,newsection)
27 if(newdate && newsection){ 27 if(newdate && newsection){
28 - if(this.data.roomlist.length>0){  
29 - this.data.roomlist.forEach((v,i)=>{  
30 - if(v.selectnum>0){  
31 - v.selectnum=0;  
32 - }  
33 - })  
34 - }  
35 this.setData({ 28 this.setData({
36 - roomlist:this.data.roomlist 29 + roomlist:[]
37 }) 30 })
38 this.getroomtype(); 31 this.getroomtype();
39 }else{ 32 }else{
@@ -50,7 +43,7 @@ Component({ @@ -50,7 +43,7 @@ Component({
50 day:util.timetouUnix(this.data.date+' 00:00:00'), 43 day:util.timetouUnix(this.data.date+' 00:00:00'),
51 interval:dur.indexOf(this.data.section)+1 44 interval:dur.indexOf(this.data.section)+1
52 } 45 }
53 - console.log('参数',this.data.date,parmdata) 46 + console.log('参数',this.data.date,parmdata);
54 App.Seller.GetSellerTableClass(parmdata).then((json)=>{ 47 App.Seller.GetSellerTableClass(parmdata).then((json)=>{
55 console.log('roomlist',json) 48 console.log('roomlist',json)
56 if(json.ret==200){ 49 if(json.ret==200){
@@ -55,7 +55,7 @@ @@ -55,7 +55,7 @@
55 "id": 0, 55 "id": 0,
56 "name": "预订本-商家1", 56 "name": "预订本-商家1",
57 "pathName": "pack-book/pages/book/b_index", 57 "pathName": "pack-book/pages/book/b_index",
58 - "query": "seller_id=154&seller_openid=o9pcQ0cbjRKnRWczcOJaaSRGP1lE&manager_id=500", 58 + "query": "seller_id=689&seller_openid=o9pcQ0cbjRKnRWczcOJaaSRGP1lE&manager_id=500",
59 "scene": 1001 59 "scene": 1001
60 }, 60 },
61 { 61 {