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

import view_form from '@widgets/emstock/main2-form/main2-form.vue';

/**
 * 库存明细
 *
 * @export
 * @class EMSTOCKEditView
 * @extends {EMSTOCKEditViewBase}
 */
@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 EMSTOCKEditView extends EMSTOCKEditViewBase { }
</script>