zwxi 1 year ago
parent
commit
34db35d51b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/company_share.go

+ 1 - 1
controllers/company_share.go

@@ -585,7 +585,7 @@ func (this *CompanyController) CompanyShareList() {
 				}
 			}
 
-			if v.IsShare == 1 && v.BtnItem.BtnModifySeller == true {
+			if v.IsShare == 1 && v.BtnItem.BtnModifySeller == true && sysUser.RoleTypeCode != utils.ROLE_TYPE_CODE_ADMIN {
 				//如果已经是共享客户了,取消共享按钮全都显示,和修改销售权限一样
 				v.BtnItem.BtnShare = true
 			}