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
@@ -33,6 +33,8 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
dropApproval_Construction.Label = "劳务管理组";
DropProjectManager2.Label = "运营管理部";
}
BLL.DepartService.InitDepartDropDownList(DropDepart, true);
#region
BLL.Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(DropConstructionManager, null, Const.UnitId_SEDIN, null, true);//施工经理
BLL.Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(DropPurchasingManager, null, Const.UnitId_SEDIN, null, true);//采购经理
@@ -151,6 +153,7 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
DropGeneralManager.SelectedValue = Convert.ToString(newmodel.Approval_GeneralManager);
DropGeneral_Law.SelectedValue = Convert.ToString(newmodel.Approval_GeneralLaw);
DropChairman.SelectedValue = Convert.ToString(newmodel.Approval_Chairman);
DropDepart.SelectedValue = Convert.ToString(newmodel.DepartId);
// DropProjectManager_SelectedIndexChanged(null, null);
Model.PHTGL_Contract table = BLL.ContractService.GetContractById(this.drpProjectId.Value);
txtContractNum.Text = BLL.ContractService.GetContractByProjectId(table.ProjectId).ContractNum;
@@ -215,6 +218,7 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
newmodel.Approval_GeneralLaw = DropGeneral_Law.SelectedValue;
newmodel.CreateUser = this.CurrUser.PersonId;
newmodel.Idea = txtIdea.Text;
newmodel.DepartId = DropDepart.SelectedValue;
if (ContractReviewId == null)
{
newmodel.ContractReviewId = SQLHelper.GetNewID(typeof(Model.PHTGL_ContractReview));