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 {