<template>
    <c-content class="eibs-tab" :height="200">
        <div class="infTopBtn">
            <c-button size="small" type="primary">toSearch</c-button>
            <el-button-group>
                <c-button size="small" type="primary" icon="el-icon-arrow-left" disabled></c-button>
                <c-button size="small" type="primary" icon="el-icon-arrow-right" disabled></c-button>
            </el-button-group>
            <c-button size="small" type="primary">Print</c-button>
            <c-button size="small" type="primary" disabled>Use</c-button>
            <c-button size="small" type="primary" disabled>Loginfo</c-button>
            <c-button size="small" type="primary">Exit</c-button>
        </div>

        <c-row class="infrow" style="margin-top:50px;">
        <!-- Additional Conditions                  -->
        <c-col :span="19" :offset="1">
            <el-form-item label="附加条件" label-width="100px" prop="ledgrp.blk.adlcnd">
                <c-input 
                    type="textarea" 
                    :rows="16"
                    v-model="model.ledgrp.blk.adlcnd" 
                    maxlength="65" 
                    show-word-limit 
                    placeholder="请输入附加条件" 
                ></c-input>
            </el-form-item>
        </c-col>
                    
        <c-col :span="3" :offset="1">
            <c-button 
                size="small" 
                type="primary" 
                icon="el-icon-search" 
                @click="onAdlcndButtxmsel"
            >
            ...
            </c-button>
        </c-col>

        <!-- Special payment conditions for beneficiary exists              -->
        <c-col :span="24" class="adcp_cheak">
            <c-checkbox v-model="model.ledgrp.rec.spcbenflg"> 
                受益人特殊付款条款
            </c-checkbox>
        </c-col>

        <!-- Special Payment Conditions for specified Bank only -->
        <c-col :span="22" class="adcp_cheak">
            <c-checkbox v-model="model.ledgrp.rec.spcrcbflg">
                收款银行特殊付款条款
            </c-checkbox>
        </c-col>             
        
        <!-- Red/Green Clause               -->
        <c-col :span="22"  :offset="1" class="adcp_cheak">
            <c-checkbox v-model="model.ledgrp.rec.redclsflg">
                Red/Green Clause
            </c-checkbox>
        </c-col>

        <!-- Instructions to Pay,accept,negot,bank -->   
        <c-col :span="19" :offset="1">
            <el-form-item label="付款、承兑、议付银行指示" label-width="100px" prop="ledgrp.blk.insbnk">
                <c-input
                    type="textarea"
                    :rows="4"
                    v-model="model.ledgrp.blk.insbnk"
                    maxlength="65"
                    show-word-limit
                    placeholder="付款、承兑、议付银行指示"
                ></c-input>
            </el-form-item>
        </c-col>                            
        
        <c-col :span="3" :offset="1">
            <c-button
                size="small"
                type="primary"
                icon="el-icon-search"
                @click="onInsbnkButtxmsel"
            >
                ...
            </c-button>
        </c-col>
        </c-row>
    </c-content>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infled/Event"

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

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

    }
}
</script>
<style>
    .adcp_button{
        margin: 20px 0 0 -10px;
    }
    .adcp_cheak {
        margin: 0px 0 10px 150px;
    }
</style>
