Commit 6afbbcd2 authored by liudong1993's avatar liudong1993

1

parent c4910a26
......@@ -2982,7 +2982,20 @@ namespace REBORN.Services.SellService
ResultPageModel pmodel = JsonHelper.DeserializeObject<ResultPageModel>(request.msg.ToString());
RB_CRMTicket_Order_Extend demodel = JsonHelper.DeserializeObject<RB_CRMTicket_Order_Extend>(request.msg.ToString());
demodel.GroupId = userInfo.RB_Group_id;
if (demodel.IsMyOrder == 1) { demodel.EnterID = userInfo.EmployeeId; }
if (demodel.IsMyOrder == 1) {
demodel.EnterID = userInfo.EmployeeId;
}
else {
demodel.OpEmpId = userInfo.EmployeeId;
if (userInfo != null && userInfo.RB_Post_Id > 0)
{
string actionMenu = CacheManager.User.RbUserCache.GetUserActionMenu(userInfo.RB_Post_Id);
if (!string.IsNullOrEmpty(actionMenu) && actionMenu.Contains("S_CheckAllOrder"))//查看全部的订单信息
{
demodel.OpEmpId = 0;
}
}
}
if (demodel.OrderStatus <= 0)
{
demodel.IsSelectNormal = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment