自动化立体仓库 - WMS系统
Junjie
2023-12-18 a926b3c8159ec2c6dd9341ee26c914ac80c24840
#导出优化
1个文件已修改
11 ■■■■■ 已修改文件
src/main/webapp/static/js/locDetl/locDetl.js 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/locDetl/locDetl.js
@@ -192,6 +192,17 @@
                            layer.close(loadIndex);
                            layer.closeAll();
                            if (res.code === 200) {
                                res.data.forEach((item,index) => {
                                    if (item[0] != null) {
                                        item[0] = "'" + item[0];
                                    }
                                    if (item[1] != null) {
                                        item[1] = "'" + item[1];
                                    }
                                    if (item[2] != null) {
                                        item[2] = "'" + item[2];
                                    }
                                })
                                table.exportFile(titles,res.data,'xls');
                            } else if (res.code === 403) {
                                top.location.href = baseUrl+"/";