<template>
  <div class="eibs-tab">
    <c-row>
        <c-col :span="24">
                <c-col :span="12">
                        <c-col :span="24">
                            <el-form-item label="主债务签约日期" prop="cfagit.recgrp.bas.maindebtcondate">
                                <c-date-picker type="date"  v-model="model.cfagit.recgrp.bas.maindebtcondate" style="width:100%"  placeholder="请选择主债务签约日期"></c-date-picker>
                            </el-form-item>
                        </c-col>

                        <c-col :span="24">
                            <el-form-item label="借款利率(%)" prop="cfagit.recgrp.bas.intrat">
                                <c-input  v-model="model.cfagit.recgrp.bas.intrat"  placeholder="请输入借款利率（%）"></c-input>
                            </el-form-item>
                        </c-col>

                        <c-col :span="24">
                            <el-form-item label="被担保人境内母公司中文名称" prop="cfagit.recgrp.bas.guedparecompname">
                                <c-input type="textarea" v-model="model.cfagit.recgrp.bas.guedparecompname" maxlength="60" show-word-limit placeholder="请输入被担保人境内母公司中文名称" ></c-input>
                            </el-form-item>
                        </c-col>
                        <c-col :span="24">
                            <el-form-item label="被担保人境内母公司英文名称" prop="cfagit.recgrp.bas.guedparecompnamen">
                                <c-input type="textarea" v-model="model.cfagit.recgrp.bas.guedparecompnamen" maxlength="60" show-word-limit placeholder="请输入被担保人境内母公司英文名称" ></c-input>
                            </el-form-item>
                        </c-col>
                        <c-col :span="24">
                            <el-form-item label="被担保人境内母公司代码" prop="cfagit.recp.pubp.cousel1.guedparecompcode">
                                <c-input  v-model="model.cfagit.recp.pubp.cousel1.guedparecompcode" maxlength="18"  placeholder="请输入被担保人境内母公司代码"></c-input>
                            </el-form-item>
                        </c-col>
                        <c-col :span="24">
                            <el-form-item label="是否有反担保人" prop="cfagit.recgrp.bas.cgyn">
                                <c-select v-model="model.cfagit.recgrp.bas.cgyn" style="width:100%" placeholder="请选择是否有反担保人">
                                        <el-option
                                                v-for="item in codes.cgyn"
                                                :key="item.value"
                                                :label="item.label"
                                                :value="item.value"
                                                >
                                        </el-option>
                                </c-select>
                            </el-form-item>
                        </c-col>
                        <c-col :span="24">
                            <el-form-item label="反担保人国别/地区代码" prop="cfagit.recgrp.bas.cgcouncode">
                                <c-input :disabled="model.cfagit.recgrp.bas.cgyn!='1'" v-model="model.cfagit.recgrp.bas.cgcouncode" maxlength="3"  placeholder="请输入反担保人国别/地区代码"></c-input>
                            </el-form-item>
                        </c-col>
                        <c-col :span="24">
                            <el-form-item label="反担保人国别/地区代码" prop="cfagit.recgrp.bas.cgcode">
                                <c-input :disabled="model.cfagit.recgrp.bas.cgyn!='1'" v-model="model.cfagit.recgrp.bas.cgcode" maxlength="32"  placeholder="请输入反担保人国别/地区代码"></c-input>
                            </el-form-item>
                        </c-col>

                        <c-col :span="24">
                            <c-col :span="6" :offset="6">  
                                <c-checkbox v-model="model.cfagit.recp.pubp.founds1">境外直接投资</c-checkbox>
                            </c-col>
                            <c-col :span="6" :offset="6">
                                <c-checkbox v-model="model.cfagit.recp.pubp.founds2">偿还境外债务</c-checkbox>
                                
                            </c-col>
                        </c-col>
                        <c-col :span="24">
                                <c-col :span="6" :offset="6">
                                    <c-checkbox v-model="model.cfagit.recp.pubp.founds5">以直接投资形式回流</c-checkbox>
                                </c-col>
                                <c-col :span="6" :offset="6">
                                    <c-checkbox v-model="model.cfagit.recp.pubp.founds6">以外债形式回流</c-checkbox>
                                </c-col>
                        </c-col>
                </c-col>
                <c-col :span="11" :offset="1">
                        <c-col :span="24">
                            <el-form-item label="主债务到期日" prop="cfagit.recgrp.bas.maindebtmaturity">
                                <c-date-picker type="date"  v-model="model.cfagit.recgrp.bas.maindebtmaturity" style="width:100%"  placeholder="请选择主债务到期日"></c-date-picker>
                            </el-form-item>
                        </c-col>
                        <c-col :span="24">
                            <el-form-item label="主债务到期日" prop="cfagit.recgrp.bas.maindebtmaturity">
                                <c-date-picker type="date"  v-model="model.cfagit.recgrp.bas.maindebtmaturity" style="width:100%"  placeholder="请选择主债务到期日"></c-date-picker>
                            </el-form-item>
                        </c-col>
                         <c-col :span="24">
                            <el-form-item label="反担保人中文名称" prop="cfagit.recgrp.bas.cgname">
                                <c-input :disabled="model.cfagit.recgrp.bas.cgyn!='1'" type="textarea" v-model="model.cfagit.recgrp.bas.cgname" maxlength="64" show-word-limit placeholder="请输入反担保人中文名称" ></c-input>
                            </el-form-item>
                        </c-col>
                                                    
                        <c-col :span="24">
                            <el-form-item label="反担保人英文名称" prop="cfagit.recgrp.bas.cgnamen">
                                <c-input :disabled="model.cfagit.recgrp.bas.cgyn!='1'" type="textarea" v-model="model.cfagit.recgrp.bas.cgnamen" maxlength="64" show-word-limit placeholder="请输入反担保人英文名称" ></c-input>
                            </el-form-item>
                        </c-col>

                        <c-col :span="24">
                            <el-form-item label="是否调回境内" prop="cfagit.recgrp.bas.thyn">
                                <c-select v-model="model.cfagit.recgrp.bas.thyn" style="width:100%" placeholder="请选择是否调回境内">
                                        <el-option
                                                v-for="item in codes.thyn"
                                                :key="item.value"
                                                :label="item.label"
                                                :value="item.value"
                                                >
                                        </el-option>
                                </c-select>
                            </el-form-item>
                        </c-col>

                        <c-col :span="24">
                            <el-form-item label="资金调回金额" prop="cfagit.recgrp.bas.thje">
                                <c-input :disabled="model.cfagit.recgrp.bas.thyn=='0'" v-model="model.cfagit.recgrp.bas.thje"  placeholder="请输入资金调回金额"></c-input>
                            </el-form-item>
                        </c-col>

                        <c-col :span="24">
                            <el-form-item label="是否与境外投资相关" prop="cfagit.recgrp.bas.jwyn">
                                <c-select v-model="model.cfagit.recgrp.bas.jwyn" style="width:100%" placeholder="请选择是否与境外投资相关">
                                </c-select>
                            </el-form-item>
                        </c-col>

                        <c-col :span="24">
                            <el-form-item label="发行/上市国家与地区" prop="cfagit.recgrp.bas.issuecountrycode">
                                <c-input  v-model="model.cfagit.recgrp.bas.issuecountrycode" maxlength="3"  placeholder="请输入发行/上市国家与地区"></c-input>
                            </el-form-item>
                        </c-col>
                        <c-col :span="24">
                                <c-col :span="6" :offset="6">
                                    <c-checkbox v-model="model.cfagit.recp.pubp.founds3">补充营运或流动性资金</c-checkbox>
                                </c-col>
                                <c-col :span="6" :offset="6">
                                    <c-checkbox v-model="model.cfagit.recp.pubp.founds4">其他境外使用</c-checkbox>
                                </c-col>
                        </c-col>
                        <c-col :span="24">
                                <c-col :span="6" :offset="6">
                                     <c-checkbox v-model="model.cfagit.recp.pubp.founds7">以贸易形式回流</c-checkbox>
                                </c-col>
                                <c-col :span="6" :offset="6">
                                     <c-checkbox v-model="model.cfagit.recp.pubp.founds8">以其他形式回流</c-checkbox>
                                </c-col>
                        </c-col>
                </c-col>
        </c-col>
    </c-row>
                                               
       <!-- <c-col :span="12">
        <el-form-item label="主债务签约日期" prop="cfagit.recgrp.bas.maindebtcondate">
            <c-date-picker type="date"  v-model="model.cfagit.recgrp.bas.maindebtcondate" style="width:100%"  placeholder="请选择主债务签约日期"></c-date-picker>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="主债务到期日" prop="cfagit.recgrp.bas.maindebtmaturity">
            <c-date-picker type="date"  v-model="model.cfagit.recgrp.bas.maindebtmaturity" style="width:100%"  placeholder="请选择主债务到期日"></c-date-picker>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="主债务期限（日）" prop="cfagit.recgrp.bas.maindebtdate">
            <c-input  v-model="model.cfagit.recgrp.bas.maindebtdate"  placeholder="请输入主债务期限（日）"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="借款利率（%）" prop="cfagit.recgrp.bas.intrat">
            <c-input  v-model="model.cfagit.recgrp.bas.intrat"  placeholder="请输入借款利率（%）"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
	    <c-checkbox v-model="model.cfagit.recp.pubp.founds1">境外�'接投资</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.cfagit.recp.pubp.founds2">偿还境外债务</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.cfagit.recp.pubp.founds3">补充营运或流动性资金</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.cfagit.recp.pubp.founds4">其他境外使用</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.cfagit.recp.pubp.founds8">以其他形式回流</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.cfagit.recp.pubp.founds5">以�'接投资形式回流</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.cfagit.recp.pubp.founds7">以�'�易形式回流</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.cfagit.recp.pubp.founds6">以外债形式回流</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="被担保人境内母公司中文名称" prop="cfagit.recgrp.bas.guedparecompname">
            <c-input type="textarea" v-model="model.cfagit.recgrp.bas.guedparecompname" maxlength="60" show-word-limit placeholder="请输入被担保人境内母公司中文名称" ></c-input>
        </el-form-item>
        </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="被担保人境内母公司英文名称" prop="cfagit.recgrp.bas.guedparecompnamen">
            <c-input type="textarea" v-model="model.cfagit.recgrp.bas.guedparecompnamen" maxlength="60" show-word-limit placeholder="请输入被担保人境内母公司英文名称" ></c-input>
        </el-form-item>
        </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="被担保人境内母公司代码" prop="cfagit.recp.pubp.cousel1.guedparecompcode">
            <c-input  v-model="model.cfagit.recp.pubp.cousel1.guedparecompcode" maxlength="18"  placeholder="请输入被担保人境内母公司代码"></c-input>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="是否有反担保人" prop="cfagit.recgrp.bas.cgyn">
            <c-select v-model="model.cfagit.recgrp.bas.cgyn" style="width:100%" placeholder="请选择是否有反担保人">
              </c-select>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="反担保人国别/地区代码" prop="cfagit.recgrp.bas.cgcode">
            <c-input  v-model="model.cfagit.recgrp.bas.cgcode" maxlength="32"  placeholder="请输入反担保人国别/地区代码"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="反担保人国别/地区代码" prop="cfagit.recgrp.bas.cgcouncode">
            <c-input  v-model="model.cfagit.recgrp.bas.cgcouncode" maxlength="3"  placeholder="请输入反担保人国别/地区代码"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onCousel1Cgcouncodbut">
            ?
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="反担保人中文名称" prop="cfagit.recgrp.bas.cgname">
            <c-input type="textarea" v-model="model.cfagit.recgrp.bas.cgname" maxlength="64" show-word-limit placeholder="请输入反担保人中文名称" ></c-input>
        </el-form-item>
        </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="反担保人英文名称" prop="cfagit.recgrp.bas.cgnamen">
            <c-input type="textarea" v-model="model.cfagit.recgrp.bas.cgnamen" maxlength="64" show-word-limit placeholder="请输入反担保人英文名称" ></c-input>
        </el-form-item>
        </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="是否调回境内" prop="cfagit.recgrp.bas.thyn">
            <c-select v-model="model.cfagit.recgrp.bas.thyn" style="width:100%" placeholder="请选择是否调回境内">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="资金调回金额" prop="cfagit.recgrp.bas.thje">
            <c-input  v-model="model.cfagit.recgrp.bas.thje"  placeholder="请输入资金调回金额"></c-input>
        </el-form-item>
       </c-col>
                  
	<c-col :span="12">
	    <span  v-text="model.cfagit.recp.thjewating"   data-path=".cfagit.recp.thjewating" > </span>
	</c-col>
                                   
       <c-col :span="12">
        <el-form-item label="是否与境外投资相关" prop="cfagit.recgrp.bas.jwyn">
            <c-select v-model="model.cfagit.recgrp.bas.jwyn" style="width:100%" placeholder="请选择是否与境外投资相关">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="发行/上市国家与地区" prop="cfagit.recgrp.bas.issuecountrycode">
            <c-input  v-model="model.cfagit.recgrp.bas.issuecountrycode" maxlength="3"  placeholder="请输入发行/上市国家与地区"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onCousel1Isscoucodbut">
            ?
        </c-button>
       </c-col> -->
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitopn/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
    mixins: [commonProcess],
    data(){
        return {

        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>
