提交代码
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user