Views/I2/I0206/Edit.cshtml
(开头部分) 11KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@model OPMS.Models.I0206
@{
ViewBag.Title = "Edit";
List<OPMS.Models.I0105> list2 = ViewBag.I0105List as List<OPMS.Models.I0105>;
}
<script src="~/Content/lib/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
@using (Html.BeginForm())
{
@Html.ValidationSummary(true)
<div class="block">
@Html.HiddenFor(model => model.GroupID)
@Html.HiddenFor(model => model.States)
@Html.HiddenFor(model => model.Addtime)
<div class="editor-label">
@Html.LabelFor(model => model.ChargeProject)
</div>
<div class="editor-field">
@if (string.IsNullOrWhiteSpace(Model.ChargeProject))
{
@Html.DropDownListFor(model => model.ChargeProject, ViewBag.vProject as IEnumerable<SelectListItem>, new { @class = "seldrp", @style = "margin-top:10px;width:400px;" })
}
else
{
<input class="text-box single-line2" id="ChargeProject" name="ChargeProject" type="text" value="@Model.ChargeProject" readonly="true" style = "margin-top:10px;" />
}
</div>
<div class="editor-label">
@Html.LabelFor(model => model.Mc)
</div>
<div class="editor-field">
@Html.EditorFor(model => model.Mc)
@Html.ValidationMessageFor(model => model.Mc)
</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="@Model.FullName" readonly="true" />
<input class="text-box single-line" id="Leader" name="Leader" type="text" value="@Model.Leader" readonly="true" hidden/>
<button type="button" onclick="javascript:selectNumber(1);" 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.Teams)
</div>
<div class="editor-field" style="margin-top:10px;">
<div class="tags" id="tags" tabindex="1" style="border-color: rgb(245, 153, 66);">
@if (!string.IsNullOrWhiteSpace(Model.Teams))
{
int i = 0;
var Teams = Model.Teams.Replace(",", ",").Replace(" ", ",").Split(',');
foreach (var hotKey in Teams)
{
if (hotKey != "")
{
OPMS.Models.I0105 info = list2.Find(t => t.Number.ToString() == hotKey);
if (info != null)
{
后面还有 219 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
