<template>
    <div class="eibs-tab">
        <!-- ======================= 左边 ========================= -->
        <c-col :span="12" style="padding-right: 20px">
            <!-- S0000019 : 发生日期 -->
            <c-col :span="24">
                <el-form-item label="发生日期" prop="eblmod.ebl.reldat">
                    <c-date-picker type="date" v-model="model.eblmod.ebl.reldat" style="width:100%" disabled
                        placeholder="请输入发生日期"></c-date-picker>
                </el-form-item>
            </c-col>
            <c-col :span="24">
                <el-form-item prop="cfabut.basflg">
                    <c-checkbox v-model="model.cfabut.basflg" class="checkbox-left">签约信息</c-checkbox>
                </el-form-item>
            </c-col>
            <c-col :span="24">
                <c-col :span="12">
                    <el-form-item>
                        <c-checkbox v-model="model.cfabut.addnew" class="checkbox-left" disabled>新增接口数据</c-checkbox>
                    </el-form-item>
                </c-col>
                <c-col :span="12">
                    <c-form-item label="DCL数目" prop="cfabut.newdcl">
                        <c-input v-model.number="model.cfabut.newdcl" placeholder="请输入DCL数目">
                        </c-input>
                    </c-form-item>
                </c-col>
            </c-col>
        </c-col>
        <!-- ======================= 右边 ========================= -->
        <c-col :span="12" style="padding-left: 20px">
            <!-- S0000008 : 业务所属机构 -->
            <c-col :span="24">
                <el-form-item label="业务所属机构" prop="cfabut.ownextkey">
                    <c-select v-model="model.cfabut.ownextkey" style="width:100%" disabled placeholder="请输入业务所属机构"
                        :code="codes.ownextkey">
                    </c-select>
                </el-form-item>
            </c-col>
            <c-col :span="24">
                <el-form-item>
                    <c-checkbox v-model="model.cfabut.dclflg" class="checkbox-left">变动信息</c-checkbox>
                </el-form-item>
            </c-col>
        </c-col>

        <!-- <c-col :span="12">
            <span v-text="model.cfabut.dcllab" data-path=".cfabut.dcllab"> </span>
        </c-col>

        <c-col :span="12">
            <c-checkbox v-model="model.cfabut.dclflg">{{ $t('cfabut.C0000007') }}</c-checkbox>
        </c-col>

        <c-col :span="12">
            <span v-text="model.cfabut.vrflab" data-path=".cfabut.vrflab"> </span>
        </c-col>

        <c-col :span="12">
            <c-checkbox v-model="model.cfabut.vrfflg">{{ $t('cfabut.C0000017') }}</c-checkbox>
        </c-col>

        <c-col :span="12">
            <c-button size="small" type="primary" @click="onCfabutSav">
                {{ $t('cutp.C0000006') }}
            </c-button>
        </c-col>

        <c-col :span="12">
            <c-button size="small" type="primary" @click="onCfabutMod">
                {{ $t('cutp.C0000010') }}
            </c-button>
        </c-col>

        <c-col :span="12">
            <c-button size="small" type="primary" @click="onCfabutChk">
                {{ $t('cutp.C0000007') }}
            </c-button>
        </c-col>

        <c-col :span="12">
            <c-button size="small" icon="el-icon-delete" @click="onCfabutDel">
                {{ $t('cutp.C0000011') }}
            </c-button>
        </c-col> -->
        <!-- S0000028 : 代付利息 -->

        <!-- <c-col :span="12">
            <c-form-item label="代付还代利息" prop="eblmod.ebl.resamt">
                <c-input v-model="model.eblmod.ebl.resamt" :placeholder="$t('other.please_enter') + '代付还代利息'"></c-input>
            </c-form-item>
        </c-col> -->

        <!-- <c-col :span="12">
            <c-checkbox v-model="model.cfabut.addnew">{{ $t('cfabut.C0000015') }}</c-checkbox>
        </c-col>

        <c-col :span="12">
            <span v-text="model.cfabut.newdclnum" data-path=".cfabut.newdclnum"> </span>
        </c-col>

        <c-col :span="12">
            <c-form-item label="DCL数目" prop="cfabut.newdcl">
                <c-input v-model="model.cfabut.newdcl" :placeholder="$t('other.please_enter') + 'DCL数目'"></c-input>
            </c-form-item>
        </c-col>

        <c-col :span="12">
            <c-button size="small" type="primary" @click="onCutpErr">
                {{ $t('cutp.C0000009') }}
            </c-button>
        </c-col>

        <c-col :span="12">
            <span v-text="model.cfabut.newvrfnum" data-path=".cfabut.newvrfnum"> </span>
        </c-col>

        <c-col :span="12">
            <c-form-item label="VRF数目" prop="cfabut.newvrf">
                <c-input v-model="model.cfabut.newvrf" :placeholder="$t('other.please_enter') + 'VRF数目'"></c-input>
            </c-form-item>
        </c-col>

        <c-col :span="12">
            <c-button size="small" type="primary" @click="onCfabutExt">
                {{ $t('cutp.C0000008') }}
            </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/Eadame/Event"

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

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

    }
}
</script>
<style>

</style>