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

/**
 * 产品关系编辑视图视图
 *
 * @export
 * @class ProductSubstituteEditView
 * @extends {ProductSubstituteEditViewBase}
 */
@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 ProductSubstituteEditView extends ProductSubstituteEditViewBase { }
</script>
