<template>
  <div class="eibs-tab">
    <c-row>
        <c-col :span="24">
            <c-col :span="12">

                     <!-- <c-col :span="24">
                            <el-form-item label="Applicant Ref." prop="gidgrp.apc.pts.ref">
                                <c-input v-model="model.gidgrp.apc.pts.ref" maxlength="16"  placeholder="请输入Applicant Ref."></c-input>
                            </el-form-item>
                     </c-col>
                     <c-col :span="24">
                        <el-form-item label="Applicant" prop="gidgrp.apc.pts.extkey">
                            <c-fullbox>
                                <c-input v-model="model.gidgrp.apc.pts.extkey" 
                                         maxlength="16"  
                                         placeholder="请输入External Key of Address"
                                         @keyup.enter.native="
                                        showGridPromptDialog(`gidgrp.apc.pts.extkey`)
                                        "></c-input>
                            <template slot="footer">
                                <c-button
                                style="margin:0 10px 0 10px;padding: 0 12px;"
                                size="small"
                                type="primary"
                                @click="onSeainf(`gidgrp.apc.pts.extkey`)"
                                >
                                <span style="font-family:'宋体';font-weight:bold">i</span>
                                </c-button>
                                <c-button size="small" type="primary"  @click="onApcpDet">
                                    Details
                                </c-button>
                            </template>
                            </c-fullbox>  
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item label="Name of Party" prop="gidgrp.apc.pts.adrblk">
                            <c-input type="textarea" v-model="model.gidgrp.apc.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
                        </el-form-item>
                    </c-col> -->

                <c-col :span="24">
                    <c-ptap :model="model" :argadr="{
                    title: 'Applicant',
                    grp: 'gidgrp',
                    rol: 'apc',
                    }" 
                    :disabled="false">
                    </c-ptap>
                </c-col>
                    
                <c-col :span="24">
                    <c-ptap :model="model" :argadr="{
                    title: 'Obligor',
                    grp: 'gidgrp',
                    rol: 'ctc',
                    }" 
                    :disabled="false" 
                    @onAplpDet="onCtcpDet">
                    </c-ptap>
                </c-col>

                <c-col :span="24">
                    <c-ptap :model="model" :argadr="{
                    title: 'Int. Beneficiary',
                    grp: 'gidgrp',
                    rol: 'bec',
                    }" 
                    :disabled="false" 
                    @onAplpDet="onBecpDet">
                    </c-ptap>
                </c-col>
            </c-col>
            <c-col :span="11" :offset="1">
                    <c-col :span="24">
                        <c-ptap :model="model" :argadr="{
                        title: 'Issuing Bank',
                        grp: 'gidgrp',
                        rol: 'iss',
                        }" 
                        :disabled="true" 
                        @onAplpDet="onCtcpDet">
                        </c-ptap>
                    </c-col>

                    <c-col :span="24">
                        <c-ptap :model="model" :argadr="{
                        title: 'Ultimate Ben Bank',
                        grp: 'gidgrp',
                        rol: 'ben',
                        }" 
                        :disabled="true" 
                        @onAplpDet="onCtcpDet">
                        </c-ptap>
                    </c-col>

                    <c-col :span="24">
                            <el-form-item label="Avail. with Bank Ref." prop="gidgrp.avc.pts.ref">
                                <c-input disabled v-model="model.gidgrp.avc.pts.ref" maxlength="16"  placeholder="请输入Avail. with Bank Ref."></c-input>
                            </el-form-item>
                    </c-col>
                     <c-col :span="24">
                        <el-form-item label="External Key of Address" prop="gidgrp.avc.pts.extkey">
                            <c-fullbox>
                                <c-input disabled v-model="model.gidgrp.avc.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
                            <template slot="footer">
                                <c-button
                                style="margin:0 10px 0 10px;padding: 0 12px;"
                                size="small"
                                type="primary"
                                icon="el-icon-search"
                                @click="onSeainf(`gidgrp.avc.pts.extkey`)"
                                >
                                </c-button>
                                <c-button size="small" type="primary"  @click="onAvcpDet">
                                    Details
                                </c-button>
                            </template>
                            </c-fullbox>  
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item label="Name of Party" prop="gidgrp.avc.pts.nam">
                            <c-input disabled v-model="model.gidgrp.avc.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
                        </el-form-item>
                    </c-col>
            </c-col>
        </c-col>
    </c-row>
                                               
       <!-- <c-col :span="12">
        <el-form-item label="Applicant Ref." prop="gidgrp.apc.pts.ref">
            <c-input  v-model="model.gidgrp.apc.pts.ref" maxlength="16"  placeholder="请输入Applicant Ref."></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Issuing Bank Ref." prop="gidgrp.iss.pts.ref">
            <c-input  v-model="model.gidgrp.iss.pts.ref" maxlength="16"  placeholder="请输入Issuing Bank Ref."></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="gitp.apcp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.gitp.apcp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="External Key of Address" prop="gidgrp.apc.pts.extkey">
            <c-input  v-model="model.gidgrp.apc.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="gitp.apcp.ptsget.sdamod.seainf">
            <c-input  v-model="model.gitp.apcp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onApcpDet">
            Details
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="名称" prop="gidgrp.apc.namelc">
            <c-input type="textarea" v-model="model.gidgrp.apc.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Address Block" prop="gidgrp.apc.pts.adrblk">
            <c-input type="textarea" v-model="model.gidgrp.apc.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Chinese address" prop="gidgrp.apc.dbfadrblkcn">
            <c-input type="textarea" v-model="model.gidgrp.apc.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="地址" prop="gidgrp.apc.adrelc">
            <c-input type="textarea" v-model="model.gidgrp.apc.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gitp.apcsupflg">Suppress Applicant in 760 Seqence C Flag</c-checkbox>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Obligor Ref." prop="gidgrp.ctc.pts.ref">
            <c-input  v-model="model.gidgrp.ctc.pts.ref" maxlength="16"  placeholder="请输入Obligor Ref."></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Ultimate Ben. Ref." prop="gidgrp.ben.pts.ref">
            <c-input  v-model="model.gidgrp.ben.pts.ref" maxlength="16"  placeholder="请输入Ultimate Ben. Ref."></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="gitp.ctcp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.gitp.ctcp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="External Key of Address" prop="gidgrp.ctc.pts.extkey">
            <c-input  v-model="model.gidgrp.ctc.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="gitp.ctcp.ptsget.sdamod.seainf">
            <c-input  v-model="model.gitp.ctcp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onCtcpDet">
            Details
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="名称" prop="gidgrp.ctc.namelc">
            <c-input type="textarea" v-model="model.gidgrp.ctc.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Address Block" prop="gidgrp.ctc.pts.adrblk">
            <c-input type="textarea" v-model="model.gidgrp.ctc.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Chinese address" prop="gidgrp.ctc.dbfadrblkcn">
            <c-input type="textarea" v-model="model.gidgrp.ctc.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="地址" prop="gidgrp.ctc.adrelc">
            <c-input type="textarea" v-model="model.gidgrp.ctc.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Int. Beneficiary Ref." prop="gidgrp.bec.pts.ref">
            <c-input  v-model="model.gidgrp.bec.pts.ref" maxlength="16"  placeholder="请输入Int. Beneficiary Ref."></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="gitp.becp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.gitp.becp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="External Key of Address" prop="gidgrp.bec.pts.extkey">
            <c-input  v-model="model.gidgrp.bec.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="gitp.becp.ptsget.sdamod.seainf">
            <c-input  v-model="model.gitp.becp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onBecpDet">
            Details
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="名称" prop="gidgrp.bec.namelc">
            <c-input type="textarea" v-model="model.gidgrp.bec.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Address Block" prop="gidgrp.bec.pts.adrblk">
            <c-input type="textarea" v-model="model.gidgrp.bec.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Chinese address" prop="gidgrp.bec.dbfadrblkcn">
            <c-input type="textarea" v-model="model.gidgrp.bec.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="地址" prop="gidgrp.bec.adrelc">
            <c-input type="textarea" v-model="model.gidgrp.bec.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Avail. with Bank Ref." prop="gidgrp.avc.pts.ref">
            <c-input  v-model="model.gidgrp.avc.pts.ref" maxlength="16"  placeholder="请输入Avail. with Bank Ref."></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="gitp.avcp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.gitp.avcp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="External Key of Address" prop="gidgrp.avc.pts.extkey">
            <c-input  v-model="model.gidgrp.avc.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="gitp.avcp.ptsget.sdamod.seainf">
            <c-input  v-model="model.gitp.avcp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onAvcpDet">
            Details
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Name of Party" prop="gidgrp.avc.pts.nam">
            <c-input  v-model="model.gidgrp.avc.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
        </el-form-item>
       </c-col> -->
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";

import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitpop/Event"
import Ptap from "~/views/Public/Ptap";


export default {
    components: { "c-ptap": Ptap,
                },
    inject: ['root'],
    props:["model","codes"],
    mixins: [commonProcess,commonFuncs],
    data(){
        return {

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

    }
}
</script>
<style>

</style>
