shish vor 3 Jahren
Ursprung
Commit
7b12476ba3
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      app-ghs/controllers/ProductController.php

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

@@ -188,12 +188,12 @@ class ProductController extends BaseController
             $itemInfoData = ProductClass::changePriceGroup($itemInfoData, $level);
         } elseif ($requestType == 'itemList') {
             //花材列表
-            $field = 'id,py,cover,name,cost,itemId,classId,skPrice,variety,price,stock,presell';
+            $field = 'id,py,cover,name,cost,itemId,classId,skPrice,variety,price,stock,stockWarning,presell';
             $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
             $itemInfoData = ProductClass::itemListGroup($itemInfoData, $level);
         } elseif ($requestType == 'check') {
             //盘点花材列表
-            $field = 'id,py,cover,name,itemId,classId,variety,price,stock,presell,ratioType,smallUnit,bigUnit,ratio';
+            $field = 'id,py,cover,name,itemId,classId,variety,price,stock,stockWarning,presell,ratioType,smallUnit,bigUnit,ratio';
             $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
             $itemInfoData = ProductClass::checkItemGroup($itemInfoData, $level);
         } elseif ($requestType == 'cg') {