<template>
  <div class="eibs-tab">
                                               
       <c-col :span="12">
        <el-form-item label="国内外汇贷款编号" prop="cfatrt.recgrp.bas.dofoexlocode">
            <c-input  v-model="model.cfatrt.recgrp.bas.dofoexlocode" maxlength="28"  placeholder="请输入国内外汇贷款编号"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="删除原因" prop="cfatrt.recgrp.bas.actiondesc">
            <c-input type="textarea" v-model="model.cfatrt.recgrp.bas.actiondesc" maxlength="32" show-word-limit placeholder="请输入删除原因" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onSav">
            &Save
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="操作类型" prop="cfatrt.recgrp.bas.actiontype">
            <c-select v-model="model.cfatrt.recgrp.bas.actiontype" style="width:100%" placeholder="请选择操作类型">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onChk">
            &Check
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="债权人代码" prop="cfatrt.recgrp.bas.creditorcode">
            <c-input  v-model="model.cfatrt.recgrp.bas.creditorcode" maxlength="12"  placeholder="请输入债权人代码"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="国内外汇贷款类型" prop="cfatrt.recgrp.bas.dofoexlotype">
            <c-select v-model="model.cfatrt.recgrp.bas.dofoexlotype" style="width:100%" placeholder="请选择国内外汇贷款类型">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.cfatrt.recp.pubp.acp">确认</c-checkbox>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="贷款币种" prop="cfatrt.recgrp.bas.currence">
            <c-select v-model="model.cfatrt.recgrp.bas.currence" style="width:100%" placeholder="请选择贷款币种">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="签约金额" prop="cfatrt.recgrp.bas.contractamount">
            <c-input  v-model="model.cfatrt.recgrp.bas.contractamount"  placeholder="请输入签约金额"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="年化利率值" prop="cfatrt.recgrp.bas.anninrate">
            <c-input  v-model="model.cfatrt.recgrp.bas.anninrate"  placeholder="请输入年化利率值"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onCutpErr">
            &Error
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="起息日" prop="cfatrt.recgrp.bas.valuedate">
            <c-date-picker type="date"  v-model="model.cfatrt.recgrp.bas.valuedate" style="width:100%"  placeholder="请选择起息日"></c-date-picker>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="到期日" prop="cfatrt.recgrp.bas.maturity">
            <c-date-picker type="date"  v-model="model.cfatrt.recgrp.bas.maturity" style="width:100%"  placeholder="请选择到期日"></c-date-picker>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="债务人代码" prop="cfatrt.recgrp.bas.debtorcode">
            <c-input  v-model="model.cfatrt.recgrp.bas.debtorcode" maxlength="18"  placeholder="请输入债务人代码"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="债务人中文名称" prop="cfatrt.recgrp.bas.debtorname">
            <c-input  v-model="model.cfatrt.recgrp.bas.debtorname" maxlength="128"  placeholder="请输入债务人中文名称"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="转贷项目名称" prop="cfatrt.recgrp.bas.lenproname">
            <c-input  v-model="model.cfatrt.recgrp.bas.lenproname" maxlength="128"  placeholder="请输入转贷项目名称"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="转贷协议号" prop="cfatrt.recgrp.bas.lenagree">
            <c-input  v-model="model.cfatrt.recgrp.bas.lenagree" maxlength="128"  placeholder="请输入转贷协议号"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="备注" prop="cfatrt.recgrp.bas.remark">
            <c-input type="textarea" v-model="model.cfatrt.recgrp.bas.remark" maxlength="31" show-word-limit placeholder="请输入备注" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onCan">
            E&xit
        </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/Trtame/Event"

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

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

    }
}
</script>
<style>

</style>
