|
@ -78,6 +78,7 @@ import {getAccessToken} from "@/utils/auth"; |
|
|
import { getJmreportBaseUrl } from '@/utils/systemParam' |
|
|
import { getJmreportBaseUrl } from '@/utils/systemParam' |
|
|
import { formatDate } from '@/utils/formatTime' |
|
|
import { formatDate } from '@/utils/formatTime' |
|
|
import { usePageLoading } from '@/hooks/web/usePageLoading' |
|
|
import { usePageLoading } from '@/hooks/web/usePageLoading' |
|
|
|
|
|
import {exportProductputawayJobMainAssemble} from "@/api/wms/productputawayJobMain"; |
|
|
const { loadStart, loadDone } = usePageLoading() |
|
|
const { loadStart, loadDone } = usePageLoading() |
|
|
// 装配制品上架任务主 |
|
|
// 装配制品上架任务主 |
|
|
defineOptions({ name: 'ProductputawayJobMain' }) |
|
|
defineOptions({ name: 'ProductputawayJobMain' }) |
|
@ -251,7 +252,7 @@ const handleExport = async () => { |
|
|
// 发起导出 |
|
|
// 发起导出 |
|
|
loadStart() |
|
|
loadStart() |
|
|
const excelTitle = ref(route.meta.title) |
|
|
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`) |
|
|
download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`) |
|
|
} catch { |
|
|
} catch { |
|
|
} finally { |
|
|
} finally { |
|
|