提交代码

This commit is contained in:
2024-12-26 11:19:24 +08:00
parent 535e32b7b6
commit e55b6f9928
16 changed files with 69 additions and 14 deletions
@@ -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));