
<template>
    <div id="loanproForm">
        <el-row>
            <el-col :span="24" class="form">
                <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px" class="demo-ruleForm">
                    <el-col :span="24">
                        <el-form-item label="产品名称" prop="name">
                            <el-input   disabled v-model="ruleForm.name" placeholder="请输入产品名称"></el-input>
                        </el-form-item>
                    </el-col>

                    <el-col :span="12">
                        <el-form-item label="利率范围" prop="mongey_min_rate">
                            <el-input  disabled class="mongeyrate" v-model="ruleForm.mongey_min_rate" placeholder="利率范围（小）"></el-input>%~
                        </el-form-item>
                    </el-col>
                    <el-col :span="12">
                        <el-form-item prop="mongey_max_rate" class="formItem">
                            <el-input  disabled class="mongeyrate" v-model="ruleForm.mongey_max_rate" placeholder="利率范围（大）"></el-input>%
                        </el-form-item>
                    </el-col>

                    <el-col :span="12">
                        <el-form-item label="贷款期限(月)" prop="claims_min_term">
                            <el-input  disabled class="mongeyrate" v-model="ruleForm.claims_min_term" placeholder="贷款期限（小）"></el-input>~
                        </el-form-item>
                    </el-col>
                    <el-col :span="12">
                        <el-form-item prop="claims_max_term" class="formItem">
                            <el-input  disabled class="mongeyrate" v-model="ruleForm.claims_max_term" placeholder="贷款期限（大）"></el-input>
                        </el-form-item>
                    </el-col>

                    <el-col :span="12">
                        <el-form-item label="贷款额度(万元)" prop="claims_min_money" >
                            <el-input  disabled class="mongeyrate" v-model="ruleForm.claims_min_money" placeholder="贷款额度（小）"></el-input>~
                        </el-form-item>
                    </el-col>
                    <el-col :span="12">
                        <el-form-item prop="claims_max_money" class="formItem">
                            <el-input  disabled class="mongeyrate" v-model="ruleForm.claims_max_money" placeholder="贷款额度（大）"></el-input>
                        </el-form-item>
                    </el-col>

                    <el-col :span="24">
                        <el-form-item label="担保方式" prop="ensure_id">
                            <el-select  disabled v-model="ruleForm.ensure_id" placeholder="请选择担保方式">
                                <el-option v-for="(item, index) in dbList" :key="index" :label="item.name" :value="item.code"></el-option>
                            </el-select>
                        </el-form-item>
                    </el-col>
                    <el-col :span="24">
                        <el-form-item label="还款方式" prop="repayment_id">
                            <el-select  disabled v-model="ruleForm.repayment_id" placeholder="请选择还款方式">
                                <el-option v-for="(item, index) in hkList" :key="index" :label="item.name" :value="item.code"></el-option>
                            </el-select>
                        </el-form-item>
                    </el-col>
                    <el-col :span="24">
                        <el-form-item label="简介内容">
                            <el-input type="textarea" disabled v-model="ruleForm.news" placeholder="请输入简介内容"></el-input>
                        </el-form-item>
                    </el-col>
                </el-form>
            </el-col>
        </el-row>
    </div>
    <!--:disabled="isAble"-->
</template>

<script>
  export default {
    name: 'loanproForm',
    props: {
      ruleForm: null,
      hkList: null,
      dbList: null,
    },
    components: {},
    data: () => ({
      rules: {},
    }),
    created() {},
    computed: {},
    methods: {

    },
  };
</script>

<style lang="less" scoped>
    .form {
        padding: 0 200px 0 0;
    }
    .mongeyrate {
        width: 95%;
    }
    /deep/.formItem .el-form-item__content {
        margin-left: 0 !important;
    }
    .btn {
        text-align: center;
        padding: 30px 0;
    }
</style>
