| | |
| | | <input class="layui-input" type="text" name="number" placeholder="销售单号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="user_code" placeholder="商品编号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <select name="status"> |
| | | <option value="" style="display: none">选择状态</option> |
| | | <option value="1">待处理</option> |
| | | <option value="2">已完成</option> |
| | | <option value="3">取消</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <!-- 待添加 --> |
| | | <div id="data-search-btn" class="layui-btn-container layui-form-item"> |
| | | <button id="search" class="layui-btn layui-btn-primary layui-btn-radius" lay-submit lay-filter="search">搜索</button> |
| | |
| | | </div> |
| | | <script type="text/html" id="toolbar"> |
| | | <div class="layui-btn-container"> |
| | | <button class="layui-btn" onclick="right()" style="background-color: #2F4056">自定义销售单</button> |
| | | <!-- <button class="layui-btn layui-btn-sm" id="btn-add" lay-event="addData">新增</button>--> |
| | | <button class="layui-btn layui-btn-sm" id="btn-delete" lay-event="deleteData">删除</button> |
| | | <button class="layui-btn layui-btn-primary layui-btn-sm" id="btn-export" lay-event="exportData">导出</button> |
| | |
| | | |
| | | <script type="text/html" id="operate"> |
| | | {{#if (d.status == 1){ }} |
| | | <a class="layui-btn layui-btn-sm layui-btn-danger" lay-event="stockOut" style="font-size: 16px">捡货</a> |
| | | <a class="layui-btn layui-btn-sm layui-btn-danger" lay-event="stockOut" style="font-size: 16px">拣货</a> |
| | | {{# } }} |
| | | {{#if (d.status == 2){ }} |
| | | <a class="layui-btn layui-btn-sm layui-btn-normal" lay-event="print" style="font-size: 16px">打印</a> |
| | | {{# } }} |
| | | </script> |
| | | |
| | | <script type="text/html" id="statusTpl"> |
| | | <span name="status" |
| | | {{# if( d.status === 1){ }} |
| | | class="layui-badge layui-badge-blue" |
| | | {{# } else if(d.status === 2){ }} |
| | | class="layui-badge layui-badge-green" |
| | | {{# } else if(d.status === 3){ }} |
| | | class="layui-badge layui-badge-red" |
| | | {{# } }} |
| | | >{{d.status$}}</span> |
| | | </script> |
| | | |
| | | <script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script> |
| | |
| | | |
| | | <script type="text/template" id="pakoutPrintTpl"> |
| | | <!-- 头 --> |
| | | <div id="print-header" style="margin-bottom: 20px"> |
| | | <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> |
| | | <span style="font-family: 宋体"> 拣货单 </span> |
| | | </div> |
| | | |
| | | <img class="template-code template-qrcode" src="{{data.barcodeUrl}}" style="width: 80%"> |
| | |
| | | </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> |
| | | <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> |
| | | <span style="font-size: xx-small;font-family: 宋体">拣货人:{{data.workerName}}</span> |
| | | </div> |
| | | <div style="clear:both;"></div> |
| | | </div> |