<template>
  <tab-button v-ref:list :active="-1">
    <tabs header="违约金减免明细" >
      <qn-weiyuejingmx v-if="show.includes('违约金减免明细')" @deal-msg="dealMsg" :data="data"></qn-weiyuejingmx>
    </tabs>
    <tabs header="抄表明细" >
      <qn-chaobiaomingxi v-if="show.includes('抄表明细')" @deal-msg="dealMsg" :data="data"></qn-chaobiaomingxi>
    </tabs>
    <tabs header="抄表按用气性质汇总" >
      <qn-chaobiaoyqxzhz v-if="show.includes('抄表按用气性质汇总')" @deal-msg="dealMsg" :data="data"></qn-chaobiaoyqxzhz>
    </tabs>
    <tabs header="抄表按用户汇总" >
      <qn-chaobiaoyhhz v-if="show.includes('抄表按用户汇总')" @deal-msg="dealMsg" :data="data"></qn-chaobiaoyhhz>
    </tabs>
    <tabs header="调价补差统计表" >
      <qn-tiaojiabuchatjb v-if="show.includes('调价补差统计表')" @deal-msg="dealMsg" :data="data"></qn-tiaojiabuchatjb>
    </tabs>
  </tab-button>

</template>

<script>
import TabButton from '../../components/sale/common/TabButton'
import Tabs from '../../components/sale/common/Tabs'

  export default {
    title: '其他报表',
    data () {
      return {
        f_start_date: '',
        f_end_date: '',
        listpage: true,
        width: {
          left: '100%',
          right: '0%'
        },
        // searchNumber:'',
        rowData: {},
        show: []
      }
    },
    components: {Tabs, TabButton},
    methods: {
      permission (name) {
        if (this.$login.r.find(value => value == '综合查询')) {
          if (!this.$login.r.find(value => value == name)) {
            return false
          }
        }
        return true
      }
    }

  }
</script>

<style scoped>
</style>
