|
@@ -287,7 +287,7 @@ class ProductController extends BaseController
|
|
|
$itemInfoData = [];
|
|
$itemInfoData = [];
|
|
|
if ($requestType == 'hasStockList') {
|
|
if ($requestType == 'hasStockList') {
|
|
|
//有库存的花材列表
|
|
//有库存的花材列表
|
|
|
- $field = 'id,py,cover,name,classId,itemId,price,skPrice,hjPrice,stock,cost';
|
|
|
|
|
|
|
+ $field = 'id,py,cover,name,classId,itemId,price,skPrice,hjPrice,stock,cost,addPrice,hjAddPrice,skMore';
|
|
|
$itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
|
|
$itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
|
|
|
if (!empty($itemInfoData)) {
|
|
if (!empty($itemInfoData)) {
|
|
|
foreach ($itemInfoData as $key => $val) {
|
|
foreach ($itemInfoData as $key => $val) {
|