#
luxiaotao1123
2020-06-13 f517c3f941d7c7e40b8d6dadc02fea97fa440fd1
src/main/webapp/static/js/matCode/matCode.js
@@ -79,7 +79,7 @@
        },
        done: function(res, curr, count) {
            if (res.code === 403) {
                top.location.href = baseUrl;
                top.location.href = baseUrl+"/";
            }
            pageCurr=curr;
            limit();
@@ -109,7 +109,7 @@
            },
            done: function (res, curr, count) {
                if (res.code === 403) {
                    top.location.href = baseUrl;
                    top.location.href = baseUrl+"/";
                }
                pageCurr=curr;
                limit();
@@ -153,7 +153,7 @@
                                    layer.closeAll();
                                    tableReload(false);
                                } else if (res.code === 403){
                                    top.location.href = baseUrl;
                                    top.location.href = baseUrl+"/";
                                } else {
                                    layer.msg(res.msg)
                                }
@@ -334,7 +334,6 @@
    // 开始打印
    form.on('submit(doPrint)', function (data) {
        console.log(data);
        var templateNo = data.field.selectTemplate;
        $.ajax({
            url: baseUrl+"/macCode/print/auth",
@@ -360,7 +359,7 @@
                    let box = $("#box");
                    box.html(html);box.show();box.print();box.hide();
                } else if (res.code === 403){
                    top.location.href = baseUrl;
                    top.location.href = baseUrl+"/";
                }else {
                    layer.msg(res.msg)
                }
@@ -440,7 +439,7 @@
                        $(this).val("");
                    });
                } else if (res.code === 403){
                    top.location.href = baseUrl;
                    top.location.href = baseUrl+"/";
                }else {
                    layer.msg(res.msg)
                }
@@ -506,7 +505,7 @@
        },
        done: function (res, curr, count) {
            if (res.code === 403) {
                top.location.href = baseUrl;
                top.location.href = baseUrl+"/";
            }
            pageCurr=curr;
            if (res.data.length === 0 && count !== 0) {