<!--D,显示rz1-->

<template>
<div class="eibs-tab">

    <div v-if="model.ledgrp.rec.dflg=='D' || model.dedgrp.rec.dflg=='D'">

        <c-col :span="24" style="height: 24px">
            <el-form-item label="我行已将上述融资款项" class="messageLabel"></el-form-item>
        </c-col>

        <c-col :span="24" style="height: 0px">
            <el-divider></el-divider>
        </c-col>
        <br><br>

        <c-row>
            <c-col :span="12">
                <c-checkbox v-model="model.financ.rzkx1">贷记贵司指定账户</c-checkbox>
            </c-col>

            <c-col :span="12">
                <el-form-item label="帐号:" prop="financ.acc">
                    <c-input v-model="model.financ.acc" maxlength="40" placeholder="请输入帐号" :disabled="model.financ.rzkx1==''||model.financ.rzkx1==null"></c-input>
                </el-form-item>
            </c-col>
        </c-row>

        <c-row>
            <c-col :span="12">
                <c-checkbox v-model="model.financ.rzkx5">支付国内信用证项下款项</c-checkbox>
            </c-col>

            <c-col :span="12">
                <el-form-item label="业务编号" prop="financ.ref5">
                    <c-input v-model="model.financ.ref5" maxlength="20" placeholder="请输入业务编号" :disabled="model.financ.rzkx1==''||model.financ.rzkx1==null"></c-input>
                </el-form-item>
            </c-col>
        </c-row>

    </div>

    <div v-if="model.ledgrp.rec.dflg!='D' && model.dedgrp.rec.dflg!='D'">

        <c-col :span="24" style="height: 24px">
            <el-form-item label="我行已将上述融资款项" class="messageLabel"></el-form-item>
        </c-col>

        <c-col :span="24" style="height: 0px">
            <el-divider></el-divider>
        </c-col>
        <br><br>

        <c-row>
            <c-col :span="12">
                <c-checkbox v-model="model.financ.rzkx1">贷记贵司指定账户</c-checkbox>
            </c-col>

            <c-col :span="12">
                <el-form-item label="帐号:" prop="financ.acc" >
                    <c-input v-model="model.financ.acc" maxlength="40" placeholder="请输入帐号" :disabled="model.financ.rzkx1==''||model.financ.rzkx1==null"></c-input>
                </el-form-item>
            </c-col>
        </c-row>

        <c-row>
            <c-col :span="12">
                <c-checkbox v-model="model.financ.rzkx2">支付进口信用证项下款项</c-checkbox>
            </c-col>

            <c-col :span="12">
                <el-form-item label="业务编号" prop="financ.ref2">
                    <c-input v-model="model.financ.ref2" maxlength="20" placeholder="请输入业务编号" :disabled="model.financ.rzkx1==''||model.financ.rzkx1==null"></c-input>
                </el-form-item>
            </c-col>
        </c-row>

        <c-row>
            <c-col :span="12">
                <c-checkbox v-model="model.financ.rzkx3">支付进口代收项下款项</c-checkbox>
            </c-col>

            <c-col :span="12">
                <el-form-item label="业务编号" prop="financ.ref3">
                    <c-input v-model="model.financ.ref3" maxlength="20" placeholder="请输入业务编号" :disabled="model.financ.rzkx1==''||model.financ.rzkx1==null"></c-input>
                </el-form-item>
            </c-col>
        </c-row>

        <c-row>
            <c-col :span="12">
                <c-checkbox v-model="model.financ.rzkx4">支付汇出汇款项下款项</c-checkbox>
            </c-col>

            <c-col :span="12">
                <el-form-item label="业务编号" prop="financ.ref4">
                    <c-input v-model="model.financ.ref4" maxlength="20" placeholder="请输入业务编号" :disabled="model.financ.rzkx1==''||model.financ.rzkx1==null"></c-input>
                </el-form-item>
            </c-col>
        </c-row>

    </div>

</div>
</template>

<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bptopn/Event"
import Utils from "~/utils";

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

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

    }
}
</script>

<style>

</style>
