zwxi 10 months ago
parent
commit
8ef1b26fdb
1 changed files with 3 additions and 0 deletions
  1. 3 0
      services/company.go

+ 3 - 0
services/company.go

@@ -961,6 +961,8 @@ func GetCompanyPermissionButton(roleTypeCode, status, itemSellerIds, itemGroupId
 			} else if productStatus == utils.COMPANY_STATUS_LOSE { //流失
 				//button.BtnDelete = true
 			} else { //永续
+				button.BtnModifySeller = true
+				button.BtnShare = true
 			}
 		} else {
 			productStatus2, hasProduct2 := productStatusMap[1]
@@ -1173,6 +1175,7 @@ func GetCompanyPermissionButton(roleTypeCode, status, itemSellerIds, itemGroupId
 						button.BtnApplyReceive = true
 					} else { //永续
 						//button.BtnDelete = true
+
 					}
 				} else {
 					if productStatus == utils.COMPANY_STATUS_LOSE { //流失