Showing
1 changed file
with
5 additions
and
1 deletions
| @@ -149,7 +149,11 @@ Page({ | @@ -149,7 +149,11 @@ Page({ | ||
| 149 | tb.status_classname='enabled' | 149 | tb.status_classname='enabled' |
| 150 | tb.reserve_name='' | 150 | tb.reserve_name='' |
| 151 | tb.reserve_id='' | 151 | tb.reserve_id='' |
| 152 | - if(tids[tb.id]){ | 152 | + if(tb.orderCout>0){ |
| 153 | + tb.status_str='用餐中'; | ||
| 154 | + tb.status_classname='highlight'; | ||
| 155 | + tb.reserve_name=tb.spell==1?'拼桌':'堂食'; | ||
| 156 | + }else if(tids[tb.id]){ | ||
| 153 | console.log('tids',region.name,tb.name); | 157 | console.log('tids',region.name,tb.name); |
| 154 | tb.status_str=tids[tb.id].status==2?'用餐中':'已预订'; | 158 | tb.status_str=tids[tb.id].status==2?'用餐中':'已预订'; |
| 155 | tb.status_classname='highlight'; | 159 | tb.status_classname='highlight'; |
-
Please register or login to post a comment