<template>
  <tab-button v-ref:list>
    <tabs header="开票记录">
      <e-ticket-record-list-query-v4></e-ticket-record-list-query-v4>
    </tabs>
    <tabs header="自定义开票">
      <cust-query-eticket-query-v4></cust-query-eticket-query-v4>
    </tabs>
  </tab-button>
</template>

<script>
import TabButton from '../../../components/revenue/comprehen/SpecialUser/common/TabButton.vue'
import Tabs from '../../../components/revenue/comprehen/SpecialUser/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>
