作者 刘朕
1 个管道 的构建 通过 耗费 0 秒

销售订单列表筛选优化

@@ -320,6 +320,12 @@ class MemberSalesController extends HomeBaseController @@ -320,6 +320,12 @@ class MemberSalesController extends HomeBaseController
320 $orderList[$k]['detail_url'] = url('detail',['id'=>$sort_id,'order_id'=>$v['id']]); 320 $orderList[$k]['detail_url'] = url('detail',['id'=>$sort_id,'order_id'=>$v['id']]);
321 $orderList[$k]['edit_url'] = url('edit',['id'=>$sort_id,'order_id'=>$v['id']]); 321 $orderList[$k]['edit_url'] = url('edit',['id'=>$sort_id,'order_id'=>$v['id']]);
322 $orderList[$k]['create_time'] = date('Y-m-d',$v['create_time']); 322 $orderList[$k]['create_time'] = date('Y-m-d',$v['create_time']);
  323 + foreach ($v['options'] as $ko=>$vo) {
  324 + if($vo['id'] == 10) {
  325 + $mobile = $vo['user_choose'];
  326 + }
  327 + }
  328 + $orderList[$k]['mobile'] = $mobile;
323 } 329 }
324 $this->success('成功',strtotime($date),$orderList); 330 $this->success('成功',strtotime($date),$orderList);
325 } 331 }