diff --git a/DataBase/版本日志/SGGLDB_V2023-02-28.sql b/DataBase/版本日志/SGGLDB_V2023-02-28.sql new file mode 100644 index 00000000..d10bdb6d --- /dev/null +++ b/DataBase/版本日志/SGGLDB_V2023-02-28.sql @@ -0,0 +1,12 @@ +alter table [PHTGL_ActionPlanReview] add DepartId varchar(50) +alter table PHTGL_BidApproveUserReview add DepartId varchar(50) +alter table PHTGL_BidDocumentsReview add DepartId varchar(50) +alter table PHTGL_SetSubReview add DepartId varchar(50) +alter table PHTGL_ContractReview add DepartId varchar(50) + +update [PHTGL_ActionPlanReview] set DepartId =(select DepartId from Base_Depart where DepartName ='ʩ' ) +update PHTGL_BidApproveUserReview set DepartId =(select DepartId from Base_Depart where DepartName ='ʩ' ) +update PHTGL_BidDocumentsReview set DepartId =(select DepartId from Base_Depart where DepartName ='ʩ' ) +update PHTGL_SetSubReview set DepartId =(select DepartId from Base_Depart where DepartName ='ʩ' ) +update PHTGL_ContractReview set DepartId =(select DepartId from Base_Depart where DepartName ='ʩ' ) + \ No newline at end of file diff --git a/SGGL/BLL/API/HTGL/APIHTGLPersonService.cs b/SGGL/BLL/API/HTGL/APIHTGLPersonService.cs index 69ae292d..e90de5b6 100644 --- a/SGGL/BLL/API/HTGL/APIHTGLPersonService.cs +++ b/SGGL/BLL/API/HTGL/APIHTGLPersonService.cs @@ -102,7 +102,7 @@ namespace BLL } // db.SubmitChanges(); - Person_PersonsService.UpdatePerson(getPerson); + Person_PersonsService.UpdatePerson_Persons(getPerson); } else { diff --git a/SGGL/BLL/PHTGL/BiddingManagement/ActionPlanReviewService.cs b/SGGL/BLL/PHTGL/BiddingManagement/ActionPlanReviewService.cs index d3c046c6..1e3b9951 100644 --- a/SGGL/BLL/PHTGL/BiddingManagement/ActionPlanReviewService.cs +++ b/SGGL/BLL/PHTGL/BiddingManagement/ActionPlanReviewService.cs @@ -36,6 +36,7 @@ namespace BLL table.PreliminaryMan = newtable.PreliminaryMan; table.ProjectManager = newtable.ProjectManager; table.DeputyGeneralManager = newtable.DeputyGeneralManager; + table.DepartId = newtable.DepartId; Funs.DB.PHTGL_ActionPlanReview.InsertOnSubmit(table); Funs.DB.SubmitChanges(); } @@ -57,6 +58,8 @@ namespace BLL table.PreliminaryMan = newtable.PreliminaryMan; table.ProjectManager = newtable.ProjectManager; table.DeputyGeneralManager = newtable.DeputyGeneralManager; + table.DepartId = newtable.DepartId; + Funs.DB.SubmitChanges(); } diff --git a/SGGL/BLL/PHTGL/BiddingManagement/BidApproveUserReviewService.cs b/SGGL/BLL/PHTGL/BiddingManagement/BidApproveUserReviewService.cs index cc2b0e26..4f02c3a8 100644 --- a/SGGL/BLL/PHTGL/BiddingManagement/BidApproveUserReviewService.cs +++ b/SGGL/BLL/PHTGL/BiddingManagement/BidApproveUserReviewService.cs @@ -28,6 +28,8 @@ namespace BLL table.ProjectManager = newtable.ProjectManager; table.Approval_Construction = newtable.Approval_Construction; table.DeputyGeneralManager = newtable.DeputyGeneralManager; + table.DepartId = newtable.DepartId; + Funs.DB.PHTGL_BidApproveUserReview.InsertOnSubmit(table); Funs.DB.SubmitChanges(); } @@ -50,6 +52,8 @@ namespace BLL table.ProjectManager = newtable.ProjectManager; table.Approval_Construction = newtable.Approval_Construction; table.DeputyGeneralManager = newtable.DeputyGeneralManager; + table.DepartId = newtable.DepartId; + Funs.DB.SubmitChanges(); } diff --git a/SGGL/BLL/PHTGL/BiddingManagement/BidDocumentsReviewService.cs b/SGGL/BLL/PHTGL/BiddingManagement/BidDocumentsReviewService.cs index 72296aac..5c828adc 100644 --- a/SGGL/BLL/PHTGL/BiddingManagement/BidDocumentsReviewService.cs +++ b/SGGL/BLL/PHTGL/BiddingManagement/BidDocumentsReviewService.cs @@ -35,6 +35,8 @@ namespace BLL table.BidDocumentsName = newtable.BidDocumentsName; table.BidDocumentsCode = newtable.BidDocumentsCode; table.Bidding_SendTime = newtable.Bidding_SendTime; + table.DepartId = newtable.DepartId; + Funs.DB.PHTGL_BidDocumentsReview.InsertOnSubmit(table); Funs.DB.SubmitChanges(); } @@ -65,6 +67,8 @@ namespace BLL table.BidDocumentsName = newtable.BidDocumentsName; table.BidDocumentsCode = newtable.BidDocumentsCode; table.Bidding_SendTime = newtable.Bidding_SendTime; + table.DepartId = newtable.DepartId; + Funs.DB.SubmitChanges(); } diff --git a/SGGL/BLL/PHTGL/BiddingManagement/SetSubReviewService.cs b/SGGL/BLL/PHTGL/BiddingManagement/SetSubReviewService.cs index 1a71e076..1c931c37 100644 --- a/SGGL/BLL/PHTGL/BiddingManagement/SetSubReviewService.cs +++ b/SGGL/BLL/PHTGL/BiddingManagement/SetSubReviewService.cs @@ -60,6 +60,8 @@ namespace BLL table.ProjectManager = newtable.ProjectManager; table.Approval_Construction = newtable.Approval_Construction; table.IsOwenerApprove = newtable.IsOwenerApprove; + table.DepartId = newtable.DepartId; + Funs.DB.PHTGL_SetSubReview.InsertOnSubmit(table); Funs.DB.SubmitChanges(); } @@ -84,6 +86,8 @@ namespace BLL table.ProjectManager = newtable.ProjectManager; table.Approval_Construction = newtable.Approval_Construction; table.IsOwenerApprove = newtable.IsOwenerApprove; + table.DepartId = newtable.DepartId; + Funs.DB.SubmitChanges(); } diff --git a/SGGL/BLL/PHTGL/ContractCompile/ContractReviewService.cs b/SGGL/BLL/PHTGL/ContractCompile/ContractReviewService.cs index 74222c2c..f7be72f6 100644 --- a/SGGL/BLL/PHTGL/ContractCompile/ContractReviewService.cs +++ b/SGGL/BLL/PHTGL/ContractCompile/ContractReviewService.cs @@ -151,6 +151,7 @@ namespace BLL table.Countersign_Law2 = newtable.Countersign_Law2; table.Idea = newtable.Idea; table.Approval_GeneralLaw = newtable.Approval_GeneralLaw; + table.DepartId = newtable.DepartId; Funs.DB.PHTGL_ContractReview.InsertOnSubmit(table); Funs.DB.SubmitChanges(); } @@ -186,6 +187,7 @@ namespace BLL table.Countersign_Law2 = newtable.Countersign_Law2; table.Idea = newtable.Idea; table.Approval_GeneralLaw = newtable.Approval_GeneralLaw; + table.DepartId = newtable.DepartId; Funs.DB.SubmitChanges(); } diff --git a/SGGL/BLL/Person/Person_PersonsService.cs b/SGGL/BLL/Person/Person_PersonsService.cs index db55b90a..e64293cc 100644 --- a/SGGL/BLL/Person/Person_PersonsService.cs +++ b/SGGL/BLL/Person/Person_PersonsService.cs @@ -1,5 +1,6 @@ using FineUIPro; using Microsoft.Office.Interop.Excel; +using Microsoft.Office.Interop.Word; using Model; using System; using System.Collections; @@ -812,6 +813,98 @@ namespace BLL } } + public static void UpdatePerson_Persons(Model.Person_Persons newtable) + { + using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) + { + Model.Person_Persons table = db.Person_Persons.FirstOrDefault(x => x.PersonId == newtable.PersonId); + if (table != null) + { + table.PersonId = newtable.PersonId; + table.UnitId = newtable.UnitId; + table.DepartId = newtable.DepartId; + table.WorkPostId = newtable.WorkPostId; + table.JobNum = newtable.JobNum; + table.PersonName = newtable.PersonName; + table.Account = newtable.Account; + table.Password = newtable.Password; + table.IsOffice = newtable.IsOffice; + table.RoleIds = newtable.RoleIds; + table.IdentityCard = newtable.IdentityCard; + table.IdcardType = newtable.IdcardType; + table.IdcardStartDate = newtable.IdcardStartDate; + table.IdcardEndDate = newtable.IdcardEndDate; + table.IdcardForever = newtable.IdcardForever; + table.IdcardAddress = newtable.IdcardAddress; + table.Telephone = newtable.Telephone; + table.Sex = newtable.Sex; + table.Birthday = newtable.Birthday; + table.Address = newtable.Address; + table.PhotoUrl = newtable.PhotoUrl; + table.HeadImage = newtable.HeadImage; + table.QRCodeAttachUrl = newtable.QRCodeAttachUrl; + table.IDCardUrl = newtable.IDCardUrl; + table.IDCardBackUrl = newtable.IDCardBackUrl; + table.SignatureUrl = newtable.SignatureUrl; + table.IsForeign = newtable.IsForeign; + table.MaritalStatus = newtable.MaritalStatus; + table.PoliticsStatus = newtable.PoliticsStatus; + table.PostTitleId = newtable.PostTitleId; + table.PostTitleDate = newtable.PostTitleDate; + table.PositionId = newtable.PositionId; + table.Nation = newtable.Nation; + table.EduLevel = newtable.EduLevel; + table.ForeignLanguage = newtable.ForeignLanguage; + table.CountryCode = newtable.CountryCode; + table.ProvinceCode = newtable.ProvinceCode; + table.IsPost = newtable.IsPost; + table.Graduate = newtable.Graduate; + table.Major = newtable.Major; + table.IntoDate = newtable.IntoDate; + table.WorkDate = newtable.WorkDate; + table.RetirementDate = newtable.RetirementDate; + table.ValidityDate = newtable.ValidityDate; + table.OpenId = newtable.OpenId; + table.CurrentProjectId = newtable.CurrentProjectId; + table.CurrentProjectRoleId = newtable.CurrentProjectRoleId; + table.CurrentProjectWorkPostId = newtable.CurrentProjectWorkPostId; + table.LoginProjectId = newtable.LoginProjectId; + table.LastMenuType = newtable.LastMenuType; + table.LastIsOffice = newtable.LastIsOffice; + table.LastProjectId = newtable.LastProjectId; + table.DataFrom = newtable.DataFrom; + table.OldDataId = newtable.OldDataId; + table.IsCardNoOK = newtable.IsCardNoOK; + table.RelativeName = newtable.RelativeName; + table.RelativeTel = newtable.RelativeTel; + table.Email = newtable.Email; + table.CertificateId = newtable.CertificateId; + table.PersonType = newtable.PersonType; + table.MultiProject = newtable.MultiProject; + table.HomePageType = newtable.HomePageType; + if (string.IsNullOrEmpty(newtable.QRCodeAttachUrl)) + { + ///生成二维码 + table.QRCodeAttachUrl = BLL.CreateQRCodeService.CreateCode_Simple("person$" + newtable.IdentityCard); + } + db.SubmitChanges(); + } + } + + + + } + public static void DeletePerson_PersonsById(string PersonId) + { + + Model.Person_Persons table = db.Person_Persons.FirstOrDefault(x => x.PersonId == PersonId); + if (table != null) + { + db.Person_Persons.DeleteOnSubmit(table); + db.SubmitChanges(); + } + + } /// /// 更新项目人员单位 /// diff --git a/SGGL/FineUIPro.Web/File/Word/PHTGL/合同评审、审批表.docx b/SGGL/FineUIPro.Web/File/Word/PHTGL/合同评审、审批表.docx index 0f53c39a..44f99e54 100644 Binary files a/SGGL/FineUIPro.Web/File/Word/PHTGL/合同评审、审批表.docx and b/SGGL/FineUIPro.Web/File/Word/PHTGL/合同评审、审批表.docx differ diff --git a/SGGL/FineUIPro.Web/File/Word/PHTGL/招标文件审批表.docx b/SGGL/FineUIPro.Web/File/Word/PHTGL/招标文件审批表.docx index dfa12282..e03fac8c 100644 Binary files a/SGGL/FineUIPro.Web/File/Word/PHTGL/招标文件审批表.docx and b/SGGL/FineUIPro.Web/File/Word/PHTGL/招标文件审批表.docx differ diff --git a/SGGL/FineUIPro.Web/File/Word/PHTGL/施工招标实施计划审批表.docx b/SGGL/FineUIPro.Web/File/Word/PHTGL/施工招标实施计划审批表.docx index 94845d18..a20abf44 100644 Binary files a/SGGL/FineUIPro.Web/File/Word/PHTGL/施工招标实施计划审批表.docx and b/SGGL/FineUIPro.Web/File/Word/PHTGL/施工招标实施计划审批表.docx differ diff --git a/SGGL/FineUIPro.Web/File/Word/PHTGL/施工招标评标小组名单审批表.docx b/SGGL/FineUIPro.Web/File/Word/PHTGL/施工招标评标小组名单审批表.docx index 5c920265..d06c9896 100644 Binary files a/SGGL/FineUIPro.Web/File/Word/PHTGL/施工招标评标小组名单审批表.docx and b/SGGL/FineUIPro.Web/File/Word/PHTGL/施工招标评标小组名单审批表.docx differ diff --git a/SGGL/FineUIPro.Web/File/Word/PHTGL/确定分包商审批表(用于经评审的最低投标报价法).docx b/SGGL/FineUIPro.Web/File/Word/PHTGL/确定分包商审批表(用于经评审的最低投标报价法).docx index 67ba81b1..ede0fd0c 100644 Binary files a/SGGL/FineUIPro.Web/File/Word/PHTGL/确定分包商审批表(用于经评审的最低投标报价法).docx and b/SGGL/FineUIPro.Web/File/Word/PHTGL/确定分包商审批表(用于经评审的最低投标报价法).docx differ diff --git a/SGGL/FineUIPro.Web/File/Word/PHTGL/确定分包商审批表(用于综合评估法).docx b/SGGL/FineUIPro.Web/File/Word/PHTGL/确定分包商审批表(用于综合评估法).docx index 03754db4..dc9a91e6 100644 Binary files a/SGGL/FineUIPro.Web/File/Word/PHTGL/确定分包商审批表(用于综合评估法).docx and b/SGGL/FineUIPro.Web/File/Word/PHTGL/确定分包商审批表(用于综合评估法).docx differ diff --git a/SGGL/FineUIPro.Web/HJGL/PreDesign/PipelingDivide.aspx b/SGGL/FineUIPro.Web/HJGL/PreDesign/PipelingDivide.aspx index 16548c89..eb2631ee 100644 --- a/SGGL/FineUIPro.Web/HJGL/PreDesign/PipelingDivide.aspx +++ b/SGGL/FineUIPro.Web/HJGL/PreDesign/PipelingDivide.aspx @@ -7,6 +7,12 @@ 管线信息 +
@@ -54,6 +60,8 @@ + + diff --git a/SGGL/FineUIPro.Web/HJGL/PreDesign/PipelingDivide.aspx.cs b/SGGL/FineUIPro.Web/HJGL/PreDesign/PipelingDivide.aspx.cs index 726264bc..0e0b2395 100644 --- a/SGGL/FineUIPro.Web/HJGL/PreDesign/PipelingDivide.aspx.cs +++ b/SGGL/FineUIPro.Web/HJGL/PreDesign/PipelingDivide.aspx.cs @@ -212,6 +212,7 @@ namespace FineUIPro.Web.HJGL.PreDesign var table = this.GetPagedDataTable(Grid1, list); Grid1.DataSource = table; Grid1.DataBind(); + lbSinglePreRate.Text= GetSinglePreRateByUnitWork(this.tvControlItem.SelectedNodeID); } #endregion @@ -394,7 +395,47 @@ namespace FineUIPro.Web.HJGL.PreDesign } return PipeAreaValue; } + /// + /// 获取图纸预制率(工厂预制管线的预制达因/工厂预制管线的总达因) + /// + /// + /// + private string GetSinglePreRateByUnitWork(string unitworkid) + { + var db = Funs.DB; + var pipeline=from x in db.View_HJGL_Pipeline where x.UnitWorkId == unitworkid && x.PipeArea=="1" select x; + var q = from x in db.View_HJGL_WeldJoint where x.UnitWorkId == unitworkid select x; + string rate = ""; + + if (q != null && q.Count() > 0) + { + var proSum = (from x in q + join y in pipeline on x.PipelineId equals y.PipelineId into temp + from tt in temp.DefaultIfEmpty() + where x.JointAttribute == "预制口" + group x by x.UnitWorkId into g + select new + { + SizeSum = g.Sum(x => x.Size) + }).FirstOrDefault().SizeSum; + var AllSum = (from x in pipeline + group x by x.UnitWorkId into g + select new + { + SizeSum = g.Sum(x => x.TotalDin) + }).FirstOrDefault().SizeSum; + + proSum = (proSum != null) ? proSum : 0; + if (AllSum > 0) + { + var a = (decimal)100 * proSum / AllSum; + rate = Math.Round((decimal)a, 1).ToString() + "%"; + } + + return rate; + } + return "0%"; + } - } } diff --git a/SGGL/FineUIPro.Web/HJGL/PreDesign/PipelingDivide.aspx.designer.cs b/SGGL/FineUIPro.Web/HJGL/PreDesign/PipelingDivide.aspx.designer.cs index f5c5add5..203e23d1 100644 --- a/SGGL/FineUIPro.Web/HJGL/PreDesign/PipelingDivide.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HJGL/PreDesign/PipelingDivide.aspx.designer.cs @@ -131,6 +131,15 @@ namespace FineUIPro.Web.HJGL.PreDesign /// protected global::FineUIPro.Toolbar Toolbar4; + /// + /// lbSinglePreRate 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label lbSinglePreRate; + /// /// btnSetShop 控件。 /// diff --git a/SGGL/FineUIPro.Web/HJGL/WeldingManage/WeldJointList.aspx b/SGGL/FineUIPro.Web/HJGL/WeldingManage/WeldJointList.aspx index 2968c35c..3bfaf77e 100644 --- a/SGGL/FineUIPro.Web/HJGL/WeldingManage/WeldJointList.aspx +++ b/SGGL/FineUIPro.Web/HJGL/WeldingManage/WeldJointList.aspx @@ -95,7 +95,7 @@ - + diff --git a/SGGL/FineUIPro.Web/HJGL/WeldingManage/WeldJointList.aspx.cs b/SGGL/FineUIPro.Web/HJGL/WeldingManage/WeldJointList.aspx.cs index 9f31934f..0cc563eb 100644 --- a/SGGL/FineUIPro.Web/HJGL/WeldingManage/WeldJointList.aspx.cs +++ b/SGGL/FineUIPro.Web/HJGL/WeldingManage/WeldJointList.aspx.cs @@ -478,6 +478,8 @@ namespace FineUIPro.Web.HJGL.WeldingManage } return "0%"; } + + #endregion #region 焊口信息 维护事件 diff --git a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ActionPlanReviewEdit.aspx b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ActionPlanReviewEdit.aspx index 409adb6b..a653ff72 100644 --- a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ActionPlanReviewEdit.aspx +++ b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ActionPlanReviewEdit.aspx @@ -70,7 +70,8 @@ - + + diff --git a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ActionPlanReviewEdit.aspx.cs b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ActionPlanReviewEdit.aspx.cs index 9d06801a..4ca903e3 100644 --- a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ActionPlanReviewEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ActionPlanReviewEdit.aspx.cs @@ -53,6 +53,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement this.btnClose.OnClientClick = ActiveWindow.GetHideReference(); ActionPlanReviewId = Request.Params["ActionPlanReviewId"]; #region 绑定下拉列表 + BLL.DepartService.InitDepartDropDownList(DropDepart, true); /// 绑定施工管理部正副主任 BLL.Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(Approval_Construction, null, CurrUser.UnitId, Const.ConstructionMinister + "," + Const.ConstructionViceMinister, false); @@ -91,6 +92,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement DropPreliminaryMan.SelectedValue = Convert.ToString(act.PreliminaryMan); DropProjectManager.SelectedValue = Convert.ToString(act.ProjectManager); DropDeputyGeneralManager.SelectedValue = Convert.ToString(act.DeputyGeneralManager); + DropDepart.SelectedValue = Convert.ToString(act.DepartId); } /// /// 数据绑定 @@ -136,9 +138,15 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement ShowNotify("请选择合同", MessageBoxIcon.Warning); return isOk; } + if (DropDepart.SelectedValue == Const._Null) + { + ShowNotify("请选择部门!", MessageBoxIcon.Warning); + return false; + + } if (Approval_Construction.SelectedValue == Const._Null) { - ShowNotify("请选择施工管理部人员", MessageBoxIcon.Warning); + ShowNotify("请选择部门审批人员", MessageBoxIcon.Warning); return isOk; } @@ -154,6 +162,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement newmodel.PreliminaryMan = DropPreliminaryMan.SelectedValue; newmodel.ProjectManager = DropProjectManager.SelectedValue; newmodel.DeputyGeneralManager = DropDeputyGeneralManager.SelectedValue; + newmodel.DepartId = DropDepart.SelectedValue; BLL.PHTGL_ActionPlanReviewService.UpdatePHTGL_ActionPlanReview(newmodel); isOk = true; return isOk; diff --git a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ActionPlanReviewEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ActionPlanReviewEdit.aspx.designer.cs index 2b0e90da..dc8651bd 100644 --- a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ActionPlanReviewEdit.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ActionPlanReviewEdit.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace FineUIPro.Web.PHTGL.BiddingManagement { - - - public partial class ActionPlanReviewEdit { - +namespace FineUIPro.Web.PHTGL.BiddingManagement +{ + + + public partial class ActionPlanReviewEdit + { + /// /// form1 控件。 /// @@ -20,7 +22,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -29,7 +31,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// SimpleForm1 控件。 /// @@ -38,7 +40,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form SimpleForm1; - + /// /// ContentPanel1 控件。 /// @@ -47,7 +49,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ContentPanel ContentPanel1; - + /// /// Form3 控件。 /// @@ -56,7 +58,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form3; - + /// /// drpProjectId 控件。 /// @@ -65,7 +67,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownBox drpProjectId; - + /// /// Grid1 控件。 /// @@ -74,7 +76,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid1; - + /// /// lblPageIndex 控件。 /// @@ -83,7 +85,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label lblPageIndex; - + /// /// DropConstructionManager 控件。 /// @@ -92,7 +94,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList DropConstructionManager; - + /// /// DropPreliminaryMan 控件。 /// @@ -101,7 +103,16 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList DropPreliminaryMan; - + + /// + /// DropDepart 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList DropDepart; + /// /// Approval_Construction 控件。 /// @@ -110,7 +121,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList Approval_Construction; - + /// /// DropProjectManager 控件。 /// @@ -119,7 +130,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList DropProjectManager; - + /// /// DropDeputyGeneralManager 控件。 /// @@ -128,7 +139,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList DropDeputyGeneralManager; - + /// /// Toolbar1 控件。 /// @@ -137,7 +148,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar1; - + /// /// ToolbarFill1 控件。 /// @@ -146,7 +157,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarFill ToolbarFill1; - + /// /// btnSave 控件。 /// @@ -155,7 +166,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnSave; - + /// /// btnSubmit 控件。 /// @@ -164,7 +175,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnSubmit; - + /// /// btnClose 控件。 /// @@ -173,7 +184,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnClose; - + /// /// Window1 控件。 /// diff --git a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ApproveUserReviewEdit.aspx b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ApproveUserReviewEdit.aspx index 31a62d69..c59c5ffa 100644 --- a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ApproveUserReviewEdit.aspx +++ b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ApproveUserReviewEdit.aspx @@ -93,7 +93,9 @@ --%> - + + + diff --git a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ApproveUserReviewEdit.aspx.cs b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ApproveUserReviewEdit.aspx.cs index e490f30c..ec388773 100644 --- a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ApproveUserReviewEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ApproveUserReviewEdit.aspx.cs @@ -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)); diff --git a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ApproveUserReviewEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ApproveUserReviewEdit.aspx.designer.cs index 184e4ed3..0364cac4 100644 --- a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ApproveUserReviewEdit.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/ApproveUserReviewEdit.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace FineUIPro.Web.PHTGL.BiddingManagement { - - - public partial class ApproveUserReviewEdit { - +namespace FineUIPro.Web.PHTGL.BiddingManagement +{ + + + public partial class ApproveUserReviewEdit + { + /// /// form1 控件。 /// @@ -20,7 +22,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -29,7 +31,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// SimpleForm1 控件。 /// @@ -38,7 +40,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form SimpleForm1; - + /// /// Label1 控件。 /// @@ -47,7 +49,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label Label1; - + /// /// txtProjectName 控件。 /// @@ -56,7 +58,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtProjectName; - + /// /// drpBidDocumentCode 控件。 /// @@ -65,7 +67,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList drpBidDocumentCode; - + /// /// txtBidProject 控件。 /// @@ -74,7 +76,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtBidProject; - + /// /// Label7 控件。 /// @@ -83,7 +85,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label Label7; - + /// /// Grid1 控件。 /// @@ -92,7 +94,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid1; - + /// /// Toolbar2 控件。 /// @@ -101,7 +103,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar2; - + /// /// ToolbarFill1 控件。 /// @@ -110,7 +112,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarFill ToolbarFill1; - + /// /// btnNew 控件。 /// @@ -119,7 +121,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnNew; - + /// /// btnDelete 控件。 /// @@ -128,7 +130,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnDelete; - + /// /// DropUser 控件。 /// @@ -137,7 +139,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList DropUser; - + /// /// txtApproveUserSpecial 控件。 /// @@ -146,7 +148,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtApproveUserSpecial; - + /// /// txtApproveUserUnit 控件。 /// @@ -155,7 +157,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtApproveUserUnit; - + /// /// txtRemarks 控件。 /// @@ -164,7 +166,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtRemarks; - + /// /// DropConstructionManager 控件。 /// @@ -173,7 +175,16 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList DropConstructionManager; - + + /// + /// DropDepart 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList DropDepart; + /// /// DropApproval_Construction 控件。 /// @@ -182,7 +193,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList DropApproval_Construction; - + /// /// label12 控件。 /// @@ -191,7 +202,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label label12; - + /// /// Toolbar1 控件。 /// @@ -200,7 +211,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar1; - + /// /// btnSave 控件。 /// @@ -209,7 +220,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnSave; - + /// /// btnSubmit 控件。 /// @@ -218,7 +229,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnSubmit; - + /// /// btnClose 控件。 /// diff --git a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/BidDocumentsReviewEdit.aspx b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/BidDocumentsReviewEdit.aspx index 8dd8a39c..c6ba9475 100644 --- a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/BidDocumentsReviewEdit.aspx +++ b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/BidDocumentsReviewEdit.aspx @@ -136,7 +136,9 @@ - + + + diff --git a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/BidDocumentsReviewEdit.aspx.cs b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/BidDocumentsReviewEdit.aspx.cs index 70dfdff2..53e18949 100644 --- a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/BidDocumentsReviewEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/BidDocumentsReviewEdit.aspx.cs @@ -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)) diff --git a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/BidDocumentsReviewEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/BidDocumentsReviewEdit.aspx.designer.cs index 68299d1f..0a059a2a 100644 --- a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/BidDocumentsReviewEdit.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/BidDocumentsReviewEdit.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace FineUIPro.Web.PHTGL.BiddingManagement { - - - public partial class BidDocumentsReviewEdit { - +namespace FineUIPro.Web.PHTGL.BiddingManagement +{ + + + public partial class BidDocumentsReviewEdit + { + /// /// form1 控件。 /// @@ -20,7 +22,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -29,7 +31,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// SimpleForm1 控件。 /// @@ -38,7 +40,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form SimpleForm1; - + /// /// ContentPanel1 控件。 /// @@ -47,7 +49,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ContentPanel ContentPanel1; - + /// /// Form2 控件。 /// @@ -56,7 +58,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form2; - + /// /// drpProjectId 控件。 /// @@ -65,7 +67,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownBox drpProjectId; - + /// /// Grid1 控件。 /// @@ -74,7 +76,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid1; - + /// /// lblPageIndex 控件。 /// @@ -83,7 +85,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label lblPageIndex; - + /// /// txtEPCCode 控件。 /// @@ -92,7 +94,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtEPCCode; - + /// /// txtProjectName 控件。 /// @@ -101,7 +103,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtProjectName; - + /// /// txtBidType 控件。 /// @@ -110,7 +112,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList txtBidType; - + /// /// btnAttachUrl 控件。 /// @@ -119,7 +121,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnAttachUrl; - + /// /// txtBidDocumentsCode 控件。 /// @@ -128,7 +130,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtBidDocumentsCode; - + /// /// txtBidDocumentsName 控件。 /// @@ -137,7 +139,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtBidDocumentsName; - + /// /// txtBidContent 控件。 /// @@ -146,7 +148,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextArea txtBidContent; - + /// /// Bidding_SendTime 控件。 /// @@ -155,7 +157,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DatePicker Bidding_SendTime; - + /// /// Bidding_StartTime 控件。 /// @@ -164,7 +166,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DatePicker Bidding_StartTime; - + /// /// ContentPanel2 控件。 /// @@ -173,7 +175,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ContentPanel ContentPanel2; - + /// /// Form3 控件。 /// @@ -182,7 +184,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form3; - + /// /// DropConstructionManager 控件。 /// @@ -191,7 +193,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList DropConstructionManager; - + /// /// DropControlManager 控件。 /// @@ -200,7 +202,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList DropControlManager; - + /// /// DropProjectManager 控件。 /// @@ -209,7 +211,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList DropProjectManager; - + /// /// DropPreliminaryMan 控件。 /// @@ -218,7 +220,16 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList DropPreliminaryMan; - + + /// + /// DropDepart 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList DropDepart; + /// /// Approval_Construction 控件。 /// @@ -227,7 +238,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList Approval_Construction; - + /// /// Toolbar1 控件。 /// @@ -236,7 +247,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar1; - + /// /// lbTemp 控件。 /// @@ -245,7 +256,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label lbTemp; - + /// /// ToolbarFill1 控件。 /// @@ -254,7 +265,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarFill ToolbarFill1; - + /// /// btnSave 控件。 /// @@ -263,7 +274,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnSave; - + /// /// btnSubmit 控件。 /// @@ -272,7 +283,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnSubmit; - + /// /// btnClose 控件。 /// @@ -281,7 +292,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnClose; - + /// /// WindowAtt 控件。 /// diff --git a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit.aspx b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit.aspx index 0bd7c766..997efb25 100644 --- a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit.aspx +++ b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit.aspx @@ -141,7 +141,8 @@ - + + diff --git a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit.aspx.cs b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit.aspx.cs index 9fef7925..cb68eada 100644 --- a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit.aspx.cs @@ -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)) { diff --git a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit.aspx.designer.cs index 8e4d4e4d..05fda56f 100644 --- a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace FineUIPro.Web.PHTGL.BiddingManagement { - - - public partial class SetSubReviewEdit { - +namespace FineUIPro.Web.PHTGL.BiddingManagement +{ + + + public partial class SetSubReviewEdit + { + /// /// form1 控件。 /// @@ -20,7 +22,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -29,7 +31,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// SimpleForm1 控件。 /// @@ -38,7 +40,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form SimpleForm1; - + /// /// ContentPanel1 控件。 /// @@ -47,7 +49,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ContentPanel ContentPanel1; - + /// /// Form2 控件。 /// @@ -56,7 +58,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form2; - + /// /// txtSetSubReviewCode 控件。 /// @@ -65,7 +67,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtSetSubReviewCode; - + /// /// DropBidCode 控件。 /// @@ -74,7 +76,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList DropBidCode; - + /// /// txtProjectName 控件。 /// @@ -83,7 +85,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtProjectName; - + /// /// txtBidContent 控件。 /// @@ -92,7 +94,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtBidContent; - + /// /// StartTime 控件。 /// @@ -101,7 +103,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DatePicker StartTime; - + /// /// CBIsOwenerApprove 控件。 /// @@ -110,7 +112,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.CheckBoxList CBIsOwenerApprove; - + /// /// btnAttachUrl 控件。 /// @@ -119,7 +121,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnAttachUrl; - + /// /// lable22 控件。 /// @@ -128,7 +130,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label lable22; - + /// /// btnAttachUrl2 控件。 /// @@ -137,7 +139,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnAttachUrl2; - + /// /// Grid1 控件。 /// @@ -146,7 +148,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid1; - + /// /// Toolbar2 控件。 /// @@ -155,7 +157,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar2; - + /// /// ToolbarFill2 控件。 /// @@ -164,7 +166,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarFill ToolbarFill2; - + /// /// btnNew 控件。 /// @@ -173,7 +175,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnNew; - + /// /// btnDelete 控件。 /// @@ -182,7 +184,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnDelete; - + /// /// TextBox2 控件。 /// @@ -191,7 +193,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox2; - + /// /// TextBox3 控件。 /// @@ -200,7 +202,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox3; - + /// /// TextBox4 控件。 /// @@ -209,7 +211,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox4; - + /// /// TextBox5 控件。 /// @@ -218,7 +220,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox5; - + /// /// TextBox6 控件。 /// @@ -227,7 +229,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox6; - + /// /// TextBox7 控件。 /// @@ -236,7 +238,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox7; - + /// /// DropConstructionManager 控件。 /// @@ -245,7 +247,16 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList DropConstructionManager; - + + /// + /// DropDepart 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList DropDepart; + /// /// DropApproval_Construction 控件。 /// @@ -254,7 +265,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList DropApproval_Construction; - + /// /// DropProjectManager 控件。 /// @@ -263,7 +274,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList DropProjectManager; - + /// /// DropDeputyGeneralManager 控件。 /// @@ -272,7 +283,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList DropDeputyGeneralManager; - + /// /// Toolbar1 控件。 /// @@ -281,7 +292,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar1; - + /// /// lbTemp 控件。 /// @@ -290,7 +301,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label lbTemp; - + /// /// ToolbarFill1 控件。 /// @@ -299,7 +310,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarFill ToolbarFill1; - + /// /// btnSave 控件。 /// @@ -308,7 +319,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnSave; - + /// /// btnSubmit 控件。 /// @@ -317,7 +328,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnSubmit; - + /// /// btnClose 控件。 /// @@ -326,7 +337,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnClose; - + /// /// WindowAtt 控件。 /// diff --git a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit2.aspx b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit2.aspx index 486ff66d..8fd81e98 100644 --- a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit2.aspx +++ b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit2.aspx @@ -122,7 +122,9 @@ - + + + diff --git a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit2.aspx.cs b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit2.aspx.cs index e89130f1..31e8802a 100644 --- a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit2.aspx.cs +++ b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit2.aspx.cs @@ -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)); diff --git a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit2.aspx.designer.cs b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit2.aspx.designer.cs index b258f9c9..ca756b3a 100644 --- a/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit2.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/PHTGL/BiddingManagement/SetSubReviewEdit2.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace FineUIPro.Web.PHTGL.BiddingManagement { - - - public partial class SetSubReviewEdit2 { - +namespace FineUIPro.Web.PHTGL.BiddingManagement +{ + + + public partial class SetSubReviewEdit2 + { + /// /// form1 控件。 /// @@ -20,7 +22,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -29,7 +31,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// SimpleForm1 控件。 /// @@ -38,7 +40,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form SimpleForm1; - + /// /// ContentPanel1 控件。 /// @@ -47,7 +49,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ContentPanel ContentPanel1; - + /// /// Form2 控件。 /// @@ -56,7 +58,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form2; - + /// /// txtSetSubReviewCode 控件。 /// @@ -65,7 +67,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtSetSubReviewCode; - + /// /// DropBidCode 控件。 /// @@ -74,7 +76,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList DropBidCode; - + /// /// txtProjectName 控件。 /// @@ -83,7 +85,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtProjectName; - + /// /// txtBidContent 控件。 /// @@ -92,7 +94,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtBidContent; - + /// /// StartTime 控件。 /// @@ -101,7 +103,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DatePicker StartTime; - + /// /// CBIsOwenerApprove 控件。 /// @@ -110,7 +112,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.CheckBoxList CBIsOwenerApprove; - + /// /// btnAttachUrl 控件。 /// @@ -119,7 +121,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnAttachUrl; - + /// /// lable22 控件。 /// @@ -128,7 +130,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label lable22; - + /// /// btnAttachUrl2 控件。 /// @@ -137,7 +139,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnAttachUrl2; - + /// /// Grid1 控件。 /// @@ -146,7 +148,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid1; - + /// /// Toolbar2 控件。 /// @@ -155,7 +157,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar2; - + /// /// ToolbarFill2 控件。 /// @@ -164,7 +166,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarFill ToolbarFill2; - + /// /// btnNew 控件。 /// @@ -173,7 +175,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnNew; - + /// /// btnDelete 控件。 /// @@ -182,7 +184,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnDelete; - + /// /// TextBox2 控件。 /// @@ -191,7 +193,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox2; - + /// /// TextBox3 控件。 /// @@ -200,7 +202,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox3; - + /// /// TextBox4 控件。 /// @@ -209,7 +211,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox4; - + /// /// DropConstructionManager 控件。 /// @@ -218,7 +220,16 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList DropConstructionManager; - + + /// + /// DropDepart 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList DropDepart; + /// /// DropApproval_Construction 控件。 /// @@ -227,7 +238,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList DropApproval_Construction; - + /// /// DropProjectManager 控件。 /// @@ -236,7 +247,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList DropProjectManager; - + /// /// DropDeputyGeneralManager 控件。 /// @@ -245,7 +256,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList DropDeputyGeneralManager; - + /// /// Toolbar1 控件。 /// @@ -254,7 +265,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar1; - + /// /// lbTemp 控件。 /// @@ -263,7 +274,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label lbTemp; - + /// /// ToolbarFill1 控件。 /// @@ -272,7 +283,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarFill ToolbarFill1; - + /// /// btnSave 控件。 /// @@ -281,7 +292,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnSave; - + /// /// btnSubmit 控件。 /// @@ -290,7 +301,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnSubmit; - + /// /// btnClose 控件。 /// @@ -299,7 +310,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnClose; - + /// /// WindowAtt 控件。 /// diff --git a/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractReviewEdit.aspx b/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractReviewEdit.aspx index 92fa1e75..e1f2369f 100644 --- a/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractReviewEdit.aspx +++ b/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractReviewEdit.aspx @@ -101,7 +101,9 @@ - + + + @@ -140,7 +142,7 @@ - + diff --git a/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractReviewEdit.aspx.cs b/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractReviewEdit.aspx.cs index 019acfb1..dc1ca094 100644 --- a/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractReviewEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractReviewEdit.aspx.cs @@ -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)); diff --git a/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractReviewEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractReviewEdit.aspx.designer.cs index ce215f47..f818c563 100644 --- a/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractReviewEdit.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/PHTGL/ContractCompile/ContractReviewEdit.aspx.designer.cs @@ -149,6 +149,15 @@ namespace FineUIPro.Web.PHTGL.ContractCompile /// protected global::FineUIPro.DropDownList DropProjectManager; + /// + /// DropDepart 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList DropDepart; + /// /// dropCountersign_Construction 控件。 /// diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs index 1f0c66db..f500905b 100644 --- a/SGGL/Model/Model.cs +++ b/SGGL/Model/Model.cs @@ -73403,7 +73403,7 @@ namespace Model OnCreated(); } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCode", DbType="NVarChar(15) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string MaterialCode { get @@ -73507,7 +73507,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialDef", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialDef", DbType="NVarChar(3000)")] public string MaterialDef { get @@ -78097,7 +78097,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCode", DbType="NVarChar(50)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCode", DbType="NVarChar(15)")] public string MaterialCode { get @@ -82445,7 +82445,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CanWelderCode", DbType="NVarChar(1000)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CanWelderCode", DbType="NVarChar(200)")] public string CanWelderCode { get @@ -141893,6 +141893,8 @@ namespace Model private string _DeputyGeneralManager; + private string _DepartId; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -141915,6 +141917,8 @@ namespace Model partial void OnProjectManagerChanged(); partial void OnDeputyGeneralManagerChanging(string value); partial void OnDeputyGeneralManagerChanged(); + partial void OnDepartIdChanging(string value); + partial void OnDepartIdChanged(); #endregion public PHTGL_ActionPlanReview() @@ -142102,6 +142106,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartId", DbType="VarChar(50)")] + public string DepartId + { + get + { + return this._DepartId; + } + set + { + if ((this._DepartId != value)) + { + this.OnDepartIdChanging(value); + this.SendPropertyChanging(); + this._DepartId = value; + this.SendPropertyChanged("DepartId"); + this.OnDepartIdChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -149181,6 +149205,8 @@ namespace Model private string _DeputyGeneralManager; + private string _DepartId; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -149207,6 +149233,8 @@ namespace Model partial void OnApproval_ConstructionChanged(); partial void OnDeputyGeneralManagerChanging(string value); partial void OnDeputyGeneralManagerChanged(); + partial void OnDepartIdChanging(string value); + partial void OnDepartIdChanged(); #endregion public PHTGL_BidApproveUserReview() @@ -149434,6 +149462,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartId", DbType="VarChar(50)")] + public string DepartId + { + get + { + return this._DepartId; + } + set + { + if ((this._DepartId != value)) + { + this.OnDepartIdChanging(value); + this.SendPropertyChanging(); + this._DepartId = value; + this.SendPropertyChanged("DepartId"); + this.OnDepartIdChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -149681,6 +149729,8 @@ namespace Model private string _ProjectManager; + private string _DepartId; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -149723,6 +149773,8 @@ namespace Model partial void OnPreliminaryManChanged(); partial void OnProjectManagerChanging(string value); partial void OnProjectManagerChanged(); + partial void OnDepartIdChanging(string value); + partial void OnDepartIdChanged(); #endregion public PHTGL_BidDocumentsReview() @@ -150110,6 +150162,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartId", DbType="VarChar(50)")] + public string DepartId + { + get + { + return this._DepartId; + } + set + { + if ((this._DepartId != value)) + { + this.OnDepartIdChanging(value); + this.SendPropertyChanging(); + this._DepartId = value; + this.SendPropertyChanged("DepartId"); + this.OnDepartIdChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -151998,6 +152070,8 @@ namespace Model private string _Approval_GeneralLaw; + private string _DepartId; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -152052,6 +152126,8 @@ namespace Model partial void OnIdeaChanged(); partial void OnApproval_GeneralLawChanging(string value); partial void OnApproval_GeneralLawChanged(); + partial void OnDepartIdChanging(string value); + partial void OnDepartIdChanged(); #endregion public PHTGL_ContractReview() @@ -152559,6 +152635,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartId", DbType="VarChar(50)")] + public string DepartId + { + get + { + return this._DepartId; + } + set + { + if ((this._DepartId != value)) + { + this.OnDepartIdChanging(value); + this.SendPropertyChanging(); + this._DepartId = value; + this.SendPropertyChanged("DepartId"); + this.OnDepartIdChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -152610,6 +152706,8 @@ namespace Model private System.Nullable _IsOwenerApprove; + private string _DepartId; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -152638,6 +152736,8 @@ namespace Model partial void OnDeputyGeneralManagerChanged(); partial void OnIsOwenerApproveChanging(System.Nullable value); partial void OnIsOwenerApproveChanged(); + partial void OnDepartIdChanging(string value); + partial void OnDepartIdChanged(); #endregion public PHTGL_SetSubReview() @@ -152885,6 +152985,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartId", DbType="VarChar(50)")] + public string DepartId + { + get + { + return this._DepartId; + } + set + { + if ((this._DepartId != value)) + { + this.OnDepartIdChanging(value); + this.SendPropertyChanging(); + this._DepartId = value; + this.SendPropertyChanged("DepartId"); + this.OnDepartIdChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -234515,7 +234635,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CanWelderCode", DbType="NVarChar(1000)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CanWelderCode", DbType="NVarChar(200)")] public string CanWelderCode { get