Views/I1/I0102/Create.cshtml
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@model OPMS.Models.I0102
@{
ViewBag.Title = "Create";
}
@using (Html.BeginForm())
{
@Html.ValidationSummary(true)
<div class="block">
<div class="editor-label">
@Html.LabelFor(model => model.DCode)
</div>
<div class="editor-field">
<input class="text-box single-line" id="DCode" name="DCode" placeholder="新建部门最多4字符,其它最多输入2字符" type="text" value="" maxlength="4" />
@Html.ValidationMessageFor(model => model.DCode)
</div>
<div class="editor-label">
@Html.LabelFor(model => model.DeptName)
</div>
<div class="editor-field">
@Html.EditorFor(model => model.DeptName)
@Html.ValidationMessageFor(model => model.DeptName)
</div>
<div class="editor-label">
@Html.LabelFor(model => model.PCode)
</div>
<div class="editor-field">
@Html.DropDownListFor(model => model.PCode, ViewBag.PCode as IEnumerable<SelectListItem>, new { @class = "seldrp" })
</div>
<div class="editor-label">
@Html.LabelFor(model => model.ALevel)
</div>
<div class="editor-field">
@Html.DropDownListFor(model => model.ALevel, ViewBag.vALevel as IEnumerable<SelectListItem>, new { @class = "seldrp" })
</div>
<div class="editor-label">
@Html.LabelFor(model => model.Leader)
</div>
<div class="editor-field">
<input class="text-box single-line" id="FullName" name="FullName" type="text" value="" readonly="true" />
<input class="text-box single-line" id="Leader" name="Leader" type="text" value="" readonly="true" hidden />
<button type="button" onclick="javascript:selectNumber();" class="btn btn-success"><i class="Hui-iconfont" style="margin-left: 5px; cursor: pointer"></i> 选择</button>
<button type="button" onclick="javascript:ClearNumber();" class="btn btn-success"><i class="Hui-iconfont" style="margin-left: 5px; cursor: pointer"></i> 清除</button>
@Html.ValidationMessageFor(model => model.Leader)
</div>
<div class="editor-label">
@Html.LabelFor(model => model.DeptDescription)
</div>
<div class="editor-field">
@Html.TextAreaFor(model => model.DeptDescription)
@Html.ValidationMessageFor(model => model.DeptDescription)
</div>
<p>
<input class="btn btn-primary radius" type="submit" value=" 提交 ">
</p>
</div>
}
<script type="text/javascript">
function selectNumber() {
后面还有 22 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
