|
...
|
...
|
@@ -78,7 +78,8 @@ Component({ |
|
|
|
if(!this.data.board.reserve_id && this.data.board.enable==1){
|
|
|
|
if(this.data.ddate){
|
|
|
|
let t=new Date()/1000;
|
|
|
|
if(parseInt(this.data.ddate.substr(0,10))>t){
|
|
|
|
//console.log('this.data.ddate.substr(11,10)',this.data.ddate.substr(11,10))
|
|
|
|
if(parseInt(this.data.ddate.substr(11,10))>t){
|
|
|
|
itemList.push('订座')
|
|
|
|
}
|
|
|
|
}
|
|
...
|
...
|
@@ -89,9 +90,6 @@ Component({ |
|
|
|
}
|
|
|
|
itemList.push(this.data.board.enable==1?'停用桌位':'启用桌位')
|
|
|
|
//console.log(getApp().system)
|
|
|
|
if(getApp().system.system.toLowerCase().indexOf('ios')<0){
|
|
|
|
itemList.push('取消')
|
|
|
|
}
|
|
|
|
this.itemList=itemList;
|
|
|
|
this.setData({
|
|
|
|
itemList:itemList,
|
...
|
...
|
|