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
@@ -43,7 +43,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);
@@ -125,7 +125,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
StartTime.SelectedDate = BidDocument.Bidding_StartTime;
string[] a = { _SetSubReview.IsOwenerApprove.ToString() };
CBIsOwenerApprove.SelectedValueArray = a;
DropDepart.SelectedValue = _SetSubReview.DepartId;
this.DropConstructionManager.SelectedValue = _SetSubReview.ConstructionManager;
this.DropProjectManager.SelectedValue = _SetSubReview.ProjectManager;
this.DropApproval_Construction.SelectedValue = _SetSubReview.Approval_Construction;
@@ -208,10 +208,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;
}
@@ -257,6 +263,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
_SetSubReview.ProjectManager = DropProjectManager.SelectedValue;
_SetSubReview.Approval_Construction = DropApproval_Construction.SelectedValue;
_SetSubReview.DeputyGeneralManager = DropDeputyGeneralManager.SelectedValue;
_SetSubReview.DepartId = DropDepart.SelectedValue;
_SetSubReview.IsOwenerApprove = Convert.ToInt32(CBIsOwenerApprove.SelectedValueArray[0]);
if (string.IsNullOrEmpty(SetSubReviewID))
{