Commit b09c56271f586d00c5b9228e3085c87ed015cb12

Authored by teemitop
1 parent a5b80953

预定列表增加是否有设备

@@ -626,6 +626,9 @@ class Seller extends Common @@ -626,6 +626,9 @@ class Seller extends Common
626 626
627 $new_array = array(); 627 $new_array = array();
628 foreach ($array['data']['list'] as $key => $value) { 628 foreach ($array['data']['list'] as $key => $value) {
  629 + //有无设备
  630 + $array['data']['list'][$key]['dv'] = $value['is_tele']==1 ? ($value['type'] ==1 ? '铱方' : '极钛') : "无设备";
  631 + //订单接受时间段
629 switch ($value['ddate_solt']) { 632 switch ($value['ddate_solt']) {
630 //'未设置/早市/午市/晚市/夜宵 0/1/2/3/4', 633 //'未设置/早市/午市/晚市/夜宵 0/1/2/3/4',
631 case 0: 634 case 0:
@@ -94,6 +94,7 @@ @@ -94,6 +94,7 @@
94 {field: 'rname', title: '客户信息'}, 94 {field: 'rname', title: '客户信息'},
95 {field: 'cusdem', title: '备注'}, 95 {field: 'cusdem', title: '备注'},
96 {field: 'cdate',title: '下单时间'}, 96 {field: 'cdate',title: '下单时间'},
  97 + {field: 'dv', title: '商家设备'},
97 {field: 'sta',title: '状态'}, 98 {field: 'sta',title: '状态'},
98 {align: 'center',title: '操作', toolbar: '#action'} 99 {align: 'center',title: '操作', toolbar: '#action'}
99 ]], 100 ]],