Browse Source

导出明细修改

master_hella_20240701
zhaoxuebing 7 months ago
parent
commit
225002980c
  1. 7
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

7
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 {

Loading…
Cancel
Save