diff --git a/src/views/material/repair/testedInBound/component/home.vue b/src/views/material/repair/testedInBound/component/home.vue index c32892a3..c8c21b49 100644 --- a/src/views/material/repair/testedInBound/component/home.vue +++ b/src/views/material/repair/testedInBound/component/home.vue @@ -90,6 +90,11 @@ >批量驳回 + + + 导出 + + {}); }, handleExport() { - // this.download( - // "/material/wh_house_info/export", - // { - // ...this.queryParams, - // }, - // `修饰入库_${new Date().getTime()}.xlsx` - // ); + try { + let fileName = `修饰后入库_${formatTime(new Date())}.xLsx` + let url = '/material/repair_input_details/export' + const params = { ...this.queryParams } + console.log('🚀 ~ 导出 ~ params:', params) + this.download(url, params, fileName) + } catch (error) { + console.log('导出数据失败', error) + } }, },