2023-03-01 合同增加主办部门

This commit is contained in:
2023-03-01 13:57:09 +08:00
parent a5f63ba887
commit 79ea15741e
38 changed files with 607 additions and 187 deletions
@@ -53,6 +53,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
ActionPlanReviewId = Request.Params["ActionPlanReviewId"];
#region
BLL.DepartService.InitDepartDropDownList(DropDepart, true);
/// 绑定施工管理部正副主任
BLL.Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(Approval_Construction, null, CurrUser.UnitId, Const.ConstructionMinister + "," + Const.ConstructionViceMinister, false);
@@ -91,6 +92,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
DropPreliminaryMan.SelectedValue = Convert.ToString(act.PreliminaryMan);
DropProjectManager.SelectedValue = Convert.ToString(act.ProjectManager);
DropDeputyGeneralManager.SelectedValue = Convert.ToString(act.DeputyGeneralManager);
DropDepart.SelectedValue = Convert.ToString(act.DepartId);
}
/// <summary>
/// 数据绑定
@@ -136,9 +138,15 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
ShowNotify("请选择合同", MessageBoxIcon.Warning);
return isOk;
}
if (DropDepart.SelectedValue == Const._Null)
{
ShowNotify("请选择部门!", MessageBoxIcon.Warning);
return false;
}
if (Approval_Construction.SelectedValue == Const._Null)
{
ShowNotify("请选择施工管理部人员", MessageBoxIcon.Warning);
ShowNotify("请选择部门审批人员", MessageBoxIcon.Warning);
return isOk;
}
@@ -154,6 +162,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
newmodel.PreliminaryMan = DropPreliminaryMan.SelectedValue;
newmodel.ProjectManager = DropProjectManager.SelectedValue;
newmodel.DeputyGeneralManager = DropDeputyGeneralManager.SelectedValue;
newmodel.DepartId = DropDepart.SelectedValue;
BLL.PHTGL_ActionPlanReviewService.UpdatePHTGL_ActionPlanReview(newmodel);
isOk = true;
return isOk;