@dongkboy hai 1 mes
pai
achega
8b5ef4f5a8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
   document.body.removeChild(link);
 }
 }
 const downloadTemplate = () => {
 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) {
     if (res.code == 200) {
       const link = document.createElement('a');
       const link = document.createElement('a');
       link.href = res.msg;
       link.href = res.msg;