Views/I3/I0307/Index.cshtml

(开头部分) 5KB

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

@model IEnumerable<OPMS.Models.I0307>

@{
    ViewBag.Title = "Index";
}
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 综合管理<span class="c-gray en">&gt;</span> 资产分类登记<a class="btn btn-success radius r mr-20" style="line-height: 1.6em; margin-top: 3px" href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="pd-20">
    <div class="text-l">
        @using (Html.BeginForm("Index", "I0307", FormMethod.Get))
        {
            <span class="l mb-5">资产分类:@Html.DropDownList("tid", ViewBag.vAssetType as IEnumerable<SelectListItem>, new { @class = "seldrp" })
                关键字查询:
            <input type="text" class="input-text w220"  placeholder="输入名称、编号" id="queryStr" name="queryStr" value="@ViewBag.queryStr">
                <button type="submit" class="btn btn-success"><i class="Hui-iconfont">&#xe665;</i> 查询</button>
            </span>
        }
        <span class="r mb-5">
            <a class="btn btn-primary radius" onclick="Export()" href="javascript:;"><i class="Hui-iconfont">&#xe644;</i> 导出资产清单</a>
            <a class="btn btn-primary radius" onclick="add('新增资产','/I0307/Create')" href="javascript:;"><i class="Hui-iconfont">&#xe600;</i> 新增资产</a>
        </span>
    </div>

    <table class="table table-border table-bordered table-bg table-hover table-sort">
        <tr>
            <th>
                @Html.DisplayNameFor(model => model.AssetType)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Mc)
            </th>
             <th>
               数量/单位
            </th>
              <th>
                @Html.DisplayNameFor(model => model.Brand)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IsRent)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.PayPrice)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.NowPrice)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Remarks)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.States)
            </th>
            <th>操作</th>
        </tr>

        @foreach (var item in Model)
        {
            <tr>
                <td>
                    @Html.DisplayFor(modelItem => item.AssetType)
                </td>
后面还有 75 行代码,购买后查看完整代码

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

AI 解读

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

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