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

/**
 * 订单编辑视图视图
 *
 * @export
 * @class SalesOrderEditView
 * @extends {SalesOrderEditViewBase}
 */
@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 SalesOrderEditView extends SalesOrderEditViewBase { }
</script>
