修改项目编辑页面人员下拉框加载

This commit is contained in:
高飞 2023-01-19 16:19:39 +08:00
parent 2263c51a9c
commit 9f956d999c
1 changed files with 6 additions and 4 deletions

View File

@ -69,6 +69,11 @@ namespace FineUIPro.Web.ProjectData
{
this.drpProjectType.SelectedValue = project.ProjectType;
}
if (!string.IsNullOrEmpty(project.UnitId))
{
this.drpUnit.SelectedValue = project.UnitId;
}
this.initProjectRoles();
///项目经理
this.drpProjectManager.SelectedValue = SitePerson_PersonService.GetPersonIdByProjectIdRoleID(this.ProjectId, Const.ProjectManager);
///施工经理
@ -77,10 +82,7 @@ namespace FineUIPro.Web.ProjectData
this.drpHSSEManager.SelectedValue = SitePerson_PersonService.GetPersonIdByProjectIdRoleID(this.ProjectId, Const.HSSEManager);
this.drpProjectState.SelectedValue = project.ProjectState;
if (!string.IsNullOrEmpty(project.UnitId))
{
this.drpUnit.SelectedValue = project.UnitId;
}
this.ckIsUpTotalMonth.Checked = project.IsUpTotalMonth.Value;
if (project.IsForeign == true)