20240701 修改NCR

This commit is contained in:
2024-07-01 14:09:40 +08:00
parent 4b4f52d903
commit 188c6bf3c3
14 changed files with 328 additions and 70 deletions
@@ -39,6 +39,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
BLL.UnitService.InitUnitDownList(this.drpUnitIds, this.CurrUser.LoginProjectId, false);
BLL.UnitService.InitAllUnitDownList(this.drpSendUnit, this.CurrUser.LoginProjectId, true);
BLL.CNProfessionalService.InitCNProfessionalDownList(this.drpCNProfessionalId, true);
BLL.UserService.InitUserProjectIdUnitIdDropDownList(this.drpSupervisor, this.CurrUser.LoginProjectId, BLL.Const.UnitId_CWCEC, true);//监督人
//LoadAuditSelect();
//this.agree.Hidden = true;
//this.options.Hidden = true;
@@ -89,6 +90,11 @@ namespace FineUIPro.Web.CQMS.Comprehensive
this.txtResponsibleMan.Text = nCRManagement.ResponsibleMan;
//this.txtImplementationFrontState.Text = nCRManagement.ImplementationFrontState;
this.ddlImplementationFrontState.SelectedValue = nCRManagement.ImplementationFrontState;
if (!string.IsNullOrEmpty(nCRManagement.Supervisor))
{
this.drpSupervisor.SelectedValue = nCRManagement.Supervisor;
}
//var currApprove = NCRManagementApproveService.GetCurrentApprove(nCRManagement.NCRManagementId);
//if (currApprove != null)
@@ -154,8 +160,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
this.ddlProblem.Readonly = true;
//this.btnAttach.Enabled = false;
this.txtRemarkCode.Readonly = true;
this.drpSupervisor.Readonly = true;
}
///// <summary>
@@ -273,6 +278,10 @@ namespace FineUIPro.Web.CQMS.Comprehensive
}
nCRManagement.ReceiveUnit = unitIds;
nCRManagement.RemarkCode = Funs.GetNewInt(this.txtRemarkCode.Text.Trim());
if (this.drpSupervisor.SelectedValue!=BLL.Const._Null)
{
nCRManagement.Supervisor = this.drpSupervisor.SelectedValue;
}
if (string.IsNullOrEmpty(this.NCRManagementId))
{
if (!string.IsNullOrEmpty(this.hdAttachUrl.Text))