天津投入产出系统后端
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.
 
 
 
 
 
 

68 lines
2.3 KiB

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
Inherits="System.Web.Mvc.ViewPage<QMAPP.FJC.Web.Models.Operation.UnQualityProductModel>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
不合格品数量查询
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%=Html.QPSeach(80,true) %>
<table id="condiTable">
<tr>
<th align="right">
<%=Html.QV(p => p.PRODUCTTYPE)%>
</th>
<td>
<%=Html.QC(p => p.PRODUCTTYPE)%>
</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.UnQualityProductModel>(Model)%>
<%=Html.QPEnd() %>
<%=Html.Hidden("selectKey")%>
<%=Html.Hidden("fileName") %>
<script language="javascript" type="text/javascript">
//导出
debugger;
function Export() {
var ids = getSelectKey();
debugger;
document.getElementById("selectKey").value = ids;
$.get("/UnQualityProduct/ExportExcel", $("form").serializeArray(), function (data) {
submitByButton("/UnQualityProduct/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("UnQualityProduct", "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>