@{ 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 RemoveFenceEntity @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.TextBoxFor(p => p.bicycle.CarName, new { @class = "form-control", @placeholder = "请输入农机名称", @readonly = "readonly", @datatype = "*1-30", @nullmsg = "请输入农机名称" })
@Html.TextBoxFor(p => p.bicycle.carBar, new { @class = "form-control", @placeholder = "请输入农机条码", @readonly = "readonly", @datatype = "n15-20", @nullmsg = "请输入农机条码", @errormsg = "农机条码必须是15-20位的数字!" })
@Html.TextBoxFor(p => p.bicycle.CarID, new { @class = "form-control", @placeholder = "请输入农机条码", @readonly = "readonly", @datatype = "n15-20", @nullmsg = "请输入农机条码", @errormsg = "农机条码必须是15-20位的数字!" })
@Html.HiddenFor(p => p.bicycle.ID) @Html.TextBoxFor(p => p.bicycle.FactoryNumber, new { @class = "form-control", @id = "CarID", @placeholder = "暂无出厂编号", @readonly = "readonly" })
@Html.TextBoxFor(p => p.userName, new { @class = "form-control", @datatype = "*", @nullmsg = "请输入购买人姓名", @placeholder = "请输入购买人姓名", @errormsg = "排序值只能输入数字,数字越小排序越靠前" })
@Html.TextBoxFor(p => p.bicycle.CarModel, new { @class = "form-control", @id = "CarID", @placeholder = "车型号", @readonly = "readonly", @errormsg = "IMEI号必须是15位数字!" })
@Html.TextBoxFor(p => p.bicycle.Createper, new { @class = "form-control", @id = "CarID", @placeholder = "车ID(IMEI)", @readonly = "readonly", @errormsg = "IMEI号必须是15位数字!" })
@Html.TextBoxFor(p => p.userTel, new { @class = "form-control", @id = "CarID", @placeholder = "购买人手机号", @datatype = "*1-30", @nullmsg = "购买人手机号不能为空!", @errormsg = "IMEI号必须是15位数字!" })
@Html.TextBoxFor(p => p.userCode, new { @class = "form-control", @placeholder = "请输入购买时间", @nullmsg = "请输入购买时间" })
@Html.TextBoxFor(p => p.userAddress, new { @class = "form-control", @placeholder = "请输入购买人地址", @datatype = "*", @nullmsg = "请输入购买人地址", @errormsg = "购买人地址必须是15-20位的字符!" })
} @section scripts{ }