|
|
@ -120,10 +120,10 @@ namespace SCP.PlanData |
|
|
|
_entity.DayState = int.Parse(ddl_DayState.SelectedValue); |
|
|
|
_entity.IsDeleted = false; |
|
|
|
_entity.Site = CurrentUser.UsedDomain; |
|
|
|
//if (CurrentUser.VenderList.Count > 0)
|
|
|
|
//{
|
|
|
|
// _entity.VendId = CurrentUser.VenderList.FirstOrDefault();
|
|
|
|
//}
|
|
|
|
if (CurrentUser.VenderList.Count > 0) |
|
|
|
{ |
|
|
|
_entity.VendId = CurrentUser.VenderList.FirstOrDefault(); |
|
|
|
} |
|
|
|
|
|
|
|
_entity.SubSite = CurrentUser.UserdSite; |
|
|
|
|
|
|
|