@model ClientDuty @{ ViewBag.Title = "机构客户职责联系人信息 | 编辑"; Layout = "~/Views/Shared/_InfoLayout.cshtml"; bool IsProduct = ViewBag.IsProduct; } @section CSS{ } @section JS{ } @using (Html.BeginForm("clientdutyEdit", "clientduty", FormMethod.Post, new { id = "clientdutyEditForm", autocomplete = "off" })) {
@Html.HiddenFor(model => model.EncryptId) @Html.HiddenFor(model => model.ClientId) @Html.MyTextFor(model => model.ContactName, true) @Html.MyAceDropdownFor(model => model.ContactTypeId, ClientModelHelper.GetAllcontactype(IsProduct), appendBlank: false) @Html.MyDropdownFor1(model => model.IdCardType, YLErp.Web.Controllers.clientdutyController.GetAllIdCardType(), appendBlank: false) @Html.MyTextFor(model => model.IdCardNo, false) @Html.MyTextFor(model => model.Email) @Html.MyDropdownFor1(model => model.IsReceiveEmail, new List() { new SelectListItem() { Selected = true, Text = "否", Value = "0" }, new SelectListItem() { Text = "是", Value = "1" } }, appendBlank: false) @Html.MyTextFor(model => model.PhoneNumber, new { @placeholder = "多个号码以逗号隔开" }) @Html.MyTextFor(model => model.Fax) @Html.MyTextFor(model => model.Address) @Html.MyDateFor(model => model.DeadLine)
@MyControls.Btn("保存", "saveclientduty()") @MyControls.Btn("关闭", "layer.closeMe()")
}