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