<template>
  <div class="app-container">
    <el-tabs v-model="activeTab">
      <el-tab-pane label="退料单据" name="receive">
        <SoIndex :so-by-type="soByType" :is-back="isBack"/>
      </el-tab-pane>
      <el-tab-pane label="作废单据" name="voidReceive">
        <SoVoid :so-by-type="soByType" :is-back="isBack"/>
      </el-tab-pane>
      <el-tab-pane label="退料明细" name="detailReceive">
        <SoiTable :so-by-type="soByType" :is-back="isBack"/>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import SoVoid from "@/views/repair/stockOperate/Components/SoVoid.vue";
import SoiTable from "@/views/repair/stockOperate/Components/SoiTable.vue";
import SoIndex from "@/views/repair/stockOperate/Components/SoIndex.vue";

export default {
  name: "BackStock",
  components: {SoIndex, SoiTable, SoVoid},
  data(){
    return{
      activeTab: 'receive',
      soByType: false,
      isBack: true
    }
  },
}
</script>

<style scoped lang="scss">

</style>
