Views/I3/I0308/Edit.cshtml

(开头部分) 3KB

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

@model OPMS.Models.I0308

@{
    ViewBag.Title = "Edit";
}
<script src="~/Content/lib/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <div class="block">
       @Html.HiddenFor(model => model.SerialNum)
      <div class="editor-label" >
            分类
        </div>
        <div class="editor-field">
              @Html.DropDownList("AssetID",  ViewBag.vAssetID as IEnumerable<SelectListItem>, new { @class = "seldrp",@style="margin-top:10px;" })
              @Html.ValidationMessageFor(model => model.AssetID)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.SerialNum)
        </div>
        <div class="editor-field">
            <input type="text" class="text-box single-line"  value="@Model.SerialNum"  maxlength="15" readonly="true" id="SerialNum" name="SerialNum" />
            @Html.ValidationMessageFor(model => model.SerialNum)
        </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.Version)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Version)
            @Html.ValidationMessageFor(model => model.Version)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Unit)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Unit)
            @Html.ValidationMessageFor(model => model.Unit)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Amount)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Amount)
            @Html.ValidationMessageFor(model => model.Amount)
        </div>

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

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

AI 解读

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

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