This commit is contained in:
2025-02-14 16:48:50 +08:00
parent 86b1e8b3da
commit 6d4a7e82a7
51 changed files with 1888 additions and 339 deletions
@@ -316,14 +316,15 @@ namespace FineUIPro.Web.HJGL.CheckManage
if (utReport != null)
{
this.TestingReportPrintId = utReport.TestingReportPrintId;
if (!string.IsNullOrEmpty(utReport.ReportCode) && utReport.ReportCode.Length > 3)
{
this.txtUTReportCode.Text = utReport.ReportCode.Substring(3);//报表编号
}
else
{
this.txtUTReportCode.Text = utReport.ReportCode;
}
//if (!string.IsNullOrEmpty(utReport.ReportCode) && utReport.ReportCode.Length > 3)
//{
// this.txtUTReportCode.Text = utReport.ReportCode.Substring(3);//报表编号
//}
//else
//{
// this.txtUTReportCode.Text = utReport.ReportCode;
//}
this.txtUTReportCode.Text = utReport.ReportCode;
this.hdReportCode.Text = utReport.ReportCode;
//this.txtContractUnit.Text = utReport.ContractUnitId;//承包单位
@@ -349,8 +350,8 @@ namespace FineUIPro.Web.HJGL.CheckManage
}
else
{
this.hdReportCode.Text = BLL.SQLHelper.RunProcNewIdByProjectId("SpGetNewCodeByProjectId3", "HJGL_CH_TestingReportPrint", "ReportCode", iso.ProjectId, "UT-" + pro.TestEngineeringCode + "-");
this.txtUTReportCode.Text = this.hdReportCode.Text.Substring(3);
this.hdReportCode.Text = BLL.SQLHelper.RunProcNewIdByProjectId("SpGetNewCodeByProjectId3", "HJGL_CH_TestingReportPrint", "ReportCode", iso.ProjectId, pro.TestEngineeringCode + "-UT-");
this.txtUTReportCode.Text = this.hdReportCode.Text;
this.txtContractUnit.Text = "镇海石化建安工程有限公司";
this.txtSurfaceState.Text = "机械打磨";
this.txtProbeType.Text = "2.5MHZ10×10K2";