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;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|