feat(HJGL): 新增材料仓库管理并优化管线划分页面

**新增功能:**
   - 添加材料仓库管理模块(增删改查)
   - 管线划分页面支持按流水段和管线划分筛选
   - 管线划分页面支持批量设置仓库

   **技术改进:**
   - 新增 Base_Warehouse 表和模型
   - 扩展 HJGL_Pipeline 模型添加 WarehouseId 字段
   - 优化管线查询支持多条件组合
This commit is contained in:
2026-03-05 19:26:36 +08:00
parent 5b89af7fa0
commit b9f4db1a04
18 changed files with 1533 additions and 13 deletions
@@ -62,6 +62,11 @@
<Items>
<f:Label ID="lbSinglePreRate" CssClass="customlabel" runat="server" Label="图纸预制率" Hidden="True"></f:Label>
<f:ToolbarFill runat="server"></f:ToolbarFill>
<f:DropDownList ID="ddlWarehouse" runat="server" Label="仓库" Width="200px" LabelWidth="80px">
</f:DropDownList>
<f:Button ID="btnSetWarehouse" ToolTip="仓库设置" Text="仓库设置" Icon="ApplicationEdit"
EnablePostBack="true" OnClick="btnSetWarehouse_Click" runat="server">
</f:Button>
<f:Button ID="btnSetShop" ToolTip="工厂预制" Text="工厂预制" Icon="ApplicationEdit"
EnablePostBack="true" OnClick="btnSetShop_Click" runat="server">
</f:Button>
@@ -83,11 +88,13 @@
EmptyText="输入查询条件" Hidden="true"
Width="180px" LabelWidth="80px" LabelAlign="Right">
</f:TextBox>
<f:TextBox ID="txtMaterialCode" runat="server" Label="材质"
EmptyText="输入查询条件"
<f:DropDownList ID="ddlFlowingSection" runat="server" Label="流水段"
Width="180px" LabelWidth="80px" LabelAlign="Right">
</f:TextBox>
</f:DropDownList>
<f:DropDownList ID="ddlPipeArea" runat="server" Label="管线划分"
Width="180px" LabelWidth="80px" LabelAlign="Right">
</f:DropDownList>
<f:ToolbarFill runat="server"></f:ToolbarFill>
<f:Button ID="btnQuery" ToolTip="查询" Icon="SystemSearch"
EnablePostBack="true" OnClick="btnQuery_Click" runat="server">
@@ -125,6 +132,14 @@
<asp:Label ID="txt" runat="server" Text='<%# ConvertPipeArea(Eval("PipeArea")) %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:RenderField Width="150px" ColumnID="FlowingSection" DataField="FlowingSection"
FieldType="String" HeaderText="流水段" HeaderTextAlign="Center"
TextAlign="Center" SortField="FlowingSection">
</f:RenderField>
<f:RenderField Width="150px" ColumnID="WarehouseName" DataField="WarehouseName"
FieldType="String" HeaderText="仓库" HeaderTextAlign="Center"
TextAlign="Center" SortField="WarehouseName">
</f:RenderField>
</Columns>
<%--<PageItems>