<!--
  @description:供应商-待缴费-列表
  @Modifier: 王俊楠
  @routerPath:
  @date: 2020-11-18-14:12
-->
<template>
  <div>
    <el-table
      ref="smallTable"
      v-loading="loading"
      :data="tableData"
    >
      <el-table-column type="index" label="序号" align="center" width="60" />
      <el-table-column
        prop="orderCode"
        label="订单编号"
        header-align="center"
        align="center"
        min-width="180"
      />
      <el-table-column
        :formatter="formatterOrderTotalMoney"
        prop="taxOrderTotalMoney"
        label="订单含税总额(元)"
        width="120"
        header-align="center"
        align="right"
      />
      <el-table-column
        prop="voucherCode"
        label="收款单号"
        header-align="center"
        align="center"
        min-width="160"
      />
      <el-table-column
        :formatter="formatterOrderTotalMoney"
        prop="actualChargeMoney"
        label="应收金额(元)"
        min-width="110"
        header-align="center"
        align="right"
      />
      <el-table-column
        :formatter="formatterOrderTotalMoney"
        prop="paidMoney"
        label="已缴金额(元)"
        min-width="110"
        header-align="center"
        align="right"
      />
      <el-table-column
        prop="supplierName"
        label="供应商名称"
        min-width="220"
        header-align="center"
        align="left"
      />
      <el-table-column
        prop="bankno"
        label="收款账号"
        min-width="220"
        header-align="center"
      />
      <el-table-column
        prop="purchaseDepartName"
        label="采购单位"
        min-width="220"
        header-align="center"
        align="left"
      />
      <el-table-column
        :formatter="formatterMoment"
        prop="orderCreateTime"
        label="订单确认日期"
        align="center"
        width="150"
        header-align="center"
      />
      <el-table-column
        :formatter="formatterMoment"
        prop="voucherCreateTime"
        label="收费单生成日期"
        align="center"
        width="150"
        header-align="center"
      />
      <el-table-column
        :formatter="formatterOrderStatus"
        prop="status"
        label="状态"
        width="100"
        header-align="center"
        align="center"
      />
    </el-table>
  </div>
</template>

<script>
/* 组件*/
import { orderServeFeeMixins } from '../../mixins/orderServeFeeMixins'
export default {
  name: 'WaitCollectionList',
  mixins: [orderServeFeeMixins],
  props: {
    tableData: {
      type: Array,
      default: function() {
        return []
      }
    },
    loading: {
      type: Boolean,
      default: false
    }
  },
  data() {
    return {
      supplierDialog: {}
    }
  },
  mounted() {
    this.getGroupType()
  }
}
</script>

<style lang="less" scoped>
</style>
