@model dccdc.Models.RegisterZydjViewModel @section scripts{ } @using (Ajax.BeginForm("RegisteInfo", new AjaxOptions { HttpMethod = "Post", OnSuccess = "success", OnBegin = "validate" })) { @Html.HiddenFor(m => m.physical_num_old) @Html.HiddenFor(m => m.id); @Html.HiddenFor(m => m.physical_num, new { id = "physical_num" }) @Html.HiddenFor(m => m.register_person) @Html.HiddenFor(m => m.enterprise_info_maintain_id, new { id = "enterprise_info_maintain_id" }) @Html.HiddenFor(m => m.register_type) @Html.HiddenFor(m => m.payment) @Html.HiddenFor(m => m.physical_type) @Html.HiddenFor(m => m.importid) @**@
身份证号: @Html.TextBoxFor(m => m.card_number, new { id = "cardnumber", @class = "l-text" }) @Html.ValidationMessageFor(m => m.card_number) 姓名: @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.TextBoxFor(m => m.person_age, new { id = "age", style = "width:20px", @class = "l-text" }) @Html.ValidationMessageFor(m => m.person_age) 出生日期: @Html.TextBoxFor(m => m.birth, new { id = "birth" }) @Html.ValidationMessageFor(m => m.birth) @if (ViewBag.src != null) { } else { }
民族: @Html.TextBoxFor(m => m.nation, new { @class = "l-text" }) 婚否: @Html.DropDownListFor(m => m.marry_status, ViewData["hf"] as SelectList, "----请选择----", new { id = "trade_type_maintain_id" }) 部门: @Html.TextBoxFor(m => m.department, new { @class = "l-text" }) 工号: @Html.TextBoxFor(m => m.job_num, new { @class = "l-text" }) 电话: @Html.TextBoxFor(m => m.phone, new { @class = "l-text" })
企业名称: @Html.TextBoxFor(m => m.util_name, new { @class = "l-text", id = "qymc",style="pointer-events:none;" }) 体检方案: @Html.HiddenFor(m => m.physical_category) @Html.DropDownListFor(m => m.medical_scheme_maintain_id, ViewData["tjfn"] as SelectList, new { id = "tjfn", style = "width:150px;pointer-events:none;" }) 通用体检方案: @Html.HiddenFor(m => m.common_scheme) @Html.DropDownListFor(m => m.common_scheme_id, ViewData["tytjfn"] as SelectList, "----请选择----", new { id = "tytjfn", style = "width:120px;pointer-events:none;" }) 体检类型: @Html.HiddenFor(m => m.exam_type, new { id = "exam_type" }) @Html.DropDownListFor(m => m.exam_type_id, ViewData["tjlx"] as SelectList, "----请选择----", new { id = "exam_type_id" })@*@Html.ValidationMessageFor(m => m.exam_type_id)*@
在岗状态: @Html.HiddenFor(m => m.status, new { id = "status" }) @Html.DropDownListFor(m => m.job_status_id, ViewData["zgzt"] as SelectList, "----请选择----", new { id = "job_status_id" }) 有害因素: @Html.HiddenFor(m => m.hazard_ids, new { id = "hazards_ids" }) @Html.TextBoxFor(m => m.hazards, new { @class = "l-text", id = "yhys", @onclick = "hyys()" ,style="pointer-events:none;"}) 有害类别: @Html.HiddenFor(m => m.hazard_type_ids, new { id = "hazard_type_ids" }) @Html.TextBoxFor(m => m.hazard_type_names, new { id = "yhlb", @class = "l-text",style="pointer-events:none;" }) 打印: @Html.CheckBoxFor(m => m.txm)条形码   @Html.CheckBoxFor(m => m.zyd)指引单
专业工龄: @Html.TextBoxFor(m => m.unnomel_ages, new { @class = "l-text", style = "width:100px" }) 总工龄:
@Html.TextBoxFor(m => m.work_years, new { @class = "l-text", style = "width:40px" }) @Html.TextBoxFor(m => m.work_months, new { @class = "l-text", style = "width:40px" })
接害工龄:
@Html.TextBoxFor(m => m.touch_years, new { @class = "l-text", style = "width:40px" }) @Html.TextBoxFor(m => m.touch_months, new { @class = "l-text", style = "width:40px" })
作业工种: @Html.TextBoxFor(m => m.work_category, new { @class = "l-text" }) 协议金额: @Html.TextBoxFor(m => m.agreement_money, new { @class = "l-text", id = "xyje", @readonly = "readonly", @style = "text-align:right" })
接害因素(用于报告) @Html.TextAreaFor(m => m.hazards_text, new { @class = "l-textarea", id = "hazards_text",@style= "width: 816px; height: 208px;" })
@*@Html.ValidationMessageFor(m => m.phone_path)*@ @Html.HiddenFor(m => m.phone_path, new { id = "phone_path" }) @**@
}