d090c174b9
将防腐等级维护纳入焊接设置菜单,便于统一维护防腐等级编码并复用系统权限配置。
25 lines
859 B
C#
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;
|
|
}
|
|
}
|
|
}
|
|
}
|