2023-03-01 合同增加主办部门
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user