...
|
...
|
@@ -55,7 +55,7 @@ class Order extends Base |
|
|
/**
|
|
|
* 查看
|
|
|
*/
|
|
|
public function index()
|
|
|
public function index($dealer_id = null)
|
|
|
{
|
|
|
//当前是否为关联查询
|
|
|
$this->relationSearch = true;
|
...
|
...
|
@@ -97,6 +97,7 @@ class Order extends Base |
|
|
|
|
|
return $this->success('操作成功', null, $result);
|
|
|
}
|
|
|
$this->assignconfig('dealer_id',$dealer_id);
|
|
|
return $this->view->fetch();
|
|
|
}
|
|
|
|
...
|
...
|
@@ -750,7 +751,7 @@ class Order extends Base |
|
|
$nickname = isset($filter['nickname']) ? $filter['nickname'] : '';
|
|
|
$mobile = isset($filter['user_phone']) ? $filter['user_phone'] : '';
|
|
|
$goods_title = isset($filter['goods_title']) ? $filter['goods_title'] : '';
|
|
|
$dealer_id = isset($filter['dealer_id']) ? $filter['dealer_id'] : '';
|
|
|
$dealer_id = $this->request->get('dealer_id','');
|
|
|
|
|
|
$name = $this->model->getQuery()->getTable();
|
|
|
$tableName = $name . '.';
|
...
|
...
|
|