@dongkboy 1 месяц назад
Родитель
Сommit
8b5ef4f5a8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/views/receivable/handingFee/ticket.vue

+ 1 - 1
src/views/receivable/handingFee/ticket.vue

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