2022-09-08 合同基本修改,焊接数据分析修改
This commit is contained in:
@@ -18,12 +18,57 @@
|
||||
SortField="UnitWorkCode" SortDirection="DESC" OnSort="Grid1_Sort"
|
||||
AllowPaging="true" IsDatabasePaging="true" PageSize="15" OnPageIndexChange="Grid1_PageIndexChange"
|
||||
EnableTextSelection="True">
|
||||
<Toolbars>
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
|
||||
<Items>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
<f:DropDownList ID="drpUnitId" runat="server" Label="单位名称"
|
||||
LabelAlign="Right" Width="240px" LabelWidth="80px" >
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpUnitWorkId" Label="单位工程" AutoPostBack="true"
|
||||
runat="server" Required="true" Width="240px" LabelWidth="80px" LabelAlign="Right">
|
||||
</f:DropDownList>
|
||||
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Left">
|
||||
<Items>
|
||||
<f:TextBox ID="txtMaterialCode" runat="server" Label="材质类别"
|
||||
EmptyText="输入查询条件" AutoPostBack="true"
|
||||
Width="240px" LabelWidth="80px" LabelAlign="Right">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtSingleName" runat="server" Label="口径"
|
||||
EmptyText="输入查询条件" AutoPostBack="true"
|
||||
Width="240px" LabelWidth="80px" LabelAlign="Right">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtThickness" runat="server" Label="壁厚"
|
||||
EmptyText="输入查询条件" AutoPostBack="true"
|
||||
Width="240px" LabelWidth="80px" LabelAlign="Right">
|
||||
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtSpecification" runat="server" Label="规格"
|
||||
EmptyText="输入查询条件" AutoPostBack="true"
|
||||
Width="240px" LabelWidth="80px" LabelAlign="Right">
|
||||
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
<f:Toolbar ID="Toolbar3" Position="Top" runat="server" ToolbarAlign="Left">
|
||||
<Items>
|
||||
<f:TextBox ID="txtWeldTypeCode" runat="server" Label="焊缝类型"
|
||||
EmptyText="输入查询条件" AutoPostBack="true"
|
||||
Width="240px" LabelWidth="80px" LabelAlign="Right">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtPersonName" runat="server" Label="焊工名称"
|
||||
EmptyText="输入查询条件" AutoPostBack="true"
|
||||
Width="240px" LabelWidth="80px" LabelAlign="Right">
|
||||
</f:TextBox>
|
||||
<f:DropDownList ID="drpJointAttribute" Label="焊口属性" AutoPostBack="true"
|
||||
runat="server" Required="true" LabelWidth="80px"
|
||||
Width="240px" LabelAlign="Right">
|
||||
</f:DropDownList>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="BtnAnalyse" Text="统计" Icon="ChartPie"
|
||||
<f:Button ID="BtnAnalyse" Text="统计" Icon="ChartPie"
|
||||
runat="server" OnClick="BtnAnalyse_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出"
|
||||
@@ -32,6 +77,7 @@
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
|
||||
<Columns>
|
||||
<f:RenderField HeaderText="单位工程" ColumnID="UnitWorkName" DataField="UnitWorkName"
|
||||
SortField="UnitWorkName" FieldType="String" HeaderTextAlign="Center" Width="100px">
|
||||
|
||||
@@ -15,13 +15,110 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
|
||||
this.drpJointAttribute.DataTextField = "Text";
|
||||
this.drpJointAttribute.DataValueField = "Value";
|
||||
this.drpJointAttribute.DataSource = BLL.DropListService.HJGL_JointAttribute();
|
||||
this.drpJointAttribute.DataBind();
|
||||
Funs.FineUIPleaseSelect(drpJointAttribute);
|
||||
|
||||
BLL.UnitWorkService.InitUnitWorkDropDownList(this.drpUnitWorkId, this.CurrUser.LoginProjectId, true);
|
||||
BLL.UnitService.InitUnitByProjectIdUnitTypeDropDownList(this.drpUnitId, this.CurrUser.LoginProjectId, BLL.Const.ProjectUnitType_2, true);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private void BindGrid()
|
||||
{
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
|
||||
listStr.Add(new SqlParameter("@projectId", this.CurrUser.LoginProjectId));
|
||||
if (this.drpUnitId.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
listStr.Add(new SqlParameter("@unitcode", this.drpUnitId.SelectedValue));
|
||||
}
|
||||
else
|
||||
{
|
||||
listStr.Add(new SqlParameter("@unitcode", null));
|
||||
}
|
||||
if (drpUnitWorkId.SelectedValue != Const._Null)
|
||||
{
|
||||
listStr.Add(new SqlParameter("@UnitWork", drpUnitWorkId.SelectedValue));
|
||||
}
|
||||
else
|
||||
{
|
||||
listStr.Add(new SqlParameter("@UnitWork", null));
|
||||
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(this.txtMaterialCode.Text))
|
||||
{
|
||||
listStr.Add(new SqlParameter("@MaterialCode", "%" + this.txtMaterialCode.Text + "%"));
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
listStr.Add(new SqlParameter("@MaterialCode", null));
|
||||
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtSingleName.Text))
|
||||
{
|
||||
listStr.Add(new SqlParameter("@SingleName ", "%" + this.txtSingleName.Text + "%"));
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
listStr.Add(new SqlParameter("@SingleName ", null));
|
||||
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtThickness.Text))
|
||||
{
|
||||
listStr.Add(new SqlParameter("@Thickness", "%" + this.txtThickness.Text + "%"));
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
listStr.Add(new SqlParameter("@Thickness", null));
|
||||
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtSpecification.Text))
|
||||
{
|
||||
listStr.Add(new SqlParameter("@Specification", "%" + this.txtSpecification.Text + "%"));
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
listStr.Add(new SqlParameter("@Specification", null));
|
||||
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtWeldTypeCode.Text))
|
||||
{
|
||||
listStr.Add(new SqlParameter("@WeldTypeCode", "%" + this.txtWeldTypeCode.Text + "%"));
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
listStr.Add(new SqlParameter("@WeldTypeCode", null));
|
||||
|
||||
}
|
||||
if (drpJointAttribute.SelectedValue != Const._Null)
|
||||
{
|
||||
listStr.Add(new SqlParameter("@JointAttribute", drpJointAttribute.SelectedValue));
|
||||
}
|
||||
else
|
||||
{
|
||||
listStr.Add(new SqlParameter("@JointAttribute", null));
|
||||
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtPersonName.Text))
|
||||
{
|
||||
listStr.Add(new SqlParameter("@PersonName", "%" + this.txtPersonName.Text + "%"));
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
listStr.Add(new SqlParameter("@PersonName", null));
|
||||
|
||||
}
|
||||
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunProc("HJGL_rpt_CheckDefects", parameter);
|
||||
|
||||
+116
-15
@@ -7,11 +7,13 @@
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
|
||||
|
||||
public partial class DefectStatistics {
|
||||
|
||||
namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
{
|
||||
|
||||
|
||||
public partial class DefectStatistics
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// </summary>
|
||||
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
@@ -56,7 +58,106 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// drpUnitId 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpUnitId;
|
||||
|
||||
/// <summary>
|
||||
/// drpUnitWorkId 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpUnitWorkId;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar2;
|
||||
|
||||
/// <summary>
|
||||
/// txtMaterialCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtMaterialCode;
|
||||
|
||||
/// <summary>
|
||||
/// txtSingleName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtSingleName;
|
||||
|
||||
/// <summary>
|
||||
/// txtThickness 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtThickness;
|
||||
|
||||
/// <summary>
|
||||
/// txtSpecification 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtSpecification;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar3 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar3;
|
||||
|
||||
/// <summary>
|
||||
/// txtWeldTypeCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtWeldTypeCode;
|
||||
|
||||
/// <summary>
|
||||
/// txtPersonName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtPersonName;
|
||||
|
||||
/// <summary>
|
||||
/// drpJointAttribute 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpJointAttribute;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
@@ -65,7 +166,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// BtnAnalyse 控件。
|
||||
/// </summary>
|
||||
@@ -74,7 +175,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button BtnAnalyse;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnOut 控件。
|
||||
/// </summary>
|
||||
@@ -83,7 +184,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnOut;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarSeparator1 控件。
|
||||
/// </summary>
|
||||
@@ -92,7 +193,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarText1 控件。
|
||||
/// </summary>
|
||||
@@ -101,7 +202,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarText ToolbarText1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ddlPageSize 控件。
|
||||
/// </summary>
|
||||
|
||||
@@ -23,22 +23,65 @@
|
||||
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
|
||||
<Items>
|
||||
<f:DropDownList ID="drpUnitId" runat="server" Label="单位名称"
|
||||
LabelAlign="Right" Width="280px" >
|
||||
LabelAlign="Right" Width="240px" LabelWidth="80px" >
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpUnitWorkId" Label="单位工程" AutoPostBack="true"
|
||||
runat="server" Required="true" Width="240px" LabelWidth="80px" LabelAlign="Right">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpDetectionType" runat="server" Label="探伤类型"
|
||||
LabelAlign="Right" Width="280px" >
|
||||
LabelAlign="Right" Width="240px" LabelWidth="80px">
|
||||
</f:DropDownList>
|
||||
<f:DatePicker runat="server" Label="日期" ID="txtStarTime" LabelAlign="Right"
|
||||
LabelWidth="100px" Width="220px">
|
||||
Width="180px" LabelWidth="80px">
|
||||
</f:DatePicker>
|
||||
<f:Label ID="Label1" runat="server" Text="至">
|
||||
</f:Label>
|
||||
<f:DatePicker runat="server" ID="txtEndTime" LabelAlign="Right" LabelWidth="80px"
|
||||
Width="110px">
|
||||
<f:DatePicker runat="server" ID="txtEndTime" LabelAlign="Right" Width="180px" LabelWidth="80px">
|
||||
</f:DatePicker>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
|
||||
|
||||
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Left">
|
||||
<Items>
|
||||
<f:TextBox ID="txtMaterialCode" runat="server" Label="材质类别"
|
||||
EmptyText="输入查询条件" AutoPostBack="true"
|
||||
Width="240px" LabelWidth="80px" LabelAlign="Right">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtSingleName" runat="server" Label="口径"
|
||||
EmptyText="输入查询条件" AutoPostBack="true"
|
||||
Width="240px" LabelWidth="80px" LabelAlign="Right">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtThickness" runat="server" Label="壁厚"
|
||||
EmptyText="输入查询条件" AutoPostBack="true"
|
||||
Width="240px" LabelWidth="80px" LabelAlign="Right">
|
||||
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtSpecification" runat="server" Label="规格"
|
||||
EmptyText="输入查询条件" AutoPostBack="true"
|
||||
Width="240px" LabelWidth="80px" LabelAlign="Right">
|
||||
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
<f:Toolbar ID="Toolbar3" Position="Top" runat="server" ToolbarAlign="Left">
|
||||
<Items>
|
||||
<f:TextBox ID="txtWeldTypeCode" runat="server" Label="焊缝类型"
|
||||
EmptyText="输入查询条件" AutoPostBack="true"
|
||||
Width="240px" LabelWidth="80px" LabelAlign="Right">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtPersonName" runat="server" Label="焊工名称"
|
||||
EmptyText="输入查询条件" AutoPostBack="true"
|
||||
Width="240px" LabelWidth="80px" LabelAlign="Right">
|
||||
</f:TextBox>
|
||||
<f:DropDownList ID="drpJointAttribute" Label="焊口属性" AutoPostBack="true"
|
||||
runat="server" Required="true" LabelWidth="80px"
|
||||
Width="240px" LabelAlign="Right">
|
||||
</f:DropDownList>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="BtnAnalyse" Text="统计" Icon="ChartPie"
|
||||
<f:Button ID="BtnAnalyse" Text="统计" Icon="ChartPie"
|
||||
runat="server" OnClick="BtnAnalyse_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出"
|
||||
@@ -46,7 +89,6 @@
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
|
||||
</Toolbars>
|
||||
<Columns>
|
||||
|
||||
|
||||
@@ -15,7 +15,13 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
|
||||
this.drpJointAttribute.DataTextField = "Text";
|
||||
this.drpJointAttribute.DataValueField = "Value";
|
||||
this.drpJointAttribute.DataSource = BLL.DropListService.HJGL_JointAttribute();
|
||||
this.drpJointAttribute.DataBind();
|
||||
Funs.FineUIPleaseSelect(drpJointAttribute);
|
||||
|
||||
BLL.UnitWorkService.InitUnitWorkDropDownList(this.drpUnitWorkId, this.CurrUser.LoginProjectId, true);
|
||||
BLL.UnitService.InitUnitByProjectIdUnitTypeDropDownList(this.drpUnitId, this.CurrUser.LoginProjectId, BLL.Const.ProjectUnitType_2, true);
|
||||
BLL.Base_DetectionTypeService.InitDetectionTypeDropDownList(drpDetectionType, true, string.Empty);
|
||||
|
||||
@@ -64,6 +70,85 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
{
|
||||
listStr.Add(new SqlParameter("@date2", null));
|
||||
}
|
||||
if (drpUnitWorkId.SelectedValue != Const._Null)
|
||||
{
|
||||
listStr.Add(new SqlParameter("@UnitWork", drpUnitWorkId.SelectedValue));
|
||||
}
|
||||
else
|
||||
{
|
||||
listStr.Add(new SqlParameter("@UnitWork", null));
|
||||
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(this.txtMaterialCode.Text))
|
||||
{
|
||||
listStr.Add(new SqlParameter("@MaterialCode", "%" + this.txtMaterialCode.Text + "%"));
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
listStr.Add(new SqlParameter("@MaterialCode", null));
|
||||
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtSingleName.Text))
|
||||
{
|
||||
listStr.Add(new SqlParameter("@SingleName ", "%" + this.txtSingleName.Text + "%"));
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
listStr.Add(new SqlParameter("@SingleName ", null));
|
||||
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtThickness.Text))
|
||||
{
|
||||
listStr.Add(new SqlParameter("@Thickness", "%" + this.txtThickness.Text + "%"));
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
listStr.Add(new SqlParameter("@Thickness", null));
|
||||
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtSpecification.Text))
|
||||
{
|
||||
listStr.Add(new SqlParameter("@Specification", "%" + this.txtSpecification.Text + "%"));
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
listStr.Add(new SqlParameter("@Specification", null));
|
||||
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtWeldTypeCode.Text))
|
||||
{
|
||||
listStr.Add(new SqlParameter("@WeldTypeCode", "%" + this.txtWeldTypeCode.Text + "%"));
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
listStr.Add(new SqlParameter("@WeldTypeCode", null));
|
||||
|
||||
}
|
||||
if (drpJointAttribute.SelectedValue != Const._Null)
|
||||
{
|
||||
listStr.Add(new SqlParameter("@JointAttribute", drpJointAttribute.SelectedValue));
|
||||
}
|
||||
else
|
||||
{
|
||||
listStr.Add(new SqlParameter("@JointAttribute", null));
|
||||
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtPersonName.Text))
|
||||
{
|
||||
listStr.Add(new SqlParameter("@PersonName", "%" + this.txtPersonName.Text + "%"));
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
listStr.Add(new SqlParameter("@PersonName", null));
|
||||
|
||||
}
|
||||
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunProc("sp_rpt_WelderFirstPassRate", parameter);
|
||||
|
||||
+112
-20
@@ -7,11 +7,13 @@
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
|
||||
|
||||
public partial class FirstPassRate {
|
||||
|
||||
namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
{
|
||||
|
||||
|
||||
public partial class FirstPassRate
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// </summary>
|
||||
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// drpUnitId 控件。
|
||||
/// </summary>
|
||||
@@ -65,7 +67,16 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpUnitId;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// drpUnitWorkId 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpUnitWorkId;
|
||||
|
||||
/// <summary>
|
||||
/// drpDetectionType 控件。
|
||||
/// </summary>
|
||||
@@ -74,7 +85,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpDetectionType;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtStarTime 控件。
|
||||
/// </summary>
|
||||
@@ -83,7 +94,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtStarTime;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Label1 控件。
|
||||
/// </summary>
|
||||
@@ -92,7 +103,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Label Label1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtEndTime 控件。
|
||||
/// </summary>
|
||||
@@ -101,7 +112,88 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtEndTime;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar2;
|
||||
|
||||
/// <summary>
|
||||
/// txtMaterialCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtMaterialCode;
|
||||
|
||||
/// <summary>
|
||||
/// txtSingleName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtSingleName;
|
||||
|
||||
/// <summary>
|
||||
/// txtThickness 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtThickness;
|
||||
|
||||
/// <summary>
|
||||
/// txtSpecification 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtSpecification;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar3 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar3;
|
||||
|
||||
/// <summary>
|
||||
/// txtWeldTypeCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtWeldTypeCode;
|
||||
|
||||
/// <summary>
|
||||
/// txtPersonName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtPersonName;
|
||||
|
||||
/// <summary>
|
||||
/// drpJointAttribute 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpJointAttribute;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
@@ -110,7 +202,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// BtnAnalyse 控件。
|
||||
/// </summary>
|
||||
@@ -119,7 +211,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button BtnAnalyse;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnOut 控件。
|
||||
/// </summary>
|
||||
@@ -128,7 +220,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnOut;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarSeparator1 控件。
|
||||
/// </summary>
|
||||
@@ -137,7 +229,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarText1 控件。
|
||||
/// </summary>
|
||||
@@ -146,7 +238,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarText ToolbarText1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ddlPageSize 控件。
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user