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

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

  }
}

</script>

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