From 2fb275c0b3aa9e62873969a23495d84d41a6f87e Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期五, 07 三月 2025 09:37:48 +0800 Subject: [PATCH] 标准物质验收筛选bug --- 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