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

125 lines
4.1 KiB

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
Inherits="System.Web.Mvc.ViewPage<QMAPP.FJC.Web.Models.Andon.CallLogModel>" %>
<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.CALL_TYPE) %>
</th>
<td>
<%=Html.QC(p => p.CALL_TYPE)%>
</td>
<th align="right">
<%=Html.QV(p=>p.CALL_STATE) %>
</th>
<td>
<%=Html.QC(p => p.CALL_STATE)%>
</td>
<th align="right">
<%=Html.QV(p=>p.WORKCENTER_CODE) %>
</th>
<td>
<%=Html.QC(p => p.WORKCENTER_CODE)%>
</td>
<th align="right">
<%=Html.QV(p=>p.WORKLOC_CODE) %>
</th>
<td>
<%=Html.QC(p => p.WORKLOC_CODE)%>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p=>p.STARTDATE) %>
</th>
<td>
<%=Html.QC(p => p.STARTDATE)%>
</td>
<th align="right">
<%=Html.QV(p=>p.ENDDATE) %>
</th>
<td>
<%=Html.QC(p => p.ENDDATE)%>
</td>
</tr>
</table>
<div style="left: 1px; position: relative;"></div>
<%=Html.QPEnd()%>
<%=Html.QPList() %>
<%=Html.QDateGrid<QMAPP.FJC.Web.Models.Andon.CallLogModel>(Model)%>
<%=Html.QPEnd() %>
<%=Html.Hidden("selectKey")%>
<script language="javascript" type="text/javascript">
$(function () {
//工作中心
$('#WORKCENTER_CODE').combobox({
onSelect: function () {
var workCenterCode = $('#WORKCENTER_CODE').combobox('getValue');
if (workCenterCode != "") {
//获取工位
$('#WORKLOC_CODE').combobox({
url: "/Dict/GetWorkLocComboxSource?workCenterCode=" + workCenterCode,
editable: 'false',
valueField: 'WORKLOC_CODE',
textField: 'WORKLOC_NAME'
});
$('#WORKLOC_CODE').combobox("setValue", "");
}
else {
//清空工序下拉框
var plantData = [{ 'WORKLOC_CODE': "", 'WORKLOC_NAME': ""}];
$('#WORKLOC_CODE').combobox("loadData", plantData);
$('#WORKLOC_CODE').combobox("select", "");
}
}
});
});
//查询
function Search() {
// var typeId = $('#CALL_TYPE').combobox('getValue');
// alert(typeId);
List(1);
}
function Export() {
submitByButton("ExportExcel");
}
$(function () {
//呼叫类型
$('#CALL_TYPE').combobox({
onSelect: function () {
List(1);
}
});
//呼叫类型
$('#CALL_STATE').combobox({
onSelect: 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("AndonCallLog", "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>