自动化立体仓库 - WMS系统
bfwms
2025-07-30 383c6139926563f02fba4432effbfc27f87d88c5
src/main/webapp/static/js/waitPakinLog/waitPakinLog.js
@@ -33,7 +33,7 @@
        url: baseUrl+'/waitPakinLog/list/auth',
        page: true,
        limit: 16,
        limits: [16, 30, 50, 100, 200, 500],
        limits: [16, 30, 50, 100, 200, 500, 50000],
        even: true,
        toolbar: '#toolbar',
        cellMinWidth: 50,
@@ -67,6 +67,7 @@
                    res.data[_index][data.value] = 'N';
                }
            });
            getOutBound();
        }
    });
@@ -391,6 +392,29 @@
        ,range: true
    });
    // 获取拥有者表数据
    function getOutBound(){
        $.ajax({
            url: baseUrl+"/owner/auto/site",
            headers: {'token': localStorage.getItem('token')},
            method: 'POST',
            async: false,
            success: function (res) {
                if (res.code === 200){
                    var tpl = $("#takeSiteSelectTemplate").html();
                    var template = Handlebars.compile(tpl);
                    var html = template(res);
                    $('#ownerSelect').append(html);
                    form.render('select');
                } else if (res.code === 403){
                    top.location.href = baseUrl+"/";
                }else {
                    layer.msg(res.msg)
                }
            }
        })
    }
});
// 关闭动作