Views/I2/I0203/Edit.cshtml

(开头部分) 5KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

@model OPMS.Models.I0203

@{
    ViewBag.Title = "Edit";
}
@using (Html.BeginForm("Edit", "I0203", FormMethod.Post, new { @enctype = "multipart/form-data" }))
{
    @Html.ValidationSummary(true)

    <div class="block">
        @Html.HiddenFor(model => model.MId)
        <input type="text"  readonly="true" value="@ViewBag.ProjectID" hidden="hidden"    name="ProjectID" id="ProjectID">
        <input type="text" readonly="true" value="" hidden="hidden" name="TaskName" id="TaskName">
        <div class="editor-label">
            项目任务
        </div>
        <div class="editor-field">
            @Html.DropDownListFor(model => model.TId, ViewBag.vTId as IEnumerable<SelectListItem>, new { @class = "seldrp",@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.BDesign)
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.BDesign, new { @class = "textarea", @placeholder = "输入请控制在500字符以内!", maxlength = "500" })
            @Html.ValidationMessageFor(model => model.BDesign)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.FilesWd)
        </div>
        <div class="editor-field"  style="margin-top:10px;">
            <span class="btn-upload form-group">
                <input style="width: 200px;" class="input-text upload-url" type="text" value="@Model.FilesWd" id="FilesWd" name="FilesWd" datatype="*" nullmsg="请添加附件!" readonly />
                <a href="javascript:void();" class="btn btn-primary radius upload-btn" style="margin-top: -0px;"><i class="Hui-iconfont">&#xe642;</i> 浏览文件</a>
                <input type="file" multiple name="file2" id="file2" class="input-file" />
            </span>
            @Html.ValidationMessageFor(model => model.FilesWd)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ParentMId)
        </div>
        <div class="editor-field">
            <select id="ParentMId" name="ParentMId" class="seldrp">
                <option value="0">一级模块</option>
            </select>
            <input type="text" readonly="true" value="" hidden="hidden" name="Mmc" id="Mmc">
            <input type="text"  readonly="true" value="@Model.ParentMId"  hidden="hidden"  id="Pmid">
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Sort)
后面还有 76 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。