林琦海 hace 5 años
padre
commit
29a5896c74
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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) {
         if ($showPage) {
             $respond = ProductClass::getList("*", $where, "inTurn desc");
             $respond = ProductClass::getList("*", $where, "inTurn desc");
             $respond['list'] = ProductClass::groupClassName($this->sjId, $respond['list']);
             $respond['list'] = ProductClass::groupClassName($this->sjId, $respond['list']);
+            $respond['list']  = ProductClass::groupProductInfo($respond['list'] );
             util::success($respond);
             util::success($respond);
         }
         }
         $data = ProductClass::getAllByCondition($where, "inTurn desc", "*");
         $data = ProductClass::getAllByCondition($where, "inTurn desc", "*");
 
 
         $data = ProductClass::groupProductInfo($data);
         $data = ProductClass::groupProductInfo($data);
+
         if ($type == 'waring') {
         if ($type == 'waring') {
             //库存预警
             //库存预警
             $newData = [];
             $newData = [];