自动化立体仓库 - WMS系统
zjj
2023-09-09 2a3c0e4877a08368bbb43ff72b401c5c8ea334f7
src/main/webapp/static/js/orderCheck/orderCheck.js
@@ -137,8 +137,6 @@
                            {field: 'realAnfme', title: '真实数量',style: 'color: blue;font-weight: bold', edit: true},
                            {field: 'diffAnfme', title: '差异数量', style: 'font-weight: bold'},
                            {field: 'type$', title: '状态'},
                            {field: 'owner$', title: '货主'},
                            {field: 'payment$', title: '货物状态'},
                            {align: 'center', title: '操作', toolbar: '#formSSXMTableBar3', minWidth: 80, width: 80, fixed: 'right'}
                        ]],
                        request: {
@@ -264,8 +262,6 @@
                        {field: 'matnr', title: '商品编码', width: 160},
                        {field: 'maktx', title: '商品名称', width: 160},
                        {field: 'locNo', title: '库位号'},
                        {field: 'owner$', title: '货主'},
                        {field: 'payment$', title: '货物状态'},
                        {field: 'anfme', title: '库存数量'},
                        {field: 'realAnfme', title: '真实数量'},
                        {field: 'diffAnfme', title: '差异数量', style: 'font-weight: bold'},
@@ -421,7 +417,7 @@
                                json.data = selectList;
                                console.log(json);
                                if ( tp == 2 || tp == ''){
                                if ( tp == 3 || tp == ''){
                                    $.ajax({
                                        url: baseUrl+"/orderCheck/create/auth",
                                        headers: {'token': localStorage.getItem('token')},
@@ -430,6 +426,7 @@
                                        method: 'POST',
                                        async: false,
                                        success: function (res) {
                                            xxDataList = []
                                            if (res.code === 200){
                                                for (var i =0;i<res.data.length;i++){
                                                    xxDataList.push(res.data[i]);
@@ -444,7 +441,7 @@
                                            }
                                        }
                                    })
                                }else if (tp == 3){
                                }else if (tp == 2){
                                    $.ajax({
                                        url: baseUrl+"/orderCheck/create/loc/auth",
                                        headers: {'token': localStorage.getItem('token')},
@@ -773,7 +770,7 @@
            layer.closeAll();
            layer.load(1, {shade: [0.1,'#fff']});
           // location.href = "http://192.168.4.121:8082/stwms/orderCheck/printExport/auth?orderNo="+data.orderNo;
            location.href = "http://47.97.1.152:58080/stwms/orderCheck/printExport/auth?orderNo="+data.orderNo;
            location.href = "http://10.114.97.100:8080/stwms/orderCheck/printExport/auth?orderNo="+data.orderNo;
            layer.closeAll('loading');
        });
    }