提交代码
This commit is contained in:
@@ -110,21 +110,25 @@ namespace FineUIPro.Web.CQMS.QuantityManagement
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
BLL.DrawingService.InitWorkSectionDropDownList(drpWorkSection, this.CurrUser.LoginProjectId, true);
|
||||
string projectId = this.CurrUser.LoginProjectId;
|
||||
if (!string.IsNullOrEmpty(Request.Params["ProjectId"]))
|
||||
{
|
||||
this.drpProject.SelectedValue = Request.Params["ProjectId"];
|
||||
projectId = Request.Params["ProjectId"];
|
||||
}
|
||||
BLL.DrawingService.InitWorkSectionDropDownList(drpWorkSection, projectId, true);
|
||||
BLL.DrawingService.InitDrawingChangeDropDownList(drpDrawingNo, projectId, true);
|
||||
BLL.CNProfessionalService.InitCNProfessionalDownList(drpMajor, true);
|
||||
BLL.TeamGroupService.InitTeamGroupProjectDropDownList(drpWorkTeam, this.CurrUser.LoginProjectId, true);
|
||||
Funs.FineUIPleaseSelect(this.drpDrawingNo);
|
||||
Funs.FineUIPleaseSelect(this.drpPart);
|
||||
Funs.FineUIPleaseSelect(this.drpProjectContent);
|
||||
BLL.BaseService.InitAllPartDropDownList(this.drpPart, projectId, true);
|
||||
BLL.BaseService.InitAllProjectContentDropDownList(this.drpProjectContent, projectId, true);
|
||||
BLL.TeamGroupService.InitTeamGroupProjectDropDownList(drpWorkTeam, projectId, true);
|
||||
if (!string.IsNullOrEmpty(Request.Params["WorkSection"]))
|
||||
{
|
||||
this.drpWorkSection.SelectedValue = Request.Params["WorkSection"];
|
||||
BLL.DrawingService.InitDrawingChangeDropDownList2(drpDrawingNo, this.CurrUser.LoginProjectId, Request.Params["WorkSection"], true);
|
||||
}
|
||||
if (!string.IsNullOrEmpty(Request.Params["DrawingId"]))
|
||||
{
|
||||
this.drpDrawingNo.SelectedValue = Request.Params["DrawingId"];
|
||||
BLL.BaseService.InitPartDropDownList(this.drpPart, Request.Params["DrawingId"], true);
|
||||
}
|
||||
if (!string.IsNullOrEmpty(Request.Params["Major"]))
|
||||
{
|
||||
@@ -133,7 +137,6 @@ namespace FineUIPro.Web.CQMS.QuantityManagement
|
||||
if (!string.IsNullOrEmpty(Request.Params["Part"]))
|
||||
{
|
||||
this.drpPart.SelectedValue = Request.Params["Part"];
|
||||
BLL.BaseService.InitProjectContentDropDownList(this.drpProjectContent, this.drpDrawingNo.SelectedValue, this.drpPart.SelectedValue, true);
|
||||
}
|
||||
if (!string.IsNullOrEmpty(Request.Params["ProjectContent"]))
|
||||
{
|
||||
@@ -150,10 +153,6 @@ namespace FineUIPro.Web.CQMS.QuantityManagement
|
||||
this.drpProject.Enabled = false;
|
||||
this.drpProject.Hidden = true;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(Request.Params["ProjectId"]))
|
||||
{
|
||||
this.drpProject.SelectedValue = Request.Params["ProjectId"];
|
||||
}
|
||||
GetButtonPower();
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user