<template>
  <div class="eibs-tab">
    <c-blkTextarea :model="model" v-bind="blk"> </c-blkTextarea>
      <!-- Special payment conditions for beneficiary  -->
    <c-col :span="24" class="lttopn_adcp_check">
      <c-checkbox v-model="model.ltdgrp.rec.spcbenflg"
        >受益人特殊付款条款</c-checkbox
      >
    </c-col>

    <!-- Special payment conditions for receiving bank -->
    <c-col :span="24" class="lttopn_adcp_check">
      <c-checkbox v-model="model.ltdgrp.rec.spcrcbflg">
        收款银行特殊付款条款</c-checkbox
      >
    </c-col>

    <c-col :span="24" class="lttopn_adcp_cheak">
      <c-checkbox v-model="model.ltdgrp.rec.redclsflg"
        >Red/Green Clause</c-checkbox
      >
    </c-col>
    <c-blkTextarea :model="model" v-bind="blk1"> </c-blkTextarea>
    <!-- <c-col :span="24">                               
       <c-col :span="20">
        <el-form-item label="附加条件" prop="ltdgrp.blk.adlcnd">
            <c-input type="textarea" 
            :autosize="{ minRows: 6, maxRows: 8}"
            style="height:100%;width:100%;margin-right:20px;"
            v-model="model.ltdgrp.blk.adlcnd" 
            maxlength="65" 
            show-word-limit placeholder="请输入Additional Conditions" 
            ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="4" class="lttopn_dogp_button">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onAdlcndButtxmsel">
            ...
        </c-button>
       </c-col> 
              
       <c-col :span="24" class="lttopn_adcp_check">
	    <c-checkbox v-model="model.ltdgrp.rec.spcbenflg"
        >受益人特殊付款条款</c-checkbox>
       </c-col>
                  
       <c-col :span="24" class="lttopn_adcp_check">
	    <c-checkbox v-model="model.ltdgrp.rec.spcrcbflg">收款银行特殊付款条款</c-checkbox>
       </c-col>
                  
       <c-col :span="24" class="lttopn_adcp_check">
	    <c-checkbox 
        v-model="model.ltdgrp.rec.redclsflg">Red/Green Clause?</c-checkbox>
       </c-col>
                         
       <c-col :span="20">
        <el-form-item label="付款、承兑、议付银行指示" prop="ltdgrp.blk.insbnk">
            <c-input type="textarea" 
            :autosize="{ minRows: 6, maxRows: 8}"
            style="height:100%;width:100%;margin-right:20px;"
            v-model="model.ltdgrp.blk.insbnk" 
            maxlength="65" 
            show-word-limit placeholder="请输入Instructions to Pay.," 
            ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="4" class="lttopn_dogp_button">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onInsbnkButtxmsel">
            ...
        </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/Lttopn/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
    components: { "c-blkTextarea": BlkTextarea },
    mixins: [CommonProcess],
    data(){
        return {
      blk: {
        blkMsg: {
          title: "附加条件",
          dataUrl: "ledgrp.blk.adlcnd", //字段所在model路劲
          rows: 16,
        },
        rulePath: "letp.adlcnd.buttxmsel",
      },
      blk1: {
        blkMsg: {
          title: "付款、承兑、议付银行指示",
          dataUrl: "ledgrp.blk.insbnk", //字段所在model路劲
          rows: 4,
          maxlength: 2000,
        },
        rulePath: "letp.insbnk.buttxmsel",
      },
        };
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>
.lttopn_adcp_check {
  margin: 0px 0 10px 150px;
}
</style>
