<template src="./sales-order-detail-soproduct-grid-view.html"/>
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { SalesOrderDetailSOProductGridViewBase } from './sales-order-detail-soproduct-grid-view-base';
import view_grid from '@widgets/sales-order-detail/soproduct-grid/soproduct-grid.vue';
import view_searchform from '@widgets/sales-order-detail/default-searchform/default-searchform.vue';

/**
 * 订单产品表格视图视图
 *
 * @export
 * @class SalesOrderDetailSOProductGridView
 * @extends {SalesOrderDetailSOProductGridViewBase}
 */
@Component({
    components: {
        view_grid, 
        view_searchform, 
    },
    beforeRouteEnter: (to: any, from: any, next: any) => {
        next((vm: any) => {
            vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
        });
    }
})
@VueLifeCycleProcessing()
export default class SalesOrderDetailSOProductGridView extends SalesOrderDetailSOProductGridViewBase { }
</script>
