Commit 754077f4 by liyixun

getame初始化

parent 9f239085
import Utils from "~/utils"
/**
* Getame Check规则
*/
let checkObj = {
"gidgrp.rec.tenref" :null,
"gidgrp.rec.giduil" :null,
"gidgrp.rec.jurlaws20" :null,
"gitp.aamp.aammod.addamtflg" :null,
"gidgrp.ben.pts.adrblk" :null,
"gidgrp.blk.atxexptxt" :null,
"gidgrp.atb.pts.adrblk" :null,
"gidgrp.con.pts.adrblk" :null,
"gitp.liatxtcmodflg" :null,
"trnmod.swiadd.exptxt" :null,
"gidgrp.rec.orcamt" :null,
"gidgrp.ben.adrelc" :null,
"gitp.usr.extkey" :null,
"trnmod.swiadd.amenbr" :null,
"gidgrp.rec.exptyp" :null,
"gidgrp.ctr.pts.extkey" :null,
"trnmod.swiadd.newliadat" :null,
"trnmod.swiadd.ameblk" :null,
"gidgrp.rec.liadat" :null,
"gidgrp.rec.sndto" :null,
"gidgrp.con.adrelc" :null,
"gidgrp.blk.liatxtc" :null,
"gitp.exptxtmodflg" :null,
"trnmod.swiadd.amedat" :null,
"gidgrp.rec.gtxinr" :null,
"gidgrp.rec.vrfdat" :null,
"gidgrp.rec.tendat" :null,
"gidgrp.rec.purpos" :null,
"gidgrp.gidcxm.cxmflg" :null,
"gidgrp.rec.autrnwflg" :null,
"gitamep.ramrol" :null,
"gidgrp.rec.legfrm" :null,
"gidgrp.apl.pts.extkey" :null,
"trnmod.swiadd.newexpdat" :null,
"gidgrp.apl.namelc" :null,
"gidgrp.rec.liatypc" :null,
"gidgrp.blk.orcplc" :null,
"gidgrp.atb.adrelc" :null,
"gidgrp.rec.revflg" :null,
"gidgrp.blk.addinf" :null,
"gidgrp.iss.adrelc" :null,
"gidgrp.rec.hndtyp" :null,
"gidgrp.adv.namelc" :null,
"gitp.swiftflg" :null,
"gidgrp.bdb.pts.extkey" :null,
"gidgrp.iss.pts.adrblk" :null,
"gidgrp.adv.pts.adrblk" :null,
"gidgrp.rec.orcref" :null,
"gidgrp.ctr.namelc" :null,
"gidgrp.blk.atxpreper" :null,
"trnmod.swiadd.liatxtc" :null,
"gidgrp.con.pts.extkey" :null,
"gidgrp.rec.tenclsdat" :null,
"trnmod.swiadd.newamt" :null,
"gidgrp.bdb.adrelc" :null,
"gidgrp.ctr.adrelc" :null,
"gidgrp.blk.covgodsrv" :null,
"gidgrp.blk.atxcovgodsrv" :null,
"gidgrp.con.namelc" :null,
"gitp.covgodsrvmodflg" :null,
"gidgrp.rec.orcrat" :null,
"gidgrp.ben.namelc" :null,
"gidgrp.ghd.aplnam" :null,
"gidgrp.rec.expflg" :null,
"gidgrp.ctr.pts.adrblk" :null,
"gidgrp.atb.namelc" :null,
"gidgrp.rec.orddat" :null,
"trnmod.swiadd.addamt" :null,
"gidgrp.rec.orcdat" :null,
"gidgrp.rec.stacty" :null,
"gidgrp.blk.exptxt" :null,
"gidgrp.atb.pts.extkey" :null,
"gidgrp.blk.atxliatxtc" :null,
"gidgrp.rec.jurplc" :null,
"gidgrp.rec.mannum" :null,
"gidgrp.blk.apprul" :null,
"gidgrp.apl.pts.adrblk" :null,
"trnmod.swiadd.purposame" :null,
"gidgrp.rec.jurlaw" :null,
"gidgrp.rec.acc" :null,
"trnmod.swiadd.ameamt" :null,
"gidgrp.rec.inudat" :null,
"gidgrp.iss.pts.ref" :null,
"gidgrp.blk.feetxt" :null,
"gitp.prepermodflg" :null,
"gidgrp.bdb.namelc" :null,
"gidgrp.rec.trmdat" :null,
"gidgrp.blk.preper" :null,
"gidgrp.apl.adrelc" :null,
"trnmod.swiadd.addamtcovs20" :null,
"gidgrp.adv.adrelc" :null,
"gidgrp.blk.apprultxt" :null,
"gidgrp.iss.namelc" :null,
"gidgrp.adv.pts.extkey" :null,
"gidgrp.iss.pts.extkey" :null,
"gidgrp.ben.pts.extkey" :null,
"gidgrp.bdb.pts.adrblk" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
...@@ -7,6 +7,7 @@ export default { ...@@ -7,6 +7,7 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.gidgrp.rec.ownref=rtnmsg.data.gidgrp_rec_ownref;
} }
else else
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Getopn{ export default class Getopn{
constructor () { constructor () {
...@@ -410,6 +411,10 @@ export default class Getopn{ ...@@ -410,6 +411,10 @@ export default class Getopn{
pts:new Pts().data, pts:new Pts().data,
}, },
}, },
setmod:new Pub().data.Setmod,
mtabut:new Pub().data.Mtabut,
trnmod:new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
......
...@@ -150,6 +150,7 @@ import Gitcrq from "./Gitcrq" ...@@ -150,6 +150,7 @@ import Gitcrq from "./Gitcrq"
import Infgcd from "./Infgcd" import Infgcd from "./Infgcd"
import Getsel from "./Getsel" import Getsel from "./Getsel"
import Getopn from "./Getopn" import Getopn from "./Getopn"
import Getame from "./Getame"
import Getset from "./Getset" import Getset from "./Getset"
import Getcrq from "./Getcrq" import Getcrq from "./Getcrq"
import Getamc from "./Getamc" import Getamc from "./Getamc"
...@@ -377,6 +378,7 @@ const BusRouter = [ ...@@ -377,6 +378,7 @@ const BusRouter = [
{ path: 'getset', component: Getset, name: 'Getset', meta: { title: 'Getset' } }, { path: 'getset', component: Getset, name: 'Getset', meta: { title: 'Getset' } },
{ path: 'getsel', component: Getsel, name: 'Getsel', meta: { title: 'Getsel' } }, { path: 'getsel', component: Getsel, name: 'Getsel', meta: { title: 'Getsel' } },
{ path: 'getopn', component: Getopn, name: 'Getopn', meta: { title: '出口保函通知' } }, { path: 'getopn', component: Getopn, name: 'Getopn', meta: { title: '出口保函通知' } },
{ path: 'getame', component: Getame, name: 'Getame', meta: { title: '出口保函修改' } },
{ path: 'getcrq', component: Getcrq, name: 'Getcrq', meta: { title: 'Getcrq' } }, { path: 'getcrq', component: Getcrq, name: 'Getcrq', meta: { title: 'Getcrq' } },
{ path: 'getamc', component: Getamc, name: 'Getamc', meta: { title: '出口保函保兑' } }, { path: 'getamc', component: Getamc, name: 'Getamc', meta: { title: '出口保函保兑' } },
{ path: 'notice', component: Notice, name: 'Notice', meta: { title: '通知公告设置' } }, { path: 'notice', component: Notice, name: 'Notice', meta: { title: '通知公告设置' } },
......
<template>
<div class="eibs-tab">
<!-- SF002108 : Old Expiry Type -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002108')" prop="oldgidgrp.rec.exptyp">
<c-select v-model="model.oldgidgrp.rec.exptyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002108')">
</c-select>
</el-form-item>
</c-col>
<!-- SF002110 : Old Expiry Date -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002110')" prop="oldgidgrp.rec.expdat">
<c-date-picker type="date" v-model="model.oldgidgrp.rec.expdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002110')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002109 : Old Expiry Condition -->
<c-col :span="12">
<c-form-item :label="$t('gitamep.SF002109')" prop="oldgidgrp.blk.exptxt">
<c-input type="textarea" v-model="model.oldgidgrp.blk.exptxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002109')" ></c-input>
</c-form-item>
</c-col>
<!-- SF002151 : Old Liability Type -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002151')" prop="oldgidgrp.rec.liatypc">
<c-select v-model="model.oldgidgrp.rec.liatypc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002151')">
</c-select>
</el-form-item>
</c-col>
<!-- SF002152 : Old Liability -->
<c-col :span="12">
<el-form-item label="Liability until" prop="oldgidgrp.rec.liadat">
<c-date-picker type="date" v-model="model.oldgidgrp.rec.liadat" style="width:100%" :placeholder="$t('other.please_enter')+'Liability until'"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002153 : Old Liability Condition -->
<c-col :span="12">
<c-form-item :label="$t('gitamep.SF002153')" prop="oldgidgrp.blk.liatxtc">
<c-input type="textarea" v-model="model.oldgidgrp.blk.liatxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002153')" ></c-input>
</c-form-item>
</c-col>
<!-- SF002106 : New Expiry Type -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002106')" prop="trnmod.swiadd.exptyp">
<c-select v-model="model.trnmod.swiadd.exptyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002106')">
</c-select>
</el-form-item>
</c-col>
<!-- SF002105 : New Expiry Date -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002105')" prop="trnmod.swiadd.newexpdat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.newexpdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002105')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002107 : New Expiry Condition -->
<c-col :span="12">
<c-form-item :label="$t('gitamep.SF002107')" prop="trnmod.swiadd.exptxt">
<c-input type="textarea" v-model="model.trnmod.swiadd.exptxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002107')" ></c-input>
</c-form-item>
</c-col>
<!-- SF002154 : New Liability Type -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002154')" prop="trnmod.swiadd.liatypc">
<c-select v-model="model.trnmod.swiadd.liatypc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002154')">
</c-select>
</el-form-item>
</c-col>
<!-- SF002155 : New Liability -->
<c-col :span="12">
<el-form-item label="New Liability Date" prop="trnmod.swiadd.newliadat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.newliadat" style="width:100%" :placeholder="$t('other.please_enter')+'New Liability Date'"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002157 : New Liability Condition -->
<c-col :span="12">
<c-form-item :label="$t('gitamep.SF002157')" prop="trnmod.swiadd.liatxtc">
<c-input type="textarea" v-model="model.trnmod.swiadd.liatxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002157')" ></c-input>
</c-form-item>
</c-col>
<!-- SF002132 : Old appr. Expiry Date -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002132')" prop="oldgidgrp.blk.dtaappexpdat">
<c-date-picker type="date" v-model="model.oldgidgrp.blk.dtaappexpdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002132')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002133 : New appr. Expiry Date -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002133')" prop="trnmod.swiadd.newdtaappexpdat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.newdtaappexpdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002133')"></c-date-picker>
</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/Getame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-button size="small" type="primary" @click="onSav">
{{$t('mtabut.CF000174')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onUsrcon">
{{$t('mtabut.CG000224')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('getame.SF050038')" prop="oldgidgrp.blk.gidtxt">
<c-input type="textarea" v-model="model.oldgidgrp.blk.gidtxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('getame.SF050038')" ></c-input>
</c-form-item>
</c-col>
<!-- SF050038 : Guarantee Text -->
<c-col :span="12">
<c-button size="small" type="primary" @click="onChk">
{{$t('mtabut.CF000175')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onUsrchk">
{{$t('mtabut.CG000225')}}
</c-button>
</c-col>
<!-- SF050111 : before this -->
<!-- SF050112 : Amendment -->
<c-col :span="12">
<c-button size="small" type="primary" @click="onSyswrnButshw">
{{$t('mtabut.CF000176')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDiasel">
{{$t('mtabut.CF000190')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInc">
{{$t('mtabut.CF000188')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onNotmap">
{{$t('mtabut.CF000189')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onFrmbut">
{{$t('mtabut.CF000208')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOrd">
{{$t('mtabut.CF000213')}}
</c-button>
</c-col>
<!-- SF050039 : Amendments so Far -->
<c-col :span="12">
<c-form-item :label="$t('getame.SF050039')" prop="gidgrp.blk.gidtxtame">
<c-input type="textarea" v-model="model.gidgrp.blk.gidtxtame" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('getame.SF050039')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onIncben">
{{$t('mtabut.CG000239')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onImgmodImage">
{{$t('mtabut.CG000240')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onImgmodNewimg">
{{$t('mtabut.CG000232')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onImgmodNewhisimg">
{{$t('mtabut.CG000233')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onImgmodElcimage">
{{$t('mtabut.CG000241')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onEntmodEntbut">
{{$t('mtabut.CG000242')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onPen">
{{$t('mtabut.CF000178')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCan">
{{$t('mtabut.CF000179')}}
</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/Getame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="是否SWIFT格式" prop="gitp.swiftflg">
<c-select v-model="model.gitp.swiftflg" style="width:100%" placeholder="请选择是否SWIFT格式">
<el-option
v-for="item in codes.swiftflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="是否对外担保" prop="gidgrp.rec.fingua">
<c-select disabled v-model="model.gidgrp.rec.fingua" style="width:100%" placeholder="请选择是否对外担保">
<el-option
v-for="item in codes.fingua"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="20">
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select disabled v-model="model.gidgrp.rec.cfaguatyp" style="width:90%" placeholder="请选择对外担保类型">
<el-option
v-for="item in codes.cfaguatyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="4" class="centerLable">
<c-checkbox v-if="model.gidgrp.cbs.max.cur=='CNY'" disabled v-model="model.gidgrp.rec.cmtflg">跨境人民币保函</c-checkbox>
</c-col>
<!-- <c-checkbox v-if="model.gidgrp.rec.fingua=='Y'" disabled v-model="model.gidgrp.rec.cmtflg">跨境人民币保函</c-checkbox> -->
</c-col>
<!-- SG001294 : 是否SWIFT格式 -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SG001294')" prop="gitp.swiftflg">
<c-select v-model="model.gitp.swiftflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SG001294')">
</c-select>
</el-form-item>
</c-col> -->
<!-- S0001304 : 是否对外担保 -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.S0001256')" prop="gidgrp.rec.fingua">
<c-select v-model="model.gidgrp.rec.fingua" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001256')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select v-model="model.gidgrp.rec.cfaguatyp" style="width:100%" :placeholder="$t('other.please_enter')+'对外担保类型'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gidgrp.rec.cmtflg">{{$t('gitp.CG001233')}}</c-checkbox>
</c-col> -->
<!-- S0001305 : 担保类型 -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000859 : Delivery of Undertak. -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000859')" prop="gidgrp.rec.delori">
<c-select v-model="model.gidgrp.rec.delori" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000859')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000859')" prop="gidgrp.rec.deloritxt">
<c-input v-model="model.gidgrp.rec.deloritxt" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000859')"></c-input>
</c-form-item>
</c-col>
<!-- SF000863 : Charges Condition -->
<!-- SF000862 : Undertaking Send to -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000862')" prop="gidgrp.rec.sndto">
<c-select v-model="model.gidgrp.rec.sndto" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000862')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Own Charges Borne by" prop="gidgrp.rec.chato">
<c-select v-model="model.gidgrp.rec.chato" style="width:100%" :placeholder="$t('other.please_enter')+'Own Charges Borne by'">
</c-select>
</el-form-item>
</c-col>
<!-- SF000860 : Deliv. To/Collection By -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000860')" prop="gidgrp.rec.delto">
<c-select v-model="model.gidgrp.rec.delto" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000860')">
</c-select>
</el-form-item>
</c-col>
<!-- SF000864 : Charges -->
<c-col :span="12">
<c-checkbox v-model="model.gitp.chargi.chkast">{{$t('gitp.CF001069')}}</c-checkbox>
</c-col>
<!-- SF000861 : Delivery to Address -->
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000861')" prop="gidgrp.blk.deltoadr">
<c-input type="textarea" v-model="model.gidgrp.blk.deltoadr" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000861')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxt">
<c-input type="textarea" v-model="model.gidgrp.blk.feetxt" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Additional Details to Code for Charges'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onChargiButtxmsel">
{{$t('gitp.CF001057')}}
</c-button>
</c-col>
<!-- SF000728 : Presentation Instr. -->
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000728')" prop="gidgrp.blk.preper">
<c-input type="textarea" v-model="model.gidgrp.blk.preper" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000728')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000728')" prop="gidgrp.blk.atxpreper">
<c-input type="textarea" v-model="model.gidgrp.blk.atxpreper" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000728')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.prepermodflg">{{$t('gitp.CF001186')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.chkpreper">{{$t('gitp.CF001187')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifpreper">
{{$t('gitp.CF001188')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifhispreper">
{{$t('gitp.CF001189')}}
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gidgrp.rec.transfer">{{$t('gitp.CF000884')}}</c-checkbox>
</c-col>
<!-- SF000885 : Transfer Conditions -->
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000885')" prop="gidgrp.blk.trfcond">
<c-input type="textarea" v-model="model.gidgrp.blk.trfcond" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000885')" ></c-input>
</c-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/Getame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--gitp PD001291 开立方式 -->
<el-tab-pane label="开立方式" name="opnp">
<m-opnp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitamep PD002031 Amendment -->
<el-tab-pane :label="$t('gitamep.PD002031')" name="ameps20">
<m-ameps20 :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitamep PD002100 Amendment Dates -->
<el-tab-pane :label="$t('gitamep.PD002100')" name="amedat20">
<m-amedat20 :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000002 Overview -->
<el-tab-pane :label="$t('gitp.PD000002')" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000043 Parties -->
<el-tab-pane :label="$t('gitp.PD000043')" name="ptyp">
<m-ptyp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000727 Presentation/ Delivery -->
<el-tab-pane :label="$t('gitp.PD000727')" name="preperp">
<m-preperp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000389 Details -->
<el-tab-pane :label="$t('gitp.PD000389')" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<!--getame PD050035 History -->
<el-tab-pane :label="$t('getame.PD050035')" name="amephis">
<m-amephis :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Getame from "~/model/Getame"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Getame/Check"
import Default from "~/model/Getame/Default"
import Pattern from "~/model/Getame/Pattern"
import Opnp from "./Opnp"
import Ameps20 from "./Ameps20"
import Amedat20 from "./Amedat20"
import Ovwp from "./Ovwp"
import Ptyp from "./Ptyp"
import Preperp from "./Preperp"
import Detp from "./Detp"
import Amephis from "./Amephis"
export default {
name: "Getame",
components:{
"m-opnp" : Opnp,
"m-ameps20" : Ameps20,
"m-amedat20" : Amedat20,
"m-ovwp" : Ovwp,
"m-ptyp" : Ptyp,
"m-preperp" : Preperp,
"m-detp" : Detp,
"m-amephis" : Amephis,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "opnp",
trnName: "getame",
trnType: "",
model: new Getame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入getame交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row>
<c-col :span="24">
<c-col :span="12">
<c-col :span="24">
<c-col :span="14">
<el-form-item label="Additional Amount" prop="gidgrp.cbs.mac2.cur">
<c-input disabled v-model="model.gidgrp.cbs.mac2.cur" maxlength="3" placeholder="请输入Additional Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<c-input v-model="model.gidgrp.cbs.mac2.amt" placeholder="请输入Balance"></c-input>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="14">
<el-form-item label="Open Add. Amount" prop="gidgrp.cbs.opc2.cur">
<c-input disabled v-model="model.gidgrp.cbs.opc2.cur" maxlength="3" placeholder="请输入Open Add. Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<c-input disabled v-model="model.gidgrp.cbs.opc2.amt" placeholder="请输入Balance"></c-input>
</c-col>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Covered" prop="gidgrp.blk.addamtcovc">
<c-input type="textarea" :rows="4" v-model="model.gidgrp.blk.addamtcovc" maxlength="65" show-word-limit placeholder="请输入Covered" ></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
<!-- SF000004 : Additional Amount --> <!-- SF000004 : Additional Amount -->
<c-col :span="12"> <!-- <c-col :span="12">
<c-form-item :label="$t('aacp.SF000004')" prop="gidgrp.cbs.mac2.cur"> <c-form-item :label="$t('aacp.SF000004')" prop="gidgrp.cbs.mac2.cur">
<c-input v-model="model.gidgrp.cbs.mac2.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('aacp.SF000004')"></c-input> <c-input v-model="model.gidgrp.cbs.mac2.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('aacp.SF000004')"></c-input>
</c-form-item> </c-form-item>
...@@ -12,10 +46,10 @@ ...@@ -12,10 +46,10 @@
<c-form-item label="Balance" prop="gidgrp.cbs.mac2.amt"> <c-form-item label="Balance" prop="gidgrp.cbs.mac2.amt">
<c-input v-model="model.gidgrp.cbs.mac2.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input> <c-input v-model="model.gidgrp.cbs.mac2.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col> -->
<!-- SF000008 : Open Add. Amount --> <!-- SF000008 : Open Add. Amount -->
<c-col :span="12"> <!-- <c-col :span="12">
<c-form-item :label="$t('aacp.SF000008')" prop="gidgrp.cbs.opc2.cur"> <c-form-item :label="$t('aacp.SF000008')" prop="gidgrp.cbs.opc2.cur">
<c-input v-model="model.gidgrp.cbs.opc2.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('aacp.SF000008')"></c-input> <c-input v-model="model.gidgrp.cbs.opc2.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('aacp.SF000008')"></c-input>
</c-form-item> </c-form-item>
...@@ -25,14 +59,14 @@ ...@@ -25,14 +59,14 @@
<c-form-item label="Balance" prop="gidgrp.cbs.opc2.amt"> <c-form-item label="Balance" prop="gidgrp.cbs.opc2.amt">
<c-input v-model="model.gidgrp.cbs.opc2.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input> <c-input v-model="model.gidgrp.cbs.opc2.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col> -->
<!-- SF000009 : Covered --> <!-- SF000009 : Covered -->
<c-col :span="12"> <!-- <c-col :span="12">
<c-form-item :label="$t('aacp.SF000009')" prop="gidgrp.blk.addamtcovc"> <c-form-item :label="$t('aacp.SF000009')" prop="gidgrp.blk.addamtcovc">
<c-input type="textarea" v-model="model.gidgrp.blk.addamtcovc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('aacp.SF000009')" ></c-input> <c-input type="textarea" v-model="model.gidgrp.blk.addamtcovc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('aacp.SF000009')" ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col> -->
</div> </div>
</template> </template>
<script> <script>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row>
<c-col :span="24">
<c-col :span="16">
<c-col :span="24">
<el-form-item v-if="model.gitp.gidtxtmodflg == ''" label="Guarantee Text with Variables" prop="gidgrp.blk.gidtxt">
<i-stream-input :disabled="model.gitp.gidtxtmodflg == ''" type="textarea" rows="15" :model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></i-stream-input>
</el-form-item>
<el-form-item v-if="model.gitp.gidtxtmodflg == 'X'" label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt">
<i-stream-input type="textarea" :model="model.gidgrp.blk.gtxgidtxt" rows="15" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></i-stream-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="24">
<c-checkbox v-model="model.gitp.gidtxtmodflg" style="margin:0 0 0 10px">Modify Guarantee Text</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.gitp.chkgidtxt" style="margin:0 0 0 10px">Allow *</c-checkbox>
</c-col>
<c-col :span="24">
<c-button :disabled="model.gitp.gidtxtmodflg == ''" size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdif">
vs. &System
</c-button>
</c-col>
<c-col :span="24">
<c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifhis">
vs. &History
</c-button>
</c-col>
<template v-if="model.gitp.gidtxtmodflg=='X'">
<c-col :span="24">
<c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpShwgidtxt">
Show&Text
</c-button>
</c-col>
</template>
<c-col :span="24">
<c-input
style="margin:5px 0 0 10px;width:50%"
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
></c-input>
</c-col>
<c-col :span="24">
<c-button
disabled
style="margin:5px 0 0 10px"
size="small"
type="primary"
@click="onGitpButgetref"
>
获取
</c-button>
</c-col>
<c-col :span="24">
<c-button :disabled="model.gitp.gidtxtmodflg == ''" size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpGidtxtmod">
修改中文保函文本
</c-button>
</c-col>
</c-col>
</c-col>
</c-row>
<!-- SF000350 : Text of Undertaking --> <!-- SF000350 : Text of Undertaking -->
<!--
<c-col :span="12"> <c-col :span="12">
<c-checkbox v-model="model.gitp.gidtxtmodflg">{{$t('gitp.CF000347')}}</c-checkbox> <c-checkbox v-model="model.gitp.gidtxtmodflg">{{$t('gitp.CF000347')}}</c-checkbox>
</c-col> </c-col>
...@@ -44,7 +111,7 @@ ...@@ -44,7 +111,7 @@
<c-button size="small" type="primary" @click="onGitpGidtxtmod"> <c-button size="small" type="primary" @click="onGitpGidtxtmod">
{{$t('gitp.CG000442')}} {{$t('gitp.CG000442')}}
</c-button> </c-button>
</c-col> </c-col> -->
</div> </div>
</template> </template>
<script> <script>
...@@ -52,8 +119,10 @@ import Api from "~/service/Api" ...@@ -52,8 +119,10 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getopn/Event" import Event from "~/model/Getopn/Event"
import IStreamInput from '~/components/IStreamInput'
export default { export default {
components: {IStreamInput},
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row>
<c-col :span="24">
<c-col :span="16">
<c-col :span="24">
<el-form-item v-if="model.gitp.gidtxtmodflgc == ''" label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt">
<i-stream-input :disabled="model.gitp.gidtxtmodflgc == ''" type="textarea" rows="15" :model="model.gidgrp.blk.gtxgidtxtc" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></i-stream-input>
</el-form-item>
<el-form-item v-if="model.gitp.gidtxtmodflgc == 'X'" label="Guarantee Text with Variables - Counter Undertaking" prop="gidgrp.blk.gtxgidtxtc">
<i-stream-input type="textarea" :modle="model.gidgrp.blk.gtxgidtxtc" rows="15" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables - Counter Undertaking" ></i-stream-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="24">
<c-input
style="margin:5px 0 0 10px;width:50%"
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
></c-input>
</c-col>
<c-col :span="24">
<c-button
style="margin:5px 0 0 10px"
size="small"
type="primary"
@click="onGitpButgetref"
>
获取
</c-button>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.gitp.gidtxtmodflgc" style="margin:0 0 0 10px">Modify Guarantee Text</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.gitp.chkgidtxtc" style="margin:0 0 0 10px">Allow *</c-checkbox>
</c-col>
<c-col :span="24">
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifc">
vs. &System
</c-button>
</c-col>
<c-col :span="24">
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifhisc">
vs. &History
</c-button>
</c-col>
<template v-if="model.gitp.gidtxtmodflgc=='X'">
<c-col :span="24">
<c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpShwgidtxtc">
Show&Text
</c-button>
</c-col>
</template>
<c-col :span="24">
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpGidtxtmodc">
修改中文保函文本
</c-button>
</c-col>
</c-col>
</c-col>
</c-row>
<!-- SF000792 : Undertaking Text --> <!-- SF000792 : Undertaking Text -->
<c-col :span="12"> <!-- <c-col :span="12">
<c-form-item label="Guarantee Text local undertaking" prop="gidgrp.blk.gidtxtc"> <c-form-item label="Guarantee Text local undertaking" prop="gidgrp.blk.gidtxtc">
<c-input type="textarea" v-model="model.gidgrp.blk.gidtxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Guarantee Text local undertaking'" ></c-input> <c-input type="textarea" v-model="model.gidgrp.blk.gidtxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Guarantee Text local undertaking'" ></c-input>
</c-form-item> </c-form-item>
...@@ -50,7 +118,7 @@ ...@@ -50,7 +118,7 @@
<c-button size="small" type="primary" @click="onGitpGidtxtmodc"> <c-button size="small" type="primary" @click="onGitpGidtxtmodc">
{{$t('gitp.CG001303')}} {{$t('gitp.CG001303')}}
</c-button> </c-button>
</c-col> </c-col> -->
</div> </div>
</template> </template>
<script> <script>
...@@ -58,8 +126,10 @@ import Api from "~/service/Api" ...@@ -58,8 +126,10 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getopn/Event" import Event from "~/model/Getopn/Event"
import IStreamInput from '~/components/IStreamInput'
export default { export default {
components: {IStreamInput},
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
......
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin==''" label="Outgoing Purpose" prop="gidgrp.rec.purpos"> <el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin==''" label="Outgoing Purpose" prop="gidgrp.rec.purpos">
<c-select v-model="model.gidgrp.rec.purpos" style="width:100%" placeholder="请选择Outgoing Purpose"> <c-select v-model="model.gidgrp.rec.purpos" style="width:100%" placeholder="请选择Outgoing Purpose">
<el-option <el-option
v-for="item in codes.purpos1" v-for="item in codes.purpos4"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -267,7 +267,7 @@ ...@@ -267,7 +267,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin=='ISSU'&&model.gidgrp.rec.purpos==''" label="Handling Type" prop="gidgrp.rec.hndtyp"> <el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin=='ISSU'&&model.gidgrp.rec.purpos=='ISSU'" label="Handling Type" prop="gidgrp.rec.hndtyp">
<c-select <c-select
v-model="model.gidgrp.rec.hndtyp" v-model="model.gidgrp.rec.hndtyp"
style="width: 100%" style="width: 100%"
...@@ -433,7 +433,7 @@ ...@@ -433,7 +433,7 @@
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Form of Undertaking" prop="gidgrp.rec.legfrm"> <el-form-item v-if="model.gitp.swiftflg=='Y'" label="Form of Undertaking" prop="gidgrp.rec.legfrm">
<c-select v-model="model.gidgrp.rec.legfrm" style="width:100%" placeholder="请选择Form of Undertaking"> <c-select v-model="model.gidgrp.rec.legfrm" style="width:100%" placeholder="请选择Form of Undertaking">
<el-option <el-option
v-for="item in legfrm" v-for="item in codes.legfrm"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -762,7 +762,7 @@ ...@@ -762,7 +762,7 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4" class="centerLable"> <c-col :span="4" v-if="model.gidgrp.cbs.max.cur=='CNY'&&model.gitp.swiftflg!='Y'" class="centerLable">
<c-checkbox v-model="model.gidgrp.rec.teskeyunc"> <c-checkbox v-model="model.gidgrp.rec.teskeyunc">
Test Key Unconfirmity Test Key Unconfirmity
</c-checkbox> </c-checkbox>
...@@ -970,7 +970,7 @@ ...@@ -970,7 +970,7 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4" v-if="model.gidgrp.cbs.max.cur=='CNY'" class="centerLable"> <c-col :span="4" v-if="model.gidgrp.cbs.max.cur=='CNY'&&model.gitp.swiftflg!='Y'" class="centerLable">
<c-checkbox label="跨境人民币保函" v-model="model.gidgrp.rec.cmtflg" <c-checkbox label="跨境人民币保函" v-model="model.gidgrp.rec.cmtflg"
>跨境人民币保函</c-checkbox >跨境人民币保函</c-checkbox
> >
...@@ -1097,8 +1097,10 @@ import Api from "~/service/Api" ...@@ -1097,8 +1097,10 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getopn/Event" import Event from "~/model/Getopn/Event"
import Ptap from "~/views/Public/Ptap";
export default { export default {
components: { "c-ptap": Ptap },
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
...@@ -1107,6 +1109,12 @@ export default { ...@@ -1107,6 +1109,12 @@ export default {
} }
}, },
computed: {
flag() {
return this.model.gidgrp.apl.pts.extkey == "";
},
},
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row>
<c-col :span="24">
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Delivery of Undertak." prop="gidgrp.rec.deloric">
<c-fullbox>
<c-select v-model="model.gidgrp.rec.deloric" style="width:100%" placeholder="请选择Delivery of Undertak.">
<el-option
v-for="item in codes.deloric"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer" >
<c-input :disabled="model.gidgrp.rec.deloric!='OTHR'&&model.gidgrp.rec.deloric!='COUR'" v-model="model.gidgrp.rec.deloritxtc" maxlength="35" placeholder="请输入Delivery of Undertak."></c-input>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Deli. To/Collection By" prop="gidgrp.rec.deltoc">
<c-select v-model="model.gidgrp.rec.deltoc" style="width:100%" placeholder="请选择Deli. To/Collection By">
<el-option
v-for="item in codes.deltoc"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Delivery to Address" prop="gidgrp.blk.deltoadrc">
<c-input :disabled="model.gidgrp.rec.deltoc=='BENE'" type="textarea" rows="4" v-model="model.gidgrp.blk.deltoadrc" maxlength="35" show-word-limit placeholder="请输入Delivery to Address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Presentation Instr. " prop="gidgrp.blk.preperc">
<c-input :disabled="model.gitp.prepercmodflg==''" rows="6" type="textarea" v-model="model.gidgrp.blk.preperc" maxlength="65" show-word-limit placeholder="请输入Presentation Instr. " ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.gitp.prepercmodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox>
<c-checkbox v-model="model.gitp.chkpreperc" style="margin:0 0 0 10px">Allow *</c-checkbox>
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:98px" @click="onGitpButdifpreperc">
vs. &System
</c-button>
<c-button disabled size="small" style="margin:5px 0 0 10px;width:98px" type="primary" @click="onGitpButdifhispreperc">
vs. &History
</c-button>
</c-col>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxtc">
<c-input rows="4" type="textarea" v-model="model.gidgrp.blk.feetxtc" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button style="margin:5px 0 0 10px" size="small" type="primary" icon="el-icon-search" @click="onChargicButtxmsel">
...
</c-button>
<c-checkbox style="margin:0 0 0 10px" v-model="model.gitp.chargic.chkast">Allow *</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcondc">
<c-input disabled rows="5" type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
<!-- SF000875 : Delivery of Undertak. --> <!-- SF000875 : Delivery of Undertak. -->
<c-col :span="12"> <!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SF000875')" prop="gidgrp.rec.deloric"> <el-form-item :label="$t('gitp.SF000875')" prop="gidgrp.rec.deloric">
<c-select v-model="model.gidgrp.rec.deloric" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000875')"> <c-select v-model="model.gidgrp.rec.deloric" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000875')">
</c-select> </c-select>
...@@ -13,10 +95,10 @@ ...@@ -13,10 +95,10 @@
<c-form-item :label="$t('gitp.SF000875')" prop="gidgrp.rec.deloritxtc"> <c-form-item :label="$t('gitp.SF000875')" prop="gidgrp.rec.deloritxtc">
<c-input v-model="model.gidgrp.rec.deloritxtc" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000875')"></c-input> <c-input v-model="model.gidgrp.rec.deloritxtc" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000875')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col> -->
<!-- SF000872 : Charges --> <!-- SF000872 : Charges -->
<c-col :span="12"> <!-- <c-col :span="12">
<c-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxtc"> <c-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxtc">
<c-input type="textarea" v-model="model.gidgrp.blk.feetxtc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Additional Details to Code for Charges'" ></c-input> <c-input type="textarea" v-model="model.gidgrp.blk.feetxtc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Additional Details to Code for Charges'" ></c-input>
</c-form-item> </c-form-item>
...@@ -26,18 +108,18 @@ ...@@ -26,18 +108,18 @@
<c-button size="small" type="primary" icon="el-icon-search" @click="onChargicButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search" @click="onChargicButtxmsel">
{{$t('gitp.CF000878')}} {{$t('gitp.CF000878')}}
</c-button> </c-button>
</c-col> </c-col> -->
<!-- SF000878 : Deli. To/Collection By --> <!-- SF000878 : Deli. To/Collection By -->
<c-col :span="12"> <!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SF000878')" prop="gidgrp.rec.deltoc"> <el-form-item :label="$t('gitp.SF000878')" prop="gidgrp.rec.deltoc">
<c-select v-model="model.gidgrp.rec.deltoc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000878')"> <c-select v-model="model.gidgrp.rec.deltoc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000878')">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<!-- SF000879 : Delivery to Address --> <!-- SF000879 : Delivery to Address -->
<c-col :span="12"> <!-- <c-col :span="12">
<c-form-item :label="$t('gitp.SF000879')" prop="gidgrp.blk.deltoadrc"> <c-form-item :label="$t('gitp.SF000879')" prop="gidgrp.blk.deltoadrc">
<c-input type="textarea" v-model="model.gidgrp.blk.deltoadrc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000879')" ></c-input> <c-input type="textarea" v-model="model.gidgrp.blk.deltoadrc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000879')" ></c-input>
</c-form-item> </c-form-item>
...@@ -45,10 +127,10 @@ ...@@ -45,10 +127,10 @@
<c-col :span="12"> <c-col :span="12">
<c-checkbox v-model="model.gitp.chargic.chkast">{{$t('gitp.CF000879')}}</c-checkbox> <c-checkbox v-model="model.gitp.chargic.chkast">{{$t('gitp.CF000879')}}</c-checkbox>
</c-col> </c-col> -->
<!-- SF000877 : Presentation Instr. --> <!-- SF000877 : Presentation Instr. -->
<c-col :span="12"> <!-- <c-col :span="12">
<c-form-item :label="$t('gitp.SF000877')" prop="gidgrp.blk.preperc"> <c-form-item :label="$t('gitp.SF000877')" prop="gidgrp.blk.preperc">
<c-input type="textarea" v-model="model.gidgrp.blk.preperc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000877')" ></c-input> <c-input type="textarea" v-model="model.gidgrp.blk.preperc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000877')" ></c-input>
</c-form-item> </c-form-item>
...@@ -82,14 +164,14 @@ ...@@ -82,14 +164,14 @@
<c-col :span="12"> <c-col :span="12">
<c-checkbox v-model="model.gidgrp.rec.transferc">{{$t('gitp.CF000877')}}</c-checkbox> <c-checkbox v-model="model.gidgrp.rec.transferc">{{$t('gitp.CF000877')}}</c-checkbox>
</c-col> </c-col> -->
<!-- SF000880 : Transfer Conditions --> <!-- SF000880 : Transfer Conditions -->
<c-col :span="12"> <!-- <c-col :span="12">
<c-form-item :label="$t('gitp.SF000880')" prop="gidgrp.blk.trfcondc"> <c-form-item :label="$t('gitp.SF000880')" prop="gidgrp.blk.trfcondc">
<c-input type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000880')" ></c-input> <c-input type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000880')" ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col> -->
</div> </div>
</template> </template>
<script> <script>
......
...@@ -5,13 +5,13 @@ ...@@ -5,13 +5,13 @@
<c-col :span="11"> <c-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Applicant Ref." prop="gidgrp.apl.pts.ref"> <el-form-item label="Applicant Ref." prop="gidgrp.apl.pts.ref">
<c-input disabled v-model="model.gidgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input> <c-input v-model="model.gidgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Applicant" prop="gidgrp.apl.pts.extkey"> <el-form-item label="Applicant" prop="gidgrp.apl.pts.extkey">
<c-fullbox> <c-fullbox>
<c-input disabled v-model="model.gidgrp.apl.pts.extkey" <c-input v-model="model.gidgrp.apl.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native=" @keyup.enter.native="
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
> >
<span style="font-family:'宋体';font-weight:bold">i</span> <span style="font-family:'宋体';font-weight:bold">i</span>
</c-button> </c-button>
<c-button disabled size="small" type="primary" @click="onAplpDet"> <c-button size="small" type="primary" @click="onAplpDet">
Details Details
</c-button> </c-button>
</template> </template>
...@@ -35,10 +35,10 @@ ...@@ -35,10 +35,10 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk"> <el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk">
<c-input disabled type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> <c-input type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<c-ptap v-if="model.gitp.swiftflg=='Y'" <c-ptap v-if="model.gitp.swiftflg=='Y'"
:model="model" :model="model"
:argadr="{ :argadr="{
...@@ -49,10 +49,10 @@ ...@@ -49,10 +49,10 @@
@onAplpDet="onConpDet" @onAplpDet="onConpDet"
> >
</c-ptap> </c-ptap>
</c-col> </c-col> -->
<c-col :span="24"> <c-col :span="24">
<c-ptap v-if="model.gitp.swiftflg!='Y'" <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
title: '保兑行', title: '保兑行',
...@@ -75,21 +75,18 @@ ...@@ -75,21 +75,18 @@
grp: 'gidgrp', grp: 'gidgrp',
rol: 'ben', rol: 'ben',
}" }"
:disabled="true"
:disabledRef="true"
:disabledExtkey="true"
@onAplpDet="onBenpDet"> @onAplpDet="onBenpDet">
</c-ptap> </c-ptap>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="Issuing Bnak's Ref." prop="gidgrp.iss.pts.ref"> <el-form-item label="Issuing Bnak's Ref." prop="gidgrp.iss.pts.ref">
<c-input v-model="model.gidgrp.iss.pts.ref" maxlength="16" placeholder="请输入Issuing Bnak's Ref."></c-input> <c-input v-model="model.gidgrp.iss.pts.ref" maxlength="16" placeholder="请输入Issuing Bnak's Ref."></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="Issuing Bank" prop="gidgrp.iss.pts.extkey"> <el-form-item label="Issuing Bank" prop="gidgrp.iss.pts.extkey">
<c-fullbox> <c-fullbox>
<c-input v-model="model.gidgrp.iss.pts.extkey" <c-input v-model="model.gidgrp.iss.pts.extkey"
maxlength="16" maxlength="16"
...@@ -114,12 +111,12 @@ ...@@ -114,12 +111,12 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="地址名称" prop="gidgrp.iss.pts.adrblk"> <el-form-item label="地址名称" prop="gidgrp.iss.pts.adrblk">
<c-input disabled type="textarea" v-model="model.gidgrp.iss.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input> <c-input disabled type="textarea" v-model="model.gidgrp.iss.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<c-ptap v-if="model.gitp.swiftflg=='Y'" <c-ptap v-if="model.gitp.swiftflg=='Y'"
:model="model" :model="model"
:argadr="{ :argadr="{
...@@ -130,7 +127,7 @@ ...@@ -130,7 +127,7 @@
@onAplpDet="onConpDet" @onAplpDet="onConpDet"
> >
</c-ptap> </c-ptap>
</c-col> </c-col> -->
</c-col> </c-col>
</c-col> </c-col>
</c-row> </c-row>
......
...@@ -34,17 +34,84 @@ ...@@ -34,17 +34,84 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--gitp PD000389 Details --> <!--gitp PD000389 Details -->
<el-tab-pane :label="$t('gitp.PD000389')" name="detp"> <el-tab-pane label="Details" name="detp">
<m-detp :model="model" :codes="codes"/> <m-detp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--gitp PD000210 Undertaking Text --> <!--gitp PD000210 Undertaking Text -->
<el-tab-pane :label="$t('gitp.PD000210')" name="gidtxtp"> <el-tab-pane label="Undertaking Text" name="gidtxtp">
<m-gidtxtp :model="model" :codes="codes"/> <m-gidtxtp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--gitp PD000409 Confirmation Details -->
<el-tab-pane :label="$t('gitp.PD000409')" name="confp"> <el-tab-pane v-if="model.gidgrp.rec.legfrm=='STBY'" label="Confirmation Details" name="confp">
<m-confp :model="model" :codes="codes"/> <m-confp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="Liability" name="liability">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Settlement" name="Settlement">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Bookings" name="Booking">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Completion" name="Completion">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Messages" name="Messages">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Attachments" name="Attachments">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Overview" name="ovwpc">
<c-content>
<m-ovwpc :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Parties" name="ptypc">
<c-content>
<m-ptypc :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Presentation/Delivery" name="preperpc">
<c-content>
<m-preperpc :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Details" name="detpc">
<c-content>
<m-detpc :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO'" label="Seq C : Undertaking Text" name="gidtxtpc">
<c-content>
<m-gidtxtpc :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gitp.aacp.aacmod.addamtflg=='X'" label="Seq C : Add Amounts" name="aacp">
<c-content>
<m-aacp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--gitp PD000409 Confirmation Details -->
<!-- <el-tab-pane :label="$t('gitp.PD000409')" name="confp">
<m-confp :model="model" :codes="codes"/>
</el-tab-pane> -->
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"> <c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
...@@ -67,6 +134,22 @@ import Detp from "./Detp" ...@@ -67,6 +134,22 @@ import Detp from "./Detp"
import Gidtxtp from "./Gidtxtp" import Gidtxtp from "./Gidtxtp"
import Confp from "./Confp" import Confp from "./Confp"
import Ovwpc from "./Ovwpc"
import Ptypc from "./Ptypc"
import Preperpc from "./Preperpc"
import Detpc from "./Detpc"
import Gidtxtpc from "./Gidtxtpc"
import Aacp from "./Aacp"
import Engp from "~/views/Public/Engp";
import Ccvpan from "~/views/Public/Ccvpan";
import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
export default { export default {
name: "Getopn", name: "Getopn",
...@@ -77,13 +160,29 @@ export default { ...@@ -77,13 +160,29 @@ export default {
"m-detp" : Detp, "m-detp" : Detp,
"m-gidtxtp" : Gidtxtp, "m-gidtxtp" : Gidtxtp,
"m-confp" : Confp, "m-confp" : Confp,
"m-ovwpc" :Ovwpc,
"m-ptypc" : Ptypc,
"m-preperpc" :Preperpc,
"m-detpc" :Detpc,
"m-gidtxtpc" :Gidtxtpc,
"m-aacp" :Aacp,
"m-engp" :Engp,
"m-ccvpan" :Ccvpan,
"m-setpan" : Setpan,
"m-glepan" :Glepan,
"m-coninfp" :Coninfp,
"m-docpan" :Docpan,
"m-doctre" :Doctre,
"m-limitbody" : Limitbody,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "opnp", tabVal: "opnp",
......
...@@ -4,42 +4,6 @@ ...@@ -4,42 +4,6 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <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-col :span="24">
<c-ptap :model="model" :argadr="{ <c-ptap :model="model" :argadr="{
title: 'Applicant', title: 'Applicant',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment