Explorar el Código

发票导出调整

sangwenwei hace 7 meses
padre
commit
3238e96c91
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/cw/invoice/InvoiceList.vue

+ 1 - 1
src/views/cw/invoice/InvoiceList.vue

@@ -948,7 +948,7 @@
           isHeader: options.isHeader,
           original: options.original,
           mode: options.mode,
-          selectIds: options.mode === 'selected' ? options.map(item => item.id) : [],
+          selectIds: options.mode === 'selected' ? options.data.map(item => item.id) : [],
           exportFields: options.columns.map(column => column.property)
         }
         return financeInvoiceService.exportFile(params).then((res) => {