#
luxiaotao1123
2021-03-05 2ef7a952a57fe2aa679ec56b429f4e46923535b5
#
2个文件已修改
14 ■■■■ 已修改文件
src/main/webapp/static/js/custOrder/custOrder.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/custOrder/custOrder.html 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/custOrder/custOrder.js
@@ -220,6 +220,7 @@
                            } else {
                                layer.msg(res.msg)
                            }
                            $(".layui-laypage-btn")[0].click();
                        }
                    })
                });
@@ -270,8 +271,6 @@
                    var tpl = $('#pakoutPrintTpl').html();
                    var template = Handlebars.compile(tpl);
                    var html = template(res);
                    console.log(html)
                    console.log(res)
                    var box = $("#pakoutPrintBox");
                    box.html(html);box.show();
                    box.print({
src/main/webapp/views/custOrder/custOrder.html
@@ -63,7 +63,7 @@
<script type="text/template" id="pakoutPrintTpl">
    <!-- 头 -->
    <div id="print-header">
    <div id="print-header" style="margin-bottom: 20px">
        <div style="text-align: center">
            <div style="text-align: center;margin-bottom: 10px">
                <span style="font-family: 宋体"> 捡货单 </span>
@@ -81,21 +81,22 @@
            </div>
            <div style="float: left; width: 50%; text-align: right">
                <span style="font-size: xx-small;font-family: 宋体">捡货人:{{data.workerName}}</span>
            </div>
            <div style="clear:both;"></div>
        </div>
    </div>
    <!-- 主体 -->
    <div style="margin-top: 100px">
    <div style="margin-top: 10px">
        {{#each data.list}}
        <div class="pakout-item" style="padding: 10px 5px 20px 5px;">
        <div class="pakout-item" style="padding: 10px 5px 10px 5px;border-top: 1px solid #525252">
            <div class="item-header" style="margin-top: 10px;font-family: 宋体; font-size: x-small">
                {{maktx}}
            </div>
            <div class="item-content" style="margin-top: 20px">
            <div class="item-content" style="margin: 10px 0 ">
                <div style="float: left;font-family: 宋体; font-size: xx-small">{{anfme}}{{unit}}</div>
                <div style="float: right;font-family: 宋体; font-size: xx-small">货位:{{locNo}}</div>
                <div style="clear: both;"></div>
            </div>
        </div>
        {{/each}}