From 0e4a4f3497172a35365fb758b93bf0f60158ddb5 Mon Sep 17 00:00:00 2001 From: chenfang <1057876684@qq.com> Date: Wed, 30 Oct 2024 17:09:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=99=A8=E5=85=B7=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../containermanage/createContainerRecordMain/index.vue | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/views/wms/inventoryjobManage/containermanage/createContainerRecordMain/index.vue b/src/views/wms/inventoryjobManage/containermanage/createContainerRecordMain/index.vue index 0b2f50e14..c3885d7de 100644 --- a/src/views/wms/inventoryjobManage/containermanage/createContainerRecordMain/index.vue +++ b/src/views/wms/inventoryjobManage/containermanage/createContainerRecordMain/index.vue @@ -228,13 +228,8 @@ const handleExport = async () => { // 发起导出 loadStart() const excelTitle = ref(route.meta.title) - if(businessType.value = 'InitialContainerManage'){ - const data = await ContainerRecordMainApi.exportContainerInitRecordMain(tableObject.params) - download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`) - }else { - const data = await ContainerRecordMainApi.exportContainerRecordMain(tableObject.params) - download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`) - } + const data = await ContainerRecordMainApi.exportContainerInitRecordMain(tableObject.params) + download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`) } catch { } finally { loadDone()