|
|
@@ -537,7 +537,7 @@ const downloadImportFailedData = (item) => {
|
|
|
document.body.removeChild(link);
|
|
|
}
|
|
|
const downloadTemplate = () => {
|
|
|
- api.financeApi.exportAccountsReceivableInvoiceTemplate({}).then((res: any) => {
|
|
|
+ api.financeApi.exportAccountsReceivableInvoiceTemplate({type:'10'}).then((res: any) => {
|
|
|
if (res.code == 200) {
|
|
|
const link = document.createElement('a');
|
|
|
link.href = res.msg;
|