20240331 质量月报
This commit is contained in:
@@ -61,8 +61,10 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
this.txtMonitoringReportNumber.Text = specialEquipment.MonitoringReportNumber.HasValue ? specialEquipment.MonitoringReportNumber.ToString() : "";
|
||||
this.txtSubmitDataNumber.Text = specialEquipment.SubmitDataNumber.HasValue ? specialEquipment.SubmitDataNumber.ToString() : "";
|
||||
this.txtSunNumber.Text = specialEquipment.SunNumber.HasValue ? specialEquipment.SunNumber.ToString() : "";
|
||||
|
||||
|
||||
if (specialEquipment.ReportTime != null)
|
||||
{
|
||||
this.txtReportTime.Text = string.Format("{0:yyyy-MM-dd}", specialEquipment.ReportTime);
|
||||
}
|
||||
|
||||
var currApprove = SpecialEquipmentApproveService.GetCurrentApprove(specialEquipment.SpecialEquipmentId);
|
||||
if (currApprove != null)
|
||||
@@ -98,6 +100,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;
|
||||
|
||||
@@ -192,6 +195,11 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
{
|
||||
specialEquipment.InformNumber = Convert.ToInt32(this.txtInformNumber.Text);
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtReportTime.Text))
|
||||
{
|
||||
specialEquipment.ReportTime = Convert.ToDateTime(this.txtReportTime.Text);
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(this.SpecialEquipmentId))
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.hdAttachUrl.Text))
|
||||
@@ -273,6 +281,10 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
{
|
||||
specialEquipment.InformNumber = Convert.ToInt32(this.txtInformNumber.Text);
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtReportTime.Text))
|
||||
{
|
||||
specialEquipment.ReportTime = Convert.ToDateTime(this.txtReportTime.Text);
|
||||
}
|
||||
if (string.IsNullOrEmpty(this.SpecialEquipmentId))
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.hdAttachUrl.Text))
|
||||
|
||||
Reference in New Issue
Block a user