|
@ -115,6 +115,7 @@ import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
import { PurchasereceiptRefuseRequestTabsList } from '@/utils/disposition/tabsList' |
|
|
import { PurchasereceiptRefuseRequestTabsList } from '@/utils/disposition/tabsList' |
|
|
import { CACHE_KEY, useCache } from '@/hooks/web/useCache' |
|
|
import { CACHE_KEY, useCache } from '@/hooks/web/useCache' |
|
|
import { getReportUrl } from '@/utils/systemParam' |
|
|
import { getReportUrl } from '@/utils/systemParam' |
|
|
|
|
|
import { formatDate } from '@/utils/formatTime' |
|
|
// 采购收货记录主 |
|
|
// 采购收货记录主 |
|
|
defineOptions({ name: 'PurchasereceiptRecordRefuseMain' }) |
|
|
defineOptions({ name: 'PurchasereceiptRecordRefuseMain' }) |
|
|
const message = useMessage() // 消息弹窗 |
|
|
const message = useMessage() // 消息弹窗 |
|
@ -292,10 +293,10 @@ const handleExport = async () => { |
|
|
exportLoading.value = true |
|
|
exportLoading.value = true |
|
|
if(routeName.value.includes('SCP')){ |
|
|
if(routeName.value.includes('SCP')){ |
|
|
const data = await PurchasereceiptRecordMainApi.exportPurchasereceiptRecordMainSCP(tableObject.params) |
|
|
const data = await PurchasereceiptRecordMainApi.exportPurchasereceiptRecordMainSCP(tableObject.params) |
|
|
download.excel(data, `${t('ts.采购收货记录主')}.xlsx`) |
|
|
download.excel(data, `【${route.meta.title}】【${formatDate(new Date())}】.xlsx`) |
|
|
}else{ |
|
|
}else{ |
|
|
const data = await PurchasereceiptRecordMainApi.exportPurchasereceiptRecordRefuseMain(tableObject.params) |
|
|
const data = await PurchasereceiptRecordMainApi.exportPurchasereceiptRecordRefuseMain(tableObject.params) |
|
|
download.excel(data, `${t('ts.采购拒收记录主')}.xlsx`) |
|
|
download.excel(data, `【${route.meta.title}】【${formatDate(new Date())}】.xlsx`) |
|
|
} |
|
|
} |
|
|
} catch { |
|
|
} catch { |
|
|
} finally { |
|
|
} finally { |
|
|