<!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>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <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.combo_ciho.js" type="text/javascript"></script>
    <script src="../../Scripts/lib/jquery.combobox.js" type="text/javascript"></script>
    <script src="../../Scripts/lib/jquery.layoutpanel.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/page.js" type="text/javascript"></script>
    <script src="../../Scripts/ciho.js" type="text/javascript"></script>
    <script src="../../Scripts/msg.js" type="text/javascript"></script>
    <script src="../../Scripts/msgBox.js" type="text/javascript"></script>
    <script src="../../Scripts/02/p0203.js" type="text/javascript"></script>
    <script src="../../Scripts/02/p020301.js" type="text/javascript"></script>
    <script src="../../Scripts/02/p020302.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        var bLoadComplete = false;
        $(function () {
            //转换下拉框控件类型
            $("#cmbDateExtentP0203").combobox();
            $("#cmbClientP0203").combobox();
            $("#cmbDrugP0203").combobox();
            $("#cmbSalesmanP0203").combobox();
            addArrowClass(); //修改combobox箭头的样式
            inputAndBindData("dateStartTimeP0203", false, null, dateTimeChange_P0203);
            inputAndBindData("dateEndTimeP0203", false, null, dateTimeChange_P0203);

            //页面加载方法
            pageLoad_P02003();

            //改变窗口大小时，改变表格的高度和宽度。
            $(window).unbind("resize").bind("resize", function () {
                //隐藏浮动层
                $(".operate").hide();

                //调整表格的大小
                resizeGrid(strTableP0203, true, true);

                //有滚动条时改变表格宽度
                //resizeGridScroll(strTableP0203);
            });

            bLoadComplete = true;
        });

        //更新下拉框信息
        function refreshMyCombobox(strModels) {
            for (var i = 0; i < strModels.length; i++) {
                var data = getComboboxData(strModels[i] + "2");

                if (strModels[i] == "Tspxx") {
                    data.unshift({ dm: "", mc: "全部药品" });
                    reLoadCombobox("cmbDrugP0203", data);
                }
                if (strModels[i] == "Tkhxx") {
                    data.unshift({ dm: "", mc: "全部客户" });
                    reLoadCombobox("cmbClientP0203", data);
                }
                if (strModels[i] == "TZyxx") {
                    data.unshift({ dm: "", mc: "全部销售员" });
                    reLoadCombobox("cmbSalesmanP0203", data);
                }
            }
        }
    </script>
</head>
<body>
    <div class="title_bar">
        <div class="topi">
            <div class="column">
                <div id="added">
                    <ul class="topnav">
                        <li><a href="#" onclick="showDialog_P020301('3','1')">&nbsp;&nbsp;新&nbsp;&nbsp;&nbsp;增&nbsp;&nbsp;</a>
                            <span></span></li>
                    </ul>
                </div>
                <div class="clr">
                </div>
                <div class="dedt">
                    <ul>
                        <li>
                            <select id="cmbDateExtentP0203" class="easyui-combobox">
                            </select>
                        </li>
                        <li class="inp_70">
                            <input id="dateStartTimeP0203" type="text" style="text-align: center" onchange="dateTimeChange_P0203()" />
                            <font class="text_hx">&nbsp;&nbsp;</font>
                            <input id="dateEndTimeP0203" type="text" style="text-align: center" onchange="dateTimeChange_P0203()" />
                        </li>
                        <li>
                            <select id="cmbClientP0203" class="easyui-combobox">
                            </select>
                        </li>
                        <li>
                            <select id="cmbDrugP0203" class="easyui-combobox">
                            </select>
                        </li>
                        <li>
                            <select id="cmbSalesmanP0203" class="easyui-combobox">
                            </select>
                        </li>
                        <li class="enter"><a id="btnSearchDataP0203" href="#" onclick="searchDataClick_P0203()">
                            查询</a></li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="clr">
        </div>
    </div>
    <div class="mation">
        <div class="mation_div">
            <table id="Tp0203">
            </table>
        </div>
    </div>
    <div class="Page">
        <div id="divPageP0203">
        </div>
        <div class="clr">
        </div>
    </div>
    <!-- 收款管理 -->
    <div id="divP0203">
    </div>
    <!-- 收款单 -->
    <div id="divP020301">
    </div>
    <!-- 回款分配 -->
    <div id="divP020302">
    </div>
    <!-- 添加下拉框信息 -->
    <div id="divAddType">
    </div>
</body>
</html>
