<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InventoryAlarmForm.aspx.cs" Inherits="Medical.MBusiness.SysInventory.InventoryAlarmForm" %>

<%@ Register Src="../../Controls/Pager.ascx" TagName="Pager" TagPrefix="ucPager" %>
<%@ Register Src="../../Controls/Grid.ascx" TagName="Grid" TagPrefix="ucGrid" %>
<!DOCTYPE html>
<html>
<head>
    <title></title>
    <link href="../../css/style.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../../js/myLib/Pager.js" type="text/javascript"></script>
    <script src="../../js/myLib/Grid.js" type="text/javascript"></script>
</head>
<body>
    <div style="padding:20px" >
        <div class="pt-grid_frame">
            <ucGrid:Grid ID="grid" runat="server" />
        </div>
        <ucPager:Pager ID="gridPager" runat="server" />
        <div class="pt-line"></div>
        <div class="pt-padding" style="text-align:center">
            <input type="button" class="pt-button active" onclick="top.OpenClose('InventoryAlarm_Form')" value="关闭" />
        </div>
    </div>
    <script>
        (function() {
            var url = "InventoryAlarmForm.aspx",
                grid = new Grid({ id: "grid", url: url, pager: new Pager("gridPager")}),
                key = "<%=key %>";
            function init() {
                grid.getCondition = function() {
                    return { action: "query", key: key };
                }
                grid.search();
            }
            init();
        })();
    </script>
</body>
</html>
