|
@@ -214,7 +214,7 @@ class Supplier extends BaseController
|
|
|
|
|
|
$post = $this->request->only(['code'=>'','name'=>'','page'=>1,'size'=>10],'post','trim');
|
|
|
|
|
|
- $where=[['type','<>',3]];//type==3业务公司,其他都是供应商
|
|
|
+ $where = [['type', '=', '正式供应商']];
|
|
|
|
|
|
if($post['code']!=='') $where[]=['code','like','%'.$post['code'].'%'];
|
|
|
if($post['name']!=='') $where[]=['name','like','%'.$post['name'].'%'];
|