server/aspnetapp/Views/Orders/Index.cshtml
(开头部分) 10KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@model IEnumerable<aspnetapp.Models.OrderEntity>
@{
var allcompany = ViewBag.company as List<CompanyEntity> ?? new List<CompanyEntity>();
int pageindex = ViewBag.page == null ? 0 : Convert.ToInt32(ViewBag.page);
int pagesize = ViewBag.pagesize;
DateTime now = DateTime.Now;
if (ViewBag.chooseTime != null)
{
now = (DateTime)ViewBag.chooseTime;
}
}
<div class="table-box">
<div class="col-md-12 xigw-tab">
<div class="tab-content">
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active">
<a>订单查询</a>
</li>
</ul>
<div style="padding-top:10px;">
<form id="form1" name="form1" action="Index" method="get">
<table>
<tr>
<th>派餐日期</th>
<td>
@if (ViewBag.chooseTime != null)
{
<input name="chooseTime" id="chooseTime" style="width:220px" pattern="[0-9]{4}/[0-9]{2}/[0-9]{2}" class="form-control date-signing required" autocomplete="off" value="@now.ToString("yyyy/MM/dd")" onchange="func()" />
}
else
{
<input name="chooseTime" id="chooseTime" style="width:220px" pattern="[0-9]{4}/[0-9]{2}/[0-9]{2}" class="form-control date-signing required" autocomplete="off" onchange="func()" />
}
</td>
<th style="width:120px">派餐地点:</th>
<td style="text-align: center !important;">
@Html.DropDownList("address", ViewBag.address as IEnumerable<SelectListItem>, new { @class = "form-control ", @style="width:160px", @onchange="func()" })
</td>
<th style="width:120px">订单状态:</th>
<td style="text-align: center !important;">
@Html.DropDownList("orderstatus", @ViewBag.orderstatus, "全部", new { @class = "form-control", @style = "width:160px", @onchange="func()" })
</td>
</tr>
<tr>
<th style="width:120px">订餐人</th>
<td>
<input class = "form-control" name="buyUserName" id="buyUserName" value="@ViewBag.buyUserName" onchange="func()" style="width:220px" autocomplete="off" />
</td>
<th style="padding-left:5px;width:50px">单位:</th>
<td style="text-align: center !important;">
<select class="form-control" id="companyid" name="companyid" onchange="func()" style="width:160px">
@if (allcompany.Count > 1)
{
<option value="全部">全部</option>
}
后面还有 150 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。