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.
93 lines
2.9 KiB
93 lines
2.9 KiB
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
|
|
Inherits="System.Web.Mvc.ViewPage<QMAPP.FJC.Web.Models.FeedInManage.GratingModel>" %>
|
|
|
|
<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.PRODUCTCODE) %>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.PRODUCTCODE)%>
|
|
</td>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.MACHINECODDE)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.MACHINECODDE)%>
|
|
</td>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.CURRENTPROCESS)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.CURRENTPROCESS)%>
|
|
</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>
|
|
</tr>
|
|
</table>
|
|
<%=Html.QPEnd()%>
|
|
<%=Html.QPList() %>
|
|
<%=Html.QDateGrid<QMAPP.FJC.Web.Models.FeedInManage.GratingModel>(Model)%>
|
|
<%=Html.QPEnd() %>
|
|
<%=Html.Hidden("selectKey")%>
|
|
<%=Html.Hidden("fileName") %>
|
|
|
|
<script language="javascript" type="text/javascript">
|
|
|
|
|
|
//导出
|
|
function Export() {
|
|
var ids = getSelectKey();
|
|
document.getElementById("selectKey").value = ids;
|
|
//_showProgress();
|
|
$.get("/Grating/ExportExcel", $("form").serializeArray(), function (data) {
|
|
//_closeProgress();
|
|
submitByButton("/Grating/ExportFile?FileName=" + data);
|
|
});
|
|
}
|
|
|
|
//查询
|
|
function Search() {
|
|
if (parseDate($("#STARTCREATEDATE").val()) > parseDate($("#ENDCREATEDATE").val())) {
|
|
alert("开始时间不能大于结束时间!");
|
|
return;
|
|
}
|
|
List(1)
|
|
}
|
|
$(function () { List(1); });
|
|
</script>
|
|
</asp:Content>
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
|
|
<table cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td align="center">
|
|
<%=Html.QTButtonSearch("Grating", "List", "Search()", QMAPP.Common.Web.SystemLimit.isLimt)%>
|
|
<%=Html.QTButton("export", "ExportExcel", QMFrameWork.WebUI.IconCls.redo, "Export()", (s, f) => { return true; })%>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</asp:Content>
|
|
|
|
|
|
|
|
|
|
|
|
|