@{ ViewBag.Title = "Detail"; Layout = "~/Views/Shared/_Layout.cshtml"; } @using MES.Production.Service; @using Central.Control.Domain; @using Ant.Service.Common; @model SYS_CODE @using (Ajax.BeginForm("Save", null, new AjaxOptions() { HttpMethod = "Post", OnBegin = "SubAjax.Loading", OnComplete = "SubAjax.Complate", OnFailure = "SubAjax.Failure", OnSuccess = "SubAjax.Success" }, new { @class = "form-horizontal dig-from", @role = "form" })) {
@Html.HiddenFor(p => p.ID) @Html.TextBoxFor(p => p.NAMETEXT, new { @class = "form-control", @placeholder = "请输入编码名称", @datatype = "*1-200", @nullmsg = "请输入编码名称!", @errormsg = "请输入编码名称,长度不能超过200个字!" })
@Html.TextBoxFor(p => p.CODEVALUE, new { @class = "form-control", @placeholder = "请输入编码值", @datatype = "*1-100", @nullmsg = "请输入编码值!", @errormsg = "请输入编码值,长度不能超过100个字符!" })
@Html.TextBoxFor(p => p.SHOWORDER, new { @class = "form-control", @placeholder = "请输入编码显示顺序", @datatype = "n", @nullmsg = "请输入显示顺序!", @errormsg = "显示顺序必须是数字!" })
@Html.Hidden("oldparent",Model.PARENTID)
@Html.TextAreaFor(p => p.REMARK, new { @class = "form-control", @rows = "3", @cols = "20", @placeholder = "请输入编码备注" })
} @section scripts{ }