diff --git a/SGGL/FineUIPro.Web/HSSE/Manager/ManagerMonth_SeDinEdit.aspx.cs b/SGGL/FineUIPro.Web/HSSE/Manager/ManagerMonth_SeDinEdit.aspx.cs index 41080c10..fac63634 100644 --- a/SGGL/FineUIPro.Web/HSSE/Manager/ManagerMonth_SeDinEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/HSSE/Manager/ManagerMonth_SeDinEdit.aspx.cs @@ -1378,7 +1378,13 @@ namespace FineUIPro.Web.HSSE.Manager if (this.rbIsAgree.SelectedValue == "0") { this.drpStep.Hidden = true; - BLL.Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(this.drpAudit, this.CurrUser.LoginProjectId, Const.UnitId_SEDIN, null, false); + var units = BLL.ProjectUnitService.GetProjectUnitListByProjectIdUnitType(this.CurrUser.LoginProjectId, BLL.Const.ProjectUnitType_1); + string unitId = Const.UnitId_SEDIN; + if (units.Count > 0) + { + unitId = units[0].UnitId; + } + BLL.Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(this.drpAudit, this.CurrUser.LoginProjectId, unitId, null, false); this.drpAudit.SelectedValue = this.CompileManId.SelectedValue; this.drpAudit.Readonly = true;