diff --git a/.vs/SGGL_SeDin_New/v17/.wsuo b/.vs/SGGL_SeDin_New/v17/.wsuo index 181fa974..e47c8d62 100644 Binary files a/.vs/SGGL_SeDin_New/v17/.wsuo and b/.vs/SGGL_SeDin_New/v17/.wsuo differ diff --git a/.vs/SGGL_SeDin_New/v17/DocumentLayout.json b/.vs/SGGL_SeDin_New/v17/DocumentLayout.json index 38269f8f..2bf4a7d0 100644 --- a/.vs/SGGL_SeDin_New/v17/DocumentLayout.json +++ b/.vs/SGGL_SeDin_New/v17/DocumentLayout.json @@ -51,10 +51,6 @@ "$type": "Bookmark", "Name": "ST:3:0:{f2bd8fb8-fc94-3dae-a733-fd993c73cc87}" }, - { - "$type": "Bookmark", - "Name": "ST:128:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}" - }, { "$type": "Bookmark", "Name": "ST:129:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}" diff --git a/DataBase/版本日志/SGGLDB_V2024-10-29.sql b/DataBase/版本日志/SGGLDB_V2024-10-29.sql new file mode 100644 index 00000000..85c19cf9 --- /dev/null +++ b/DataBase/版本日志/SGGLDB_V2024-10-29.sql @@ -0,0 +1,8 @@ + +update Sys_Menu set MenuName ='ȷб' where MenuId='11503AD6-742D-406D-96F1-17BA3B9E7580' +go +alter table PHTGL_SetSubReview add BidDocumentsReviewId nvarchar(50) +go +update sub set sub.BidDocumentsReviewId=app.BidDocumentsReviewId +from PHTGL_SetSubReview sub +join PHTGL_BidApproveUserReview app on sub.ApproveUserReviewID=app.ApproveUserReviewID \ No newline at end of file diff --git a/SGGL/BLL/HJGL/PreDesign/PackagingManageService .cs b/SGGL/BLL/HJGL/PreDesign/PackagingManageService .cs index 540f3022..a15714f9 100644 --- a/SGGL/BLL/HJGL/PreDesign/PackagingManageService .cs +++ b/SGGL/BLL/HJGL/PreDesign/PackagingManageService .cs @@ -116,6 +116,10 @@ namespace BLL { string PlanStartDate = ""; DataTable tb = BLL.HJGL_PackagingmanageService.GetPackagingDetailById(PackagingManageId); + if (tb == null || tb.Rows.Count == 0) + { + return PlanStartDate; + } var dtTable = tb.AsEnumerable().OrderBy(o => o["PlanStartDate"]).CopyToDataTable(); if (dtTable.Rows != null && dtTable.Rows.Count > 0) { diff --git a/SGGL/BLL/PHTGL/BiddingManagement/BidDocumentsReviewService.cs b/SGGL/BLL/PHTGL/BiddingManagement/BidDocumentsReviewService.cs index d54bc8a0..1dfb1ece 100644 --- a/SGGL/BLL/PHTGL/BiddingManagement/BidDocumentsReviewService.cs +++ b/SGGL/BLL/PHTGL/BiddingManagement/BidDocumentsReviewService.cs @@ -141,11 +141,11 @@ namespace BLL /// /// /// - public static void InitGetBidCompleteDropDownList(FineUIPro.DropDownList dropName, bool isShowPlease) + public static void InitGetBidCompleteDropDownList(FineUIPro.DropDownList dropName,string projectid, bool isShowPlease) { dropName.DataValueField = "BidDocumentsReviewId"; dropName.DataTextField = "BidDocumentsCode"; - dropName.DataSource = GetCompleteBidDocument(); + dropName.DataSource = GetCompleteBidDocument(projectid); dropName.DataBind(); if (isShowPlease) { @@ -153,10 +153,10 @@ namespace BLL } } - public static List GetCompleteBidDocument() + public static List GetCompleteBidDocument(string projectid) { var list = (from x in Funs.DB.PHTGL_BidDocumentsReview - where x.State == Const.ContractReview_Complete + where x.State == Const.ContractReview_Complete && x.ProjectId == projectid select x).ToList(); return list; } diff --git a/SGGL/BLL/PHTGL/BiddingManagement/SetSubReviewService.cs b/SGGL/BLL/PHTGL/BiddingManagement/SetSubReviewService.cs index eb6e6882..160f9e6c 100644 --- a/SGGL/BLL/PHTGL/BiddingManagement/SetSubReviewService.cs +++ b/SGGL/BLL/PHTGL/BiddingManagement/SetSubReviewService.cs @@ -67,7 +67,7 @@ namespace BLL table.Approval_Construction = newtable.Approval_Construction; table.IsOwenerApprove = newtable.IsOwenerApprove; table.DepartId = newtable.DepartId; - + table.BidDocumentsReviewId = newtable.BidDocumentsReviewId; Funs.DB.PHTGL_SetSubReview.InsertOnSubmit(table); Funs.DB.SubmitChanges(); } @@ -93,7 +93,7 @@ namespace BLL table.Approval_Construction = newtable.Approval_Construction; table.IsOwenerApprove = newtable.IsOwenerApprove; table.DepartId = newtable.DepartId; - + table.BidDocumentsReviewId = newtable.BidDocumentsReviewId; Funs.DB.SubmitChanges(); } @@ -165,10 +165,15 @@ namespace BLL } public static object GetMySelfCompleteSetSubReview(string userid, string ProjectId) { - var list = (from x in Funs.DB.PHTGL_SetSubReview + /*var list = (from x in Funs.DB.PHTGL_SetSubReview join y in Funs.DB.PHTGL_BidApproveUserReview on x.ApproveUserReviewID equals y.ApproveUserReviewID where x.State == Const.ContractReview_Complete && x.CreateUser == userid && y.ProjectId == ProjectId + select x).ToList();*/ + var list = (from x in Funs.DB.PHTGL_SetSubReview + join y in Funs.DB.PHTGL_BidDocumentsReview on x.BidDocumentsReviewId equals y.BidDocumentsReviewId + where x.State == Const.ContractReview_Complete && x.CreateUser == userid + && y.ProjectId == ProjectId select x).ToList(); return list; } @@ -182,8 +187,7 @@ namespace BLL string filePath = string.Empty; string strSql = ""; var getFireWork = PHTGL_SetSubReviewService.GetPHTGL_SetSubReviewById(SetSubReviewID); - var BidUser = PHTGL_BidApproveUserReviewService.GetPHTGL_BidApproveUserReviewById(getFireWork.ApproveUserReviewID); - var BidDoc = PHTGL_BidDocumentsReviewService.GetPHTGL_BidDocumentsReviewById(BidUser.BidDocumentsReviewId); + var BidDoc = PHTGL_BidDocumentsReviewService.GetPHTGL_BidDocumentsReviewById(getFireWork.BidDocumentsReviewId); var Act = BLL.PHTGL_ActionPlanFormationService.GetPHTGL_ActionPlanFormationById(BidDoc.ActionPlanID); @@ -322,8 +326,7 @@ namespace BLL string newUrl = string.Empty; string initTemplatePath = string.Empty; var getFireWork = PHTGL_SetSubReviewService.GetPHTGL_SetSubReviewById(Id); - var BidUser = PHTGL_BidApproveUserReviewService.GetPHTGL_BidApproveUserReviewById(getFireWork.ApproveUserReviewID); - var BidDoc = PHTGL_BidDocumentsReviewService.GetPHTGL_BidDocumentsReviewById(BidUser.BidDocumentsReviewId); + var BidDoc = PHTGL_BidDocumentsReviewService.GetPHTGL_BidDocumentsReviewById(getFireWork.BidDocumentsReviewId); var Act = BLL.PHTGL_ActionPlanFormationService.GetPHTGL_ActionPlanFormationById(BidDoc.ActionPlanID); switch (getFireWork.Type) diff --git a/SGGL/BLL/PHTGL/OAWebSevice.cs b/SGGL/BLL/PHTGL/OAWebSevice.cs index 83ccfbc1..cf30dac1 100644 --- a/SGGL/BLL/PHTGL/OAWebSevice.cs +++ b/SGGL/BLL/PHTGL/OAWebSevice.cs @@ -210,7 +210,7 @@ namespace BLL break; case PHTGL_ApproveService.SetSubReview: var Sub = BLL.PHTGL_SetSubReviewService.GetPHTGL_SetSubReviewById(users.ContractId); - var BidApp2 = BLL.PHTGL_BidApproveUserReviewService.GetPHTGL_BidApproveUserReviewById(Sub.ApproveUserReviewID); + var BidApp2 = BLL.PHTGL_BidDocumentsReviewService.GetPHTGL_BidDocumentsReviewById(Sub.BidDocumentsReviewId); if (Sub != null) { var gereceiver = BLL.Person_PersonsService.GetPerson_PersonsById(Sub.CreateUser); @@ -387,18 +387,18 @@ namespace BLL break; case PHTGL_ApproveService.SetSubReview: var Sub = BLL.PHTGL_SetSubReviewService.GetPHTGL_SetSubReviewById(users[i].ContractId); - var BidApp2 = BLL.PHTGL_BidApproveUserReviewService.GetPHTGL_BidApproveUserReviewById(Sub.ApproveUserReviewID); + var Biddoc2 = BLL.PHTGL_BidDocumentsReviewService.GetPHTGL_BidDocumentsReviewById(Sub.BidDocumentsReviewId); if (Sub != null) { var geCreatUser = BLL.Person_PersonsService.GetPerson_PersonsById(Sub.CreateUser); var gereceiver = BLL.Person_PersonsService.GetPerson_PersonsById(users[i].ApproveMan); webJson.flowid = users[i].ApproveId; - webJson.requestname = "确定分包商审批审批 " + ProjectService.GetProjectNameByProjectId(BidApp2.ProjectId); + webJson.requestname = "确定分包商审批审批 " + ProjectService.GetProjectNameByProjectId(Biddoc2.ProjectId); webJson.nodename = users[i].ApproveType; webJson.creator = geCreatUser.JobNum; webJson.receiver = gereceiver.JobNum; - webJson.pcurl = geturl(BidApp2.ProjectId, PHTGL_ApproveService.SetSubReview, Sub.SetSubReviewID, users[i].ApproveMan); - webJson.appurl = getAppurl(BidApp2.ProjectId, PHTGL_ApproveService.SetSubReview, Sub.SetSubReviewID, users[i].ApproveMan); + webJson.pcurl = geturl(Biddoc2.ProjectId, PHTGL_ApproveService.SetSubReview, Sub.SetSubReviewID, users[i].ApproveMan); + webJson.appurl = getAppurl(Biddoc2.ProjectId, PHTGL_ApproveService.SetSubReview, Sub.SetSubReviewID, users[i].ApproveMan); } break; case PHTGL_ApproveService.ContractReview: diff --git a/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/ApproveUserReviewDetail.aspx.cs b/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/ApproveUserReviewDetail.aspx.cs index 6325554e..3d458ea2 100644 --- a/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/ApproveUserReviewDetail.aspx.cs +++ b/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/ApproveUserReviewDetail.aspx.cs @@ -254,14 +254,14 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement } else { - Model.PHTGL_SetSubReview _SetSubReview = new Model.PHTGL_SetSubReview(); + /* Model.PHTGL_SetSubReview _SetSubReview = new Model.PHTGL_SetSubReview(); _SetSubReview.SetSubReviewID = SQLHelper.GetNewID(typeof(Model.PHTGL_SetSubReview)); var BidUser = BLL.PHTGL_BidApproveUserReviewService.GetPHTGL_BidApproveUserReviewById(ApproveUserReviewID); _SetSubReview.ApproveUserReviewID = ApproveUserReviewID; _SetSubReview.ActionPlanID = BidUser.ActionPlanID; _SetSubReview.State = Const.ContractCreating; _SetSubReview.Type = 0; - PHTGL_SetSubReviewService.AddPHTGL_SetSubReview(_SetSubReview); + PHTGL_SetSubReviewService.AddPHTGL_SetSubReview(_SetSubReview);*/ ChangeState(Const.ContractReview_Complete); } diff --git a/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/BidDocumentsReviewDetail.aspx.cs b/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/BidDocumentsReviewDetail.aspx.cs index bc3be275..c9115e33 100644 --- a/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/BidDocumentsReviewDetail.aspx.cs +++ b/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/BidDocumentsReviewDetail.aspx.cs @@ -397,14 +397,14 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement } else { - var Bid = PHTGL_BidDocumentsReviewService.GetPHTGL_BidDocumentsReviewById(BidDocumentsReviewId); + /* var Bid = PHTGL_BidDocumentsReviewService.GetPHTGL_BidDocumentsReviewById(BidDocumentsReviewId); Model.PHTGL_BidApproveUserReview newtable = new Model.PHTGL_BidApproveUserReview(); newtable.ApproveUserReviewID = SQLHelper.GetNewID(typeof(Model.PHTGL_BidApproveUserReview)); newtable.BidDocumentsReviewId = BidDocumentsReviewId; newtable.ProjectId = Bid.ProjectId; newtable.ActionPlanID = Bid.ActionPlanID; newtable.State = Const.ContractCreating; - PHTGL_BidApproveUserReviewService.AddPHTGL_BidApproveUserReview(newtable); + PHTGL_BidApproveUserReviewService.AddPHTGL_BidApproveUserReview(newtable);*/ ChangeState(Const.ContractReview_Complete); } } diff --git a/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/SetSubReviewDetail.aspx.cs b/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/SetSubReviewDetail.aspx.cs index 56bd6434..45510012 100644 --- a/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/SetSubReviewDetail.aspx.cs +++ b/SGGL/FineUIPro.Mobile/PHTGL/BiddingManagement/SetSubReviewDetail.aspx.cs @@ -138,8 +138,7 @@ namespace FineUIPro.Mobile.PHTGL.BiddingManagement if (!string.IsNullOrEmpty(SetSubReviewID)) { var _SetSubReview = BLL.PHTGL_SetSubReviewService.GetPHTGL_SetSubReviewById(SetSubReviewID); - var BidUser = BLL.PHTGL_BidApproveUserReviewService.GetPHTGL_BidApproveUserReviewById(_SetSubReview.ApproveUserReviewID); - var BidDocument = BLL.PHTGL_BidDocumentsReviewService.GetPHTGL_BidDocumentsReviewById(BidUser.BidDocumentsReviewId); + var BidDocument = BLL.PHTGL_BidDocumentsReviewService.GetPHTGL_BidDocumentsReviewById(_SetSubReview.BidDocumentsReviewId); if (_SetSubReview != null) { txtSetSubReviewCode.Text = _SetSubReview.SetSubReviewCode; diff --git a/SGGL/FineUIPro.Web/File/Fastreport/焊口打印.frx b/SGGL/FineUIPro.Web/File/Fastreport/焊口打印.frx index 272a4e17..f03b0c43 100644 --- a/SGGL/FineUIPro.Web/File/Fastreport/焊口打印.frx +++ b/SGGL/FineUIPro.Web/File/Fastreport/焊口打印.frx @@ -1,5 +1,5 @@  - + using System; using System.Collections; using System.Collections.Generic; @@ -99,7 +99,7 @@ namespace FastReport } - + @@ -156,7 +156,7 @@ namespace FastReport - + diff --git a/SGGL/FineUIPro.Web/File/Fastreport/组件打印.frx b/SGGL/FineUIPro.Web/File/Fastreport/组件打印.frx index 53ffaae9..9873fb20 100644 --- a/SGGL/FineUIPro.Web/File/Fastreport/组件打印.frx +++ b/SGGL/FineUIPro.Web/File/Fastreport/组件打印.frx @@ -1,5 +1,5 @@  - + using System; using System.Collections; using System.Collections.Generic; @@ -99,7 +99,7 @@ namespace FastReport } - + @@ -163,7 +163,7 @@ namespace FastReport - + diff --git a/SGGL/FineUIPro.Web/File/Word/PHTGL/确定分包商审批表(用于经评审的最低投标报价法).docx b/SGGL/FineUIPro.Web/File/Word/PHTGL/确定分包商审批表(用于经评审的最低投标报价法).docx index ede0fd0c..da61ceec 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/确定分包商审批表(用于经评审的最低投标报价法)LW.docx b/SGGL/FineUIPro.Web/File/Word/PHTGL/确定分包商审批表(用于经评审的最低投标报价法)LW.docx index e1242809..711addfa 100644 Binary files a/SGGL/FineUIPro.Web/File/Word/PHTGL/确定分包商审批表(用于经评审的最低投标报价法)LW.docx and b/SGGL/FineUIPro.Web/File/Word/PHTGL/确定分包商审批表(用于经评审的最低投标报价法)LW.docx differ diff --git a/SGGL/FineUIPro.Web/File/Word/PHTGL/确定分包商审批表(用于综合评估法).docx b/SGGL/FineUIPro.Web/File/Word/PHTGL/确定分包商审批表(用于综合评估法).docx index dc9a91e6..3e9e5c2c 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/确定分包商审批表(用于综合评估法)LW.docx b/SGGL/FineUIPro.Web/File/Word/PHTGL/确定分包商审批表(用于综合评估法)LW.docx index 72289afb..9f74fd56 100644 Binary files a/SGGL/FineUIPro.Web/File/Word/PHTGL/确定分包商审批表(用于综合评估法)LW.docx and b/SGGL/FineUIPro.Web/File/Word/PHTGL/确定分包商审批表(用于综合评估法)LW.docx differ diff --git a/SGGL/FineUIPro.Web/HJGL/InfoQuery/JointQuery.aspx.cs b/SGGL/FineUIPro.Web/HJGL/InfoQuery/JointQuery.aspx.cs index 9e0a48bd..6c1e79d4 100644 --- a/SGGL/FineUIPro.Web/HJGL/InfoQuery/JointQuery.aspx.cs +++ b/SGGL/FineUIPro.Web/HJGL/InfoQuery/JointQuery.aspx.cs @@ -520,6 +520,8 @@ namespace FineUIPro.Web.HJGL.InfoQuery 硬度检测结果 = x.HardResult, 委托单编号 = x.TrustBatchCode, 检测单编号 = x.NDECode, + 探伤类型=x.DetectionTypeCode, + 探伤比例=x.DetectionRateCode }).ToList(); MiniExcel.SaveAs(path, q); diff --git a/SGGL/FineUIPro.Web/HJGL/PreDesign/PackagingManageEdit.aspx.cs b/SGGL/FineUIPro.Web/HJGL/PreDesign/PackagingManageEdit.aspx.cs index 15770274..1bae74d9 100644 --- a/SGGL/FineUIPro.Web/HJGL/PreDesign/PackagingManageEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/HJGL/PreDesign/PackagingManageEdit.aspx.cs @@ -78,11 +78,11 @@ namespace FineUIPro.Web.HJGL.PreDesign protected void btnSave_Click(object sender, EventArgs e) { - if (dropPipelineComponentCode.Values.Length==0) + /*if (dropPipelineComponentCode.Values.Length==0) { ShowNotify("请选择预制组件", MessageBoxIcon.Warning); return; - } + }*/ if (string.IsNullOrEmpty(PackagingManageId)) { Model.HJGL_PackagingManage table = new Model.HJGL_PackagingManage() ; diff --git a/SGGL/FineUIPro.Web/HJGL/PreDesign/PrePipeline.aspx b/SGGL/FineUIPro.Web/HJGL/PreDesign/PrePipeline.aspx index ae328f8d..80327dc5 100644 --- a/SGGL/FineUIPro.Web/HJGL/PreDesign/PrePipeline.aspx +++ b/SGGL/FineUIPro.Web/HJGL/PreDesign/PrePipeline.aspx @@ -61,6 +61,10 @@ + +