车次管理修改

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

File diff suppressed because one or more lines are too long

View File

@ -16839,7 +16839,7 @@
</COMReference> </COMReference>
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v15.0\WebApplications\Microsoft.WebApplication.targets" /> <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v18.0\WebApplications\Microsoft.WebApplication.targets" />
<ProjectExtensions> <ProjectExtensions>
<VisualStudio> <VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}"> <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">

View File

@ -48,16 +48,15 @@
<f:ToolbarText ID="ToolbarText3" runat="server" Text="状态:"> <f:ToolbarText ID="ToolbarText3" runat="server" Text="状态:">
</f:ToolbarText> </f:ToolbarText>
<f:DropDownList ID="ddlState" runat="server" Width="100px"> <f:DropDownList ID="ddlState" runat="server" Width="100px">
<f:ListItem Text="" Value="" Selected="true" />
<f:ListItem Text="未发货" Value="0" /> <f:ListItem Text="未发货" Value="0" />
<f:ListItem Text="已发货" Value="1" /> <f:ListItem Text="已发货" Value="1" />
<f:ListItem Text="已验收" Value="2" /> <f:ListItem Text="已验收" Value="2" />
</f:DropDownList> </f:DropDownList>
<f:ToolbarSeparator runat="server"> <f:ToolbarSeparator runat="server">
</f:ToolbarSeparator> </f:ToolbarSeparator>
<f:Button ID="btnFilter" runat="server" Text="筛选" Icon="Magnifier" OnClick="btnFilter_Click"> <f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:Button> </f:ToolbarFill>
<f:Button ID="btnClearFilter" runat="server" Text="取消筛选" Icon="Cancel" OnClick="btnClearFilter_Click"> <f:Button ID="btnFilter" runat="server" Text="查询" Icon="Magnifier" OnClick="btnFilter_Click">
</f:Button> </f:Button>
</Items> </Items>
</f:Toolbar> </f:Toolbar>

View File

@ -18,6 +18,7 @@ namespace FineUIPro.Web.HJGL.PreDesign
{ {
this.GetButtonPower(); this.GetButtonPower();
this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString(); this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
Funs.FineUIPleaseSelect(ddlState);
// 绑定表格 // 绑定表格
this.BindGrid(); this.BindGrid();
} }
@ -49,7 +50,7 @@ namespace FineUIPro.Web.HJGL.PreDesign
table.TrainNumber = txtTrainNumber.Text.Trim(); 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); table.State = Convert.ToInt32(ddlState.SelectedValue);
} }

View File

@ -95,6 +95,15 @@ namespace FineUIPro.Web.HJGL.PreDesign
/// </remarks> /// </remarks>
protected global::FineUIPro.DropDownList ddlState; protected global::FineUIPro.DropDownList ddlState;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary> /// <summary>
/// btnFilter 控件。 /// btnFilter 控件。
/// </summary> /// </summary>
@ -104,15 +113,6 @@ namespace FineUIPro.Web.HJGL.PreDesign
/// </remarks> /// </remarks>
protected global::FineUIPro.Button btnFilter; protected global::FineUIPro.Button btnFilter;
/// <summary>
/// btnClearFilter 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnClearFilter;
/// <summary> /// <summary>
/// Toolbar2 控件。 /// Toolbar2 控件。
/// </summary> /// </summary>