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
@@ -75,6 +75,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
//总承包合同编号
// BLL.ProjectService.InitAllProjectCodeDropDownList(this.DropProjectId, true);
//招标方式
BLL.DepartService.InitDepartDropDownList(DropDepart, true);
BLL.PHTGL_BidDocumentsReviewService.InitGetBidTypeDropDownList(this.txtBidType, false);
Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(DropConstructionManager, null, Const.UnitId_SEDIN, null, false);
Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(DropControlManager, null, Const.UnitId_SEDIN, null, false);
@@ -137,6 +138,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
DropControlManager.SelectedValue = Bid.ControlManager;
DropProjectManager.SelectedValue = Bid.ProjectManager;
DropPreliminaryMan.SelectedValue = Bid.PreliminaryMan;
DropDepart.SelectedValue = Bid.DepartId;
}
}
}
@@ -212,6 +214,12 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
private bool Save()
{
if (DropDepart.SelectedValue == Const._Null)
{
ShowNotify("请选择部门!", MessageBoxIcon.Warning);
return false;
}
//if (Approval_Construction.SelectedValue==Const._Null)
//{
// ShowNotify("请选择施工管理部审批人员!", MessageBoxIcon.Warning);
@@ -247,6 +255,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
pHTGL_Bid.ControlManager = DropControlManager.SelectedValue;
pHTGL_Bid.PreliminaryMan = DropPreliminaryMan.SelectedValue;
pHTGL_Bid.ProjectManager = DropProjectManager.SelectedValue;
pHTGL_Bid.DepartId = DropDepart.SelectedValue;
}
if (string.IsNullOrEmpty(BidDocumentsReviewId))