<!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>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <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/06/p0603.js" type="text/javascript"></script>
    <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.autonum.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/common.js" type="text/javascript"></script>
    <script src="../../Scripts/06/p0603.js" type="text/javascript"></script>
    <script src="../../Scripts/06/p060201.js" type="text/javascript"></script>
    <script src="../../Scripts/msg.js" type="text/javascript"></script>
    <script src="../../Scripts/msgBox.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            try {
                //窗口改变大小事件
                window.onresize = function () {
                    $(".operate").hide();
                    resizeGrid(strTableNameP0603, false, false);
                    resizeGridScroll(strTableNameP0603);
                }

                //分类设置使用
                strClassType = "1";

                //列配置，数据
                var config = ParseData(window.external.DoOptions(strTableNameP0603, "GetTableConfig", "{}"));
                var arrData = ParseData(window.external.DoOptions(strTableNameP0603, 'GetList', '{}'));

                //创建表格
                createTreeGrid(strTableNameP0603, config.colNames, config.colModel, arrData.Records, "a3", selectRow_P0603, null, funcDbClick);

                //设置属性
                $("#" + strTableNameP0603).setColProp("zt", { formatter: Formatter });

                //加载数据
                loadTreeData(strTableNameP0603, arrData.Records);

                //设置高度
                resizeGrid(strTableNameP0603, false, false);
                resizeGridScroll(strTableNameP0603);

            }
            catch (e) {
                proceError("P0603", e.ToString());
            }
        });
    </script>
</head>
<body>
    <div class="title_bar">
        <div class="topi">
            <div class="column">
                <div id="added">
                    <ul class="topnav">
                        <li><a href="#" onclick="showDialog_P0603('1')">&nbsp;&nbsp;新&nbsp;&nbsp;&nbsp;增&nbsp;&nbsp;</a>
                            <ul class="addnav">
                                <li><a href="#" onclick="showDialog_P060201();">分类设置</a></li>
                                <!--    <li><a href="#" onclick="makeExportData('Tkhxx','客户基本信息')">导出</a></li>-->
                                <!-- <li><a href="#" onclick="alert('导入数据！');">导入</a></li>-->
                            </ul>
                        </li>
                    </ul>
                </div>
                <div class="dedt">
                </div>
                <div class="clr">
                </div>
            </div>
            <div>
            </div>
        </div>
        <div class="clr">
        </div>
    </div>
    <div class="mation">
        <div class="mation_div">
            <table id="Tkhxx">
            </table>
        </div>
        <div class="clr">
        </div>
    </div>
    <div id="divP0603">
    </div>
    <!--分类设置窗口层-->
    <div id="divP060301">
    </div>
    <!--分类设置子窗口层-->
    <div id="divP06030101">
    </div>
</body>
</html>
