111
This commit is contained in:
@@ -267,14 +267,15 @@ namespace FineUIPro.Web.HJGL.CheckManage
|
||||
if (ptReport != null)
|
||||
{
|
||||
this.TestingReportPrintId = ptReport.TestingReportPrintId;
|
||||
if (!string.IsNullOrEmpty(ptReport.ReportCode) && ptReport.ReportCode.Length > 3)
|
||||
{
|
||||
this.txtPTReportCode.Text = ptReport.ReportCode.Substring(3);//报告编号
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtPTReportCode.Text = ptReport.ReportCode;
|
||||
}
|
||||
//if (!string.IsNullOrEmpty(ptReport.ReportCode) && ptReport.ReportCode.Length > 3)
|
||||
//{
|
||||
// this.txtPTReportCode.Text = ptReport.ReportCode.Substring(3);//报告编号
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// this.txtPTReportCode.Text = ptReport.ReportCode;
|
||||
//}
|
||||
this.txtPTReportCode.Text = ptReport.ReportCode;
|
||||
this.hdReportCode.Text = ptReport.ReportCode;
|
||||
|
||||
//this.txtContractUnit.Text = ptReport.ContractUnitId;//承包单位
|
||||
@@ -299,8 +300,8 @@ namespace FineUIPro.Web.HJGL.CheckManage
|
||||
}
|
||||
else
|
||||
{
|
||||
this.hdReportCode.Text = BLL.SQLHelper.RunProcNewIdByProjectId("SpGetNewCodeByProjectId3", "HJGL_CH_TestingReportPrint", "ReportCode", iso.ProjectId, "PT-" + pro.TestEngineeringCode + "-");
|
||||
this.txtPTReportCode.Text = this.hdReportCode.Text.Substring(3);
|
||||
this.hdReportCode.Text = BLL.SQLHelper.RunProcNewIdByProjectId("SpGetNewCodeByProjectId3", "HJGL_CH_TestingReportPrint", "ReportCode", iso.ProjectId, pro.TestEngineeringCode + "-PT-");
|
||||
this.txtPTReportCode.Text = this.hdReportCode.Text;
|
||||
this.txtContractUnit.Text = "镇海石化建安工程有限公司";
|
||||
}
|
||||
BindGrid();
|
||||
|
||||
Reference in New Issue
Block a user