From 5fcfed0c9e6dac85f680c705c9b20abad79e1324 Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期二, 19 十二月 2023 17:33:05 +0800
Subject: [PATCH] 	modified:   src/const/website.js 	new file:   src/page/PackingLedgerDetails/index.vue 	modified:   src/router/page/index.js 	modified:   src/views/plan/manufacturingorder/index.vue 	modified:   src/views/quality/Packaging_ledger/index.vue 	modified:   vue.config.js

---
 src/views/quality/rawMaterial/index.vue |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/views/quality/rawMaterial/index.vue b/src/views/quality/rawMaterial/index.vue
index fcfe4bf..267b919 100644
--- a/src/views/quality/rawMaterial/index.vue
+++ b/src/views/quality/rawMaterial/index.vue
@@ -27,7 +27,7 @@
             @queryParam="getQueryParam($event)"
             ref="rawMaterialTable">
             <template #toolbar>
-                <el-button @click="exportRawMaterial" type="primary" >瀵煎嚭</el-button>
+                <!-- <el-button @click="exportRawMaterial" type="primary" >瀵煎嚭</el-button> -->
             </template>
             </ttable>
         </basic-container>
@@ -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