自动化立体仓库 - WMS系统
#
18516761980
2022-12-01 1ffb54f277da44b422c795d9952c874c60c0df56
src/main/webapp/views/report/locDetl.html
@@ -24,6 +24,9 @@
</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>
@@ -36,6 +39,10 @@
            {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() {
@@ -87,6 +94,12 @@
                });
            }
        });
        // 监听行工具事件
        form.on('submit(batch)', function (data) {
            console.log("batch1")
            console.log(data.locNo);
            console.log(data);
        });
    });
</script>
</html>