| | |
| | | </div> |
| | | <table class="layui-hide" id="locDetlByMap" lay-filter="locDetlByMap"></table> |
| | | </body> |
| | | <script type="text/html" id="operateDetl"> |
| | | <button id="search" class="layui-btn layui-btn-primary layui-btn-radius" style="height: auto" lay-submit lay-filter="batch">修改合同号</button> |
| | | </script> |
| | | <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> |
| | |
| | | {field: 'locNo$', align: 'center',title: '库位号'} |
| | | ]; |
| | | cols.push.apply(cols, detlCols); |
| | | var cols2=[ |
| | | { fixed: 'right', title:'操作', align: 'center', toolbar: '#operateDetl'} |
| | | ]; |
| | | cols.push.apply(cols,cols2) |
| | | return cols; |
| | | } |
| | | layui.use(['table','laydate', 'form'], function() { |
| | |
| | | }); |
| | | } |
| | | }); |
| | | // 监听行工具事件 |
| | | form.on('submit(batch)', function (data) { |
| | | console.log("batch1") |
| | | console.log(data.locNo); |
| | | console.log(data); |
| | | }); |
| | | }); |
| | | </script> |
| | | </html> |