<template>
    <div class="eibs-tab">
        <c-col :span="24">
            <!-- ======================左边====================== -->
            <c-col :span="12" style="padding-right: 20px">
                <c-col :span="24">
                    <c-form-item :label="$t('fttfmt.资金调拨业务参考号')" prop="ftdgrp.rec.ownref">
                        <c-input v-model="model.ftdgrp.rec.ownref" maxlength="16"
                            :placeholder="$t('other.请输入') + $t('fttfmt.资金调拨业务参考号')"></c-input>
                    </c-form-item>
                </c-col>
                <!-- S0000004 : 资金部负责人 -->

                <c-col :span="24">
                    <c-form-item :label="$t('fttfmt.资金部负责人')" prop="fttp.usr.extkey">
                        <c-input v-model="model.fttp.usr.extkey" maxlength="8"
                            :placeholder="$t('other.请输入') + $t('fttfmt.资金部负责人')"></c-input>
                    </c-form-item>
                </c-col>
                <!-- S0000005 : 定存拆借类型 -->

                <c-col :span="24">
                    <el-form-item :label="$t('fttfmt.定存拆借类型')" prop="ftdgrp.rec.fttyp">
                        <c-select v-model="model.ftdgrp.rec.fttyp" :code="codes.ffttyp" style="width:100%"
                            :placeholder="$t('other.请输入') + $t('fttfmt.定存拆借类型')">
                        </c-select>
                    </el-form-item>
                </c-col>
                <!-- S0000006 : 定存拆借金额 -->

                <c-col :span="24">
                    <c-col :span="12">
                        <el-form-item :label="$t('fttfmt.定存拆借金额')" prop="setmod.doccur">
                            <c-select v-model="model.setmod.doccur" :code="codes.curtxt1" style="width:100%"
                                :placeholder="$t('other.请输入') + $t('fttfmt.定存拆借金额币种')">
                            </c-select>
                        </el-form-item>
                    </c-col>
                    <c-col :span="12" class="pl8">
                        <c-form-item label-width="0" prop="ftdgrp.cbs.max.amt">
                            <c-input v-model="model.ftdgrp.cbs.max.amt"
                                :placeholder="$t('other.请输入') + $t('fttfmt.定存拆借金额')"></c-input>
                        </c-form-item>
                    </c-col>
                </c-col>
                <!-- S0000011 : 到期日 -->

                <c-col :span="24">
                    <el-form-item :label="$t('fttfmt.到期日')" prop="ftdgrp.rec.matdat">
                        <c-date-picker type="date" v-model="model.ftdgrp.rec.matdat" style="width:100%"
                            :placeholder="$t('other.请输入') + $t('fttfmt.到期日')"></c-date-picker>
                    </el-form-item>
                </c-col>
                <!-- S0000012 : 年利率 -->

                <c-col :span="24">
                    <c-form-item :label="$t('fttfmt.年利率')" prop="ftdgrp.rec.rat">
                        <c-input v-model="model.ftdgrp.rec.rat"
                            :placeholder="$t('other.请输入') + $t('fttfmt.年利率')"></c-input>
                    </c-form-item>
                </c-col>
                <!-- S0000017 : 利息金额 -->
                <c-col :spam="24">
                    <c-col :span="12">
                        <el-form-item :label="$t('fttfmt.利息金额币种')" prop="ftdgrp.cbs.max.cur">
                            <c-select v-model="model.ftdgrp.cbs.max.cur" :code="codes.curtxt1" style="width:100%"
                                :placeholder="$t('other.请输入') + $t('fttfmt.利息金额币种')">
                            </c-select>
                        </el-form-item>
                    </c-col>

                    <c-col :span="12" class="pl8">
                        <c-form-item label-width="0" prop="intamt">
                            <c-input v-model="model.intamt" :placeholder="$t('other.请输入') + $t('fttfmt.利息金额')"></c-input>
                        </c-form-item>
                    </c-col>
                </c-col>

                <!-- S0000018 : 结算总金额 -->
                <c-col :spam="24">
                    <c-col :span="12">
                        <el-form-item :label="$t('fttfmt.结算总金额币种')" prop="ftdgrp.cbs.max.cur">
                            <c-select v-model="model.ftdgrp.cbs.max.cur" :code="codes.curtxt1" style="width:100%"
                                :placeholder="$t('other.请输入') + $t('fttfmt.结算总金额币种')">
                            </c-select>
                        </el-form-item>
                    </c-col>
                    <c-col :span="12" class="pl8">
                        <c-form-item label-width="0" prop="setmod.setamt">
                            <c-input v-model="model.setmod.setamt" :placeholder="$t('other.请输入') + '结算总金额'"></c-input>
                        </c-form-item>
                    </c-col>
                </c-col>
                <!-- S0000023 : 挂账编号 -->

                <c-col :span="24">
                    <c-form-item :label="$t('fttfmt.挂账编号')" prop="ftdgrp.rec.gzno">
                        <c-input v-model="model.ftdgrp.rec.gzno" maxlength="16"
                            :placeholder="$t('other.请输入') + $t('fttfmt.挂账编号')"></c-input>
                    </c-form-item>
                </c-col>
            </c-col>
            <!-- ======================右边====================== -->
            <c-col :span="12" style="padding-left: 20px">
                <c-col :span="24">
                    <c-form-item :label="$t('fttfmt.名称')" prop="ftdgrp.rec.nam">
                        <c-input v-model="model.ftdgrp.rec.nam" maxlength="40"
                            :placeholder="$t('other.请输入') + $t('fttfmt.名称')"></c-input>
                    </c-form-item>
                </c-col>
                <c-col :span="24">
                    <el-card class="box-card">
                        <c-ptap :model="model" :requiredExtkey="true" :disabled="false" :isAdrblk="true"
                            :haveAdrLabel="true" :isShowCard="false"
                            :argadr="{ title: '资金拆出行', grp: 'ftdgrp', rol: 'tro' }" ptytyp="B">
                        </c-ptap>
                    </el-card>
                </c-col>
                <c-col :span="24">
                    <el-card class="box-card">
                        <c-ptap :model="model" :requiredExtkey="true" :disabled="false" :isAdrblk="true"
                            :haveAdrLabel="true" :isShowCard="false"
                            :argadr="{ title: '资金拆入行', grp: 'ftdgrp', rol: 'tri' }" ptytyp="B">
                        </c-ptap>
                    </el-card>
                </c-col>
                <c-col :span="24">
                    <el-card class="box-card">
                        <c-ptap :model="model" :requiredExtkey="true" :disabled="false" :isAdrblk="true"
                            :haveAdrLabel="true" :isShowCard="false"
                            :argadr="{ title: '账户行', grp: 'ftdgrp', rol: 'act' }" ptytyp="B">
                        </c-ptap>
                    </el-card>
                </c-col>
            </c-col>
        </c-col>
    </div>
</template>
<script>
import Api from "~/service/Api"
import Event from "../event"

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

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

    }
}
</script>
<style></style>