20240331 质量月报

This commit is contained in:
2024-03-31 01:12:53 +08:00
parent 1791d28bde
commit 4aa229ef1f
54 changed files with 6959 additions and 1709 deletions
@@ -32,6 +32,27 @@
<f:TextArea ID="txtContents" runat="server" Label="主要内容" MaxLength="500" LabelAlign="Right" LabelWidth="130px"></f:TextArea>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="ddlProblem" runat="server" Label="问题类别" Required="true" LabelAlign="Right" LabelWidth="130px">
<f:ListItem Value="" Text="-请选择-" Selected="true" />
<f:ListItem Value="过程监督不到位" Text="过程监督不到位" />
<f:ListItem Value="质量缺陷" Text="质量缺陷" />
<f:ListItem Value="质量管理问题" Text="质量管理问题" />
<f:ListItem Value="不按设计要求施工" Text="不按设计要求施工" />
<f:ListItem Value="不按程序施工" Text="不按程序施工" />
<f:ListItem Value="成品保护不到位" Text="成品保护不到位" />
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtMeasure" runat="server" Label="改进措施" MaxLength="500" LabelAlign="Right" LabelWidth="130px"></f:TextArea>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpUnitWorkIds" runat="server" Label="单位工程名称" EnableCheckBoxSelect="true" EnableMultiSelect="true" LabelWidth="130px" AutoSelectFirstItem="false" LabelAlign="Right"></f:DropDownList>
@@ -79,6 +79,13 @@ namespace FineUIPro.Web.CQMS.Comprehensive
{
this.txtCompleteDate.Text = string.Format("{0:yyyy-MM-dd}", nCRManagement.CompleteDate);
}
if (nCRManagement.Problem!=null)
{
this.ddlProblem.SelectedValue = nCRManagement.Problem;
}
this.txtMeasure.Text = nCRManagement.Measure;
this.txtResponsibleMan.Text = nCRManagement.ResponsibleMan;
this.txtImplementationFrontState.Text = nCRManagement.ImplementationFrontState;
@@ -143,7 +150,8 @@ namespace FineUIPro.Web.CQMS.Comprehensive
this.drpSendUnit.Readonly = true;
this.drpUnitIds.Readonly = true;
this.drpUnitWorkIds.Readonly = true;
this.drpAudit.Readonly = true;
this.drpAudit.Readonly = true;
this.ddlProblem.Readonly = true;
//this.btnAttach.Enabled = false;
@@ -207,6 +215,15 @@ namespace FineUIPro.Web.CQMS.Comprehensive
}
nCRManagement.NCRCode = this.txtNCRCode.Text.Trim();
nCRManagement.Contents = this.txtContents.Text.Trim();
#region 2024-03-29
if (this.ddlProblem.SelectedValue != BLL.Const._Null)
{
nCRManagement.Problem = this.ddlProblem.SelectedValue;
}
nCRManagement.Measure = this.txtMeasure.Text.Trim();
#endregion
if (!string.IsNullOrEmpty(this.txtIssuedDate.Text))
{
nCRManagement.IssuedDate = Convert.ToDateTime(this.txtIssuedDate.Text);
@@ -318,6 +335,14 @@ namespace FineUIPro.Web.CQMS.Comprehensive
}
nCRManagement.NCRCode = this.txtNCRCode.Text.Trim();
nCRManagement.Contents = this.txtContents.Text.Trim();
#region 2024-03-29
if (!string.IsNullOrEmpty(this.ddlProblem.SelectedValue))
{
nCRManagement.Problem = this.ddlProblem.SelectedValue;
}
nCRManagement.Measure = this.txtMeasure.Text.Trim();
#endregion
if (!string.IsNullOrEmpty(this.txtIssuedDate.Text))
{
nCRManagement.IssuedDate = Convert.ToDateTime(this.txtIssuedDate.Text);
@@ -7,13 +7,11 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.CQMS.Comprehensive
{
public partial class NCRManagementEdit
{
namespace FineUIPro.Web.CQMS.Comprehensive {
public partial class NCRManagementEdit {
/// <summary>
/// form1 控件。
/// </summary>
@@ -22,7 +20,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
@@ -31,7 +29,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// SimpleForm1 控件。
/// </summary>
@@ -40,7 +38,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form SimpleForm1;
/// <summary>
/// drpSendUnit 控件。
/// </summary>
@@ -49,7 +47,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpSendUnit;
/// <summary>
/// drpCNProfessionalId 控件。
/// </summary>
@@ -58,7 +56,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpCNProfessionalId;
/// <summary>
/// txtNCRCode 控件。
/// </summary>
@@ -67,7 +65,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtNCRCode;
/// <summary>
/// txtIssuedDate 控件。
/// </summary>
@@ -76,7 +74,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtIssuedDate;
/// <summary>
/// txtContents 控件。
/// </summary>
@@ -85,7 +83,25 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtContents;
/// <summary>
/// ddlProblem 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList ddlProblem;
/// <summary>
/// txtMeasure 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtMeasure;
/// <summary>
/// drpUnitWorkIds 控件。
/// </summary>
@@ -94,7 +110,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpUnitWorkIds;
/// <summary>
/// drpUnitIds 控件。
/// </summary>
@@ -103,7 +119,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpUnitIds;
/// <summary>
/// txtImplementationFrontState 控件。
/// </summary>
@@ -112,7 +128,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtImplementationFrontState;
/// <summary>
/// txtResponsibleMan 控件。
/// </summary>
@@ -121,7 +137,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtResponsibleMan;
/// <summary>
/// txtClosedDate 控件。
/// </summary>
@@ -130,7 +146,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtClosedDate;
/// <summary>
/// txtCompleteDate 控件。
/// </summary>
@@ -139,7 +155,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtCompleteDate;
/// <summary>
/// Panel2 控件。
/// </summary>
@@ -148,7 +164,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel2;
/// <summary>
/// Label1 控件。
/// </summary>
@@ -157,7 +173,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label1;
/// <summary>
/// btnAttach 控件。
/// </summary>
@@ -166,7 +182,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttach;
/// <summary>
/// drpAudit 控件。
/// </summary>
@@ -175,7 +191,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpAudit;
/// <summary>
/// agree 控件。
/// </summary>
@@ -184,7 +200,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.FormRow agree;
/// <summary>
/// rblIsAgree 控件。
/// </summary>
@@ -193,7 +209,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.RadioButtonList rblIsAgree;
/// <summary>
/// options 控件。
/// </summary>
@@ -202,7 +218,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.FormRow options;
/// <summary>
/// txtidea 控件。
/// </summary>
@@ -211,7 +227,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtidea;
/// <summary>
/// Toolbar1 控件。
/// </summary>
@@ -220,7 +236,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// hdAttachUrl 控件。
/// </summary>
@@ -229,7 +245,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HiddenField hdAttachUrl;
/// <summary>
/// btnSave 控件。
/// </summary>
@@ -238,7 +254,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSave;
/// <summary>
/// btnSubmit 控件。
/// </summary>
@@ -247,7 +263,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSubmit;
/// <summary>
/// WindowAtt 控件。
/// </summary>
@@ -9,7 +9,7 @@
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="SimpleForm1"/>
<f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="SimpleForm1" />
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true" BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
@@ -20,7 +20,7 @@
</f:NumberBox>
</Items>
</f:FormRow>
<f:FormRow >
<f:FormRow>
<Items>
<f:NumberBox ID="txtActualNumber" Label="实际压力管道条数" runat="server" NoDecimal="true" LabelWidth="150px" NoNegative="true">
</f:NumberBox>
@@ -38,7 +38,7 @@
</f:FormRow>
<f:FormRow>
<Items>
<f:NumberBox ID="txtIssuedReportNumber" Label="已初具监检报告条数" runat="server" NoDecimal="true" LabelWidth="150px" NoNegative="true">
<f:NumberBox ID="txtIssuedReportNumber" Label="已完成监检报告条数" runat="server" NoDecimal="true" LabelWidth="150px" NoNegative="true">
</f:NumberBox>
<f:Panel ID="Panel2" ShowHeader="false" ShowBorder="false" Layout="Column" CssClass="" runat="server">
<Items>
@@ -52,11 +52,14 @@
</Items>
</f:FormRow>
<f:FormRow MarginTop="10px">
<Items>
<f:DropDownList runat="server" Width="300px" Label="专业工程师确认" LabelWidth="130px" ID="drpAudit" ShowRedStar="true" Required="true" EmptyText="--请选择--">
</f:DropDownList>
<f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" Label="填报日期" ID="txtReportTime"
LabelAlign="Right" LabelWidth="130px">
</f:DatePicker>
</Items>
</f:FormRow>
@@ -69,7 +72,7 @@
</f:RadioButtonList>
</Items>
</f:FormRow>
<f:FormRow ID="options">
<Items>
@@ -85,10 +88,10 @@
<Items>
<f:HiddenField ID="hdAttachUrl" runat="server">
</f:HiddenField>
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" ToolTip="保存" ValidateForms="SimpleForm1" OnClick="btnSave_Click" Hidden="true">
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" ToolTip="保存" ValidateForms="SimpleForm1" OnClick="btnSave_Click" Hidden="true">
</f:Button>
<f:Button ID="btnSubmit" Icon="SystemSaveNew" runat="server" Text="提交" ToolTip="提交" OnClick="btnSubmit_Click" ValidateForms="SimpleForm1">
<f:Button ID="btnSubmit" Icon="SystemSaveNew" runat="server" Text="提交" ToolTip="提交" OnClick="btnSubmit_Click" ValidateForms="SimpleForm1">
</f:Button>
</Items>
</f:Toolbar>
@@ -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))
@@ -140,6 +140,15 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// </remarks>
protected global::FineUIPro.DropDownList drpAudit;
/// <summary>
/// txtReportTime 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtReportTime;
/// <summary>
/// agree 控件。
/// </summary>
@@ -51,6 +51,9 @@
<Items>
<f:DropDownList runat="server" Width="300px" Label="专业工程师确认" LabelWidth="130px" ID="drpAudit" ShowRedStar="true" Required="true" EmptyText="--请选择--">
</f:DropDownList>
<f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" Label="填报日期" ID="txtReportTime"
LabelAlign="Right" LabelWidth="130px">
</f:DatePicker>
</Items>
</f:FormRow>
@@ -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))
@@ -131,6 +131,15 @@ namespace FineUIPro.Web.CQMS.Comprehensive
/// </remarks>
protected global::FineUIPro.DropDownList drpAudit;
/// <summary>
/// txtReportTime 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtReportTime;
/// <summary>
/// agree 控件。
/// </summary>