<template>
  <div id="detail">
    <el-row>
      <el-col :span="24" class="info">
        <el-col :span="24" class="top">
          <span class="shu"></span><span class="title">{{ formTitle }}</span>
        </el-col>
        <el-col :span="24">
          <el-form ref="form" :model="form" label-width="180px">
            <el-form-item label="企业名称：">
              <!--<span>{{ form.company.company_name }}</span>-->
              <span>{{ form.company ? form.company.company_name:'' }}</span>
              <!-- <el-input v-model="form.company.company_name" disabled></el-input> -->
            </el-form-item>
            <el-form-item label="联系人：">
              <span>{{ form.person }}</span>
            </el-form-item>
            <el-form-item label="融资金额（万元）：">
              <span>{{ form.money }}</span>
            </el-form-item>
            <el-form-item label="对接产品：">
              <span>{{ form.finance_claims ? form.finance_claims.name : '' }}</span>
            </el-form-item>
            <el-form-item label="对接银行：">
              <span>{{ form.institution ? form.institution.name : '' }}</span>
            </el-form-item>
            <el-form-item label="担保方式：">
              <span>{{ form.dictionary ? form.dictionary.name : '' }}</span>
            </el-form-item>
            <!--<el-form-item label="融资期限(个月)：">-->
            <!--<span>{{ form.claims_min_term }}个月~{{ form.claims_max_term }}个月</span>-->
            <!--</el-form-item>-->
            <!--<el-form-item label="融资利率：">-->
            <!--<span>{{ form.mongey_min_rate }}%~{{ form.mongey_max_rate }}%</span>-->
            <!--</el-form-item>-->
            <el-form-item label="补充信息：">
              <span>{{ form.additional_information }}</span>
            </el-form-item>

            <el-form-item label="放款额度（万元）：">
              <span>{{ form.follow  ? form.follow.credit_money : '' }}</span>
            </el-form-item>
            <el-form-item label="放款产品：">
              <span>{{ form.follow  ? form.follow.sxcpname : '' }}</span>
            </el-form-item>
            <el-form-item label="放款期限（个月）：">
              <span>{{ form.follow  ? form.follow.sxhowlong : '' }}</span>
            </el-form-item>
            <el-form-item label="放款利率（%）：">
              <span>{{ form.follow  ? form.follow.sxcplilue : '' }}</span>
            </el-form-item>

          </el-form>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'detail',
  props: {
    formTitle: null,
    form: null,
  },
  components: {},
  data: () => ({}),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
.info {
  padding: 20px;
}
p {
  padding: 0;
  margin: 0;
}
.top .shu {
  float: left;
  width: 4px;
  height: 20px;
  background: rgba(233, 2, 29, 1);
}
.top .title {
  float: left;
  padding: 0 10px;
  font-size: 16px;
  font-family: Source Han Sans SC;
  font-weight: bold;
  color: rgba(40, 40, 40, 1);
}
/deep/.el-form-item__label {
  color: #000;
  font-size: 15px;
}
/deep/.el-form-item__content {
  color: #000;
  font-weight: bold;
  font-size: 15px;
}
</style>
