Showing
1 changed file
with
2 additions
and
4 deletions
| @@ -78,7 +78,8 @@ Component({ | @@ -78,7 +78,8 @@ Component({ | ||
| 78 | if(!this.data.board.reserve_id && this.data.board.enable==1){ | 78 | if(!this.data.board.reserve_id && this.data.board.enable==1){ |
| 79 | if(this.data.ddate){ | 79 | if(this.data.ddate){ |
| 80 | let t=new Date()/1000; | 80 | let t=new Date()/1000; |
| 81 | - if(parseInt(this.data.ddate.substr(0,10))>t){ | 81 | + //console.log('this.data.ddate.substr(11,10)',this.data.ddate.substr(11,10)) |
| 82 | + if(parseInt(this.data.ddate.substr(11,10))>t){ | ||
| 82 | itemList.push('订座') | 83 | itemList.push('订座') |
| 83 | } | 84 | } |
| 84 | } | 85 | } |
| @@ -89,9 +90,6 @@ Component({ | @@ -89,9 +90,6 @@ Component({ | ||
| 89 | } | 90 | } |
| 90 | itemList.push(this.data.board.enable==1?'停用桌位':'启用桌位') | 91 | itemList.push(this.data.board.enable==1?'停用桌位':'启用桌位') |
| 91 | //console.log(getApp().system) | 92 | //console.log(getApp().system) |
| 92 | - if(getApp().system.system.toLowerCase().indexOf('ios')<0){ | ||
| 93 | - itemList.push('取消') | ||
| 94 | - } | ||
| 95 | this.itemList=itemList; | 93 | this.itemList=itemList; |
| 96 | this.setData({ | 94 | this.setData({ |
| 97 | itemList:itemList, | 95 | itemList:itemList, |
-
Please register or login to post a comment