|
@ -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) |
|
|