<template>
  <div class="hhBox">
    <el-tabs v-model="activeName">
      <el-tab-pane label="卡券核销" name="first">
        <write-off-card v-if="activeName == 'first'"></write-off-card>
      </el-tab-pane>
      <el-tab-pane label="门店核销" name="second">
        <write-off-store v-if="activeName == 'second'"></write-off-store>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import writeOffCard from './writeOffCard.vue';
import WriteOffStore from './writeOffStore.vue';
export default {
  components: { writeOffCard, WriteOffStore },
  data() {
    return {
      activeName: 'first'
    };
  },
  methods: {}
};
</script>
<style lang="scss" scoped>
.hhBox {
  margin: 0 20px 0 29px;
}
</style>
