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
3.0 KiB
93 lines
3.0 KiB
4 years ago
|
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
|
||
|
Inherits="System.Web.Mvc.ViewPage<QMAPP.FJC.Web.Models.Equipment.UsageLogModel>" %>
|
||
|
|
||
|
<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.MOULD_PID)%>
|
||
|
</th>
|
||
|
<td>
|
||
|
<%=Html.QC(p => p.MOULD_PID)%>
|
||
|
</td>
|
||
|
<th align="right">
|
||
|
<%=Html.QV(p => p.START_OPERATION_DATE)%>
|
||
|
</th>
|
||
|
<td>
|
||
|
<%=Html.QC(p => p.START_OPERATION_DATE)%>
|
||
|
</td>
|
||
|
<th align="right">
|
||
|
<%=Html.QV(p => p.END_OPERATION_DATE)%>
|
||
|
</th>
|
||
|
<td>
|
||
|
<%=Html.QC(p => p.END_OPERATION_DATE)%>
|
||
|
</td>
|
||
|
<th align="right">
|
||
|
<%=Html.QV(p => p.FLAG_TIME)%>
|
||
|
</th>
|
||
|
<td>
|
||
|
<%=Html.QC(p => p.FLAG_TIME)%>
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
</table>
|
||
|
<%=Html.QPEnd()%>
|
||
|
<%=Html.QPList() %>
|
||
|
<%=Html.QDateGrid<QMAPP.FJC.Web.Models.Equipment.UsageLogModel>(Model)%>
|
||
|
<%=Html.QPEnd() %>
|
||
|
<%=Html.Hidden("PID")%>
|
||
|
<%=Html.Hidden("selectKey")%>
|
||
|
<%=Html.Hidden("fileName") %>
|
||
|
|
||
|
<script language="javascript" type="text/javascript">
|
||
|
//统计
|
||
|
function Count() {
|
||
|
//debugger;
|
||
|
var ids = getSelectKey();
|
||
|
if (ids == "") {
|
||
|
MSI("提示", "请选择模具。");
|
||
|
return;
|
||
|
}
|
||
|
if (ids.indexOf(":") > 0) {
|
||
|
MSI("提示", "每次只能选择一条记录。");
|
||
|
return;
|
||
|
}
|
||
|
document.getElementById("selectKey").value = ids;
|
||
|
var stime = $('#START_OPERATION_DATE').val();
|
||
|
var etime = $('#END_OPERATION_DATE').val();
|
||
|
var ftime = $('#FLAG_TIME').combobox('getValue');
|
||
|
if (stime == "" || etime == "") {
|
||
|
MSI("提示", "请选择查询日期。");
|
||
|
return;
|
||
|
}
|
||
|
if (ftime == "") {
|
||
|
MSI("提示", "请选择统计标识。");
|
||
|
return;
|
||
|
}
|
||
|
openAppWindow1('统计', 'Count?PID=' + ids + '&STARTDATE=' + stime + '&ENDDATE=' + etime + '&FLAG_TIME=' + ftime, '950', '500');
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
|
||
|
</asp:Content>
|
||
|
|
||
|
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
|
||
|
|
||
|
<table cellpadding="0" cellspacing="0">
|
||
|
<tr>
|
||
|
<td align="center">
|
||
|
<%=Html.QTButtonSearch("EmMeterReadings", "List", "List(1)", QMAPP.Common.Web.SystemLimit.isLimt)%>
|
||
|
<%=Html.QTButton("Count", "Count", QMFrameWork.WebUI.IconCls.detail, "Count()", QMAPP.Common.Web.SystemLimit.isLimt)%>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
</asp:Content>
|