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

81 lines
2.7 KiB

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
Inherits="System.Web.Mvc.ViewPage<QMAPP.FJC.Web.Models.Equipment.EquipMentRecordModel>" %>
<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.REPAIECODE)%>
</th>
<td align="left" >
<%=Html.QC(p => p.REPAIECODE)%>
</td>
<th align="right">
<%=Html.QV(p => p.REPAIETYPE)%>
</th>
<td align="left" >
<%=Html.QC(p => p.REPAIETYPE)%>
</td>
<th align="right">
<%=Html.QV(p => p.FAULTCODE)%>
</th>
<td align="left" >
<%=Html.QC(p => p.FAULTCODE)%>
</td>
<th align="right">
<%=Html.QV(p => p.REPAIESTARTTXT)%>
</th>
<td align="left" >
<%=Html.QC(p => p.REPAIESTARTTXT)%>
</td>
<th align="right">
<%=Html.QV(p => p.REPAIEENDTXT)%>
</th>
<td align="left" >
<%=Html.QC(p => p.REPAIEENDTXT)%>
</td>
</tr>
</table>
<div style="left: 1px; position: relative;"></div>
<%=Html.QPEnd()%>
<%=Html.QPList() %>
<%=Html.QDateGrid<QMAPP.FJC.Web.Models.Equipment.EquipMentRecordModel>(Model)%>
<%=Html.QPEnd() %>
<%=Html.Hidden("selectKey")%>
<script language="javascript" type="text/javascript">
//导出
function Export() {
document.getElementById("selectKey").value = getSelectKey();
submitByButton("ExportExcel");
}
//查询
function Serch() {
if (parseDate($("#REPAIESTARTTXT").val()) > parseDate($("#REPAIEENDTXT").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("EquipMentRecord", "List", "Serch()")%>
<%=Html.QTButton("export", "ExportExcel", QMFrameWork.WebUI.IconCls.redo, "Export()", (s, f) => { return true; })%>
</td>
</tr>
</table>
</asp:Content>