This commit is contained in:
高飞 2025-11-11 15:03:20 +08:00
parent ce3d48dab6
commit 1906687242
3 changed files with 10 additions and 1 deletions

View File

@ -892,6 +892,13 @@ namespace FineUIPro.Web.HJGL.DataIn
newJointInfo.JOT_JointNo = newJointInfo.JOT_JointNo + "G"; 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)); newJointInfo.JOT_ID = SQLHelper.GetNewID(typeof(Model.HJGL_PW_JointInfo));
BLL.HJGL_PW_JointInfoService.AddJointInfo(newJointInfo); BLL.HJGL_PW_JointInfoService.AddJointInfo(newJointInfo);
// 更新排序字段 // 更新排序字段

View File

@ -1021,11 +1021,13 @@
{ {
this.drpNDTR_ID.SelectedValue = "e2612188-fc99-492a-937c-74c7a0151656"; //黄金口检测比例100% this.drpNDTR_ID.SelectedValue = "e2612188-fc99-492a-937c-74c7a0151656"; //黄金口检测比例100%
this.drpNDTR_ID.Enabled = false; this.drpNDTR_ID.Enabled = false;
this.txtJointNo.Text = this.txtJointNo.Text.Trim() + "H";
} }
else else
{ {
this.drpNDTR_ID.SelectedValue = BLL.Const._Null; this.drpNDTR_ID.SelectedValue = BLL.Const._Null;
this.drpNDTR_ID.Enabled = true; this.drpNDTR_ID.Enabled = true;
this.txtJointNo.Text = this.txtJointNo.Text.Trim().Substring(0, this.txtJointNo.Text.Trim().Length - 1);
} }
} }
#endregion #endregion

View File

@ -11,7 +11,7 @@
<FineUIPro DebugMode="false" Theme="Cupertino"/> <FineUIPro DebugMode="false" Theme="Cupertino"/>
<appSettings> <appSettings>
<!--连接字符串--> <!--连接字符串-->
<add key="ConnectionString" value="Server=.\sql2022;Database=HJGLDB_DS;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Max Pool Size = 1000;Connect Timeout=1200"/> <add key="ConnectionString" value="Server=.\MSSQLSERVER01;Database=HJGLDB_DS;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Max Pool Size = 1000;Connect Timeout=1200"/>
<!--系统名称--> <!--系统名称-->
<add key="SystemName" value="诺必达焊接管理系统"/> <add key="SystemName" value="诺必达焊接管理系统"/>
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/> <add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/>