<template>
  <div id="unit" class="flex-row">
    <div style="flex: 1;">
      <eticket-record-list></eticket-record-list>
    </div>
    <div class="binary-right" v-if="cusetEtick" style="width: 40%;">
      <add-eticket ></add-eticket>
    </div>

  </div>
</template>

<script>
  import addEticket from "./addEticket";

  export default  {
    title: '发票冲红',
    components: {
       addEticket
    },
    data () {
      return {
        cusetEtick:false
      }
    },

    methods: {
    },
    events: {
      'addCust'(){
        this.cusetEtick = true
      },
      'refresh' () {
        this.cusetEtick = false
      },
    }

  }

</script>
