Przeglądaj źródła

Merge branch '蓝色' into 测试

xiaohaizhao 1 rok temu
rodzic
commit
ff0ca12f69
1 zmienionych plików z 7 dodań i 4 usunięć
  1. 7 4
      packageA/setclient/detail.js

+ 7 - 4
packageA/setclient/detail.js

@@ -528,10 +528,13 @@ Page({
                 })
             }
         }
-        if (isLeader || isAdmin) tabbarList.push({
-            icon: "icon-shanchu",
-            label: "作废"
-        })
+        if (detail.agentstatus == '启用' && detail.erpagentnum) {
+        } else {
+            if (isLeader || isAdmin) tabbarList.push({
+                icon: "icon-shanchu",
+                label: "作废"
+            })
+        }
         //来自公海
         if (detail.ispublic == 1) {
             //查询到回收公海客户权限