Views/I2/I0208/Set.cshtml

(开头部分) 6KB

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

@model OPMS.Models.I0208

@{
    ViewBag.Title = "Edit";
    Layout = null;
}
<link href="~/Content/lib/theme.css" rel="stylesheet" />
<script src="~/Scripts/jquery-1.7.1.min.js" type="text/javascript"></script>

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)

    <div class="block">
        @Html.HiddenFor(model => model.WorkId)
        @Html.HiddenFor(model => model.States)
        @Html.HiddenFor(model => model.Number)
        @Html.HiddenFor(model => model.FullName)
        @Html.HiddenFor(model => model.AddTime)
        <div class="editor-label">
            @Html.LabelFor(model => model.ProjectID)
        </div>
        <div class="editor-field">
            @Html.DropDownListFor(model => model.ProjectID, ViewBag.vProjectID as IEnumerable<SelectListItem>, new { @class = "seldrp" })
            @Html.ValidationMessageFor(model => model.ProjectID)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.TaskName)
        </div>
        <div class="editor-field">
            <input type="text" id="taskid" value="@Model.TaskName" hidden="hidden" >
            <select id="TaskName" name="TaskName" class="seldrp">
            </select>
        </div>

        <div class="editor-label">
            工作类型
        </div>
        <div class="editor-field">
            <input type="text" id="wid" value="@Model.WTypeId" hidden="hidden" >
            <select id="WTypeId" name="WTypeId" class="seldrp">
            </select>
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.Contents)
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.Contents, new { @class = "textarea",@style = "width:340px;height:60px;padding:5px;" })
            @Html.ValidationMessageFor(model => model.Contents)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.WorkHours)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.WorkHours)
            @Html.ValidationMessageFor(model => model.WorkHours)
        </div>

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

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

AI 解读

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

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