Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- downloadReport() {
- this.$http
- .get( this.getReportUrl() )
- .then( response => {
- let name =
- 'Инвентаризация_' +
- this.act.storage.name.split( ' ' ).join( '_' ) + '_' +
- moment( this.act.date ).format( 'DD.MM.YYYY HH:mm' );
- CSV.download( response.data, name );
- } );
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement