@{ 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; @using MES.Production.Entity; @using CommonToolHelper; @model Ent_YW_Bicycle @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("distributorsid", ViewData["distributorsid"]) @Html.Hidden("distributorName", ViewData["distributorName"]) @*
*@
@Html.TextBoxFor(p => p.CarName, new { @class = "form-control", @placeholder = "请输入农机名称", @datatype = "*1-30", @nullmsg = "请输入农机名称" })
@Html.TextBoxFor(p => p.carBar, new { @class = "form-control", @placeholder = "请输入农机条码", @datatype = "n15-20", @nullmsg = "请输入农机条码", @errormsg = "农机条码必须是15-20位的数字!" })
@Html.HiddenFor(p => p.ID) @Html.TextBoxFor(p => p.CarID, new { @class = "form-control", @id = "CarID", @placeholder = "车ID(IMEI)", @datatype = "n15-15", @nullmsg = "IMEI号不能为空!", @errormsg = "IMEI号必须是15位数字!" })
@Html.TextBoxFor(p => p.CarModel, new { @class = "form-control", @datatype = "*", @nullmsg = "请输入车型号", @placeholder = "请输入车型号", @errormsg = "排序值只能输入数字,数字越小排序越靠前" })
@Html.TextBoxFor(p => p.FactoryNumber, new { @class = "form-control", @id = "FactoryNumber", @placeholder = "出厂编号", @nullmsg = "出厂编号不能为空!" })
} @section scripts{ }