<template>
  <div class="eibs-tab">
                                               
       <c-col :span="12">
        <el-form-item label="Per Medium" prop="trnmod.trndoc.doccur.cortyp">
            <c-select v-model="model.trnmod.trndoc.doccur.cortyp" style="width:100%" placeholder="请选择Per Medium">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Type of Copy" prop="trnmod.trndoc.doccur.oriflg">
            <c-select v-model="model.trnmod.trndoc.doccur.oriflg" style="width:100%" placeholder="请选择Type of Copy">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="'Attached' Information" prop="trnmod.trndoc.doccur.attlab">
            <c-input  v-model="model.trnmod.trndoc.doccur.attlab" maxlength="80"  placeholder="请输入'Attached' Information"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="actual role of receiver" prop="trnmod.trndoc.doccur.roladr">
            <c-select v-model="model.trnmod.trndoc.doccur.roladr" style="width:100%" placeholder="请选择actual role of receiver">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onDoccurButaddok">
            &Apply
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="trnmod.trndoc.doccur.rcvp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.trnmod.trndoc.doccur.rcvp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small"  icon="el-icon-delete" @click="onDoccurButdel">
            &Delete
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Application Form for SMH" prop="trnmod.trndoc.doccur.apf">
            <c-select v-model="model.trnmod.trndoc.doccur.apf" style="width:100%" placeholder="请选择Application Form for SMH">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="External Key of Address" prop="trnmod.trndoc.doccur.rcv.pts.extkey">
            <c-input  v-model="model.trnmod.trndoc.doccur.rcv.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="trnmod.trndoc.doccur.rcvp.ptsget.sdamod.seainf">
            <c-input  v-model="model.trnmod.trndoc.doccur.rcvp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onRcvpDet">
            Details
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Number of bank" prop="trnmod.trndoc.doccur.rcv.pts.bankno">
            <c-input  v-model="model.trnmod.trndoc.doccur.rcv.pts.bankno" maxlength="20"  placeholder="请输入Number of bank"></c-input>
        </el-form-item>
       </c-col>
                  
	<c-col :span="12">
	    <span  v-text="model.trnmod.trndoc.doccur.apflabcpycov"   data-path=".trnmod.trndoc.doccur.apflabcpycov" > </span>
	</c-col>
                  
	<c-col :span="12">
	    <span  v-text="model.trnmod.trndoc.doccur.apflabcpyori"   data-path=".trnmod.trndoc.doccur.apflabcpyori" > </span>
	</c-col>
                  
       <c-col :span="12">
        <el-form-item label="名称" prop="trnmod.trndoc.doccur.rcv.namelc">
            <c-input type="textarea" v-model="model.trnmod.trndoc.doccur.rcv.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="trnmod.trndoc.doccur.rcv.pts.adrblk">
            <c-input type="textarea" v-model="model.trnmod.trndoc.doccur.rcv.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="trnmod.trndoc.doccur.rcv.dbfadrblkcn">
            <c-input type="textarea" v-model="model.trnmod.trndoc.doccur.rcv.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="trnmod.trndoc.doccur.rcv.pts.jigomc">
            <c-input type="textarea" v-model="model.trnmod.trndoc.doccur.rcv.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称  电证用" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="type 1" prop="trnmod.trndoc.doccur.apftyp1">
            <c-select v-model="model.trnmod.trndoc.doccur.apftyp1" style="width:100%" placeholder="请选择type 1">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="no. of copies for type 1" prop="trnmod.trndoc.doccur.apfcpy1">
            <c-input  v-model="model.trnmod.trndoc.doccur.apfcpy1"  placeholder="请输入no. of copies for type 1"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="no. originals for original for Send To" prop="trnmod.trndoc.doccur.apfcpyori">
            <c-input  v-model="model.trnmod.trndoc.doccur.apfcpyori"  placeholder="请输入no. originals for original for Send To"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="地址" prop="trnmod.trndoc.doccur.rcv.adrelc">
            <c-input type="textarea" v-model="model.trnmod.trndoc.doccur.rcv.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="type 2" prop="trnmod.trndoc.doccur.apftyp2">
            <c-select v-model="model.trnmod.trndoc.doccur.apftyp2" style="width:100%" placeholder="请选择type 2">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="no. of copies for type 2" prop="trnmod.trndoc.doccur.apfcpy2">
            <c-input  v-model="model.trnmod.trndoc.doccur.apfcpy2"  placeholder="请输入no. of copies for type 2"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="no. of copies Original CPY 2" prop="trnmod.trndoc.doccur.apfcpy5">
            <c-input  v-model="model.trnmod.trndoc.doccur.apfcpy5"  placeholder="请输入no. of copies Original CPY 2"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="地址  电证用" prop="trnmod.trndoc.doccur.rcv.pts.dizhii">
            <c-input type="textarea" v-model="model.trnmod.trndoc.doccur.rcv.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址  电证用" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="type 3" prop="trnmod.trndoc.doccur.apftyp3">
            <c-select v-model="model.trnmod.trndoc.doccur.apftyp3" style="width:100%" placeholder="请选择type 3">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="no. of copies for type 3" prop="trnmod.trndoc.doccur.apfcpy3">
            <c-input  v-model="model.trnmod.trndoc.doccur.apfcpy3"  placeholder="请输入no. of copies for type 3"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="no. of copies Original CPY 3" prop="trnmod.trndoc.doccur.apfcpy6">
            <c-input  v-model="model.trnmod.trndoc.doccur.apfcpy6"  placeholder="请输入no. of copies Original CPY 3"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Contract Reference of Receiver" prop="trnmod.trndoc.doccur.adrref">
            <c-input  v-model="model.trnmod.trndoc.doccur.adrref" maxlength="16"  placeholder="请输入Contract Reference of Receiver"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="type 4" prop="trnmod.trndoc.doccur.apftyp4">
            <c-select v-model="model.trnmod.trndoc.doccur.apftyp4" style="width:100%" placeholder="请选择type 4">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="no. of copies for type 4" prop="trnmod.trndoc.doccur.apfcpy4">
            <c-input  v-model="model.trnmod.trndoc.doccur.apfcpy4"  placeholder="请输入no. of copies for type 4"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="no. of copies Original CPY 4" prop="trnmod.trndoc.doccur.apfcpy7">
            <c-input  v-model="model.trnmod.trndoc.doccur.apfcpy7"  placeholder="请输入no. of copies Original CPY 4"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Primary Output Chanel of Messages SWT, LET, TLX, TCO" prop="trnmod.trndoc.doccur.rcv.adr.cortyp">
            <c-select v-model="model.trnmod.trndoc.doccur.rcv.adr.cortyp" style="width:100%" placeholder="请选择Primary Output Chanel of Messages SWT, LET, TLX, TCO">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Default Language Code" prop="trnmod.trndoc.doccur.rcv.adr.uil">
            <c-select v-model="model.trnmod.trndoc.doccur.rcv.adr.uil" style="width:100%" placeholder="请选择Default Language Code">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Telexnumber" prop="trnmod.trndoc.doccur.adrtlx">
            <c-input  v-model="model.trnmod.trndoc.doccur.adrtlx" maxlength="20"  placeholder="请输入Telexnumber"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Telex Authenticator Exchanged" prop="trnmod.trndoc.doccur.adrtlxaut">
            <c-select v-model="model.trnmod.trndoc.doccur.adrtlxaut" style="width:100%" placeholder="请选择Telex Authenticator Exchanged">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onDoccurButcpy">
            &Copy To
        </c-button>
       </c-col>
                                                                                                                                                          
       <c-col :span="12">
        <el-form-item label="Bolero Address RID" prop="trnmod.trndoc.doccur.adrrid">
            <c-input  v-model="model.trnmod.trndoc.doccur.adrrid" maxlength="50"  placeholder="请输入Bolero Address RID"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="BIC" prop="trnmod.trndoc.doccur.adrbic">
            <c-input  v-model="model.trnmod.trndoc.doccur.adrbic" maxlength="11"  placeholder="请输入BIC"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="TradeConnect ID" prop="trnmod.trndoc.doccur.adrtid">
            <c-input  v-model="model.trnmod.trndoc.doccur.adrtid" maxlength="23"  placeholder="请输入TradeConnect ID"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Faxnumber" prop="trnmod.trndoc.doccur.adrfax">
            <c-input  v-model="model.trnmod.trndoc.doccur.adrfax" maxlength="20"  placeholder="请输入Faxnumber"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="DTA Account" prop="trnmod.trndoc.doccur.adrdtacid">
            <c-input  v-model="model.trnmod.trndoc.doccur.adrdtacid" maxlength="23"  placeholder="请输入DTA Account"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="DTE Account" prop="trnmod.trndoc.doccur.adrdtecid">
            <c-input  v-model="model.trnmod.trndoc.doccur.adrdtecid" maxlength="23"  placeholder="请输入DTE Account"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Address" prop="trnmod.trndoc.doccur.adrblk">
            <c-input type="textarea" v-model="model.trnmod.trndoc.doccur.adrblk" maxlength="35" show-word-limit placeholder="请输入Address" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="stream of ptm records of selected address" prop="trnmod.trndoc.doccur.ptmstm">
            <c-input  v-model="model.trnmod.trndoc.doccur.ptmstm"  placeholder="请输入stream of ptm records of selected address"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onDoccurButsnd">
            &Send To
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Telex Answerback" prop="trnmod.trndoc.doccur.adrtlxans">
            <c-input  v-model="model.trnmod.trndoc.doccur.adrtlxans" maxlength="20"  placeholder="请输入Telex Answerback"></c-input>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="BIC/S.W.I.F.T. Authenticator Exchanged" prop="trnmod.trndoc.doccur.adrbicaut">
            <c-select v-model="model.trnmod.trndoc.doccur.adrbicaut" style="width:100%" placeholder="请选择BIC/S.W.I.F.T. Authenticator Exchanged">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onDoccurButshw">
            Show
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Message Priority /SWIFT/Telex" prop="trnmod.trndoc.doccur.msgpri">
            <c-select v-model="model.trnmod.trndoc.doccur.msgpri" style="width:100%" placeholder="请选择Message Priority /SWIFT/Telex">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Email address" prop="trnmod.trndoc.doccur.adreml">
            <c-input  v-model="model.trnmod.trndoc.doccur.adreml" maxlength="80"  placeholder="请输入Email address"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Document Date" prop="trnmod.trndoc.doccur.docdat">
            <c-date-picker type="date"  v-model="model.trnmod.trndoc.doccur.docdat" style="width:100%"  placeholder="请选择Document Date"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.trnmod.trndoc.doccur.supcovflg">Suppress Cover Letter</c-checkbox>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Currency Telex/SWIFT for Key" prop="trnmod.trndoc.doccur.keycur">
            <c-select v-model="model.trnmod.trndoc.doccur.keycur" style="width:100%" placeholder="请选择Currency Telex/SWIFT for Key">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Key Amount" prop="trnmod.trndoc.doccur.keyamt">
            <c-input  v-model="model.trnmod.trndoc.doccur.keyamt"  placeholder="请输入Key Amount"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Key Text for Telex/SWIFT Key" prop="trnmod.trndoc.doccur.keytxt">
            <c-input  v-model="model.trnmod.trndoc.doccur.keytxt" maxlength="40"  placeholder="请输入Key Text for Telex/SWIFT Key"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Contact" prop="trnmod.trndoc.doccur.ptcnam">
            <c-input  v-model="model.trnmod.trndoc.doccur.ptcnam" maxlength="90"  placeholder="请输入Contact"></c-input>
        </el-form-item>
       </c-col>
                  
	<c-col :span="12">
	    <span  v-text="model.trnmod.trndoc.doccur.keyadd1"   data-path=".trnmod.trndoc.doccur.keyadd1" > </span>
	</c-col>
                  
       <c-col :span="12">
        <el-form-item label="Additional text for letter" prop="trnmod.trndoc.doccur.addtxt">
            <c-input type="textarea" v-model="model.trnmod.trndoc.doccur.addtxt" maxlength="90" show-word-limit placeholder="请输入Additional text for letter" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Additional text for electronic message" prop="trnmod.trndoc.doccur.addstr">
            <c-input type="textarea" v-model="model.trnmod.trndoc.doccur.addstr" maxlength="35" show-word-limit placeholder="请输入Additional text for electronic message" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onAddstrtxmButtxmsel">
            ...
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onAddtxttxmButtxmsel">
            ...
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="备注（电证）" prop="trnmod.trndoc.doccur.remark">
            <c-input type="textarea" v-model="model.trnmod.trndoc.doccur.remark" maxlength="35" show-word-limit placeholder="请输入备注（电证）" ></c-input>
        </el-form-item>
        </c-col>
                  
	<c-col :span="12">
	    <span  v-text="model.trnmod.trndoc.doccur.keynar"   data-path=".trnmod.trndoc.doccur.keynar" > </span>
	</c-col>
                  
	<c-col :span="12">
	    <span  v-text="model.trnmod.trndoc.doccur.keyadd2"   data-path=".trnmod.trndoc.doccur.keyadd2" > </span>
	</c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.trnmod.trndoc.doccur.addtxttxm.chkast">Allow *</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Narrative for MT 730, MT752 and MT756" prop="trnmod.trndoc.doccur.tag79z">
            <c-input type="textarea" v-model="model.trnmod.trndoc.doccur.tag79z" maxlength="50" show-word-limit placeholder="请输入Narrative for MT 730, MT752 and MT756" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.trnmod.trndoc.doccur.addstrtxm.chkast">Allow *</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onDoccurButcan">
            Canc&el
        </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/Cptati/Event"

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

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

    }
}
</script>
<style>

</style>
