Commit 4309f0d0377280a3129853f1ece8897a0e7d8202

Authored by wangfan
1 parent f8244a2e

录入调整

Showing 1 changed file with 5 additions and 1 deletions
... ... @@ -149,7 +149,11 @@ Page({
tb.status_classname='enabled'
tb.reserve_name=''
tb.reserve_id=''
if(tids[tb.id]){
if(tb.orderCout>0){
tb.status_str='用餐中';
tb.status_classname='highlight';
tb.reserve_name=tb.spell==1?'拼桌':'堂食';
}else if(tids[tb.id]){
console.log('tids',region.name,tb.name);
tb.status_str=tids[tb.id].status==2?'用餐中':'已预订';
tb.status_classname='highlight';
... ...