<template>
  <div class="sales-bill">
    <template v-if="!$route.query.type">
      <trade-main />
    </template>
    <router-view />
  </div>
</template>

<script>
export default {
  name: 'SalesBill',
  components: {
    tradeMain: () => import('./main')
  },
  methods: {

  }
}

</script>

  <style lang="scss" scoped>
  </style>
