需求链接:https://zq03ml.axshare.com/#g=1
需求描述:
订单详情页:
1.修改扣除其他运营费用的展示位置,如图所示;
2.增加一个快速定位按钮,点击按钮后直接滑动条滑动到其他运营费用标题位置处;
策略配置页:

1.在添加策略时,多一个策略设置方式的选项,用户可以选择按销售小组或者按平台;
2.选择按销售小组设置,则后面可以选择销售小组(可多选),销售小组的匹配取订单中的来源渠道的首选业务员对应的销售小组
3.当一个订单既满足销售小组策略又满足平台策略时,优先按销售小组
4.发货仓库也改为可支持多选
5.在列表页的适用平台改为适用销售小组/平台,如果这个策略设置方式是销售小组时,列表页显示销售小组
测试环境:主干1 商户
调整点
一、
订单详情页:
1.修改扣除其他运营费用的展示位置,如图所示;
2.增加一个快速定位按钮,点击按钮后直接滑动条滑动到其他运营费用标题位置处;
策略配置页:
二、订单自定义费用项设置 页面调整
1、页面字段调整:改为 适用销售小组/平台
2、添加策略时
选择销售小组(可多选)
发货仓库也改为可支持多选
3、销售小组匹配逻辑
销售小组的匹配取订单中的来源渠道的首选业务员对应的销售小组
select oi.Currency,os.OrderSourceType,dt.DeptFullPath,oi.RefundType,ra.BusinessTeamID as BusinessTeamID,
(case when wh.WareHouseType <> 1 and wh.WareHouseType <> 3 and wh.WareHouseType <> 81
and wh.WareHouseType <> 75 and wh.WareHouseType <> 76 then 2
else wh.WareHouseType end) as WareHouseType
from RB_OrderInfo oi with(nolock)
left join RB_OrderSource os with(nolock) on oi.CustomerID = os.CustomerID and oi.OrderSourceID = os.ID
left join RB_Admin ra with (NOLOCK) on ra.ID = os.SaleAdminID and ra.CustomerID = os.CustomerID
left join RB_Department dt with(nolock) on ra.DepartmentID = dt.ID and ra.CustomerID = dt.CustomerID
left join RB_WareHouse wh with(nolock) on oi.CustomerID = wh.CustomerID and oi.WareHouseID = wh.ID
where oi.OrderCode='202204201657825451' and oi.CustomerID = 1
SELECT a.StrategyWay,a.Value,*
FROM
[RB_Order_CostStrategy] a ( nolock )
WHERE
((StrategyWay = 1 AND PlatformType LIKE '%,2,%') OR ( StrategyWay =2 AND PlatformType LIKE '%,105,%' ) )
AND WareHouseType LIKE '%,1,%'
order by a.FeeName desc
4、当一个订单既满足销售小组策略又满足平台策略时,优先按销售小组