<template>
  <el-tabs v-model="activeTab" type="card">
    <el-tab-pane label="待贴标签" name="first">
      <TranferCoilTable />
    </el-tab-pane>
    <el-tab-pane label="检验任务" name="third" v-hasPermi="['qc:inspection:task']">
      <InspectionTask readonly />
    </el-tab-pane>
    <el-tab-pane label="质保书审批" name="fourth" v-hasPermi="['qc:certificate:approve']">
      <CertificateBook />
    </el-tab-pane>
    <el-tab-pane label="其他代办" name="second">
      <el-empty description="暂无其他代办事项" />
    </el-tab-pane>
  </el-tabs>
</template>

<script>
  import TranferCoilTable from '@/views/wms/coil/views/base/tranfer.vue'
  import InspectionTask from '@/views/mes/qc/inspection/task.vue'
  import CertificateBook from '@/views/mes/qc/certificate/book.vue'

  export default {
    name: 'TodoIndex',
    components: {
      TranferCoilTable,
      InspectionTask,
      CertificateBook,
    },
    data() {
      return {
        activeTab: 'first',
      }
    }
  }
</script>