shish %!s(int64=3) %!d(string=hai) anos
pai
achega
de7d7f091c
Modificáronse 1 ficheiros con 1 adicións e 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);
             } 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::cgItemGroup($itemInfoData, $level);
             } elseif ($requestType == 'warning') {