From 6730f1e4e16d7930230639176a33d4f599a88381 Mon Sep 17 00:00:00 2001 From: 李林 <z1292839451@163.com> Date: 星期日, 10 十二月 2023 18:15:38 +0800 Subject: [PATCH] 工作台报工选库调整 --- src/views/quality/rawMaterial/index.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/quality/rawMaterial/index.vue b/src/views/quality/rawMaterial/index.vue index fcfe4bf..ea1c0a3 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) -- Gitblit v1.9.3