牟新芬 4 years ago
parent
commit
0b644def18
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/system/controller/v1/Product.php

+ 2 - 1
app/system/controller/v1/Product.php

@@ -140,7 +140,7 @@ class Product extends BaseController
             $count++;
         }
         $header[] = ['title' => '图片', 'slot' => 'pic', 'align' => 'center', 'minWidth' => 80];
-        $header[] = ['title' => '货号', 'slot' => 'bar_code', 'align' => 'center', 'minWidth' => 120];
+        $header[] = ['title' => '条形码', 'slot' => 'bar_code', 'align' => 'center', 'minWidth' => 120];
         $header[] = ['title' => '售价', 'slot' => 'price', 'align' => 'center', 'minWidth' => 95];
         $header[] = ['title' => '出厂价(含所有辅材)', 'slot' => 'cost', 'align' => 'center', 'minWidth' => 95];
         $header[] = ['title' => '代发价(含运费)', 'slot' => 'ot_price', 'align' => 'center', 'minWidth' => 95];
@@ -222,6 +222,7 @@ class Product extends BaseController
         $data = UtilService::getMore([
             'store_name',
             'cate_id',
+            'code',
             'keyword',
             'store_info',
             'material',