shish hace 3 años
padre
commit
de7d7f091c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app-ghs/controllers/ProductController.php

+ 1 - 1
app-ghs/controllers/ProductController.php

@@ -234,7 +234,7 @@ class ProductController extends BaseController
                 $itemInfoData = ProductClass::itemListGroup($itemInfoData, $level);
                 $itemInfoData = ProductClass::itemListGroup($itemInfoData, $level);
             } elseif ($requestType == 'cg') {
             } elseif ($requestType == 'cg') {
                 //采购花材
                 //采购花材
-                $field = 'id,py,cover,name,itemId,classId,variety,price,stock,presell';
+                $field = 'id,py,cover,name,itemId,classId,variety,price,stock,presell,ratioType,smallUnit,bigUnit';
                 $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
                 $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
                 $itemInfoData = ProductClass::cgItemGroup($itemInfoData, $level);
                 $itemInfoData = ProductClass::cgItemGroup($itemInfoData, $level);
             } elseif ($requestType == 'warning') {
             } elseif ($requestType == 'warning') {