From 4cd7676169609b5a2faaf713b4e21cba31621178 Mon Sep 17 00:00:00 2001 From: wendy <408182087@qq.com> Date: Thu, 12 Feb 2026 15:17:33 +0800 Subject: [PATCH] =?UTF-8?q?20260212=20=E7=AE=A1=E9=81=93=E7=84=8A=E6=8E=A5?= =?UTF-8?q?=E6=8E=A5=E5=A4=B4=E6=8A=A5=E9=AA=8C=E6=A3=80=E6=9F=A5=E8=AE=B0?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../JGZL/管道焊接接头报检检查记录.frx | 4 +- .../JGZL/WeldInspectionCheckRecord.aspx | 50 +------------------ .../JGZL/WeldInspectionCheckRecord.aspx.cs | 34 +++++++++++-- ...WeldInspectionCheckRecord.aspx.designer.cs | 4 +- 4 files changed, 36 insertions(+), 56 deletions(-) diff --git a/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道焊接接头报检检查记录.frx b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道焊接接头报检检查记录.frx index a1f826d..3035ca6 100644 --- a/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道焊接接头报检检查记录.frx +++ b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道焊接接头报检检查记录.frx @@ -1,5 +1,5 @@  - + using System; using System.Collections; using System.Collections.Generic; @@ -42,7 +42,7 @@ namespace FastReport } - + diff --git a/HJGL_DS/FineUIPro.Web/JGZL/WeldInspectionCheckRecord.aspx b/HJGL_DS/FineUIPro.Web/JGZL/WeldInspectionCheckRecord.aspx index d76101e..e8c9abe 100644 --- a/HJGL_DS/FineUIPro.Web/JGZL/WeldInspectionCheckRecord.aspx +++ b/HJGL_DS/FineUIPro.Web/JGZL/WeldInspectionCheckRecord.aspx @@ -44,7 +44,8 @@ - + + <%----%> @@ -53,53 +54,6 @@ - <%-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --%> - lists = new List(); + for (int i = 0; i < this.Grid1.Rows.Count; i++) + { + lists.Add(string.Format("{0:yyyy-MM-dd}", this.Grid1.Rows[i].Values[4])); + } + lists = lists.Distinct().ToList(); + + this.drpWeldingDate.DataTextField = "Text"; + this.drpWeldingDate.DataValueField = "Value"; + this.drpWeldingDate.DataSource = lists; + this.drpWeldingDate.DataBind(); + Funs.FineUIPleaseSelect(this.drpWeldingDate); + this.drpWeldingDate.SelectedIndex = 0; + } + } + + protected void drpWeldingDate_SelectedIndexChanged(object sender, EventArgs e) { BindGrid(); } diff --git a/HJGL_DS/FineUIPro.Web/JGZL/WeldInspectionCheckRecord.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/JGZL/WeldInspectionCheckRecord.aspx.designer.cs index 58320be..27b47d3 100644 --- a/HJGL_DS/FineUIPro.Web/JGZL/WeldInspectionCheckRecord.aspx.designer.cs +++ b/HJGL_DS/FineUIPro.Web/JGZL/WeldInspectionCheckRecord.aspx.designer.cs @@ -114,13 +114,13 @@ namespace FineUIPro.Web.JGZL protected global::FineUIPro.DropDownList drpJointType; /// - /// txtWeldingDate 控件。 + /// drpWeldingDate 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.DatePicker txtWeldingDate; + protected global::FineUIPro.DropDownList drpWeldingDate; /// /// ToolbarFill1 控件。