|
...
|
...
|
@@ -46,6 +46,13 @@ Page({ |
|
|
|
{ month: 'current', day: new Date().getDate(), color: 'white', background: '#AAD4F5' },
|
|
|
|
{ month: 'current', day: new Date().getDate(), color: 'white', background: '#AAD4F5' }
|
|
|
|
],
|
|
|
|
|
|
|
|
timePickerArray:[
|
|
|
|
['6:00','6:30','7:00'],
|
|
|
|
['10:00','10:30','11:00'],
|
|
|
|
[],
|
|
|
|
],
|
|
|
|
timePickerIndex:[0,0,0],
|
|
|
|
},
|
|
|
|
tablesAll:[],
|
|
|
|
/**
|
|
...
|
...
|
@@ -55,6 +62,7 @@ Page({ |
|
|
|
this.setDateStr();
|
|
|
|
this.sellerid=util.cache('sellerid');
|
|
|
|
this.getTables()
|
|
|
|
comm.getDayTimeSpace();
|
|
|
|
},
|
|
|
|
/**
|
|
|
|
*
|
|
...
|
...
|
@@ -266,4 +274,16 @@ Page({ |
|
|
|
calendarMask:false
|
|
|
|
})
|
|
|
|
},
|
|
|
|
/**
|
|
|
|
* 选中时间区域
|
|
|
|
*/
|
|
|
|
bindTimePickerChange(e){
|
|
|
|
let timeIndex=util.attr(e,'timeIndex');
|
|
|
|
console.log(e,timeIndex);
|
|
|
|
let timePickerIndex=this.data.timePickerIndex;
|
|
|
|
timePickerIndex[timeIndex]=util.val(e);
|
|
|
|
this.setData({
|
|
|
|
timePickerIndex:timePickerIndex,
|
|
|
|
})
|
|
|
|
},
|
|
|
|
}) |
|
|
\ No newline at end of file |
...
|
...
|
|