<!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>
    <!--所需引进的css-->
    <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" />
    <!--所需引进的js-->
    <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/jsonConvert.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/03/p0313.js" type="text/javascript"></script>
    <script src="../../Scripts/01/p011102_cgd.js" type="text/javascript"></script>
    <script src="../../Scripts/01/p011202_fhd.js" type="text/javascript"></script>
    <script src="../../Scripts/01/p011302_thd.js" type="text/javascript"></script>
    <script src="../../Scripts/02/p021103_thd.js" type="text/javascript"></script>
    <script src="../../Scripts/02/p021103_xsd.js" type="text/javascript"></script>
    <script src="../../Scripts/03/p031201_bsd.js" type="text/javascript"></script>
    <script src="../../Scripts/03/p031201_byd.js" type="text/javascript"></script>
    <script src="../../Scripts/03/p031201_ykd.js" type="text/javascript"></script>
    <script src="../../Scripts/common.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        var bLoadComplete = false;
        $(function () {
            //转换下拉框控件类型
            $("#cmbWldwP0313").combobox();
            $("#cmbSpP0313").combobox();
            $("#cmbInToP0313").combobox();
            addArrowClass();
            //页面加载方法
            pageLoad_P0313();

            //改变窗口大小时，改变表格的高度和宽度。
            window.onresize = function () {
                //调整表格的大小
                resizeGrid(strTableP0313, true, false);
                //有滚动条时改变表格宽度
                resizeGridScroll(strTableP0313);
            }

            //给箱号格式化
            $("#cmbXhP0313").keyup(function (e) {
                if (checkNum(e) != true) {     //输入除了数字的字符，自动替换成逗号
                    var str = $(this).val();
                    if (/^,/.test(str)) { str = str.replace(/^,/g, ""); }
                    $(this).val(str.replace(/\D+/g, ','));
                }
            }).focus(function () { this.select(); });
            bLoadComplete = true;
        });
    </script>
</head>
<body>
    <div class="title_bar">
        <div class="topi">
            <div class="column">
                <div id="added">
                    <ul class="topnav">
                        <li><a href="#" onclick="viewDetail_P0313(); return false;">查看单据</a>
                            <ul class="addnav">
                                <li><a href="#" onclick="makeExportData('Tp0313','批号流向查询')">导出</a></li>
                            </ul>
                        </li>
                    </ul>
                </div>
                <div class="dedt">
                    <ul>
                        <li>
                            <select id="cmbSpP0313" class="easyui-combobox">
                            </select>
                        </li>
                        <li>
                            <input id="cmbPhP0313" type="text" style="width: 120px; text-align: left" value='输入批号'
                                onclick="clearPhText()" />
                        </li>
                        <li>
                            <input id="cmbXhP0313" type="text" style="width: 120px; text-align: left" value='输入箱号'
                                onclick="clearXhText()" />
                        </li>
                        <li>
                            <select id="cmbWldwP0313" class="easyui-combobox">
                            </select>
                        </li>
                        <li>
                            <select id="cmbInToP0313" class="easyui-combobox">
                            </select>
                        </li>
                        <li class="enter"><a id="btnSearchDataP0313" href="#" onclick="searchDataClick_P0313(false)">
                            查询</a></li>
                    </ul>
                </div>
                <div class="clr">
                </div>
            </div>
            <div>
            </div>
        </div>
        <div class="clr">
        </div>
    </div>
    <div class="mation">
        <div id="divTp0313" class="mation_div">
            <table id="Tp0313">
            </table>
        </div>
    </div>
    <!--采购弹出层-->
    <div id="divP0313_cgd">
    </div>
    <!--采购退货弹出层-->
    <div id="divP0313_cgthd">
    </div>
    <!--采购返货弹出层-->
    <div id="divP0313_cgfhd">
    </div>
    <!--销售弹出层-->
    <div id="divP0313_xsd">
    </div>
    <!--销售退货弹出层-->
    <div id="divP0313_xsthd">
    </div>
    <!--移库弹出层-->
    <div id="divP0313_ykd">
    </div>
    <!--报损弹出层-->
    <div id="divP0313_bsd">
    </div>
    <!--报溢弹出层-->
    <div id="divP0313_byd">
    </div>
</body>
</html>
