shish 3 anni fa
parent
commit
08cdaa52f1
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      app-ghs/controllers/ProductController.php

+ 2 - 0
app-ghs/controllers/ProductController.php

@@ -255,6 +255,7 @@ class ProductController extends BaseController
             $itemInfoData = ProductClass::simpleGroup($itemInfoData, $level);
         } elseif ($requestType == 'stopList') {
             //停用花材列表
+            unset($where['status']);
             $where['delStatus'] = 1;
             $where['removeStatus'] = 0;
             $field = 'id,py,cover,name,cost,itemId,classId,addPrice,skPrice,bigUnit,smallUnit,ratio,ratioType,discountPrice,skMore,variety,price,stock,presell,status';
@@ -262,6 +263,7 @@ class ProductController extends BaseController
             $itemInfoData = ProductClass::simpleGroup($itemInfoData, $level);
         } elseif ($requestType == 'removeList') {
             //删除花材列表
+            unset($where['status']);
             $where['delStatus'] = 1;
             $where['removeStatus'] = 1;
             $field = 'id,py,cover,name,cost,itemId,classId,addPrice,skPrice,bigUnit,smallUnit,ratio,ratioType,discountPrice,skMore,variety,price,stock,presell,status';