<template>
  <tab-button v-ref:list>
    <tabs header="开票记录">
      <e-ticket-record-list></e-ticket-record-list>
    </tabs>
    <tabs header="物联网表收费">
      <e-ticket-open-iot></e-ticket-open-iot>
    </tabs>
    <tabs header="卡表收费">
      <e-ticket-open-card></e-ticket-open-card>
    </tabs>
    <tabs header="机表收费">
      <e-ticket-open-hand></e-ticket-open-hand>
    </tabs>
    <tabs header="自定义开票">
      <cust-query-eticket></cust-query-eticket>
    </tabs>
  </tab-button>
</template>

<script>
import TabButton from '../../../components/revenue/comprehen/common/TabButton'
import Tabs from '../../../components/revenue/comprehen/common/Tabs.vue'
export default {
  name: 'eticket',
  title: '发票管理',
  components: { Tabs, TabButton },
  data () {
    return {// 页面开关
      f_start_date: '',
      f_end_date: '',
      listpage: true,
      width: {
        left: '100%',
        right: '0%'
      },
      // searchNumber:'',
      rowData: {},
      show: [true]
    }
  },
  ready () {},
  methods: {
    cancel (obj) {
      this.listpage = true
    },
    dealMsg (obj) {
      this.rowData = obj
      this.listpage = false
      console.log(obj.model)
      this.f_start_date = obj.model.startDate
      this.f_end_date = obj.model.endDate
    }
  }
}
</script>

<style scoped>

</style>
