自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-06 cf43493d7aa9c1a83cb1551c102f501f1dfde9b0
src/main/webapp/static/js/report/workIn.js
@@ -11,7 +11,7 @@
    tableIns = table.render({
        elem: '#workIn',
        headers: {token: localStorage.getItem('token')},
        url: '/report/viewWorkInList.action',
        url: baseUrl+'/report/viewWorkInList.action',
        page: true,
        limit: 10,
        toolbar: '#toolbar',
@@ -50,7 +50,7 @@
        },
        done: function(res, curr, count) {
            if (res.code === 403) {
                top.location.href = "/";
                top.location.href = baseUrl;
            }
            pageCurr=curr;
            limit();
@@ -72,7 +72,7 @@
            },
            done: function (res, curr, count) {
                if (res.code === 403) {
                    top.location.href = "/";
                    top.location.href = baseUrl;
                }
                pageCurr=curr;
                limit();
@@ -98,7 +98,7 @@
                        'fields': fields
                    };
                    $.ajax({
                        url: "/report/viewWorkInExport.action",
                        url: baseUrl+"/report/viewWorkInExport.action",
                        headers: {'token': localStorage.getItem('token')},
                        data: JSON.stringify(param),
                        dataType:'json',
@@ -110,7 +110,7 @@
                            if (res.code === 200) {
                                table.exportFile(titles,res.data,'xls');
                            } else if (res.code === 403) {
                                top.location.href = "/";
                                top.location.href = baseUrl;
                            } else {
                                layer.msg(res.msg)
                            }
@@ -145,7 +145,7 @@
        },
        done: function (res, curr, count) {
            if (res.code === 403) {
                top.location.href = "/";
                top.location.href = baseUrl;
            }
            pageCurr=curr;
            if (res.data.length === 0 && count !== 0) {