goods_erplist.html 6.84 KB
<include file="public/layout"/>
<style type="text/css">
    /*.flexigrid .bDiv td{display: inline-block;*display: inline;*zoom: 1;}*/
    .layermbox {
        text-align: center;
    }

    .layer_box {
        font-size: 0;
        background-color: #FFFFFF;
        text-align: center;
        position: absolute;
        left: 45%;
        border: 1px solid #D7D7D7;
        padding: 10px;
        z-index: 9999;
    }

    .contentTxt {
        width: 300px;
        height: 20px;
        line-height: 20px;
        resize: none;
        border: 1px solid #D7D7D7;
        background-color: #999;
    }

    .contentTxt:hover {
        border-color: #C4182E;
    }

    .layer_box input {
        vertical-align: middle;
    }

    .copySuccess {
        font-size: 14px;
        width: 150px;
        padding: 10px;
        background-color: #FFFFFF;
        border: 1px solid #D7D7D7;
        margin: auto;
    }

    .js-copy {
        font-size: 14px;
        vertical-align: middle;
        display: inline-block;
        *display: inline;
        *zoom: 1;
        cursor: pointer;
        border: 1px solid #D7D7D7;
        border-left: 0;
        height: 22px;
        padding: 0 5px;
    }

    .js-copy:hover {
        background-color: #EEEEEE;
    }
</style>
<body style="background-color: rgb(255, 255, 255); overflow: auto; cursor: default; -moz-user-select: inherit;">
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">


    <div class="fixed-bar">
        <div class="item-title">
            <a class="back" href="javascript:window.history.back()" title="返回列表">
                <i class="fa fa-arrow-circle-o-left"></i>
            </a>
            <div class="subject">
                <h3>商品预出库记录</h3>
                <h5>(共{$pager->totalRows}条记录)</h5>
            </div>

        </div>

    </div>
    <!-- 操作说明 -->
    <div id="explanation" class="explanation"
         style="color: rgb(44, 188, 163); background-color: rgb(237, 251, 248); width: 99%; height: 100%;">
        <div id="checkZoom" class="title"><i class="fa fa-lightbulb-o"></i>
            <h4 title="提示相关设置操作时应注意的要点">操作提示</h4>
            <span title="收起提示" id="explanationZoom" style="display: block;"></span>
        </div>
        <ul>
            <li></li>


        </ul>
    </div>
    <div class="flexigrid">
        <div class="mDiv">

            <form id="search-form2" class="navbar-form form-inline" method="get"
                  action="{:U('/Admin/Goods/goods_erplist')}">
                <div class="sDiv">
                    <b><font color=red>占有总数量:{$sumout_qty|default=0}</font></b>&nbsp;&nbsp;&nbsp;&nbsp;
<input type="text" size="2" maxlength="3" name="pagenum" id="pagenum" class="qsbox"
                            value="{$pagenum}">条/页
                    <div class="sDiv2">
                        <input class="qsbox" placeholder="请输入门店编号或门店名称" name="keyword" id="keyword" value="{$keyword}" type="text">
                        <input class="btn" value="搜索" type="submit">  &nbsp;&nbsp;&nbsp;
                        <input type="hidden" name="goods_id" value="{$goods_id}">
                    </div>

                </div>
            </form>
        </div>
        <div class="hDiv">
            <div class="hDivBox">
                <table cellspacing="0" cellpadding="0">
                    <thead>
                    <tr>

                        <th align="left" abbr="article_title" axis="col3" class="w200">
                            <div style="text-align: left;" class="">订单编号</div>
                        </th>
                        <th align="left" abbr="ac_id" axis="col4" class="w200">
                            <div style="text-align: left;" class="">门店编号</div>
                        </th>
                        <th align="left" abbr="ac_id" axis="col4" class="w200">
                            <div style="text-align: left;" class="">门店名称</div>
                        </th>
                        <th align="center" abbr="article_time" axis="col6" class="w100">
                            <div style="text-align: center; " class="">占用数量</div>
                        </th>
                        <th align="center" abbr="article_time" axis="col6" class="w140">
                            <div style="text-align: center; " class="">最后更新时间</div>
                        </th>
                    </tr>
                    </thead>
                </table>
            </div>
        </div>

        <div class="bDiv" style="height: auto;">
            <div id="flexigrid" cellpadding="0" cellspacing="0" border="0">
                <table>
                    <tbody>
                    <empty name="list">
                        <tr>
                            <td colspan="6" class="norecord">
                                <div class="warning-option"><i class="icon-warning-sign"></i><span>暂无符合条件的数据记录</span></div>
                            </td>
                        </tr>
                        <else/>
                    <volist name="list" id="list">
                        <tr>

                            <td align="left" class="w200">
                                <div style="text-align: left; ">{$list.order_sn}</div>
                            </td>
                            <td align="left" class="w200">
                                <div style="text-align: left; ">{$list.pickup_no}</div>
                            </td>
                            <td align="left" class="w200">
                                <div style="text-align: left; ">{$list.pickup_name}</div>
                            </td>
                            <td align="center" class="w100">
                                <div style="text-align: center; ">{$list.out_qty}</div>
                            </td>
                            <td align="center" class="w140">
                                <div style="text-align: center; ">{$list.updatetime|date='Y-m-d H:i:s',###}</div>
                            </td>
                        </tr>
                    </volist>
                    </empty>
                    </tbody>
                </table>
                <!--分页位置-->
                {$pager->show()}

            </div>
        </div>
    </div>
</div>
<script>



    $(document).ready(function () {
        // 表格行点击选中切换
        $('#flexigrid > table>tbody >tr').click(function () {
            $(this).toggleClass('trSelected');
        });

        // 点击刷新数据
        $('.fa-refresh').click(function () {
            layer.msg('加载中...', {icon: 16, shade: [0.5, '#f5f5f5'], scrollbar: false, offset: '10px', time: 100000});
            location.href = location.href;
        });

    });

</script>
</body>
</html>