20240331 质量月报
This commit is contained in:
@@ -59,6 +59,10 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
this.txtPressurePipeNumber.Text = pressurePipe.PressurePipeNumber.HasValue ? pressurePipe.PressurePipeNumber.ToString() : "";
|
||||
this.txtIssuedReportNumber.Text = pressurePipe.IssuedReportNumber.HasValue ? pressurePipe.IssuedReportNumber.ToString() : "";
|
||||
|
||||
if (pressurePipe.ReportTime != null)
|
||||
{
|
||||
this.txtReportTime.Text = string.Format("{0:yyyy-MM-dd}", pressurePipe.ReportTime);
|
||||
}
|
||||
|
||||
var currApprove = PressurePipeApproveService.GetCurrentApprove(pressurePipe.PressurePipeId);
|
||||
if (currApprove != null)
|
||||
@@ -94,6 +98,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtReportTime.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now);
|
||||
this.btnSave.Hidden = false;
|
||||
this.btnSubmit.Hidden = false;
|
||||
}
|
||||
@@ -113,6 +118,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
this.txtPackageNumber.Readonly = true;
|
||||
this.txtPressurePipeNumber.Readonly = true;
|
||||
this.drpUnit.Readonly = true;
|
||||
this.txtReportTime.Readonly = true;
|
||||
|
||||
this.drpAudit.Readonly = true;
|
||||
|
||||
@@ -191,6 +197,11 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
{
|
||||
pressurePipe.IssuedReportNumber = Convert.ToInt32(this.txtIssuedReportNumber.Text);
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtReportTime.Text))
|
||||
{
|
||||
pressurePipe.ReportTime = Convert.ToDateTime(this.txtReportTime.Text);
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(this.PressurePipeId))
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.hdAttachUrl.Text))
|
||||
@@ -277,6 +288,10 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
{
|
||||
pressurePipe.IssuedReportNumber = Convert.ToInt32(this.txtIssuedReportNumber.Text);
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtReportTime.Text))
|
||||
{
|
||||
pressurePipe.ReportTime = Convert.ToDateTime(this.txtReportTime.Text);
|
||||
}
|
||||
if (string.IsNullOrEmpty(this.PressurePipeId))
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.hdAttachUrl.Text))
|
||||
|
||||
Reference in New Issue
Block a user