Files
SGGL_SHJ/SGGL/FineUIPro.Web/HJGL/BaseInfo/PaintCodeDictView.aspx.cs
T
lpf d090c174b9 feat(hjgl): 新增防腐等级字典管理
将防腐等级维护纳入焊接设置菜单,便于统一维护防腐等级编码并复用系统权限配置。
2026-09-16 15:48:32 +08:00

25 lines
859 B
C#

using BLL;
using System;
namespace FineUIPro.Web.HJGL.BaseInfo
{
public partial class PaintCodeDictView : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
btnClose.OnClientClick = ActiveWindow.GetHideReference();
var model = PaintCodeDictService.GetById(Request.Params["Id"]);
txtPaintCode.Text = model.PaintCode;
txtPrimer.Text = model.Primer;
txtIntermediatePaint.Text = model.IntermediatePaint;
txtTopcoat.Text = model.Topcoat;
txtColorCode.Text = model.ColorCode;
txtSortIndex.Text = model.SortIndex.HasValue ? model.SortIndex.Value.ToString() : string.Empty;
chkIsUsed.Checked = model.IsUsed;
}
}
}
}