|
@ -71,6 +71,7 @@ import * as PurchasereceiptRecordDetailApi from '@/api/wms/purchasereceiptRecord |
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
import { PurchasereceiptRequestTabsList } from '@/utils/disposition/tabsList' |
|
|
import { PurchasereceiptRequestTabsList } from '@/utils/disposition/tabsList' |
|
|
import { CACHE_KEY, useCache } from '@/hooks/web/useCache' |
|
|
import { CACHE_KEY, useCache } from '@/hooks/web/useCache' |
|
|
|
|
|
import {exportSparereceiptRecordMain} from "@/api/wms/purchasereceiptRecordMain"; |
|
|
// 采购收货记录主 |
|
|
// 采购收货记录主 |
|
|
defineOptions({ name: 'PurchasereceiptRecordMain' }) |
|
|
defineOptions({ name: 'PurchasereceiptRecordMain' }) |
|
|
|
|
|
|
|
@ -158,8 +159,8 @@ const handleExport = async () => { |
|
|
await message.exportConfirm() |
|
|
await message.exportConfirm() |
|
|
// 发起导出 |
|
|
// 发起导出 |
|
|
exportLoading.value = true |
|
|
exportLoading.value = true |
|
|
const data = await PurchasereceiptRecordMainApi.exportPurchasereceiptRecordMain(tableObject.params) |
|
|
const data = await PurchasereceiptRecordMainApi.exportSparereceiptRecordMain(tableObject.params) |
|
|
download.excel(data, '采购收货记录主.xlsx') |
|
|
download.excel(data, '备件收货记录.xlsx') |
|
|
} catch { |
|
|
} catch { |
|
|
} finally { |
|
|
} finally { |
|
|
exportLoading.value = false |
|
|
exportLoading.value = false |
|
|