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
@@ -42,7 +42,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
{
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
SetSubReviewID = Request.Params["SetSubReviewID"];
BLL.DepartService.InitDepartDropDownList(DropDepart, true);
PHTGL_BidApproveUserReviewService.InitGetBidCompleteDropDownList(DropBidCode, true);
Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(this.DropConstructionManager, null, Const.UnitId_SEDIN, null, true);
Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(this.DropProjectManager, null, Const.UnitId_SEDIN, null, true);
@@ -124,6 +124,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
this.DropProjectManager.SelectedValue = _SetSubReview.ProjectManager;
this.DropApproval_Construction.SelectedValue = _SetSubReview.Approval_Construction;
this.DropDeputyGeneralManager.SelectedValue = _SetSubReview.DeputyGeneralManager;
DropDepart.SelectedValue = _SetSubReview.DepartId;
}
}
@@ -200,10 +201,16 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
ShowNotify("请选择项目经理!", MessageBoxIcon.Warning);
return false;
}
if (DropDepart.SelectedValue == Const._Null)
{
ShowNotify("请选择部门!", MessageBoxIcon.Warning);
return false;
}
if (DropApproval_Construction.SelectedValue == Const._Null)
{
ShowNotify("请选择施工管理部人员!", MessageBoxIcon.Warning);
ShowNotify("请选择部门审批人员!", MessageBoxIcon.Warning);
return false;
}
@@ -249,7 +256,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
_SetSubReview.Approval_Construction = DropApproval_Construction.SelectedValue;
_SetSubReview.DeputyGeneralManager = DropDeputyGeneralManager.SelectedValue;
_SetSubReview.IsOwenerApprove = Convert.ToInt32(CBIsOwenerApprove.SelectedValueArray[0]);
_SetSubReview.DepartId = DropDepart.SelectedValue;
if (string.IsNullOrEmpty(SetSubReviewID))
{
_SetSubReview.SetSubReviewID = SQLHelper.GetNewID(typeof(Model.PHTGL_SetSubReview));