<!--
  @description:采购-审核信息组件
  @Modifier:gmy
  @date:2020/8/11-14:10
-->
<template>
  <div>
    <el-table
      :data="auditList"
      border
      style="width:100%;"
      min-height="200"
    >
      <el-table-column
        label="审核时间"
        header-align="center"
        prop="auditTime"
        width="180"
        align="center"
      />
      <el-table-column
        header-align="center"
        label="审核人"
        prop="auditUserRealName"
        width="120"
        align="center"
      />
      <el-table-column
        header-align="center"
        label="审核状态"
        prop="reviewState"
        width="140"
        align="center"
      >
        <template slot-scope="scope">
          <p
            v-for="(item, index) in auditStatusList"
            v-if="scope.row.auditStatus===item.typecode"
            :key="index"
          >
            {{ item.typename }}
          </p>
        </template>
      </el-table-column>
      <el-table-column
        header-align="center"
        label="审核意见"
        align="left"
      >
        <template slot-scope="scope">
          <p v-if="scope.row.auditNotPassReason">
            {{ scope.row.auditNotPassReason }}
          </p>
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
import { procurementGroupMixins } from '../../mixins/procurementGrounpMixins'
export default {
  name: 'ProcurementResultAuditListVue',
  mixins: [procurementGroupMixins],
  props: {
    auditList: {
      type: Array,
      default: () => {
        return []
      }
    }
  }
}
</script>

<style scoped>

</style>
