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.
129 lines
4.6 KiB
129 lines
4.6 KiB
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
|
|
Inherits="System.Web.Mvc.ViewPage<QMAPP.FJC.Web.Models.Operation.MainModel>" %>
|
|
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
|
信息列表
|
|
</asp:Content>
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
|
<%=Html.QPSeach(100,true) %>
|
|
<table id="condiTable">
|
|
<tr>
|
|
<th align="right">
|
|
<%=Html.QV(p=>p.publicCode) %>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.publicCode)%>
|
|
</td>
|
|
<th align="right">
|
|
<%=Html.QV(p=>p.HB) %>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.HB)%>
|
|
</td>
|
|
<th align="right">
|
|
<%=Html.QV(p=>p.COLOR) %>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.COLOR)%>
|
|
</td>
|
|
<th align="right">
|
|
<%=Html.QV(p=>p.STATUS) %>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.STATUS)%>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
|
|
<th align="right">
|
|
<%=Html.QV(p=>p.STARTCREATEDATE) %>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.STARTCREATEDATE)%>
|
|
</td>
|
|
<th align="right">
|
|
<%=Html.QV(p=>p.ENDCREATEDATE) %>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.ENDCREATEDATE)%>
|
|
</td>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.MATERIAL_CODE)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.MATERIAL_CODE)%>
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
<%=Html.QPEnd()%>
|
|
<%=Html.QPList() %>
|
|
<%=Html.QDateGrid<QMAPP.FJC.Web.Models.Operation.MainModel>(Model)%>
|
|
<%=Html.QPEnd() %>
|
|
<%=Html.Hidden("selectKey")%>
|
|
<%=Html.Hidden("fileName") %>
|
|
<%=Html.HiddenFor(o => o.GETDETAILINFO)%>
|
|
<%=Html.HiddenFor(o => o.GETINJECTDETAILINFO)%>
|
|
<%=Html.HiddenFor(o => o.SAVEURL)%>
|
|
<div id="matSelectWindow" class="easyui-window" title="零件号选择" iconcls="icon-save"
|
|
closed="true" style="width: 500px; height: 300px; padding: 5px;" data-options="onClose:function(){}">
|
|
<div class="easyui-layout" fit="true">
|
|
<div region="center" border="false" style="padding: 10px; background: #fff; border: 1px solid #ccc;">
|
|
<table id="Table2">
|
|
<tr>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.MATERIALBATCH)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.MATERIALBATCH)%>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<%=Html.HiddenFor(p => p.PRODUCTINID)%>
|
|
<%=Html.HiddenFor(p => p.MAINID)%>
|
|
<%=Html.HiddenFor(p => p.ROWINDEX)%>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div region="south" border="false" style="text-align: right; padding: 5px 0;">
|
|
<a class="easyui-linkbutton" iconcls="icon-ok" href="javascript:void(0)"
|
|
onclick="MatSelectOK()"></a>
|
|
<a class="easyui-linkbutton" iconcls="icon-cancel" href="javascript:void(0)"
|
|
onclick="MatSelectCancel()"></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="../../Scripts/FjcMainCommon.js" type="text/javascript"></script>
|
|
<script language="javascript" type="text/javascript">
|
|
|
|
$(function () {
|
|
List(1);
|
|
});
|
|
|
|
//导出
|
|
function Export() {
|
|
var ids = getSelectKey();
|
|
document.getElementById("selectKey").value = ids;
|
|
//_showProgress();
|
|
$.get("/Main/ExportExcel", $("form").serializeArray(), function (data) {
|
|
//_closeProgress();
|
|
submitByButton("/Main/ExportFile?FileName=" + data);
|
|
});
|
|
}
|
|
|
|
|
|
</script>
|
|
</asp:Content>
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
|
|
<table cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td align="center">
|
|
<%=Html.QTButtonSearch("Main", "List", "List(1)", QMAPP.Common.Web.SystemLimit.isLimt)%>
|
|
<%=Html.QTButton("export", "ExportExcel", QMFrameWork.WebUI.IconCls.redo, "Export()", (s, f) => { return true; })%>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</asp:Content>
|
|
|