From 190668724243301d720b239464df7aa6accbff94 Mon Sep 17 00:00:00 2001
From: gaofei1985 <181547018@qq.com>
Date: Tue, 11 Nov 2025 15:03:20 +0800
Subject: [PATCH] 1
---
HJGL_DS/FineUIPro.Web/HJGL/DataIn/JointIn.aspx.cs | 7 +++++++
.../FineUIPro.Web/HJGL/WeldingManage/JointInfoEdit.aspx.cs | 2 ++
HJGL_DS/FineUIPro.Web/Web.config | 2 +-
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/HJGL_DS/FineUIPro.Web/HJGL/DataIn/JointIn.aspx.cs b/HJGL_DS/FineUIPro.Web/HJGL/DataIn/JointIn.aspx.cs
index 5ae0a42..c317578 100644
--- a/HJGL_DS/FineUIPro.Web/HJGL/DataIn/JointIn.aspx.cs
+++ b/HJGL_DS/FineUIPro.Web/HJGL/DataIn/JointIn.aspx.cs
@@ -892,6 +892,13 @@ namespace FineUIPro.Web.HJGL.DataIn
newJointInfo.JOT_JointNo = newJointInfo.JOT_JointNo + "G";
}
}
+ if (newJointInfo.IsGold == true)
+ {
+ if (newJointInfo.JOT_JointNo.Last() != 'H')
+ {
+ newJointInfo.JOT_JointNo = newJointInfo.JOT_JointNo + "H";
+ }
+ }
newJointInfo.JOT_ID = SQLHelper.GetNewID(typeof(Model.HJGL_PW_JointInfo));
BLL.HJGL_PW_JointInfoService.AddJointInfo(newJointInfo);
// 更新排序字段
diff --git a/HJGL_DS/FineUIPro.Web/HJGL/WeldingManage/JointInfoEdit.aspx.cs b/HJGL_DS/FineUIPro.Web/HJGL/WeldingManage/JointInfoEdit.aspx.cs
index c8e4f6e..b2773cb 100644
--- a/HJGL_DS/FineUIPro.Web/HJGL/WeldingManage/JointInfoEdit.aspx.cs
+++ b/HJGL_DS/FineUIPro.Web/HJGL/WeldingManage/JointInfoEdit.aspx.cs
@@ -1021,11 +1021,13 @@
{
this.drpNDTR_ID.SelectedValue = "e2612188-fc99-492a-937c-74c7a0151656"; //黄金口检测比例100%
this.drpNDTR_ID.Enabled = false;
+ this.txtJointNo.Text = this.txtJointNo.Text.Trim() + "H";
}
else
{
this.drpNDTR_ID.SelectedValue = BLL.Const._Null;
this.drpNDTR_ID.Enabled = true;
+ this.txtJointNo.Text = this.txtJointNo.Text.Trim().Substring(0, this.txtJointNo.Text.Trim().Length - 1);
}
}
#endregion
diff --git a/HJGL_DS/FineUIPro.Web/Web.config b/HJGL_DS/FineUIPro.Web/Web.config
index 2e0522a..e233efb 100644
--- a/HJGL_DS/FineUIPro.Web/Web.config
+++ b/HJGL_DS/FineUIPro.Web/Web.config
@@ -11,7 +11,7 @@
-
+