<template >
  <div style="height:500px;overflow-y:auto;">
    <el-form :model="checkForm" ref="checkForm" label-width="110px">
      <el-row>
        <el-col :span="12">
          <el-form-item label="回款状态" prop="moneyState">
            <el-select v-model="checkForm.moneyState" placeholder="请选择" clearable size="small">
              <el-option v-for="dict in moneyStateOptions" :key="dict.uid" :label="dict.dictLabel" :value="dict.dictValue" />
            </el-select>
          </el-form-item>
        </el-col>
      </el-row>

      <el-row>
        <el-col :span="24">
          <el-form-item label="驳回理由" prop="rejectReason">
            <el-input type="textarea" :rows="2" v-model="checkForm.rejectReason"></el-input>
          </el-form-item>
        </el-col>
      </el-row>

      <el-row>
        <el-col :span="24">
          <el-form-item label="审核记录">
            <CheckRecord :signId="checkForm.signId" />
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
  </div>
</template>
<script>
import CheckRecord from '../../CheckRecord.vue';
export default {
  components: {
    CheckRecord
  },
  props: {
    checkForm: {
      type: Object,
      default: () => ({})
    }
  },
  data() {
    return {
      moneyStateOptions: []
    }
  },
  created() {
    //回款状态
    this.getDicts('dm_money_state').then((response) => {
      this.moneyStateOptions = response.data
    })
  },
  methods: {

  },
}
</script>