shish 3 years ago
parent
commit
9985bfd7e4
1 changed files with 1 additions and 1 deletions
  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,ratioType,smallUnit,bigUnit';
+                $field = 'id,py,cover,name,itemId,classId,variety,price,stock,presell,ratioType,smallUnit,bigUnit,ratio';
                 $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
                 $itemInfoData = ProductClass::cgItemGroup($itemInfoData, $level);
             } elseif ($requestType == 'warning') {