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
@@ -41,6 +41,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
{
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
ApproveUserReviewID = Request.Params["ApproveUserReviewID"];
BLL.DepartService.InitDepartDropDownList(DropDepart, true);
BLL.PHTGL_BidDocumentsReviewService.InitGetBidCompleteDropDownList(drpBidDocumentCode, true);
Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(DropUser, null, Const.UnitId_SEDIN, null, false);
@@ -108,7 +109,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
// DropProjectManager.SelectedValue = Bid.ProjectManager;
DropApproval_Construction.SelectedValue = Bid.Approval_Construction;
//DropDeputyGeneralManager.SelectedValue = Bid.DeputyGeneralManager;
DropDepart.SelectedValue = Bid.DepartId;
}
}
@@ -172,9 +173,15 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
// 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;
}
@@ -198,6 +205,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
// newtable.ProjectManager = DropProjectManager.SelectedValue;
newtable.Approval_Construction = DropApproval_Construction.SelectedValue;
// newtable.DeputyGeneralManager = DropDeputyGeneralManager.SelectedValue;
newtable.DepartId = DropDepart.SelectedValue;
if (string.IsNullOrEmpty(ApproveUserReviewID))
{
newtable.ApproveUserReviewID = SQLHelper.GetNewID(typeof(Model.PHTGL_BidApproveUserReview));