<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import PIMCONTRACTTYPEEditViewBase from './pimcontracttypeedit-view-base.vue';

import view_form from '@widgets/pimcontracttype/main-form/main-form.vue';

/**
 * 合同类型编辑视图
 *
 * @export
 * @class PIMCONTRACTTYPEEditView
 * @extends {PIMCONTRACTTYPEEditViewBase}
 */
@Component({
    components: {
        view_form, 
    },
    beforeRouteEnter: (to: any, from: any, next: any) => {
        next((vm: any) => {
            vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
        });
    },
})
export default class PIMCONTRACTTYPEEditView extends PIMCONTRACTTYPEEditViewBase { }
</script>