<template>
  <div>
    <el-table
      stripe
      border
      v-if="tableMaxHeight"
      :max-height="tableMaxHeight"
      class="spanTable"
      v-loading="app.loading"
      :data="app.cashData"
      :span-method="cashSpanMethod"
      :row-class-name="totalRowClassName">
      <el-table-column
        label="售票点"
        prop="ticket_spot_name">
      </el-table-column>
      <el-table-column
        label="售票员"
        prop="manager_name">
      </el-table-column>
      <el-table-column
        v-for="channel in app.channelList"
        :key="channel"
        :label="channel"
        :prop="channel"></el-table-column>
    </el-table>
  </div>
</template>

<script>
import mixin from './mixin'

export default {
  mixins: [mixin]
}
</script>

<style lang="scss" scoped>
@import './style.scss';
</style>
