|
|
@ -189,6 +189,7 @@ import { formatDate } from '@/utils/formatTime' |
|
|
|
import * as WorkshopApi from '@/api/wms/workshop' |
|
|
|
import * as ConfigApi from '@/api/infra/config' |
|
|
|
import { usePageLoading } from '@/hooks/web/usePageLoading' |
|
|
|
import {exportProductreceiptRequestMainPredict} from "@/api/wms/productreceiptRequestMain"; |
|
|
|
const { loadStart, loadDone } = usePageLoading() |
|
|
|
// 制品收货申请 |
|
|
|
// 预生产收货申请 |
|
|
@ -687,7 +688,7 @@ const handleExport = async () => { |
|
|
|
// 发起导出 |
|
|
|
loadStart() |
|
|
|
const excelTitle = ref(route.meta.title) |
|
|
|
const data = await ProductreceiptRequestMainApi.exportProductreceiptRequestMain( |
|
|
|
const data = await ProductreceiptRequestMainApi.exportProductreceiptRequestMainPredict( |
|
|
|
tableObject.params |
|
|
|
) |
|
|
|
download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`) |
|
|
|