diff --git a/.vs/SGGL_SeDin/v17/.wsuo b/.vs/SGGL_SeDin/v17/.wsuo index eac87757..14d066e1 100644 Binary files a/.vs/SGGL_SeDin/v17/.wsuo and b/.vs/SGGL_SeDin/v17/.wsuo differ diff --git a/SGGL/BLL/HJGL/WeldingManage/PipelineComponentService.cs b/SGGL/BLL/HJGL/WeldingManage/PipelineComponentService.cs index 64674e24..c0c7e3d1 100644 --- a/SGGL/BLL/HJGL/WeldingManage/PipelineComponentService.cs +++ b/SGGL/BLL/HJGL/WeldingManage/PipelineComponentService.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.Linq; using System.Web.UI.WebControls; +using Model; namespace BLL { @@ -272,17 +273,24 @@ namespace BLL db.SubmitChanges(); } } + /// /// 获取已经验收的预制组件 /// - /// + /// + /// + /// /// - public static List GetAcceptedPipelineComponent(string projectid) + public static List GetAcceptedPipelineComponent(string projectId, string pipelineCode, + string pipelineComponentCode,string flowingSection) { Model.SGGLDB db = Funs.DB; var q = (from x in db.HJGL_Pipeline_Component join y in db.HJGL_Pipeline on x.PipelineId equals y.PipelineId - where y.ProjectId.Contains(projectid) && x.State.Equals(state_1) + where y.ProjectId.Contains(projectId) && x.State.Equals(state_1) && + (string.IsNullOrEmpty(pipelineCode) || y.PipelineCode.Contains(pipelineCode)) && + (string.IsNullOrEmpty(pipelineComponentCode) || x.PipelineComponentCode.Contains(pipelineComponentCode)) && + (string.IsNullOrEmpty(flowingSection) || y.FlowingSection.Contains(flowingSection)) select x).ToList(); return q; @@ -297,22 +305,23 @@ namespace BLL return q; } - /// - /// 管线下拉框 - /// - /// 下拉框名字 - /// 是否显示请选择 - public static void InitPipelineDownList(FineUIPro.DropDownList dropName,string projectid, bool isShowPlease) - { - dropName.DataValueField = "PipelineComponentId"; - dropName.DataTextField = "PipelineComponentCode"; - dropName.DataSource = GetAcceptedPipelineComponent(projectid); - dropName.DataBind(); - if (isShowPlease) - { - Funs.FineUIPleaseSelect(dropName); - } - } + ///// + ///// 管线下拉框 + ///// + ///// 下拉框名字 + ///// 是否显示请选择 + //public static void InitPipelineDownList(FineUIPro.DropDownList dropName,string projectid, string pipelineCode, + // string pipelineComponentCode, bool isShowPlease) + //{ + // dropName.DataValueField = "PipelineComponentId"; + // dropName.DataTextField = "PipelineComponentCode"; + // dropName.DataSource = GetAcceptedPipelineComponent(projectid, pipelineCode, pipelineComponentCode); + // dropName.DataBind(); + // if (isShowPlease) + // { + // Funs.FineUIPleaseSelect(dropName); + // } + //} public static void InitMainItemDownList(FineUIPro.DropDownList dropName, bool isShowPlease) { dropName.DataValueField = "Value"; diff --git a/SGGL/FineUIPro.Web/File/Fastreport/管道焊口检测委托单NoPic.frx b/SGGL/FineUIPro.Web/File/Fastreport/管道焊口检测委托单NoPic.frx index 59c3cb35..65753ae2 100644 --- a/SGGL/FineUIPro.Web/File/Fastreport/管道焊口检测委托单NoPic.frx +++ b/SGGL/FineUIPro.Web/File/Fastreport/管道焊口检测委托单NoPic.frx @@ -1,5 +1,5 @@  - + using System; using System.Collections; using System.Collections.Generic; @@ -89,7 +89,7 @@ namespace FastReport } - + diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj index a2b4a81c..1fdb7299 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj @@ -10443,6 +10443,7 @@ EPSummaryReport.aspx + ASPXCodeBehind EPSummaryReport.aspx diff --git a/SGGL/FineUIPro.Web/HJGL/PreDesign/PackagingManage.aspx b/SGGL/FineUIPro.Web/HJGL/PreDesign/PackagingManage.aspx index 366a9b74..1b52865d 100644 --- a/SGGL/FineUIPro.Web/HJGL/PreDesign/PackagingManage.aspx +++ b/SGGL/FineUIPro.Web/HJGL/PreDesign/PackagingManage.aspx @@ -92,7 +92,7 @@