<template> <div class="eibs-tab"> <c-row> <c-col :span="24"> <c-col :span="11"> <!-- 不为swift格式左边 --> <c-col :span="24"> <el-form-item v-if="model.gitp.swiftflg != 'Y'" label="Applicant Ref." prop="gidgrp.apl.pts.ref" > <c-input v-model="model.gidgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref." ></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if="model.gitp.swiftflg != 'Y'" label="Applicant" prop="gidgrp.apl.pts.extkey" > <c-fullbox> <c-input v-model="model.gidgrp.apl.pts.extkey" maxlength="16" placeholder="请输入External Key of Address" @keyup.enter.native=" showGridPromptDialog(`gidgrp.apl.pts.extkey`) " ></c-input> <template slot="footer"> <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" > <span style="font-family: '宋体'; font-weight: bold" >i</span > </c-button> <c-button :disabled="model.gidgrp.apl.pts.adrblk==''" size="small" type="primary" @click="onAplpDet" > Details </c-button> </template> </c-fullbox> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if="model.gitp.swiftflg != 'Y'" label="地址名称" prop="gidgrp.apl.pts.adrblk" > <c-input disabled rows="4" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="140" show-word-limit placeholder="请输入地址名称" ></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if="model.gitp.swiftflg != 'Y'" label="Confirming Bank Ref." prop="gidgrp.con.pts.ref" > <c-input disabled v-model="model.gidgrp.con.pts.ref" maxlength="16" placeholder="请输入Applicant Ref." ></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if="model.gitp.swiftflg != 'Y'" label="Confirming Bank" prop="gidgrp.con.pts.extkey" > <c-fullbox> <c-input v-model="model.gidgrp.con.pts.extkey" disabled maxlength="16" placeholder="请输入External Key of Address" @keyup.enter.native=" showGridPromptDialog(`gidgrp.con.pts.extkey`) " ></c-input> <template slot="footer"> <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" > <span style="font-family: '宋体'; font-weight: bold" >i</span > </c-button> <c-button disabled size="small" type="primary" @click="onConpDet" > Details </c-button> </template> </c-fullbox> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if="model.gitp.swiftflg != 'Y'" label="地址名称" prop="gidgrp.con.pts.adrblk" > <c-input :disabled="model.gidgrp.con.pts.adrblk != ''" type="textarea" rows="4" v-model="model.gidgrp.con.pts.adrblk" show-word-limit placeholder="请输入地址名称" ></c-input> </el-form-item> </c-col> <!-- 为swift格式左边 --> <c-col :span="24"> <el-form-item v-if=" model.gitp.swiftflg == 'Y' && (model.gidgrp.rec.purposin == 'ISCO' || model.gidgrp.rec.purposin == 'ICCO') " label="Issuing Bank's Ref." prop="gidgrp.apl.pts.ref" > <c-input v-model="model.gidgrp.apl.pts.ref" maxlength="16" placeholder="请输入Issuing Bank's Ref." ></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if=" model.gitp.swiftflg == 'Y' && (model.gidgrp.rec.purposin == 'ISCO' || model.gidgrp.rec.purposin == 'ICCO') " label="Issuing Bank" prop="gidgrp.apl.pts.extkey" > <c-fullbox> <c-input v-model="model.gidgrp.apl.pts.extkey" maxlength="16" placeholder="请输入External Key of Address" @keyup.enter.native=" showGridPromptDialog(`gidgrp.apl.pts.extkey`) " @blur="benBlur" ></c-input> <template slot="footer"> <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" > <span style="font-family: '宋体'; font-weight: bold" >i</span > </c-button> <c-button disabled size="small" type="primary" @click="onAplpDet" > Details </c-button> </template> </c-fullbox> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if=" model.gitp.swiftflg == 'Y' && (model.gidgrp.rec.purposin == 'ISCO' || model.gidgrp.rec.purposin == 'ICCO') " label="地址名称" prop="gidgrp.apl.pts.adrblk" > <c-input disabled rows="4" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="140" show-word-limit placeholder="请输入地址名称" ></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if=" model.gitp.swiftflg == 'Y' && (model.gidgrp.rec.purposin == 'ISCO' || model.gidgrp.rec.purposin == 'ICCO') " label="Applicant's Ref." prop="gidgrp.ctr.pts.ref" > <c-input v-model="model.gidgrp.ctr.pts.ref" maxlength="16" placeholder="请输入Applicant Ref." ></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if=" model.gitp.swiftflg == 'Y' && (model.gidgrp.rec.purposin == 'ISCO' || model.gidgrp.rec.purposin == 'ICCO') " label="Applicant" prop="gidgrp.ctr.pts.extkey" > <c-fullbox> <c-input v-model="model.gidgrp.ctr.pts.extkey" maxlength="16" placeholder="请输入External Key of Address" @keyup.enter.native=" showGridPromptDialog(`gidgrp.ctr.pts.extkey`) " @blur="benBlur" ></c-input> <template slot="footer"> <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" > <span style="font-family: '宋体'; font-weight: bold" >i</span > </c-button> <c-button size="small" type="primary" @click="onCtrpDet"> Details </c-button> </template> </c-fullbox> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if=" model.gitp.swiftflg == 'Y' && (model.gidgrp.rec.purposin == 'ISCO' || model.gidgrp.rec.purposin == 'ICCO') " label="地址名称" prop="gidgrp.ctr.pts.adrblk" > <c-input :disabeld="model.gidgrp.ctr.pts.adrblk != ''" rows="4" type="textarea" v-model="model.gidgrp.ctr.pts.adrblk" show-word-limit placeholder="请输入地址名称" ></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if=" model.gitp.swiftflg == 'Y' && (model.gidgrp.rec.purposin == 'ISSU' || model.gidgrp.rec.purposin == '') " label="Applicant's Ref." prop="gidgrp.apl.pts.ref" > <c-input v-model="model.gidgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref." ></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if=" model.gitp.swiftflg == 'Y' && (model.gidgrp.rec.purposin == 'ISSU' || model.gidgrp.rec.purposin == '') " label="Applicant" prop="gidgrp.apl.pts.extkey" > <c-fullbox> <c-input v-model="model.gidgrp.apl.pts.extkey" maxlength="16" placeholder="请输入External Key of Address" @keyup.enter.native=" showGridPromptDialog(`gidgrp.apl.pts.extkey`) " @blur="benBlur" ></c-input> <template slot="footer"> <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" > <span style="font-family: '宋体'; font-weight: bold" >i</span > </c-button> <c-button disabled size="small" type="primary" @click="onAplpDet" > Details </c-button> </template> </c-fullbox> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if=" (model.gitp.swiftflg == 'Y') & (model.gidgrp.rec.purposin == 'ISSU' || model.gidgrp.rec.purposin == '') " label="地址名称" prop="gidgrp.apl.pts.adrblk" > <c-input disabled rows="4" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="140" show-word-limit placeholder="请输入地址名称" ></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if=" model.gitp.swiftflg == 'Y' && (model.gidgrp.rec.purposin == 'ISSU' || model.gidgrp.rec.purposin == '') " label="Accountee/ObI. Ref." prop="gidgrp.ctr.pts.ref" > <c-input v-model="model.gidgrp.ctr.pts.ref" maxlength="16" placeholder="请输入Accountee/ObI. Ref." ></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if=" model.gitp.swiftflg == 'Y' && (model.gidgrp.rec.purposin == 'ISSU' || model.gidgrp.rec.purposin == '') " label="Accountee/ObI." prop="gidgrp.ctr.pts.extkey" > <c-fullbox> <c-input v-model="model.gidgrp.ctr.pts.extkey" maxlength="16" placeholder="请输入External Key of Address" @keyup.enter.native=" showGridPromptDialog(`gidgrp.ctr.pts.extkey`) " @blur="benBlur" ></c-input> <template slot="footer"> <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" > <span style="font-family: '宋体'; font-weight: bold" >i</span > </c-button> <c-button size="small" type="primary" @click="onCtrpDet"> Details </c-button> </template> </c-fullbox> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if=" model.gitp.swiftflg == 'Y' && (model.gidgrp.rec.purposin == 'ISSU' || model.gidgrp.rec.purposin == '') " label="地址名称" prop="gidgrp.ctr.pts.adrblk" > <c-input :disabled="model.gidgrp.ctr.pts.adrblk != ''" rows="4" type="textarea" v-model="model.gidgrp.ctr.pts.adrblk" maxlength="140" show-word-limit placeholder="请输入地址名称" ></c-input> </el-form-item> </c-col> </c-col> <c-col :span="11" :offset="1"> <!-- 不为swift格式右边 --> <c-col :span="24"> <el-form-item v-if="model.gitp.swiftflg != 'Y'" label="受益人" prop="gidgrp.ben.pts.ref" > <c-input v-model="model.gidgrp.ben.pts.ref" maxlength="16" placeholder="请输入Applicant Ref." ></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if="model.gitp.swiftflg != 'Y'" label="受益人" prop="gidgrp.ben.pts.extkey" > <c-fullbox> <c-input v-model="model.gidgrp.ben.pts.extkey" maxlength="16" placeholder="请输入External Key of Address" @keyup.enter.native=" showGridPromptDialog(`gidgrp.ben.pts.extkey`) " ></c-input> <template slot="footer"> <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" > <span style="font-family: '宋体'; font-weight: bold" >i</span > </c-button> <c-button :disabled="model.gidgrp.rec.hndtyp == 'OT'" size="small" type="primary" @click="onBenpDet" > Details </c-button> </template> </c-fullbox> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if="model.gitp.swiftflg != 'Y'" label="地址名称" prop="gidgrp.ben.pts.adrblk" > <c-input :disabled=" model.gidgrp.rec.hndtyp == 'OT' || model.gidgrp.ben.pts.adrblk != '' " rows="4" type="textarea" maxlength="140" v-model="model.gidgrp.ben.pts.adrblk" show-word-limit placeholder="请输入地址名称" ></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if=" (model.gidgrp.rec.hndtyp == 'OC' || model.gidgrp.rec.hndtyp == 'OT') && model.gitp.swiftflg != 'Y' " label="Issuing Bank" prop="gidgrp.iss.pts.ref" > <c-input v-model="model.gidgrp.iss.pts.ref" maxlength="16" placeholder="请输入Issuing Bank" ></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if=" (model.gidgrp.rec.hndtyp == 'OC' || model.gidgrp.rec.hndtyp == 'OT') && model.gitp.swiftflg != 'Y' " label="Issuing Bank" prop="gidgrp.iss.pts.extkey" > <c-fullbox> <c-input v-model="model.gidgrp.iss.pts.extkey" maxlength="16" placeholder="请输入External Key of Address" @keyup.enter.native=" showGridPromptDialog(`gidgrp.iss.pts.extkey`) " ></c-input> <template slot="footer"> <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" > <span style="font-family: '宋体'; font-weight: bold" >i</span > </c-button> <c-button disabled size="small" type="primary" @click="onIsspDet" > Details </c-button> </template> </c-fullbox> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if=" (model.gidgrp.rec.hndtyp == 'OC' || model.gidgrp.rec.hndtyp == 'OT') && model.gitp.swiftflg != 'Y' " label="地址名称" prop="gidgrp.iss.pts.adrblk" > <c-input disabled rows="4" type="textarea" v-model="model.gidgrp.iss.pts.adrblk" maxlength="140" show-word-limit placeholder="请输入地址名称" ></c-input> </el-form-item> </c-col> <!-- 为swift格式右边 --> <c-col :span="24"> <el-form-item v-if="model.gitp.swiftflg == 'Y'" label="Beneficiary's Ref." prop="gidgrp.ben.pts.ref" > <c-input v-model="model.gidgrp.ben.pts.ref" maxlength="16" placeholder="请输入Beneficiary's Ref." ></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if="model.gitp.swiftflg == 'Y'" label="Beneficiary" prop="gidgrp.ben.pts.extkey" > <c-fullbox> <c-input v-model="model.gidgrp.ben.pts.extkey" maxlength="16" placeholder="请输入External Key of Address" @keyup.enter.native=" showGridPromptDialog(`gidgrp.ben.pts.extkey`) " @blur="benBlur" ></c-input> <template slot="footer"> <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" > <span style="font-family: '宋体'; font-weight: bold" >i</span > </c-button> <c-button size="small" type="primary" @click="onBenpDet"> Details </c-button> </template> </c-fullbox> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if="model.gitp.swiftflg == 'Y'" label="地址名称" prop="gidgrp.ben.pts.adrblk" > <c-input :disabled="model.gidgrp.ben.pts.adrblk != ''" rows="4" type="textarea" v-model="model.gidgrp.ben.pts.adrblk" maxlength="140" show-word-limit placeholder="请输入地址名称" ></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if="model.gitp.swiftflg == 'Y'" label="Advising Bank Ref." prop="gidgrp.atb.pts.ref" > <c-input v-model="model.gidgrp.atb.pts.ref" maxlength="16" placeholder="请输入Advising Bank." ></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if="model.gitp.swiftflg == 'Y'" label="Advising Bank" prop="gidgrp.atb.pts.extkey" > <c-fullbox> <c-input v-model="model.gidgrp.atb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address" @keyup.enter.native=" showGridPromptDialog(`gidgrp.atb.pts.extkey`) " @blur="benBlur" ></c-input> <template slot="footer"> <c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" > <span style="font-family: '宋体'; font-weight: bold" >i</span > </c-button> <c-button size="small" type="primary" @click="onAtbpDet"> Details </c-button> </template> </c-fullbox> </el-form-item> </c-col> <c-col :span="24"> <el-form-item v-if="model.gitp.swiftflg == 'Y'" label="地址名称" prop="gidgrp.atb.pts.adrblk" > <c-input :disabled="model.gidgrp.atb.pts.adrblk != ''" rows="4" type="textarea" v-model="model.gidgrp.atb.pts.adrblk" maxlength="140" show-word-limit placeholder="请输入地址名称" ></c-input> </el-form-item> </c-col> </c-col> </c-col> </c-row> <c-col :span="24"> <el-form-item label="Additional Parties"> <c-edit-table :model="model" v-bind="ptsaddg" style="margin-left: -120px" > <el-table-column label="操作"> <template slot-scope="scope"> <el-button size="mini" @click="handleEdit(scope.$index, scope.row)" type="primary" >详情</el-button > </template> </el-table-column> </c-edit-table> </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/Gitopn/Event"; import Ptap from "~/views/Public/Ptap"; import Utils from "~/utils"; export default { components: { "c-ptap": Ptap }, inject: ["root"], props: ["model", "codes"], mixins: [commonProcess], data() { return { ptsaddg: { columns: [ { title: "Role", width: "120px", dataIndex: "rol", show: "select", }, { title: "Party", width: "180px", dataIndex: "ptyextkey", show: "input", }, { title: "Name of Party", width: "250px", dataIndex: "nam", }, { title: "Reference for Address", width: "250px", dataIndex: "ref", }, ], urls: "gitp.ptsaddp.ptsaddg", }, }; }, methods: { ...Event, async benBlur() { let rtnmsg = await this.executeDefault("gidgrp.rec.sndto"); if (rtnmsg.respCode == SUCCESS) { Utils.copyValueFromVO(this.model, rtnmsg.data); } }, }, watch:{ }, created: function () {}, }; </script> <style> </style>