车次管理修改

This commit is contained in:
2025-11-18 10:52:41 +08:00
parent 5bdff8a875
commit 6f289814e8
5 changed files with 23 additions and 22 deletions
@@ -18,6 +18,7 @@ namespace FineUIPro.Web.HJGL.PreDesign
{
this.GetButtonPower();
this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
Funs.FineUIPleaseSelect(ddlState);
// 绑定表格
this.BindGrid();
}
@@ -49,7 +50,7 @@ namespace FineUIPro.Web.HJGL.PreDesign
table.TrainNumber = txtTrainNumber.Text.Trim();
}
if (!string.IsNullOrEmpty(ddlState.SelectedValue))
if (!string.IsNullOrEmpty(ddlState.SelectedValue)&& ddlState.SelectedValue !=Const._Null)
{
table.State = Convert.ToInt32(ddlState.SelectedValue);
}