| | |
| | | <!DOCTYPE html> |
| | | <html lang="en"> |
| | | |
| | | <head> |
| | | <meta charset="utf-8"> |
| | | <title></title> |
| | |
| | | <style> |
| | | </style> |
| | | </head> |
| | | |
| | | <body> |
| | | <div class="layui-inline" style="width:31%;margin-top: 20px"> |
| | | <label class="layui-form-label">库 位 号:</label> |
| | | <div class="layui-input-inline"> |
| | | <input id="locNo" class="layui-input" type="text" disabled="disabled"> |
| | | <div class="layui-inline" style="width:31%;margin-top: 20px"> |
| | | <label class="layui-form-label">库 位 号:</label> |
| | | <div class="layui-input-inline"> |
| | | <input id="locNo" class="layui-input" type="text" disabled="disabled"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <table class="layui-hide" id="locCacheDetls" lay-filter="locCacheDetls"></table> |
| | | <table class="layui-hide" id="locCacheDetls" lay-filter="locCacheDetls"></table> |
| | | </body> |
| | | <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> |
| | |
| | | |
| | | function getCol() { |
| | | var cols = [ |
| | | {field: 'locNo', align: 'center', title: '库位号'} |
| | | { field: 'locNo', align: 'center', title: '库位号' } |
| | | ]; |
| | | cols.push.apply(cols, cacheCols); |
| | | return cols; |
| | |
| | | // 数据渲染 |
| | | tableIns1 = table.render({ |
| | | elem: '#locCacheDetls', |
| | | headers: {token: localStorage.getItem('token')}, |
| | | url: baseUrl + '/locDetl/list/auth', |
| | | where: {loc_no: parent.locNo}, |
| | | headers: { token: localStorage.getItem('token') }, |
| | | url: baseUrl + '/locCacheDetl/list/auth', |
| | | where: { loc_no: parent.locNo }, |
| | | page: true, |
| | | limit: 16, |
| | | limits: [16, 30, 50, 100, 200, 500], |
| | |
| | | }); |
| | | }); |
| | | </script> |
| | | </html> |
| | | |
| | | </html> |