Files
SGGL_SHJ/SGGL/FineUIPro.Web/HJGL/BaseInfo/PaintCodeDictView.aspx.cs
T

25 lines
859 B
C#
Raw Normal View History

2026-09-16 15:48:32 +08:00
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;
}
}
}
}