@{ ViewBag.Title = "DJXXUpdate"; } @model dccdc.Models.ProfessionalExamRegisterModel @section scripts{ }
@using (Ajax.BeginForm("saveDJXX", new AjaxOptions { HttpMethod = "Post", OnSuccess = "success" })) { @Html.HiddenFor(m => m.id)
姓名: @Html.TextBoxFor(m => m.person_name, new { style = "width:100px", @class = "l-text", @id = "personname" }) @Html.ValidationMessageFor(m => m.person_name) 性别 @Html.RadioButtonFor(m => m.sex, "男", new { id = "nan" })男  @Html.RadioButtonFor(m => m.sex, "女", new { id = "nv" })女 @Html.ValidationMessageFor(m => m.sex)
年龄: @Html.TextBoxFor(m => m.person_age, new { id = "age", style = "width:40px", @class = "l-text" }) @Html.ValidationMessageFor(m => m.person_age) 出生日期: @Html.TextBoxFor(m => m.birth, new { id = "birth" }) @Html.ValidationMessageFor(m => m.birth)
户籍: @Html.DropDownListFor(m => m.native_info_maintain_id, ViewData["hj"] as SelectList, "----请选择----")@Html.ValidationMessageFor(m => m.native_info_maintain_id) 家庭住址: @Html.TextBoxFor(m => m.home_address, new { style = "width:200px", @class = "l-text", id = "jtzz" })
联系电话: @Html.TextBoxFor(m => m.phone, new { @class = "l-text", @id = "phone" }) 单位名称: @Html.HiddenFor(m => m.enterprise_info_maintain_id) @Html.TextBoxFor(m => m.util_name, new { id = "qymc", @ondblclick = "selectdw()", style = "width:200px", @class = "l-text" })
工种: @Html.TextBoxFor(m => m.work_category, new { @class = "l-text"})
}