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()