wugg 1 year ago
parent
commit
052e04dfb8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/admin/controller/OrderOutChild.php

+ 2 - 0
app/admin/controller/OrderOutChild.php

@@ -191,6 +191,7 @@ class OrderOutChild extends Base
             'wsm_code' => '',
             'supplierNo' => '',
             'skuCode' => '',
+            'good_name' => '',
             'apply_id' => '',
             'apply_name' => '',
             'order_type' => '',
@@ -209,6 +210,7 @@ class OrderOutChild extends Base
         if ($param['outChildCode'] != '') $where[] = ['a.outChildCode', 'like', '%' . $param['outChildCode'] . '%'];
         if ($param['companyNo'] != '') $where[] = ['a.companyNo', 'like', '%' . $param['companyNo'] . '%'];
         if ($param['spuCode'] != '') $where[] = ['a.spuCode', 'like', '%' . $param['spuCode'] . '%'];
+        if ($param['good_name'] != '') $where[] = ['a.good_name', 'like', '%' . $param['good_name'] . '%'];
         if ($param['outCode'] != '') $where[] = ['a.outCode', 'like', '%' . $param['outCode'] . '%'];
         if ($param['order_source'] != '') $where[] = ['a.order_source', '=', $param['order_source']];
         if ($param['wsm_code'] != '') $where[] = ['a.wsm_code', 'like', '%' . $param['wsm_code'] . '%'];