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

130 lines
4.8 KiB

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
Inherits="System.Web.Mvc.ViewPage<QMAPP.FJC.Web.Models.FeedInManage.DuctModel>" %>
<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.STATUS)%>
</th>
<td>
<%=Html.QC(p => p.STATUS)%>
</td>
<th align="right">
<%=Html.QV(p => p.USINGSTATE)%>
</th>
<td>
<%=Html.QC(p => p.USINGSTATE)%>
</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.MACHINECODDE)%>
</th>
<td>
<%=Html.QC(p => p.MACHINECODDE)%>
</td>
<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.DuctModel>(Model)%>
<%=Html.QPEnd() %>
<%=Html.Hidden("selectKey")%>
<%=Html.Hidden("fileName") %>
<%=Html.HiddenFor(o => o.GETDETAILINFO)%>
<%=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.PRODUCTID)%>
</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 language="javascript" type="text/javascript" src="../../Scripts/FjcProductCommon.js"></script>
<script language="javascript" type="text/javascript">
$(function () {
List(1);
});
//导出
function Export() {
var ids = getSelectKey();
document.getElementById("selectKey").value = ids;
//_showProgress();
$.get("/Duct/ExportExcel", $("form").serializeArray(), function (data) {
//_closeProgress();
submitByButton("/Duct/ExportFile?FileName=" + data);
});
}
//查询
function Search() {
if (parseDate($("#STARTCREATEDATE").val()) > parseDate($("#ENDCREATEDATE").val())) {
alert("开始时间不能大于结束时间!");
return;
}
List(1)
}
</script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
<table cellpadding="0" cellspacing="0">
<tr>
<td align="center">
<%=Html.QTButtonSearch("Duct", "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>