|
@@ -238,7 +238,7 @@ class ProductController extends BaseController
|
|
|
$itemInfoData = ProductClass::kdItemGroup($itemInfoData, $level);
|
|
$itemInfoData = ProductClass::kdItemGroup($itemInfoData, $level);
|
|
|
} elseif ($requestType == 'book') {
|
|
} elseif ($requestType == 'book') {
|
|
|
//预订花材列表
|
|
//预订花材列表
|
|
|
- $field = 'id,py,cover,name,cost,itemId,classId,skPrice,variety,price,hjPrice,discountPrice,hjDiscountPrice,skDiscountPrice,stock,actualSold,status,ratio,ratioType,presell,frontHide';
|
|
|
|
|
|
|
+ $field = 'id,py,cover,name,cost,itemId,classId,skPrice,variety,price,hjPrice,hjDiscountPrice,skDiscountPrice,discountPrice,stock,weight,stockWarning,presell,ratioType,smallUnit,smallRatio,bigUnit,ratio,frontHide';
|
|
|
$itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
|
|
$itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
|
|
|
$itemInfoData = ProductClass::itemListGroup($itemInfoData, $level);
|
|
$itemInfoData = ProductClass::itemListGroup($itemInfoData, $level);
|
|
|
} elseif ($requestType == 'itemList') {
|
|
} elseif ($requestType == 'itemList') {
|