|
|
@ -113,7 +113,7 @@ |
|
|
</template> |
|
|
</template> |
|
|
<script> |
|
|
<script> |
|
|
import Operation from '../../Operation.vue' |
|
|
import Operation from '../../Operation.vue' |
|
|
import {InvoiceManagementList,downloadInvoice} from '../../../api/index' |
|
|
import {InvoiceManagementList,downloadInvoice,fpxlsdc} from '../../../api/index' |
|
|
export default { |
|
|
export default { |
|
|
data() { |
|
|
data() { |
|
|
return{ |
|
|
return{ |
|
|
@ -237,7 +237,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
// 导出xls |
|
|
// 导出xls |
|
|
xlsdc(){ |
|
|
xlsdc(){ |
|
|
xlsdc(this.query).then(res=>{ |
|
|
fpxlsdc(this.query).then(res=>{ |
|
|
const fname = new Date().getTime()+".xlsx" |
|
|
const fname = new Date().getTime()+".xlsx" |
|
|
let bloburl = window.URL.createObjectURL(new Blob([res])) |
|
|
let bloburl = window.URL.createObjectURL(new Blob([res])) |
|
|
const a = document.createElement('a') |
|
|
const a = document.createElement('a') |
|
|
|