<template>
  <div class="app-container">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="未寄送" name="first">
        <supplier-list v-if="activeName === 'first'" :send-status="0" />
      </el-tab-pane>
      <el-tab-pane label="已寄送" name="second">
        <supplier-list v-if="activeName === 'second'" :send-status="1" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import SupplierList from './components/supplier-list.vue'
export default {
  components: {
    SupplierList
  },
  data() {
    return {
      activeName: 'first'
    }
  },
  methods: {
    handleClick() {}
  }
}
</script>

<style></style>
