shish 3 лет назад
Родитель
Сommit
d968aad197
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-hd/controllers/ProductController.php

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

@@ -307,7 +307,7 @@ class ProductController extends BaseController
             }
             }
 
 
             $level = $ghs['giveLevel'] ?? 0;
             $level = $ghs['giveLevel'] ?? 0;
-            $field = 'id,py,cover,name,ratio,skMore,itemId,smallUnit,smallRatio,presellDate,bigUnit,ratioType,variety,price,stock,stockWarning,discountPrice,presell,presellDate';
+            $field = 'id,py,cover,name,ratio,cost,skMore,itemId,smallUnit,smallRatio,presellDate,bigUnit,ratioType,variety,price,stock,stockWarning,discountPrice,presell,presellDate';
             $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
             $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
             $itemInfoData = ProductClass::groupProductInfo($itemInfoData, $level);
             $itemInfoData = ProductClass::groupProductInfo($itemInfoData, $level);