b9f4db1a04
**新增功能:** - 添加材料仓库管理模块(增删改查) - 管线划分页面支持按流水段和管线划分筛选 - 管线划分页面支持批量设置仓库 **技术改进:** - 新增 Base_Warehouse 表和模型 - 扩展 HJGL_Pipeline 模型添加 WarehouseId 字段 - 优化管线查询支持多条件组合
51 lines
1.4 KiB
C#
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
|
|
}
|
|
}
|