From e9883d2c461075914e2187e0ff240590a797f6f2 Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Tue, 26 Nov 2024 13:12:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wms/inventoryManage/transaction/index.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/wms/inventoryManage/transaction/index.vue b/src/views/wms/inventoryManage/transaction/index.vue index 34540dd98..bed65c3b6 100644 --- a/src/views/wms/inventoryManage/transaction/index.vue +++ b/src/views/wms/inventoryManage/transaction/index.vue @@ -176,16 +176,14 @@ const handleDelete = async (id: number) => { /** 导出按钮操作 */ const handleExport = async () => { + const checkData = await TransactionApi.checkExportTransaction(tableObject.params) + console.log('checkData',checkData) try { // 导出的二次确认 await message.exportConfirm() // 发起导出 loadStart() const excelTitle = ref(route.meta.title) - - const checkData = await TransactionApi.checkExportTransaction(tableObject.params) - console.log('checkData',checkData) - const data = await TransactionApi.exportTransaction(tableObject.params) download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`) } catch {