|
@@ -1163,7 +1163,7 @@ func GetCompanyPermissionButton(roleTypeCode, status, itemSellerIds, itemGroupId
|
|
|
button.BtnModifySeller = true
|
|
|
//button.BtnShare = true
|
|
|
button.BtnRemarkEdit = true
|
|
|
- button.BtnRemarkView = true //权益销售隐藏
|
|
|
+ //button.BtnRemarkView = true //权益销售隐藏
|
|
|
button.BtnRemarkViewHistory = true
|
|
|
} else if productStatus == utils.COMPANY_STATUS_TRY_OUT { //试用
|
|
|
button.BtnEdit = true
|
|
@@ -1174,7 +1174,7 @@ func GetCompanyPermissionButton(roleTypeCode, status, itemSellerIds, itemGroupId
|
|
|
button.BtnModifySeller = true
|
|
|
button.BtnFreeze = true
|
|
|
button.BtnRemarkEdit = true
|
|
|
- button.BtnRemarkView = true //权益销售隐藏
|
|
|
+ //button.BtnRemarkView = true //权益销售隐藏
|
|
|
button.BtnRemarkViewHistory = true
|
|
|
//button.BtnShare = true
|
|
|
} else if productStatus == utils.COMPANY_STATUS_FREEZE { //冻结
|
|
@@ -1206,16 +1206,16 @@ func GetCompanyPermissionButton(roleTypeCode, status, itemSellerIds, itemGroupId
|
|
|
if productStatus == utils.COMPANY_STATUS_FORMAL { //正式
|
|
|
button.BtnModifySeller = true
|
|
|
//button.BtnShare = true
|
|
|
- button.BtnRemarkView = true //权益销售隐藏
|
|
|
+ //button.BtnRemarkView = true //权益销售隐藏
|
|
|
button.BtnRemarkViewHistory = true
|
|
|
} else if productStatus == utils.COMPANY_STATUS_TRY_OUT { //试用
|
|
|
button.BtnModifySeller = true
|
|
|
- button.BtnRemarkView = true //权益销售隐藏
|
|
|
+ //button.BtnRemarkView = true //权益销售隐藏
|
|
|
button.BtnRemarkViewHistory = true
|
|
|
//button.BtnShare = true
|
|
|
} else if productStatus == utils.COMPANY_STATUS_FREEZE { //冻结
|
|
|
button.BtnModifySeller = true
|
|
|
- button.BtnRemarkView = true //权益销售隐藏
|
|
|
+ //button.BtnRemarkView = true //权益销售隐藏
|
|
|
button.BtnRemarkViewHistory = true
|
|
|
} else if productStatus == utils.COMPANY_STATUS_LOSE { //流失
|
|
|
if sellerId == sysUserId || groupId == sysUserGroupId || utils.InArrayByStr(shareSellerIdArr, strconv.Itoa(sysUserId)) || shareSellerId == sysUserId {
|