| | |
| | | <!-- 头部 --> |
| | | <header> |
| | | <div class="layui-input-inline"> |
| | | <label class="layui-form-label">条码</label> |
| | | <label class="layui-form-label">托盘码</label> |
| | | <input class="layui-input" type="number" id="code" onkeyup="findCode(this)" oninput="if(value.length>8)value=value.slice(0,8)" placeholder="扫码 / 输入" autocomplete="off"> |
| | | </div> |
| | | <div style="margin: 5px 5px" class="layui-form"> |
| | |
| | | <table class="layui-table" id="chooseData" lay-filter="chooseData"></table> |
| | | </main> |
| | | <!-- 尾部 --> |
| | | <footer> |
| | | <footer style="margin-top: -5px"> |
| | | <div class="layui-btn-container" style="text-align: center; margin-bottom: 8px"> |
| | | <button type="button" id="retrun-btn" class="layui-btn layui-btn-primary " onclick="back()" >返回</button> |
| | | </div> |
| | | <div class="layui-btn-container"> |
| | | <button type="button" class="layui-btn layui-btn-primary" onclick="reset()">重置</button> |
| | | <button id="empty-pakin" type="button" class="layui-btn layui-btn-normal" onclick="emptyPakIn()" style="margin-left: 15px">空板入库</button> |
| | |
| | | limit: 500, |
| | | cellMinWidth: 50, |
| | | cols: [[ |
| | | {fixed: 'left', align: 'center', field: 'count', title: '数量', style:'color: blue', width:50}, |
| | | {field: 'matNo', align: 'center', title: '物料编码'}, |
| | | {field: 'mnemonic', align: 'center', title: '生产单号'}, |
| | | {field: 'count', align: 'center', title: '数量', style:'color: blue', width:50}, |
| | | {field: 'matName', align: 'center', title: '物料名称'} |
| | | ]], |
| | | done: function (res, curr, count) { |
| | |
| | | type: 2, |
| | | title: '物料', |
| | | shade: [0.3,'#000'], |
| | | area: ['90%', '80%'], |
| | | area: ['90%', '90%'], |
| | | content: 'matQuery.html', |
| | | success: function(layero, index){ |
| | | $('.layui-layer-title').css('font-size', '16px'); |
| | |
| | | $("#code").focus(); |
| | | } |
| | | } |
| | | |
| | | function back() { |
| | | parent.backIndex(); |
| | | } |
| | | </script> |
| | | <script type="text/template" id="putSiteSelectTemplate"> |
| | | {{#each data}} |