@{ ViewBag.Title = "Detail"; Layout = "~/Views/Shared/_Layout.cshtml"; } @using MES.Production.Service; @using Central.Control.Domain; @using Ant.Service.Common; @using Ant.Service.Common.Enums; @model SYS_MODULE @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.Hidden("parentmodule", Model.PARENTID)
@Html.HiddenFor(p => p.ID) @Html.TextBoxFor(p => p.NAME, new { @class = "form-control", @placeholder = "请输入模块名称", @datatype = "*1-100", @nullmsg = "请输入模块名称!", @errormsg = "请输入模块名称!" })
@Html.TextBoxFor(p => p.SHOWORDER, new { @class = "form-control", @placeholder = "请输入模块排序值", @datatype = "n", @nullmsg = "请输入模块排序值", @errormsg = "只能输入数字" })
@Html.Hidden("ICON", Model.ICON)
@Html.TextBoxFor(p => p.ALIAS, new { @class = "form-control", @placeholder = "请输入模块别名", @datatype = "s1-20", @nullmsg = "请输入模块别名!", @errormsg = "模块别名不能包含中文!" })
@{ string[] str = ViewData["ModuleType"] as string[]; for (int i = 0; i < str.Length; i++) { } }
@Html.TextBoxFor(p => p.MODULEPATH, new { @class = "form-control", @placeholder = "请输入模块路径" })
} @section scripts{ }