From 350d5d8b98ddfbca4149dc46e9c2c63c5e4ed1d9 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期三, 05 三月 2025 11:40:12 +0800 Subject: [PATCH] 下单传参修改 --- src/views/business/rawMaterialInspection/index.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/business/rawMaterialInspection/index.vue b/src/views/business/rawMaterialInspection/index.vue index 266c6cd..0a6bcdf 100644 --- a/src/views/business/rawMaterialInspection/index.vue +++ b/src/views/business/rawMaterialInspection/index.vue @@ -792,8 +792,8 @@ entity: entity }).then(res => { this.outLoading = false - let url = this.javaApi + '/word/' + res.data - this.$download.saveAs(url, "鍘熸潗鏂欐娴嬩俊鎭鍑�.xlsx"); + const blob = new Blob([res], { type: 'application/octet-stream' }); + this.$download.saveAs(blob, "鍘熸潗鏂欐娴嬩俊鎭鍑�.xlsx"); }) }, clear() { -- Gitblit v1.9.3