|
|
@ -542,8 +542,8 @@ const handleExport = async () => { |
|
|
|
await message.exportConfirm() |
|
|
|
// 发起导出 |
|
|
|
exportLoading.value = true |
|
|
|
const data = await PurchasereceiptRequestMainApi.exportPurchasereceiptRequestMain(tableObject.params) |
|
|
|
download.excel(data, '采购收货申请主.xlsx') |
|
|
|
const data = await PurchasereceiptRequestMainApi.exportSparereceiptRequestMain(tableObject.params) |
|
|
|
download.excel(data, '备件收货申请.xlsx') |
|
|
|
} catch { |
|
|
|
} finally { |
|
|
|
exportLoading.value = false |
|
|
@ -639,4 +639,4 @@ onMounted(async () => { |
|
|
|
getList() |
|
|
|
importTemplateData.templateUrl = await PurchasereceiptRequestMainApi.importTemplate() |
|
|
|
}) |
|
|
|
</script> |
|
|
|
</script> |
|
|
|