@model Structure_Details @{ ViewBag.Title = "字段信息 | 编辑"; Layout = "~/Views/Shared/_InfoLayout.cshtml"; var pageObj = new { ColumnTypes = ViewBag.ColumnTypes as List, structureId = ViewBag.structureId, showReportField = ViewBag.showReportField }; } @section CSS{ } @section JS { } @using (Html.BeginForm("StructureDetailEdit", "StructureInfo", FormMethod.Post, new { id = "structureDetailEditForm" })) {
@Html.HiddenFor(model => model.EncryptId)
@Html.MyTextFor(model => model.ColumnName, true); @Html.HiddenFor(model => model.id)
@Html.MyDropdownFor1(model => model.ColumnType, pageObj.ColumnTypes, appendBlank: false)
@Html.MyTextFor(model => model.ColumnOptions);
@Html.MyTextFor(model => model.ColumnDefaultValue);
@Html.MyTextFor(model => model.FieldNameSm);
@MyControls.Btn("保存", "savestructureDetail()") @MyControls.Btn("关闭", "closestructureDetailWindow()")
}