|
@@ -998,6 +998,9 @@ func GetCompanyPermissionButton(roleTypeCode, status, itemSellerIds, itemGroupId
|
|
|
button.BtnShare = true
|
|
|
button.BtnRemarkEdit = true
|
|
|
button.BtnRemarkView = true
|
|
|
+ if sellerId != sysUserId {
|
|
|
+ button.BtnModifySeller = false
|
|
|
+ }
|
|
|
} else if productStatus == utils.COMPANY_STATUS_TRY_OUT { //试用
|
|
|
button.BtnEdit = true
|
|
|
button.BtnDelete = true
|
|
@@ -1008,11 +1011,17 @@ func GetCompanyPermissionButton(roleTypeCode, status, itemSellerIds, itemGroupId
|
|
|
button.BtnModifySeller = true
|
|
|
button.BtnRemarkEdit = true
|
|
|
button.BtnRemarkView = true
|
|
|
+ if sellerId != sysUserId {
|
|
|
+ button.BtnModifySeller = false
|
|
|
+ }
|
|
|
} else if productStatus == utils.COMPANY_STATUS_FREEZE { //冻结
|
|
|
button.BtnThaw = true
|
|
|
button.BtnModifySeller = true
|
|
|
button.BtnRemarkEdit = true
|
|
|
button.BtnRemarkView = true
|
|
|
+ if sellerId != sysUserId {
|
|
|
+ button.BtnModifySeller = false
|
|
|
+ }
|
|
|
} else if productStatus == utils.COMPANY_STATUS_LOSE { //流失
|
|
|
button.BtnApplyReceive = true
|
|
|
} else { //永续
|