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

/**
 * 商机产品编辑视图视图
 *
 * @export
 * @class OpportunityProductEditView
 * @extends {OpportunityProductEditViewBase}
 */
@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 OpportunityProductEditView extends OpportunityProductEditViewBase { }
</script>
