From c656202eb64d50f5e1501b485ac9b35f67071521 Mon Sep 17 00:00:00 2001 From: mashuai Date: Thu, 13 Nov 2025 17:05:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/material/back/component/home.vue | 1 + .../repair/repairManage/component/home.vue | 1 + .../testExamine/component/homeApply.vue | 1 + .../repair/testedInBound/component/home.vue | 21 +++++++++++++++++-- 4 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/views/material/back/component/home.vue b/src/views/material/back/component/home.vue index ed67ab04..9884688c 100644 --- a/src/views/material/back/component/home.vue +++ b/src/views/material/back/component/home.vue @@ -111,6 +111,7 @@ {{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }} + diff --git a/src/views/material/repair/repairManage/component/home.vue b/src/views/material/repair/repairManage/component/home.vue index 25fbba91..7676e04d 100644 --- a/src/views/material/repair/repairManage/component/home.vue +++ b/src/views/material/repair/repairManage/component/home.vue @@ -63,6 +63,7 @@ + diff --git a/src/views/material/repair/testExamine/component/homeApply.vue b/src/views/material/repair/testExamine/component/homeApply.vue index 54cf97e7..e8f2ec31 100644 --- a/src/views/material/repair/testExamine/component/homeApply.vue +++ b/src/views/material/repair/testExamine/component/homeApply.vue @@ -134,6 +134,7 @@ /> + 批量驳回 + + + + 导出 + - 导出 + 导出明细 + @@ -338,9 +344,20 @@ export default { }) .catch(() => {}); }, - handleExport() { + handleExportInfo() { try { let fileName = `修试后入库_${formatTime(new Date())}.xLsx` + let url = '/material/repair_input_details/exportInfo' + const params = { ...this.queryParams } + console.log('🚀 ~ 导出 ~ params:', params) + this.download(url, params, fileName) + } catch (error) { + console.log('导出数据失败', error) + } + }, + handleExport() { + try { + let fileName = `修试后入库明细_${formatTime(new Date())}.xLsx` let url = '/material/repair_input_details/export' const params = { ...this.queryParams } console.log('🚀 ~ 导出 ~ params:', params)