Browse Source

供应商菜单 未完成查询限制条件

master
qian 2 months ago
parent
commit
55853b3d34
  1. 10
      北京北汽/SCP/Views/PlanData/SCP_INCOMPLETE_ASK.aspx.cs

10
北京北汽/SCP/Views/PlanData/SCP_INCOMPLETE_ASK.aspx.cs

@ -120,11 +120,11 @@ namespace SCP.PlanData
_entity.DayState = int.Parse(ddl_DayState.SelectedValue); _entity.DayState = int.Parse(ddl_DayState.SelectedValue);
_entity.IsDeleted = false; _entity.IsDeleted = false;
_entity.Site = CurrentUser.UsedDomain; _entity.Site = CurrentUser.UsedDomain;
//if (CurrentUser.VenderList.Count > 0) if (CurrentUser.VenderList.Count > 0)
//{ {
// _entity.VendId = CurrentUser.VenderList.FirstOrDefault(); _entity.VendId = CurrentUser.VenderList.FirstOrDefault();
//} }
_entity.SubSite = CurrentUser.UserdSite; _entity.SubSite = CurrentUser.UserdSite;
if (CurrentUser.RoleList.Contains("供应商") && CurrentUser.VenderList.Count==0) if (CurrentUser.RoleList.Contains("供应商") && CurrentUser.VenderList.Count==0)

Loading…
Cancel
Save