<template>
  <div class="eibs-tab">
                              
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="attp.recget.sdamod.dadsnd">
            <c-input  v-model="model.attp.recget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="业务编号" prop="cpdgrp.rec.ownref">
            <c-input  v-model="model.cpdgrp.rec.ownref" maxlength="16"  placeholder="请输入业务编号"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="attp.recget.sdamod.seainf">
            <c-input  v-model="model.attp.recget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onAttpGetref">
            GetRef
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Externally Displayed Name to Identify the Contract" prop="cpdgrp.rec.nam">
            <c-input  v-model="model.cpdgrp.rec.nam" maxlength="40"  placeholder="请输入Externally Displayed Name to Identify the Contract"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="汇款金额" prop="cpdgrp.cbs.nom1.cur">
            <c-select v-model="model.cpdgrp.cbs.nom1.cur" style="width:100%" placeholder="请选择汇款金额">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="汇款币种" prop="cpdgrp.cbs.max.cur">
            <c-select v-model="model.cpdgrp.cbs.max.cur" style="width:100%" placeholder="请选择汇款币种">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="汇款金额" prop="cpdgrp.cbs.nom1.amt">
            <c-input  v-model="model.cpdgrp.cbs.nom1.amt" :dbCode="curtxt" placeholder="请输入汇款金额"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="汇款金额" prop="cpdgrp.cbs.max.amt">
            <c-input  v-model="model.cpdgrp.cbs.max.amt"  placeholder="请输入汇款金额"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="汇款性质" prop="cpdgrp.rec.trntyp">
            <c-select v-model="model.cpdgrp.rec.trntyp" style="width:100%" placeholder="请选择汇款性质">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="汇款方式" prop="cpdgrp.rec.paytype">
            <c-select v-model="model.cpdgrp.rec.paytype" style="width:100%" placeholder="请选择汇款方式">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="付款人常驻国家/地区编码" prop="attp.country">
            <c-input  v-model="model.attp.country" maxlength="3"  placeholder="请输入付款人常驻国家/地区编码"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onAttpSelbut1">
            ?
        </c-button>
       </c-col>
                  
	<c-col :span="12">
	    <span  v-text="model.attp.shktyp"   data-path=".attp.shktyp" > </span>
	</c-col>
                  
       <c-col :span="12">
        <el-form-item label="收款对象" prop="cpdgrp.rec.gors">
            <c-select v-model="model.cpdgrp.rec.gors" style="width:100%" placeholder="请选择收款对象">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="费用类型" prop="attp.feetyp">
            <c-select v-model="model.attp.feetyp" style="width:100%" placeholder="请选择费用类型">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="汇款人账户性质" prop="attp.acctyp">
            <c-select v-model="model.attp.acctyp" style="width:100%" placeholder="请选择汇款人账户性质">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="起息日期" prop="attp.opndat">
            <c-date-picker type="date"  v-model="model.attp.opndat" style="width:100%"  placeholder="请选择起息日期"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Value Date" prop="cpdgrp.rec.valdat">
            <c-date-picker type="date"  v-model="model.cpdgrp.rec.valdat" style="width:100%"  placeholder="请选择Value Date"></c-date-picker>
        </el-form-item>
       </c-col>
                  
	<c-col :span="12">
	    <span  v-text="model.attp.opndatlab"   data-path=".attp.opndatlab" > </span>
	</c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="所属行" prop="cpdgrp.rec.othbch">
            <c-input  v-model="model.cpdgrp.rec.othbch" maxlength="8"  placeholder="请输入所属行"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Uil Payment" prop="attp.payuil">
            <c-select v-model="model.attp.payuil" style="width:100%" placeholder="请选择Uil Payment">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="客户类型" prop="cpdgrp.rec.clityp">
            <c-select v-model="model.cpdgrp.rec.clityp" style="width:100%" placeholder="请选择客户类型">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="报文类型" prop="attp.swftyp">
            <c-select v-model="model.attp.swftyp" style="width:100%" placeholder="请选择报文类型">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="业务种类" prop="attp.bustyp">
            <c-select v-model="model.attp.bustyp" style="width:100%" placeholder="请选择业务种类">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.cpdgrp.rec.tsnflg">同名划转标志</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="相关参考号" prop="attp.xnggbh">
            <c-input  v-model="model.attp.xnggbh" maxlength="16"  placeholder="请输入相关参考号"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="清算编号" prop="attp.sysno">
            <c-input  v-model="model.attp.sysno" maxlength="21"  placeholder="请输入清算编号"></c-input>
        </el-form-item>
       </c-col>
                  
	<c-col :span="12">
	    <span  v-text="model.attp.xnglab"   data-path=".attp.xnglab" > </span>
	</c-col>
                  
       <c-col :span="12">
        <el-form-item label="收款人常驻国家/地区代码" prop="attp.paycountcode">
            <c-input  v-model="model.attp.paycountcode" maxlength="3"  placeholder="请输入收款人常驻国家/地区代码"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onAttpSelbut">
            ?
        </c-button>
       </c-col>
                                                                     
       <c-col :span="12">
        <el-form-item label="汇款人名称" prop="attp.orcnam">
            <c-input type="textarea" v-model="model.attp.orcnam" maxlength="65" show-word-limit placeholder="请输入汇款人名称" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="接收行名称" prop="attp.resbchnam">
            <c-input  v-model="model.attp.resbchnam" maxlength="42"  placeholder="请输入接收行名称"></c-input>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="接收行BIC" prop="attp.resbch">
            <c-input  v-model="model.attp.resbch" maxlength="11"  placeholder="请输入接收行BIC"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="汇款人地址" prop="attp.orcadr">
            <c-input type="textarea" v-model="model.attp.orcadr" maxlength="65" show-word-limit placeholder="请输入汇款人地址" ></c-input>
        </el-form-item>
        </c-col>
                                   
	<c-col :span="12">
	    <span  v-text="model.attp.sndlab"   data-path=".attp.sndlab" > </span>
	</c-col>
                  
       <c-col :span="12">
        <el-form-item label="收款人名称" prop="attp.pyenam">
            <c-input type="textarea" v-model="model.attp.pyenam" maxlength="65" show-word-limit placeholder="请输入收款人名称" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="发报行名称" prop="attp.sndbchnam">
            <c-input  v-model="model.attp.sndbchnam" maxlength="42"  placeholder="请输入发报行名称"></c-input>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="发报行BIC" prop="attp.sndbch">
            <c-input  v-model="model.attp.sndbch" maxlength="11"  placeholder="请输入发报行BIC"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onAttpSerpty">
            查询客户号
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="收款人地址" prop="attp.pyeadr">
            <c-input type="textarea" v-model="model.attp.pyeadr" maxlength="65" show-word-limit placeholder="请输入收款人地址" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="汇款人帐号" prop="cpdgrp.rec.orcact">
            <c-input  v-model="model.cpdgrp.rec.orcact" maxlength="35"  placeholder="请输入汇款人帐号"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="收款人帐号" prop="cpdgrp.rec.pyeact">
            <c-input  v-model="model.cpdgrp.rec.pyeact" maxlength="35"  placeholder="请输入收款人帐号"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="attp.orcp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.attp.orcp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="attp.pyep.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.attp.pyep.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="cpdgrp.orc.pts.extkey">
            <c-input  v-model="model.cpdgrp.orc.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="attp.orcp.ptsget.sdamod.seainf">
            <c-input  v-model="model.attp.orcp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onOrcpDet">
            Details
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="External Key of Address" prop="cpdgrp.pye.pts.extkey">
            <c-input  v-model="model.cpdgrp.pye.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="attp.pyep.ptsget.sdamod.seainf">
            <c-input  v-model="model.attp.pyep.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onPyepDet">
            Details
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="名称" prop="cpdgrp.orc.namelc">
            <c-input type="textarea" v-model="model.cpdgrp.orc.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="名称" prop="cpdgrp.pye.namelc">
            <c-input type="textarea" v-model="model.cpdgrp.pye.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="cpdgrp.orc.pts.adrblk">
            <c-input type="textarea" v-model="model.cpdgrp.orc.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="cpdgrp.orc.dbfadrblkcn">
            <c-input type="textarea" v-model="model.cpdgrp.orc.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Address Block" prop="cpdgrp.pye.pts.adrblk">
            <c-input type="textarea" v-model="model.cpdgrp.pye.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="cpdgrp.pye.dbfadrblkcn">
            <c-input type="textarea" v-model="model.cpdgrp.pye.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="cpdgrp.orc.adrelc">
            <c-input type="textarea" v-model="model.cpdgrp.orc.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="地址" prop="cpdgrp.pye.adrelc">
            <c-input type="textarea" v-model="model.cpdgrp.pye.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptati/Event"

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

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

    }
}
</script>
<style>

</style>
