11
This commit is contained in:
@@ -41,6 +41,9 @@
|
||||
<f:DropDownList ID="drpState" runat="server" Label="检测状态" EmptyText="选择查询条件"
|
||||
Width="180px" LabelWidth="80px" LabelAlign="Right">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpUnit" runat="server" Label="委托单位" EmptyText="选择查询条件" EnableEdit="true"
|
||||
Width="280px" LabelWidth="80px" LabelAlign="Right">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
@@ -234,6 +237,14 @@
|
||||
SortField="CheckAddress" FieldType="String" HeaderTextAlign="Center" TextAlign="Left"
|
||||
Width="120px">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="委托单位" ColumnID="UnitName" DataField="UnitName"
|
||||
SortField="UnitName" FieldType="String" HeaderTextAlign="Center" TextAlign="Left"
|
||||
Width="120px">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="反馈人" ColumnID="FeedbackMan" DataField="FeedbackMan"
|
||||
SortField="FeedbackMan" FieldType="String" HeaderTextAlign="Center" TextAlign="Left"
|
||||
Width="120px">
|
||||
</f:RenderField>
|
||||
</Columns>
|
||||
<PageItems>
|
||||
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
|
||||
|
||||
@@ -42,6 +42,12 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
this.drpNdtType.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.drpNdtType);
|
||||
|
||||
this.drpUnit.DataTextField = "UnitName";
|
||||
this.drpUnit.DataValueField = "UnitId";
|
||||
this.drpUnit.DataSource = BLL.Base_UnitService.GetAllUnitList();
|
||||
this.drpUnit.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.drpUnit);
|
||||
|
||||
this.txtEndDate.Text = DateTime.Now.ToShortDateString();
|
||||
//BindGrid();
|
||||
Funs.FineUIPleaseSelect(this.drpState);
|
||||
@@ -171,6 +177,14 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
{
|
||||
listStr.Add(new SqlParameter("@ndtType", null));
|
||||
}
|
||||
if (this.drpUnit.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
listStr.Add(new SqlParameter("@unitId", this.drpUnit.SelectedValue));
|
||||
}
|
||||
else
|
||||
{
|
||||
listStr.Add(new SqlParameter("@unitId", null));
|
||||
}
|
||||
if (!this.ckbFeedbackDate.Checked && !this.ckbTrustDate.Checked)
|
||||
{
|
||||
listStr.Add(new SqlParameter("@trustStartDate", null));
|
||||
|
||||
+9
@@ -102,6 +102,15 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpState;
|
||||
|
||||
/// <summary>
|
||||
/// drpUnit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpUnit;
|
||||
|
||||
/// <summary>
|
||||
/// ckbTrustDate 控件。
|
||||
/// </summary>
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
ListItem[] list = new ListItem[42];
|
||||
ListItem[] list = new ListItem[44];
|
||||
list[0] = new ListItem("施工号", "1");
|
||||
list[1] = new ListItem("试压包编号", "2");
|
||||
list[2] = new ListItem("管线号", "3");
|
||||
@@ -62,7 +62,8 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
||||
list[39] = new ListItem("硬度反馈时间", "40");
|
||||
list[40] = new ListItem("硬度不合格", "41");
|
||||
list[41] = new ListItem("检测地点", "42");
|
||||
|
||||
list[42] = new ListItem("委托单位", "43");
|
||||
list[43] = new ListItem("反馈人", "44");
|
||||
|
||||
this.cblColumn.DataSource = list;
|
||||
this.cblColumn.DataBind();
|
||||
|
||||
Reference in New Issue
Block a user