<template>
  <div class="collect-discharge-play">
    <cy-comm-table
      ref="commTable"
      style="margin-top: 20px"
      :columns="columns"
      :data="tableData"
      :count="0"
    />
  </div>
</template>

<script>
export default {
  props: {
    type: {
      type: String,
      default: ''
    }
  },
  data() {
    return {
      tableData: [
        { userName: '1111', statusName: '2131231' },
        { userName: '1111', statusName: '2131231' }
      ],
      columns: [
        {
          label: '序号',
          index: true
        },
        {
          label: '约定日期',
          prop: 'postName',
          showTooltip: true
        },
        {
          label: '金额类型',
          showTooltip: true,
          prop: 'userNumber'
        },
        {
          label: '应收账款金额',
          prop: 'userName'
        },
        {
          label: '收放款类型',
          prop: 'userTypeName'
        },
        {
          label: '应收账款起始日',
          prop: 'otherDutyName',
          showTooltip: true
        },
        {
          label: '金额',
          prop: 'inDate'
        },
        {
          label: ' 实际现金流',
          prop: 'inDate'
        },
        {
          label: '收款主体',
          prop: 'inDate'
        },
        {
          label: '实际日期',
          prop: 'inDate'
        },
        {
          label: '实际金额',
          prop: 'inDate'
        },
        {
          label: '宽限到期日',
          prop: 'inDate'
        },
        {
          label: '延期类型',
          prop: 'inDate'
        },
        {
          label: '状态',
          prop: 'inDate'
        }
      ]
    }
  }
}
</script>

<style lang="scss" scoped>
.collect-discharge-play {

}
</style>
