shish 3 years ago
parent
commit
19f9512037
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app-ghs/controllers/ProductController.php

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

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