|
|
@@ -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') {
|