wugg 1 year ago
parent
commit
a9f72405f1
1 changed files with 2 additions and 3 deletions
  1. 2 3
      app/admin/controller/Track.php

+ 2 - 3
app/admin/controller/Track.php

@@ -79,16 +79,15 @@ class Track extends Base
         //***列表
     public function fhdList(){
         $param=$this->request->param(['outChildCode'=>'','order_type'=>'','order_source'=>'','supplierNo'=>'',
-        'companyNo'=>'','orderCode'=>'','cgdNo'=>'','page'=>1,'size'=>10],'post','trim');
+        'companyNo'=>'','orderCode'=>'','page'=>1,'size'=>10],'post','trim');
         $where=[];
         $param['outChildCode']==''??$where[]=['outChildCode','like',"%{$param['outChildCode']}%"];
         $param['orderCode']==''??$where[]=['orderCode','like',"%{$param['orderCode']}%"];
-        $param['cgdNo']==''??$where[]=['cgdNo','like',"%{$param['cgdNo']}%"];
         $param['order_type']==''??$where[]=['order_type','=',$param['order_type']];
         $param['order_source']==''??$where[]=['order_source','=',$param['order_source']];
         $param['supplierNo']==''??$where[]=['supplierNo','=',$param['supplierNo']];
         $param['companyNo']==''??$where[]=['companyNo','=',$param['companyNo']];
-        $param['status']==''??$where[]=['status','=',$param['status']];
+       
         $list=(new FhdChild())->where($where)->order('id desc')->paginate(['list_rows'=>$param['size'],
         'page'=>$param['page']]);
         $this->success('获取成功',['list'=>$list->items(),'count'=>$list->total()]);