From c880739ec4cd5ede33b31eb98ad5f7628ea288e5 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期一, 11 十二月 2023 17:41:40 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/quality/rawMaterial/index.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/views/quality/rawMaterial/index.vue b/src/views/quality/rawMaterial/index.vue
index fcfe4bf..0c11eb8 100644
--- a/src/views/quality/rawMaterial/index.vue
+++ b/src/views/quality/rawMaterial/index.vue
@@ -287,8 +287,11 @@
                     this.$message.error("鍙兘閫夋嫨宸叉娴嬬殑鏁版嵁")
                     return
                 }
-                console.log(selection)
-                downloadReport().then(res=>{
+                let ids = []
+                selection.forEach(ele=>{
+                    ids.push(ele.id)
+                })
+                downloadReport({ids : ids}).then(res=>{
                     transformZip(res)
                 }).catch(error=>{
                     console.log(error)
@@ -329,7 +332,6 @@
         },
         exportRawMaterial(){
             exportRawMaterial(this.queryParam).then(res=>{
-                console.log(res)
                 this.downloadFun(res)
             }).catch(error=>{
                 console.log(error);

--
Gitblit v1.9.3