| | |
| | | |
| | | <!-- 待添加 --> |
| | | <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> |
| | | <button id="searchByStaion" class="layui-btn layui-btn-primary layui-btn-radius" lay-submit lay-filter="searchByStaion">搜索</button> |
| | | <button id="checkAll" class="layui-btn layui-btn-primary layui-btn-radius" lay-submit lay-filter="checkAll">全选</button> |
| | | <button id="uncheckAll" class="layui-btn layui-btn-primary layui-btn-radius" lay-submit lay-filter="uncheckAll">反选</button> |
| | | <button id="start" class="layui-btn layui-btn-primary layui-btn-radius" lay-submit lay-filter="start">启动入库</button> |
| | |
| | | |
| | | {{#if containerMoveOutFlag}} |
| | | <div style=" padding-bottom: 20px"> |
| | | <button type="button" class="layui-btn layui-btn-normal" value="{{devNo}}" lay-submit lay-filter="containerMoveOut">容器离场</button> |
| | | <button type="button" class="layui-btn layui-btn-normal" value="{{devNo}}" lay-submit lay-filter="containerMoveOut">货架离场</button> |
| | | </div> |
| | | {{/if}} |
| | | {{#if pickInFlag}} |
| | |
| | | </div> |
| | | {{#if agvWaitPakin}} |
| | | <div style="padding-top: 10px;"> |
| | | {{#if agvWaitPakin.orderNo}} |
| | | 订单号:{{agvWaitPakin.orderNo}} </br> |
| | | {{/if}} |
| | | 物料号:{{agvWaitPakin.matnr}} </br> |
| | | {{#if agvWaitPakin.batch}} |
| | | 序列码:{{agvWaitPakin.batch}} </br> |
| | | {{/if}} |
| | | 料箱码:{{agvWaitPakin.suppCode}} </br> |
| | | 货架码:{{agvWaitPakin.suppCode}} </br> |
| | | 数量:{{agvWaitPakin.anfme}} |
| | | </div> |
| | | {{/if}} |
| | |
| | | {{/if}} |
| | | {{#if agvWrkDetl}} |
| | | <div style="padding-top: 10px;"> |
| | | {{#if agvWrkDetl.orderNo}} |
| | | 订单号:{{agvWrkDetl.orderNo}} </br> |
| | | {{/if}} |
| | | 物料号:{{agvWrkDetl.matnr}} </br> |
| | | {{#if agvWrkDetl.batch}} |
| | | 序列码:{{agvWrkDetl.batch}} </br> |
| | | {{/if}} |
| | | 料箱码:{{agvWaitPakin.suppCode}} </br> |
| | | 数量:{{agvWrkDetl.anfme}} |
| | | 货架码:{{agvWrkDetl.suppCode}} </br> |
| | | 取货数量:{{agvWrkDetl.anfme}} 结余数量:{{agvWrkDetl.volume}} |
| | | </div> |
| | | {{/if}} |
| | | </div> |
| | |
| | | |
| | | $('#rowSelect').empty(); |
| | | if(data.value == 1){ |
| | | $('#rowSelect').append("<option value=CS-101>1号</option>"); |
| | | $('#rowSelect').append("<option value=CS-102>2号</option>") |
| | | $('#rowSelect').append("<option value=CS-101>101</option>"); |
| | | $('#rowSelect').append("<option value=CS-102>102</option>") |
| | | } |
| | | if(data.value == 3){ |
| | | $('#rowSelect').append("<option value=CS-305>1号</option>"); |
| | | $('#rowSelect').append("<option value=CS-306>2号</option>") |
| | | $('#rowSelect').append("<option value=CS-307>3号</option>") |
| | | $('#rowSelect').append("<option value=CS-305>305</option>"); |
| | | $('#rowSelect').append("<option value=CS-306>306</option>"); |
| | | $('#rowSelect').append("<option value=CS-307>307</option>"); |
| | | $('#rowSelect').append("<option value=CS-308>308</option>") |
| | | $('#rowSelect').append("<option value=CS-309>309</option>") |
| | | } |
| | | form.render(); |
| | | |
| | | }); |
| | | |
| | | // 搜索 |
| | | form.on('submit(search)', function (data) { |
| | | param = null; |
| | | param = {'stationCode' : $('#rowSelect').val()}; |
| | | loadData(param); |
| | | }); |
| | | // form.on('submit(search)', function (data) { |
| | | // param = null; |
| | | // param = {'stationCode' : $('#rowSelect').val()}; |
| | | // loadData(param); |
| | | // }); |
| | | |
| | | //全选 |
| | | form.on('submit(checkAll)', function () { |
| | |
| | | for (var i = 0; i < cks.length; i++) { |
| | | cks[i].checked = true; |
| | | } |
| | | }); |
| | | |
| | | //搜索 |
| | | form.on('submit(searchByStaion)', function () { |
| | | console.log("search.....") |
| | | param = null; |
| | | param = {'stationCode' : $('#rowSelect').val()}; |
| | | loadData(param); |
| | | }); |
| | | |
| | | //反选 |
| | |
| | | } |
| | | }); |
| | | |
| | | //容器离场 |
| | | //货架离场 |
| | | form.on('submit(containerMoveOut)', function () { |
| | | var devNoList = []; |
| | | devNoList.push(this.value); |