<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>进项发票管理</title>
    <link href="../../Content/Default/jquery-ui-1.8.10.custom.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/Default/ui.jqgrid.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/Default/combo.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/Default/combobox.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/style.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/lib/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="../../Scripts/lib/jquery-ui-1.8.10.custom.min.js" type="text/javascript"></script>
    <script src="../../Scripts/lib/grid.locale-cn.js" type="text/javascript"></script>
    <script src="../../Scripts/lib/jquery.jqGrid.min.js" type="text/javascript"></script>
    <script src="../../Scripts/lib/jquery.layoutpanel.js" type="text/javascript"></script>
    <script src="../../Scripts/lib/jquery.combo_ciho.js" type="text/javascript"></script>
    <script src="../../Scripts/lib/jquery.combobox.js" type="text/javascript"></script>
    <script src="../../Scripts/lib/jquery.autonum.min.js" type="text/javascript"></script>
    <script src="../../Scripts/common.js" type="text/javascript"></script>
    <script src="../../Scripts/msgBox.js" type="text/javascript"></script>
    <script src="../../Scripts/msg.js" type="text/javascript"></script>
    <script src="../../Scripts/page.js" type="text/javascript"></script>
    <script src="../../Scripts/ciho.js" type="text/javascript"></script>
    <script src="../../Scripts/04/p0401.js" type="text/javascript"></script>
    <script src="../../Scripts/04/p040101.js" type="text/javascript"></script>
    <script src="../../Scripts/04/p040102.js" type="text/javascript"></script>
    <script src="../../Scripts/04/p040103.js" type="text/javascript"></script>
    <script type="text/javascript">
        var strTableP0401 = "Tp0401";
        var strTableP040101 = "Tp040101";
        var strTableP040102 = "Tp040102";
        var strTableP040103 = "Tp040103";
        var strPageP0401 = "divPageP0401";
        var strDivP040101 = "divP040101";
        var strDivP040102 = "divP040102";
        var strDivP040103 = "divP040103";

        window.onresize = function () {
            $(".operate").hide();
            resizeGrid(strTableP0401, true, true);
            resizeGridScroll(strTableP0401);
        }

        $(function () {
            //页面加载方法
            pageLoad_P0401();

            var s = ParseData(window.external.DoOptions(strTableP0401, "GetComboBoxData", "{}"));
            if (s && s.ReturnCode == 0 && s.Records instanceof Array) {
                s.Records.unshift({ "dm": "", "mc": "全部发票" });
                $("#fpbh").combobox("loadData", s.Records);
            }
            $("#fpbh").combobox("setValue", "");
        });

    </script>
</head>
<body>
    <div class="title_bar">
        <div class="topi">
            <div class="column">
                <div id="added">
                    <ul class="topnav">
                        <li><a href="#" onclick="openWh();return false;">&nbsp;&nbsp;签&nbsp;&nbsp;&nbsp;收&nbsp;&nbsp;</a>
                            <ul class="addnav">
                                <li><a href="#" onclick="openDk();return false;">抵扣</a></li>
                            </ul>
                        </li>
                    </ul>
                </div>
                <div class="dedt">
                    <ul>
                        <li>
                            <select id="sjtype" class="easyui-combobox">
                            </select>
                        </li>
                        <li class="inp_70">
                            <input id="sdate" type="text" style="text-align: center" onchange="dateChange()" />
                            <font class="text_hx">&nbsp;&nbsp;</font>
                            <input id="edate" type="text" style="text-align: center" onchange="dateChange()" />
                        </li>
                        <li>
                            <select id="gysdmP0401" class="easyui-combobox">
                            </select>
                        </li>
                        <li>
                            <select id="fpbh" class="easyui-combobox">
                            </select>
                        </li>
                        <li>
                            <select id="fptypebh" class="easyui-combobox">
                            </select>
                        </li>
                        <li class="enter"><a href="#" id="btnSearch" onclick="searchDataClick_P0401(1);return false;">
                            查询</a></li>
                    </ul>
                </div>
                <div class="clr">
                </div>
            </div>
            <div>
            </div>
        </div>
        <div class="clr">
        </div>
    </div>
    <div class="mation">
        <div class="mation_div">
            <table id="Tp0401">
            </table>
        </div>
        <!-- 分页使用层 -->
        <div id="divPageP0401" class="Page">
        </div>
    </div>
    <!-- 弹出窗口使用层 -->
    <div id="divP040101">
    </div>
    <div id="divP040102">
    </div>
    <div id="divP040103">
    </div>
    <div id="divAddType">
    </div>
</body>
</html>
