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

104 lines
3.3 KiB

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
Inherits="System.Web.Mvc.ViewPage<QMAPP.FJC.Web.Models.Operation.ProductCheckModel>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
抽检查询
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%=Html.QPSeach(105,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.CHECKRESULT)%>
</th>
<td>
<%=Html.QC(p => p.CHECKRESULT)%>
</td>
<th align="right">
<%=Html.QV(p => p.PRODUCTCHECKTYPE)%>
</th>
<td>
<%=Html.QC(p => p.PRODUCTCHECKTYPE)%>
</td>
<th align="right">
<%=Html.QV(p => p.MATERIAL_CODE)%>
</th>
<td>
<%=Html.QC(p => p.MATERIAL_CODE)%>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p => p.CREATEDATESTART)%>
</th>
<td>
<%=Html.QC(p => p.CREATEDATESTART)%>
</td>
<th align="right">
<%=Html.QV(p => p.CREATEDATEEND)%>
</th>
<td>
<%=Html.QC(p => p.CREATEDATEEND)%>
</td>
</tr>
</table>
<%=Html.QPEnd()%>
<%=Html.QPList() %>
<%=Html.QDateGrid<QMAPP.FJC.Web.Models.Operation.ProductCheckModel>(Model)%>
<%=Html.QPEnd() %>
<%=Html.Hidden("selectKey")%>
<%=Html.Hidden("fileName") %>
<%=Html.HiddenFor(o => o.GETDETAILINFO)%>
<script src="../../Scripts/FJCCheckValueItemDetial.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
//查询
function Search() {
if (parseDate($("#CREATEDATESTART").val()) > parseDate($("#CREATEDATEEND").val())) {
alert("开始时间不能大于结束时间!");
return;
}
List(1)
}
//导出Excel
function Export() {
var ids = getSelectKey();
document.getElementById("selectKey").value = ids;
if (ids == "") {
MSI("错误", "至少选择一条记录");
}else{
submitByButton("ExportExcel");
}
}
$(function () {
$('#MATERIAL_CODE').combotree({
url: "/Dict/GetMaterialTree",
panelHeight: '250',
panelWidth: '500',
});
});
</script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
<table cellpadding="0" cellspacing="0">
<tr>
<td align="center">
<%=Html.QTButtonSearch("ProductCheck", "List", "Search()", QMAPP.Common.Web.SystemLimit.isLimt)%>
<%=Html.QTButton("export", "ExportExcel", QMFrameWork.WebUI.IconCls.redo, "Export()", QMAPP.Common.Web.SystemLimit.isLimt)%>
</td>
</tr>
</table>
</asp:Content>