天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

79 lines
1.8 KiB

<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<IEnumerable<QMAPP.FJC.Entity.Operation.MainOperation>>" %>
<script type="text/javascript" src="<%=QMAPP.FJC.Web.MvcApplication.ManageCenterRoot %>Scripts/jquery.1.11.0.min.js"></script>
<% foreach (var item in Model)
{ %>
<table class="InfoTable">
<thead>
<td colspan="6">
<%: item.WORKCELL_NAME %>
</td>
</thead>
<tr>
<th>
零件条码
</th>
<td>
<%: item.PRODUCTCODE %>
</td>
<th>
设备名称
</th>
<td>
<%: item.MACHINENAME %>
</td>
<th>
模架号
</th>
<td>
<%: item.MOLDNUMBER %>
</td>
</tr>
<tr>
<%--<td>
<%: item.OPERATESTATE %>
</td>--%>
<th>
零件物料名称
</th>
<td>
<%: item.MATERIAL_CODE_NAME %>
</td>
<th>
操作时间
</th>
<td>
<%: string.Format("{0:g}", item.OPERATEDDATE) %>
</td>
<th>
操作者姓名
</th>
<td>
<%: item.CREATEUSERNAME %>
</td>
</tr>
<%if (!string.IsNullOrWhiteSpace(item.PARATABLENAME))
{
%>
<tr>
<td colspan="6">
加工参数
</td>
</tr>
<tr>
<td colspan="6">
<%if (System.IO.File.Exists(Server.MapPath("~/Views/ProductArchives/" + item.MACHINECODDE + ".ascx")))
{
Html.RenderPartial(item.MACHINECODDE, item);
}
else
{
Html.RenderPartial("DefaultView", item);
} %>
</td>
</tr>
<%
} %>
</table>
<hr />
<% } %>