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

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

@@ -239,7 +239,7 @@ class ProductController extends BaseController
                 $itemInfoData = ProductClass::cgItemGroup($itemInfoData, $level);
             } elseif ($requestType == 'warning') {
                 //库存预警
-                $field = 'id,py,cover,name,ratio,cost,addPrice,classId,skMore,skPrice,itemId,smallUnit,smallRatio,bigUnit,smallUnit,ratioType,variety,price,stock,stockWarning,discountPrice,presell,presellDate';
+                $field = 'id,py,cover,name,cost,itemId,classId,skPrice,variety,price,stock,presell,stockWarning';
                 $itemInfoData = Product::find()->where("mainId={$this->mainId}")
                     ->andWhere('`stock`<`stockWarning`')
                     ->andWhere("delStatus=0")