diff --git a/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleJobMain/index.vue b/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleJobMain/index.vue index 41ebf2409..2738a6cf4 100644 --- a/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleJobMain/index.vue +++ b/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleJobMain/index.vue @@ -78,6 +78,7 @@ import {getAccessToken} from "@/utils/auth"; import { getJmreportBaseUrl } from '@/utils/systemParam' import { formatDate } from '@/utils/formatTime' import { usePageLoading } from '@/hooks/web/usePageLoading' +import {exportProductputawayJobMainAssemble} from "@/api/wms/productputawayJobMain"; const { loadStart, loadDone } = usePageLoading() // 装配制品上架任务主 defineOptions({ name: 'ProductputawayJobMain' }) @@ -251,7 +252,7 @@ const handleExport = async () => { // 发起导出 loadStart() const excelTitle = ref(route.meta.title) - const data = await ProductputawayJobMainApi.exportProductputawayJobMain(tableObject.params) + const data = await ProductputawayJobMainApi.exportProductputawayJobMainAssemble(tableObject.params) download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`) } catch { } finally {