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
@@ -310,14 +310,15 @@ namespace FineUIPro.Web.HJGL.CheckManage
if (mtReport != null)
{
this.TestingReportPrintId = mtReport.TestingReportPrintId;
if (!string.IsNullOrEmpty(mtReport.ReportCode) && mtReport.ReportCode.Length > 3)
{
this.txtMTReportCode.Text = mtReport.ReportCode.Substring(3);//报告编号
}
else
{
this.txtMTReportCode.Text = mtReport.ReportCode;
}
//if (!string.IsNullOrEmpty(mtReport.ReportCode) && mtReport.ReportCode.Length > 3)
//{
// this.txtMTReportCode.Text = mtReport.ReportCode.Substring(3);//报告编号
//}
//else
//{
// this.txtMTReportCode.Text = mtReport.ReportCode;
//}
this.txtMTReportCode.Text = mtReport.ReportCode;
this.hdReportCode.Text = mtReport.ReportCode;
this.txtSurfaceState.Text = mtReport.MT_SurfaceState;//表面状态
@@ -342,8 +343,8 @@ namespace FineUIPro.Web.HJGL.CheckManage
}
else
{
this.hdReportCode.Text = BLL.SQLHelper.RunProcNewIdByProjectId("SpGetNewCodeByProjectId3", "HJGL_CH_TestingReportPrint", "ReportCode", iso.ProjectId, "MT-" + pro.TestEngineeringCode + "-");
this.txtMTReportCode.Text = this.hdReportCode.Text.Substring(3);
this.hdReportCode.Text = BLL.SQLHelper.RunProcNewIdByProjectId("SpGetNewCodeByProjectId3", "HJGL_CH_TestingReportPrint", "ReportCode", iso.ProjectId, pro.TestEngineeringCode + "-MT-");
this.txtMTReportCode.Text = this.hdReportCode.Text;
}
BindGrid();
}