Files
SGGL_SHJ/SGGL/FineUIPro.Web/HJGL/BaseInfo/WarehouseView.aspx.cs
T
lpf b9f4db1a04 feat(HJGL): 新增材料仓库管理并优化管线划分页面
**新增功能:**
   - 添加材料仓库管理模块(增删改查)
   - 管线划分页面支持按流水段和管线划分筛选
   - 管线划分页面支持批量设置仓库

   **技术改进:**
   - 新增 Base_Warehouse 表和模型
   - 扩展 HJGL_Pipeline 模型添加 WarehouseId 字段
   - 优化管线查询支持多条件组合
2026-03-05 19:26:36 +08:00

51 lines
1.4 KiB
C#

using BLL;
using System;
namespace FineUIPro.Web.HJGL.BaseInfo
{
public partial class WarehouseView : PageBase
{
#region
/// <summary>
/// 主键
/// </summary>
public string WarehouseId
{
get
{
return (string)ViewState["WarehouseId"];
}
set
{
ViewState["WarehouseId"] = value;
}
}
#endregion
#region
/// <summary>
/// 加载页面
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
btnClose.OnClientClick = ActiveWindow.GetHideReference();
this.WarehouseId = Request.Params["WarehouseId"];
if (!string.IsNullOrEmpty(this.WarehouseId))
{
Model.Base_Warehouse warehouse = BLL.Base_WarehouseService.GetWarehouseByWarehouseId(this.WarehouseId);
if (warehouse != null)
{
this.txtWarehouseName.Text = warehouse.WarehouseName;
this.txtRemark.Text = warehouse.Remark;
}
}
}
}
#endregion
}
}