<template> <div class="eibs-tab"> <!-- ------------------Left------------------> <c-col :span="11"> <c-col :span="24"> <el-form-item label="Receiver of Message" style="width: 100%" label-width="35%" > <c-fullbox> <c-input maxlength="16" placeholder="请输入Reference" disabled ></c-input> <template slot="footer"> <c-button style="margin: 0px 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf" > <span style=" font-family: '宋体'; font-weight: bold; " >i</span > </c-button> <c-button style="margin: 0 0" size="small" type="primary" @click="onOpnpButgetref" > Detail </c-button> </template> </c-fullbox> </el-form-item> <c-col :span="24"> <el-form-item label="" label-width="35%"> <c-input type="textarea" :rows="3" maxlength="140" show-word-limit placeholder="请输入Address Block" disabled ></c-input> </el-form-item> </c-col> </c-col> <c-col :span="24"> <el-form-item label="Sender's Corresp.(Tag 53a)" style="width: 100%" label-width="35%" > <c-fullbox> <c-input maxlength="16" placeholder="请输入Reference" disabled ></c-input> <template slot="footer"> <c-button style="margin: 0px 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf" > <span style=" font-family: '宋体'; font-weight: bold; " >i</span > </c-button> <c-button style="margin: 0 0" size="small" type="primary" @click="onOpnpButgetref" > Detail </c-button> </template> </c-fullbox> </el-form-item> <c-col :span="24"> <el-form-item label="" label-width="35%"> <c-input type="textarea" :rows="3" maxlength="140" show-word-limit placeholder="请输入Address Block" disabled ></c-input> </el-form-item> </c-col> </c-col> <c-col :span="24"> <el-form-item label="Receiver's Corresp.(Tag 54a)" style="width: 100%" label-width="35%" > <c-fullbox> <c-input maxlength="16" placeholder="请输入Reference" disabled ></c-input> <template slot="footer"> <c-button style="margin: 0px 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf" > <span style=" font-family: '宋体'; font-weight: bold; " >i</span > </c-button> <c-button style="margin: 0 0" size="small" type="primary" @click="onOpnpButgetref" > Detail </c-button> </template> </c-fullbox> </el-form-item> <c-col :span="24"> <el-form-item label="" label-width="35%"> <c-input type="textarea" :rows="3" maxlength="140" show-word-limit placeholder="请输入Address Block" disabled ></c-input> </el-form-item> </c-col> </c-col> <c-col :span="24"> <el-form-item label="Receiv.Corr.Account" label-width="35%"> <c-input maxlength="16" placeholder="" ></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="Intermediary Institut.(Tag 54a)" style="width: 100%" label-width="35%" > <c-fullbox> <c-input maxlength="16" placeholder="请输入Reference" disabled ></c-input> <template slot="footer"> <c-button style="margin: 0px 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf" > <span style=" font-family: '宋体'; font-weight: bold; " >i</span > </c-button> <c-button style="margin: 0 0" size="small" type="primary" @click="onOpnpButgetref" > Detail </c-button> </template> </c-fullbox> </el-form-item> <c-col :span="24"> <el-form-item label="" label-width="35%"> <c-input type="textarea" :rows="3" maxlength="140" show-word-limit placeholder="请输入Address Block" disabled ></c-input> </el-form-item> </c-col> </c-col> <c-col :span="24"> <el-form-item label="Intermediary Account" label-width="35%"> <c-input maxlength="16" placeholder="" ></c-input> </el-form-item> </c-col> </c-col> <!-- ------------------Right------------------> <c-col :span="11" :offset="1"> <c-col :span="24"> <el-form-item label="Account with Institution/Account(Tag 54a)" style="width: 100%" label-width="35%" > <c-fullbox> <c-input maxlength="16" placeholder="请输入Reference" v-model="setgll.setgrp.awi.pts.extkey" @change="setgllChange" @keyup.enter.native=" showGridPromptDialog('cpdgrp.pye.pts.extkey') " ></c-input> <template slot="footer"> <c-button style="margin: 0px 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf" > <span style=" font-family: '宋体'; font-weight: bold; " >i</span > </c-button> <c-button style="margin: 0 0" size="small" type="primary" @click="onOpnpButgetref" > Detail </c-button> </template> </c-fullbox> </el-form-item> <c-col :span="24"> <el-form-item label="" label-width="35%"> <c-input type="textarea" :rows="3" maxlength="140" show-word-limit placeholder="请输入Address Block" v-model="setgll.setgrp.awi.pts.adrblk" disabled ></c-input> </el-form-item> </c-col> <c-col :span="24"> <c-col :span="24"> <el-form-item label="" label-width="35%"> <c-col :span="19"> <c-input maxlength="140" placeholder="请输入Address Block" disabled ></c-input> </c-col> <c-col :span="5" style="text-align: right"> <c-checkbox v-model="model.cpdgrp.rec.tsnflg" >Use Opt.F</c-checkbox > </c-col> </el-form-item> </c-col> </c-col> </c-col> <c-col :span="24"> <el-form-item label="Beneficiary Customer/Account(Tag 59a)" style="width: 100%" label-width="35%" > <c-fullbox> <c-input v-model="model.cpdgrp.pye.pts.extkey" maxlength="16" placeholder="请输入Reference" disabled ></c-input> <template slot="footer"> <c-button style="margin: 0px 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf" > <span style=" font-family: '宋体'; font-weight: bold; " >i</span > </c-button> <c-button style="margin: 0 0" size="small" type="primary" @click="onOpnpButgetref" > Temp. </c-button> </template> </c-fullbox> </el-form-item> <c-col :span="24"> <el-form-item label="" label-width="35%"> <c-input type="textarea" :rows="3" maxlength="140" v-model="model.cpdgrp.pye.pts.adrblk" show-word-limit placeholder="请输入Address Block" disabled ></c-input> </el-form-item> </c-col> </c-col> <c-col :span="24"> <el-form-item label="Remittance Information(Tag 70)" label-width="35%" > <c-input type="textarea" :rows="3" maxlength="140" show-word-limit placeholder="请输入Address Block" disabled ></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="Details of Charges(Tag 71a)" label-width="35%" > </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="Sender to Receiver Infomation(Tag 72)" label-width="35%" > <c-input type="textarea" :rows="3" maxlength="140" show-word-limit placeholder="请输入Address Block" disabled ></c-input> </el-form-item> </c-col> </c-col> </div> </template> <script> import Api from "~/service/Api"; import commonProcess from "~/mixin/commonProcess"; import CodeTable from "~/config/CodeTable"; import Event from "~/model/Cptopn/Event"; export default { inject: ["root"], props: ["model", "codes"], mixins: [commonProcess], data() { return { setgll:{ setgrp:{ awi:{ pts:{ } } } } }; }, methods: { ...Event, setgllChange(){ console.log(this.model.setmod.setglg) this.model.setmod.setglg.setgll[this.model.setmod.setglg.setgll.length - 1].setgrp.awi.pts.extkey = this.setgll.setgrp.awi.pts.extkey; this.model.setmod.setglg.setgll[this.model.setmod.setglg.setgll.length - 1].setgrp.awi.pts.adrblk = this.setgll.setgrp.awi.pts.adrblk; } }, created: function () { // this.setgll = this.model.setmod.setglg.setgll; }, }; </script> <style> </style>