自动化立体仓库 - WMS系统
#
18516761980
2022-12-01 1ffb54f277da44b422c795d9952c874c60c0df56
#
3个文件已修改
17 ■■■■ 已修改文件
src/main/resources/mapper/LocDetlMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/pakStore/locDetlQuery.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/report/locDetl.html 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/LocDetlMapper.xml
@@ -98,7 +98,7 @@
            and a.anfme like '%' + #{anfme} + '%'
        </if>
        <if test="batch!=null and batch!='' ">
            and a.batch like  #{batch}
            and a.batch like  '%' + #{batch} + '%'
        </if>
        <if test="startTime!=null and endTime!=null">
            and a.modi_time between #{startTime} and #{endTime}
src/main/webapp/views/pakStore/locDetlQuery.html
@@ -74,7 +74,7 @@
        </div>
        <div class="layui-inline">
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="batch" placeholder="批号" autocomplete="off">
                <input class="layui-input" type="text" name="batch" placeholder="合同号" autocomplete="off">
            </div>
        </div>
        <!-- 日期范围 -->
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>