shish 2 years ago
parent
commit
b1d86a40c4
1 changed files with 6 additions and 0 deletions
  1. 6 0
      app-ghs/controllers/PurchaseOrderController.php

+ 6 - 0
app-ghs/controllers/PurchaseOrderController.php

@@ -554,6 +554,12 @@ class PurchaseOrderController extends BaseController
                     util::fail('没有数据哦');
                     util::fail('没有数据哦');
                 }
                 }
             }
             }
+            //小向花卉采购控制
+            if ($this->mainId == 23390) {
+                if (!in_array($this->adminId, [24586, 24115, 24759, 26390, 23960, 25011])) {
+                    util::fail('没有数据哦');
+                }
+            }
         }
         }
 
 
         $data = PurchaseOrderClass::getOrderList($where);
         $data = PurchaseOrderClass::getOrderList($where);