Views/I3/I0307/Edit.cshtml

(开头部分) 3KB

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

@model OPMS.Models.I0307

@{
    ViewBag.Title = "Edit";
    Layout = null;
}
<link href="~/Content/lib/theme.css" rel="stylesheet" />
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <div class="block">
       @Html.HiddenFor(model => model.AssetID)

        <div class="editor-label">
            @Html.LabelFor(model => model.AssetType)
        </div>
        <div class="editor-field">
            @Html.DropDownListFor(model => model.AssetType, ViewBag.vAssetType as IEnumerable<SelectListItem>, new { @class = "seldrp",@style="margin-top:10px;"  })
            @Html.ValidationMessageFor(model => model.AssetType)
        </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.Amounts)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Amounts)
            @Html.ValidationMessageFor(model => model.Amounts)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.Units)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Units)
            @Html.ValidationMessageFor(model => model.Units)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.IsRent)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.IsRent)<b style="color:red;">(选中为自购)</b>
        </div>

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

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

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

AI 解读

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

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