自动化立体仓库 - WMS系统
zhou zhou
1 天以前 b06233aa71b70f7a30ff382ae1ba19c29b134d7c
src/main/webapp/static/js/adjustOrder/adjustOrder.js
@@ -95,7 +95,7 @@
        if (layEvent === 'edit') {
            showEditModel(data);
        }else if (layEvent === 'adjust') {
            pakoutPreview(data.id);
            adjustComplete(data.id);
        }else if (layEvent === 'export') {
            export1(data.id);
        }else if (layEvent === 'del') {
@@ -451,10 +451,10 @@
    }
    function pakoutPreview(id) {
    function adjustComplete(id) {
        let loadIndex = layer.load(2);
        $.ajax({
            url: baseUrl + "/checkOrder/preview/auth",
            url: baseUrl + "/adjustOrder/complete/auth",
            headers: {'token': localStorage.getItem('token')},
            data: {
                orderId: id
@@ -462,10 +462,13 @@
            method: 'POST',
            success: function (res) {
                if (res.code === 200){
                    layer.close(loadIndex);
                    layer.msg(res.msg, {icon: 1});
                    insTb.reload({where: null});
                } else if (res.code === 403){
                    top.location.href = baseUrl+"/";
                } else {
                    layer.close(loadIndex);
                    layer.msg(res.msg, {icon: 2})
                }
            }