自动化立体仓库 - WMS系统
#
LSH
2023-12-15 43a90d017c9c54ca8683b30b61ae79934fe05a85
src/main/webapp/static/js/orderLog/orderLog.js
@@ -48,8 +48,8 @@
            {align: 'center', title: '明细', toolbar: '#tbLook', minWidth: 160},
            {field: 'createTime$', title: '创建时间', minWidth: 200},
            {field: 'settle$', align: 'center', title: '状态', templet: '#settleTpl',  minWidth: 160},
            {field: 'memo', align: 'center',title: '备注', hide: true}
            {field: 'memo', align: 'center',title: '备注', hide: true},
            {align: 'center', title: '操作', toolbar: '#operate', width: 260}
        ]],
        request: {
            pageName: 'curr',
@@ -130,8 +130,8 @@
                            {field: 'anfme', title: '数量'},
                            {field: 'workQty', title: '作业数量'},
                            {field: 'qty', title: '完成数量', style: 'font-weight: bold'},
                            {field: 'owner$', title: '规格'},
                            {field: 'payment$', title: '规格'}
                            {field: 'weight', title: '重量'}
                        ]],
                        request: {
                            pageName: 'curr',
@@ -157,6 +157,9 @@
            });
        }else if (layEvent === 'wrkTrace'){
            showWrkTrace(data.id);
        }
        else if (layEvent === 'printExcel'){
            printExcel(data);
        }
    });
@@ -547,4 +550,13 @@
            }
        })
    }
    function printExcel(data){
        layer.confirm('确定导出Excel吗', {shadeClose: true}, function(){
            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 = baseUrl+"/orderLog/printExport/auth?orderNo="+data.orderNo;
            layer.closeAll('loading');
        });
    }
});