|
...
|
...
|
@@ -21,7 +21,17 @@ Component({ |
|
|
|
'date,section': function(newdate,newsection) {
|
|
|
|
console.log('room',newdate,newsection)
|
|
|
|
if(newdate && newsection){
|
|
|
|
this.getroomtype();
|
|
|
|
if(this.date && this.section){
|
|
|
|
if(newdate!=newdate && this.section!=newsection){
|
|
|
|
this.getroomtype();
|
|
|
|
this.date=newdate;
|
|
|
|
this.section=newsection;
|
|
|
|
}
|
|
|
|
}else{
|
|
|
|
this.getroomtype();
|
|
|
|
this.date=newdate;
|
|
|
|
this.section=newsection;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
...
|
...
|
|