From 53ed64806622aeefcae17f0365be7638c1f00c4c Mon Sep 17 00:00:00 2001
From: gaofei1985 <181547018@qq.com>
Date: Tue, 3 Feb 2026 17:10:52 +0800
Subject: [PATCH] 1
---
.../QualityCertificateEdit.aspx | 22 ++++++------
.../QualityCertificateEdit.aspx.cs | 22 ++++++++++++
.../QualityCertificateEdit.aspx.designer.cs | 36 +++++++++----------
3 files changed, 51 insertions(+), 29 deletions(-)
diff --git a/HJGL_DS/FineUIPro.Web/HJGL/MaterialManage/QualityCertificateEdit.aspx b/HJGL_DS/FineUIPro.Web/HJGL/MaterialManage/QualityCertificateEdit.aspx
index bb4eb25..915df67 100644
--- a/HJGL_DS/FineUIPro.Web/HJGL/MaterialManage/QualityCertificateEdit.aspx
+++ b/HJGL_DS/FineUIPro.Web/HJGL/MaterialManage/QualityCertificateEdit.aspx
@@ -25,17 +25,6 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/HJGL/MaterialManage/QualityCertificateEdit.aspx.cs b/HJGL_DS/FineUIPro.Web/HJGL/MaterialManage/QualityCertificateEdit.aspx.cs
index 1fe893c..564b3aa 100644
--- a/HJGL_DS/FineUIPro.Web/HJGL/MaterialManage/QualityCertificateEdit.aspx.cs
+++ b/HJGL_DS/FineUIPro.Web/HJGL/MaterialManage/QualityCertificateEdit.aspx.cs
@@ -206,9 +206,31 @@ namespace FineUIPro.Web.HJGL.MaterialManage
protected void drpWarrantybook_SelectedIndexChanged(object sender, EventArgs e)
{
this.txtHeartNo.Text = string.Empty;
+ this.txtWeldName.Text = string.Empty;
+ this.txtWeldSpec.Text = string.Empty;
+ this.txtWeldType.Text = string.Empty;
if (this.drpWarrantybook.SelectedValue != BLL.Const._Null)
{
this.txtHeartNo.Text = this.drpWarrantybook.SelectedValue;
+ Model.Weld_StockIn s = (from x in Funs.DB.Weld_StockIn where x.Warrantybook == this.drpWarrantybook.SelectedItem.Text.Trim() select x).FirstOrDefault();
+ if (s != null)
+ {
+ var weld = BLL.WeldInfoService.GetWeldInfoById(s.WeldId);
+ if (weld != null)
+ {
+ //this.txtWeldCode.Text = weld.WeldCode;
+ this.txtWeldName.Text = weld.WeldName;
+ this.txtWeldSpec.Text = weld.WeldSpec;
+ if (!string.IsNullOrEmpty(weld.WeldTypeId))
+ {
+ var weldType = BLL.WeldTypeService.GetWeldTypeById(weld.WeldTypeId);
+ if (weldType != null)
+ {
+ this.txtWeldType.Text = weldType.WeldTypeName;
+ }
+ }
+ }
+ }
}
}
}
diff --git a/HJGL_DS/FineUIPro.Web/HJGL/MaterialManage/QualityCertificateEdit.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/HJGL/MaterialManage/QualityCertificateEdit.aspx.designer.cs
index 2f9760f..8592add 100644
--- a/HJGL_DS/FineUIPro.Web/HJGL/MaterialManage/QualityCertificateEdit.aspx.designer.cs
+++ b/HJGL_DS/FineUIPro.Web/HJGL/MaterialManage/QualityCertificateEdit.aspx.designer.cs
@@ -57,6 +57,24 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
///
protected global::FineUIPro.HiddenField hdQualityCertificateId;
+ ///
+ /// drpWarrantybook 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpWarrantybook;
+
+ ///
+ /// txtWeldType 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtWeldType;
+
///
/// txtWeldName 控件。
///
@@ -84,24 +102,6 @@ namespace FineUIPro.Web.HJGL.MaterialManage {
///
protected global::FineUIPro.TextBox txtWeldSpec;
- ///
- /// drpWarrantybook 控件。
- ///
- ///
- /// 自动生成的字段。
- /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
- ///
- protected global::FineUIPro.DropDownList drpWarrantybook;
-
- ///
- /// txtWeldType 控件。
- ///
- ///
- /// 自动生成的字段。
- /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
- ///
- protected global::FineUIPro.TextBox txtWeldType;
-
///
/// txtHeartNo 控件。
///