| | |
| | | } |
| | | |
| | | /* 左表 */ |
| | | #docTypeTable + .layui-table-view .layui-table-tool-temp { |
| | | #leftTable + .layui-table-view .layui-table-tool-temp { |
| | | padding-right: 0; |
| | | } |
| | | |
| | | #docTypeTable + .layui-table-view .layui-table-body tbody > tr td { |
| | | #leftTable + .layui-table-view .layui-table-body tbody > tr td { |
| | | cursor: pointer; |
| | | } |
| | | |
| | | #docTypeTable + .layui-table-view .layui-table-body tbody > tr.layui-table-click { |
| | | #leftTable + .layui-table-view .layui-table-body tbody > tr.layui-table-click { |
| | | background-color: #fff3e0; |
| | | } |
| | | |
| | | #docTypeTable + .layui-table-view .layui-table-body tbody > tr.layui-table-click td:last-child > div:before { |
| | | #leftTable + .layui-table-view .layui-table-body tbody > tr.layui-table-click td:last-child > div:before { |
| | | position: absolute; |
| | | right: 6px; |
| | | content: "\e602"; |
| | |
| | | <div class="layui-card"> |
| | | <div class="layui-card-body" style="padding: 10px;"> |
| | | <!-- 表格工具栏1 --> |
| | | <form class="layui-form toolbar"> |
| | | <div class="layui-form toolbar"> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-inline" style="max-width: 140px;"> |
| | | <input name="docName" class="layui-input" placeholder="请输入任务号"/> |
| | | <input name="docName" id="docName" class="layui-input" placeholder="请输入任务号"/> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <button class="layui-btn icon-btn" lay-filter="leftResearch" lay-submit> |
| | | <i class="layui-icon"></i>搜索 |
| | | </button> |
| | | <button class="layui-btn icon-btn" lay-filter="leftReset" lay-submit> |
| | | <i class="layui-icon"></i>重置 |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </form> |
| | | </div> |
| | | <!-- 数据表格1 --> |
| | | <table id="leftTable" lay-filter="leftTable"></table> |
| | | </div> |
| | |
| | | <div class="layui-card"> |
| | | <div class="layui-card-body" style="padding: 10px;"> |
| | | <!-- 表格工具栏2 --> |
| | | <form class="layui-form toolbar"> |
| | | <div class="layui-form toolbar"> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">订单编号:</label> |
| | | <label class="layui-form-label">商品编码:</label> |
| | | <div class="layui-input-inline"> |
| | | <input name="id" class="layui-input"type="text" name="id" placeholder="编号" autocomplete="off"/> |
| | | <input name="matnr" id="matnr" class="layui-input"type="text" placeholder="编码" autocomplete="off"/> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline">  |
| | | <button class="layui-btn icon-btn" lay-filter="search" lay-submit> |
| | | <button class="layui-btn icon-btn" lay-filter="rightSearch" lay-submit> |
| | | <i class="layui-icon"></i>搜索 |
| | | </button> |
| | | <button class="layui-btn icon-btn" lay-filter="reset" lay-submit> |
| | |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </form> |
| | | </div> |
| | | <!-- 数据表格2 --> |
| | | <table id="pickout" lay-filter="pickout"></table> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- 打印容器 --> |
| | | <div id="pakoutPrintBox" style="display: none"></div> |
| | | <!--<!– 搜索栏 –>--> |
| | | <!--<div id="search-box" class="layui-form layui-card-header">--> |
| | | <!-- <div class="layui-inline">--> |
| | |
| | | </script> |
| | | |
| | | <script type="text/html" id="operate"> |
| | | |
| | | {{#if (d.wrkSts == 1||d.wrkSts == 2){ }} |
| | | <a class="layui-btn layui-btn-xs btn-complete" lay-event="complete">完成</a> |
| | | <a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="printOrder">打印拣货单</a> |
| | | {{# } }} |
| | | |
| | | |
| | | |
| | | <!-- <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">详情</a>--> |
| | | {{#if (d.wrkSts == 1||d.wrkSts == 2){ }} |
| | | {{#if (d.wrkSts == 1){ }} |
| | | <a class="layui-btn layui-btn-danger layui-btn-xs btn-edit" lay-event="del">撤销</a> |
| | | {{# } }} |
| | | {{#if (d.wrkSts == 2){ }} |
| | | <a class="layui-btn layui-btn-xs btn-complete" lay-event="complete">完成</a> |
| | | {{# } }} |
| | | <!-- <a class="layui-btn layui-btn-primary layui-btn-xs btn-edit" lay-event="edit">修改</a>--> |
| | | |
| | |
| | | <script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script> |
| | | <script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/jquery/jQuery.print.js"></script> |
| | | <script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/handlebars/handlebars-v4.5.3.js"></script> |
| | | <script type="text/javascript" src="../../static/js/pickout/pickout.js" charset="utf-8"></script> |
| | | </body> |
| | | <!-- 表单弹窗 --> |
| | |
| | | </div> |
| | | </form> |
| | | </script> |
| | | |
| | | |
| | | <script type="text/template" id="pakoutPrintTpl"> |
| | | <!-- 头 --> |
| | | <div id="print-header" style="margin: 20px 0"> |
| | | <div style="text-align: center"> |
| | | <div style="text-align: center;margin-bottom: 10px"> |
| | | <span style="font-family: 宋体"> 拣货单 </span> |
| | | </div> |
| | | |
| | | <img class="template-code template-qrcode" src="{{data.barcodeUrl}}" style="width: 80%"> |
| | | <p style="letter-spacing: 2px;margin-top: 5px">{{data.pickout.wrkNo}}</p> |
| | | </div> |
| | | <div style="font-size: xx-small; text-align: left; margin-top: 10px"> |
| | | <span style="font-family: 宋体">客户:{{data.custName}}</span> |
| | | </div> |
| | | <div style="margin-top: 10px"> |
| | | <div style="float: left;width: 50%; text-align: left"> |
| | | <span style="font-size: xx-small;font-family: 宋体">拣货数量:{{data.total}}</span> |
| | | </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: 10px"> |
| | | {{#each data.pickoutDetls}} |
| | | <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: 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">货位:{{nodeName}}</div> |
| | | <div style="clear: both;"></div> |
| | | </div> |
| | | </div> |
| | | {{/each}} |
| | | </div> |
| | | </script> |
| | | </html> |
| | | |