From 66df6f71812e3a86c470bb71a818f6e6c41e3054 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 05 三月 2025 11:27:13 +0800
Subject: [PATCH] 添加检验项页面接口修改

---
 src/views/business/productOrder/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/business/productOrder/index.vue b/src/views/business/productOrder/index.vue
index 747cfe7..f24e85a 100644
--- a/src/views/business/productOrder/index.vue
+++ b/src/views/business/productOrder/index.vue
@@ -873,8 +873,8 @@
     // 瀵煎嚭璁板綍
     downLoad() {
       rawAllInsOrderExport({ ...this.entity }).then(res => {
-        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');
       }).catch(err => {
         console.log('err---', err);
       })

--
Gitblit v1.9.3