|
@@ -27,6 +27,9 @@ Component({ |
|
@@ -27,6 +27,9 @@ Component({ |
|
27
|
observers: {
|
27
|
observers: {
|
|
28
|
'date': function(newdate) {
|
28
|
'date': function(newdate) {
|
|
29
|
if(newdate!=''){
|
29
|
if(newdate!=''){
|
|
|
|
30
|
+ this.setData({
|
|
|
|
31
|
+ durlist:[]
|
|
|
|
32
|
+ })
|
|
30
|
this.getroombydate();
|
33
|
this.getroombydate();
|
|
31
|
}
|
34
|
}
|
|
32
|
|
35
|
|
|
@@ -34,6 +37,7 @@ Component({ |
|
@@ -34,6 +37,7 @@ Component({ |
|
34
|
},
|
37
|
},
|
|
35
|
methods:{
|
38
|
methods:{
|
|
36
|
selecttime(e){
|
39
|
selecttime(e){
|
|
|
|
40
|
+ console.log(e)
|
|
37
|
const target=e.currentTarget.dataset;
|
41
|
const target=e.currentTarget.dataset;
|
|
38
|
this.setData({
|
42
|
this.setData({
|
|
39
|
time:target.time
|
43
|
time:target.time
|