111
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user