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);