Kaynağa Gözat

采购限制

shish 1 yıl önce
ebeveyn
işleme
ef7a79dca9

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

@@ -731,8 +731,9 @@ class PurchaseOrderController extends BaseController
                     util::fail('没有数据哦,编号2292');
                 }
             }
-            if($mainId == 16948){
-                if (!in_array($adminId, [55494, 55445, 17908])) {
+            //中山淘花里采购控制,多处要修改,搜索关键词 thl_cg_control
+            if ($mainId == 16948) {
+                if (!in_array($adminId, [55494, 55445, 17908, 55459, 55707])) {
                     util::fail('暂时不能查看哦,编号6811');
                 }
             }
@@ -808,8 +809,9 @@ class PurchaseOrderController extends BaseController
                     }
                 }
             }
-            if($mainId == 16948){
-                if (!in_array($adminId, [55494, 55445, 17908])) {
+            //中山淘花里采购控制,多处要修改,搜索关键词 thl_cg_control
+            if ($mainId == 16948) {
+                if (!in_array($adminId, [55494, 55445, 17908, 55459, 55707])) {
                     util::fail('暂时不能查看哦,编号6892');
                 }
             }