#
Junjie
2025-11-14 b348fde3d49e7d15b3705c8653883833a2e26697
src/main/webapp/static/js/basMap/basMap.js
@@ -30,10 +30,10 @@
            , {field: 'updateTime$', align: 'center', title: '更新时间'}
            , {field: 'lastData', align: 'center', title: '最近数据'}
            , {field: 'originData', align: 'center', title: '原始地图'}
            , {field: 'baseRow', align: 'center', title: '基准排'}
            , {field: 'baseRowCode', align: 'center', title: '基准排-code'}
            , {field: 'baseBay', align: 'center', title: '基准列'}
            , {field: 'baseBayCode', align: 'center', title: '基准列-code'}
            // , {field: 'baseRow', align: 'center', title: '基准排'}
            // , {field: 'baseRowCode', align: 'center', title: '基准排-code'}
            // , {field: 'baseBay', align: 'center', title: '基准列'}
            // , {field: 'baseBayCode', align: 'center', title: '基准列-code'}
            , {fixed: 'right', title: '操作', align: 'center', toolbar: '#operate', width: 120}
        ]],
@@ -64,7 +64,7 @@
    // 渲染
    upload.render({
        elem: '.demo-class-accept', // 绑定多个元素
        url: baseUrl + "/basMap/upload", // 此处配置你自己的上传接口即可
        url: baseUrl + "/basMap/crn/upload", // 此处配置你自己的上传接口即可
        accept: 'file', // 普通文件
        done: function (res) {
            if (res.code == 200) {
@@ -164,19 +164,18 @@
    });
    function initLocMast() {
        layer.confirm('确定初始化库位数据吗?', {
            skin: 'layui-layer-admin',
            shade: .1
        }, function (i) {
            layer.close(i);
        layer.prompt({title: '请输入初始化库位层数', formType: 0,   shadeClose: true}, function(lev, idx){
            var loadIndex = layer.load(2);
            $.ajax({
                url: baseUrl + "/locMast/init",
                headers: {'token': localStorage.getItem('token')},
                data: {},
                data: {
                    'lev': lev
                },
                method: 'POST',
                success: function (res) {
                    layer.close(loadIndex);
                    layer.close(idx);
                    if (res.code === 200) {
                        layer.msg(res.msg, {icon: 1});
                        tableReload();