diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue index 6273b2fb0..e36fa9ecf 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue @@ -656,7 +656,7 @@ const importSuccess = () => { handlePrintAll(clicKRowId.value) }else if(val === 'export-detail'){ console.log("导出明细:",clicKRowId.value) - handleDetailExport() + handleDetailExport(clicKRowId.value) } } @@ -680,7 +680,10 @@ const importSuccess = () => { await message.exportConfirm() // 发起导出导出明细 exportLoadingDetail.value = true - const data = await SupplierinvoiceRequestMainApi.exportSupplierinvoiceRequestDetail(masterId) + let params = { + masterId: masterId + } + const data = await SupplierinvoiceRequestMainApi.exportSupplierinvoiceRequestDetail(params) download.excel(data, '供应商发票申请明细.xlsx') } catch { } finally {