<template src="./invoice-info-invoice-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { InvoiceInfo_InvoiceViewBase } from './invoice-info-invoice-view-base';
import view_form from '@widgets/invoice/info-form/info-form.vue';

/**
 * 发票编辑视图视图
 *
 * @export
 * @class InvoiceInfo_InvoiceView
 * @extends {InvoiceInfo_InvoiceViewBase}
 */
@Component({
    components: {
        view_form, 
    },
    beforeRouteEnter: (to: any, from: any, next: any) => {
        next((vm: any) => {
            vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
        });
    }
})
@VueLifeCycleProcessing()
export default class InvoiceInfo_InvoiceView extends InvoiceInfo_InvoiceViewBase { }
</script>
