|
@ -120,10 +120,10 @@ 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; |
|
|
|
|
|
|
|
|