@model TradeMarketReportConfigure @{ ViewBag.Title = "报告配置 | 编辑"; Layout = "~/Views/Shared/_InfoLayout.cshtml"; var pageObj = new { isNew = Model.id == 0 }; } @section CSS{ } @section JS{ }
@Html.HiddenFor(model => model.id) @Html.HiddenFor(model => model.EncryptId) @if (Model.id > 0 && Model.ClientId == null) {
} else { @Html.MyDropdownFor(model => model.ClientId, ClientDataModel.GetAllOpenClient(false), "", "", false, true, true) } @Html.MyDropdownFor(model => model.TemplateId, new List() { new SelectListItem() { Value = "1", Text = "含持仓预付金列" }, new SelectListItem() { Value = "2", Text = "不含持仓预付金列" } }, appendBlank: false) @Html.MyTextAreaFor(model => model.Remarks, 3, new { maxlength = 50 })