林琦海 5 лет назад
Родитель
Сommit
29a5896c74
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      app-hd/controllers/ProductController.php

+ 2 - 0
app-hd/controllers/ProductController.php

@@ -91,11 +91,13 @@ class ProductController extends BaseController
         if ($showPage) {
             $respond = ProductClass::getList("*", $where, "inTurn desc");
             $respond['list'] = ProductClass::groupClassName($this->sjId, $respond['list']);
+            $respond['list']  = ProductClass::groupProductInfo($respond['list'] );
             util::success($respond);
         }
         $data = ProductClass::getAllByCondition($where, "inTurn desc", "*");
 
         $data = ProductClass::groupProductInfo($data);
+
         if ($type == 'waring') {
             //库存预警
             $newData = [];