Commit e7e3a3e0 by liyixun

getame优化

parent 8af024ae
......@@ -5,6 +5,16 @@ import Pub from "../Public"
export default class Getame{
constructor () {
this.data = {
gitapll1blk:"",
gitapll4blk:"",
gitrmbl1blk:"",
gitrmbl2blk:"",
gitbenl1blk:"",
gitbenl2blk:"",
gitapll2blk:"",
gitbenl4blk:"",
gitapll3blk:"",
gitissl1blk:"",
gitp:{
swiftflg:"", // 是否SWIFT格式 .gitp.swiftflg
recget:{
......
......@@ -69,7 +69,7 @@ export default {
],
"gidgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -167,7 +167,7 @@ export default {
],
"gidgrp.iss.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.iss.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -175,7 +175,7 @@ export default {
],
"gidgrp.adv.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.adv.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -214,7 +214,7 @@ export default {
],
"gidgrp.blk.exptxt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 780,message:"长度不能超过780"}
],
"gidgrp.blk.atxexptxt":[
{type: "string", required: true, message: "必输项"},
......@@ -252,7 +252,7 @@ export default {
],
"gidgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.ben.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -260,11 +260,11 @@ export default {
],
"gidgrp.blk.liatxtc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 780,message:"长度不能超过780"}
],
"gidgrp.blk.atxliatxtc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 780,message:"长度不能超过780"}
],
......@@ -363,7 +363,7 @@ export default {
],
"gidgrp.con.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.con.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -371,7 +371,7 @@ export default {
],
"gidgrp.bdb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.bdb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -379,7 +379,7 @@ export default {
],
"gidgrp.ctr.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.ctr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -391,7 +391,7 @@ export default {
],
"gidgrp.atb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.atb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -440,11 +440,11 @@ export default {
],
"gidgrp.blk.covgodsrv":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 350,message:"长度不能超过350"}
],
"gidgrp.blk.atxcovgodsrv":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 350,message:"长度不能超过350"}
],
......@@ -521,11 +521,11 @@ export default {
"gidgrp.blk.gidtxt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 32500,message:"长度不能超过32500"}
],
"gidgrp.blk.gtxgidtxt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 32500,message:"长度不能超过32500"}
],
......@@ -578,7 +578,7 @@ export default {
],
"gidgrp.cnr.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.cnr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -641,7 +641,7 @@ export default {
],
"gidgrp.apc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.apc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -679,7 +679,7 @@ export default {
],
"gidgrp.ctc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.ctc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -712,7 +712,7 @@ export default {
],
"gidgrp.bec.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.bec.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -750,22 +750,22 @@ export default {
],
"gidgrp.blk.feetxtc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 210,message:"长度不能超过210"}
],
"gidgrp.blk.deltoadrc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 210,message:"长度不能超过210"}
],
"gidgrp.blk.preperc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 6500,message:"长度不能超过6500"}
],
"gidgrp.blk.atxpreperc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 6500,message:"长度不能超过6500"}
],
......@@ -774,7 +774,7 @@ export default {
"gidgrp.blk.trfcondc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 780,message:"长度不能超过780"}
],
"gidgrp.rec.orcrefc":[
{type: "string", required: false, message: "必输项"},
......@@ -788,11 +788,11 @@ export default {
],
"gidgrp.blk.covgodsrvc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 32500,message:"长度不能超过32500"}
],
"gidgrp.blk.atxcovgodsrvc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 32500,message:"长度不能超过32500"}
],
......@@ -810,7 +810,7 @@ export default {
],
"gidgrp.blk.orcplcc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"gidgrp.rec.accc":[
{type: "string", required: false, message: "必输项"},
......@@ -837,16 +837,16 @@ export default {
],
"gidgrp.blk.addinfc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 700,message:"长度不能超过700"}
],
"gidgrp.blk.gidtxtc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 32500,message:"长度不能超过32500"}
],
"gidgrp.blk.gtxgidtxtc":[
{type: "string", required: true, message: "必输项"},
{max: 1,message:"长度不能超过1"}
{max: 32500,message:"长度不能超过32500"}
],
......
......@@ -51,7 +51,7 @@
rows="5"
type="textarea"
v-model="model.gidgrp.blk.covgodsrvc"
maxlength="65"
maxlength="350"
show-word-limit
placeholder="请输入Object of Contract"
></c-input>
......@@ -69,7 +69,7 @@
rows="5"
type="textarea"
v-model="model.gidgrp.blk.atxcovgodsrvc"
maxlength="65"
maxlength="350"
show-word-limit
placeholder="请输入Underly. Transact. Det."
></c-input>
......@@ -159,7 +159,7 @@
disabled
type="textarea"
v-model="model.gidgrp.blk.orcplcc"
maxlength="35"
maxlength="140"
show-word-limit
placeholder="请输入Original Contract Place"
></c-input>
......@@ -262,7 +262,7 @@
disabled
type="textarea"
v-model="model.gidgrp.blk.addinfc"
maxlength="35"
maxlength="700"
show-word-limit
placeholder="请输入Additional Info"
></c-input>
......
......@@ -14,7 +14,7 @@
type="textarea"
rows="15"
:model="model.gidgrp.blk.gidtxt"
maxlength="65"
maxlength="32500"
show-word-limit
placeholder="请输入Guarantee Text with Variables"
></i-stream-input>
......@@ -28,7 +28,7 @@
type="textarea"
:model="model.gidgrp.blk.gtxgidtxt"
rows="15"
maxlength="65"
maxlength="32500"
show-word-limit
placeholder="请输入Guarantee Text with Variables"
></i-stream-input>
......
......@@ -14,7 +14,7 @@
type="textarea"
rows="15"
:model="model.gidgrp.blk.gtxgidtxtc"
maxlength="65"
maxlength="32500"
show-word-limit
placeholder="请输入Guarantee Text with Variables"
></i-stream-input>
......@@ -28,7 +28,7 @@
type="textarea"
:modle="model.gidgrp.blk.gtxgidtxtc"
rows="15"
maxlength="65"
maxlength="32500"
show-word-limit
placeholder="请输入Guarantee Text with Variables - Counter Undertaking"
></i-stream-input>
......
......@@ -32,7 +32,7 @@
<c-button
style="margin: 0 0"
:disabled="this.flag"
:disabled=this.flag
size="small"
type="primary"
@click="onGitpButgetref"
......@@ -1195,7 +1195,7 @@
rows="4"
type="textarea"
v-model="model.gidgrp.apl.pts.adrblk"
maxlength="35"
maxlength="140"
show-word-limit
placeholder="请输入地址名称"
></c-input>
......@@ -1263,7 +1263,7 @@
rows="4"
type="textarea"
v-model="model.gidgrp.iss.pts.adrblk"
maxlength="35"
maxlength="140"
show-word-limit
placeholder="请输入地址名称"
></c-input>
......@@ -1331,7 +1331,7 @@
rows="4"
type="textarea"
v-model="model.gidgrp.ben.pts.adrblk"
maxlength="35"
maxlength="140"
show-word-limit
placeholder="请输入地址名称"
></c-input>
......@@ -1491,7 +1491,7 @@
rows="4"
:disabled="model.gitp.exptxtmodflg == ''"
v-model="model.gidgrp.blk.exptxt"
maxlength="65"
maxlength="780"
show-word-limit
placeholder="请输入Expiry Condition/ Evt."
></c-input>
......
......@@ -219,7 +219,7 @@
rows="4"
:disabled="model.gitp.exptxtmodflg == ''"
v-model="model.gidgrp.blk.exptxt"
maxlength="65"
maxlength="780"
show-word-limit
placeholder="请输入Expiry Condition/ Evt."
></c-input>
......
......@@ -66,7 +66,7 @@
type="textarea"
rows="4"
v-model="model.gidgrp.blk.deltoadrc"
maxlength="35"
maxlength="210"
show-word-limit
placeholder="请输入Delivery to Address"
></c-input>
......@@ -83,7 +83,7 @@
rows="6"
type="textarea"
v-model="model.gidgrp.blk.preperc"
maxlength="65"
maxlength="6500"
show-word-limit
placeholder="请输入Presentation Instr. "
></c-input>
......@@ -132,7 +132,7 @@
rows="4"
type="textarea"
v-model="model.gidgrp.blk.feetxtc"
maxlength="35"
maxlength="210"
show-word-limit
placeholder="请输入Additional Details to Code for Charges"
></c-input>
......@@ -166,7 +166,7 @@
rows="5"
type="textarea"
v-model="model.gidgrp.blk.trfcondc"
maxlength="65"
maxlength="780"
show-word-limit
placeholder="请输入Transfer Conditions"
></c-input>
......
......@@ -47,7 +47,7 @@
rows="4"
type="textarea"
v-model="model.gidgrp.apl.pts.adrblk"
maxlength="35"
maxlength="140"
show-word-limit
placeholder="请输入地址名称"
></c-input>
......@@ -108,7 +108,7 @@
rows="4"
type="textarea"
v-model="model.gidgrp.con.pts.adrblk"
maxlength="35"
maxlength="140"
show-word-limit
placeholder="请输入地址名称"
></c-input>
......@@ -165,7 +165,7 @@
rows="4"
type="textarea"
v-model="model.gidgrp.ben.pts.adrblk"
maxlength="35"
maxlength="140"
show-word-limit
placeholder="请输入地址名称"
></c-input>
......@@ -221,7 +221,7 @@
rows="4"
type="textarea"
v-model="model.gidgrp.iss.pts.adrblk"
maxlength="35"
maxlength="140"
show-word-limit
placeholder="请输入地址名称"
></c-input>
......
......@@ -4,23 +4,23 @@
<c-col :span="24">
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Applicant Ref." prop="gidgrp.apl.pts.ref">
<el-form-item label="Applicant Ref." prop="gidgrp.apc.pts.ref">
<c-input
v-model="model.gidgrp.apl.pts.ref"
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.apl.pts.extkey">
<el-form-item label="Applicant" prop="gidgrp.apc.pts.extkey">
<c-fullbox>
<c-input
v-model="model.gidgrp.apl.pts.extkey"
v-model="model.gidgrp.apc.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.apl.pts.extkey`)
showGridPromptDialog(`gidgrp.apc.pts.extkey`)
"
></c-input>
<template slot="footer">
......@@ -33,7 +33,7 @@
>i</span
>
</c-button>
<c-button size="small" type="primary" @click="onAplpDet">
<c-button size="small" type="primary" @click="onApcpDet">
Details
</c-button>
</template>
......@@ -41,12 +41,13 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk">
<el-form-item label="地址名称" prop="gidgrp.apc.pts.adrblk">
<c-input
:disabled="model.gidgrp.apc.pts.abrblk!=''"
rows="4"
type="textarea"
v-model="model.gidgrp.apl.pts.adrblk"
maxlength="35"
v-model="model.gidgrp.apc.pts.adrblk"
maxlength="140"
show-word-limit
placeholder="请输入地址名称"
></c-input>
......@@ -54,31 +55,107 @@
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: 'Obligor',
grp: 'gidgrp',
rol: 'ctc',
}"
:disabled="false"
@onAplpDet="onCtcpDet"
<el-form-item label="Obligor Ref." prop="gidgrp.ctc.pts.ref">
<c-input
v-model="model.gidgrp.ctc.pts.ref"
maxlength="16"
placeholder="请输入Obligor Ref."
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Obligor" prop="gidgrp.ctc.pts.extkey">
<c-fullbox>
<c-input
v-model="model.gidgrp.ctc.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.ctc.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-ptap>
</c-button>
<c-button size="small" type="primary" @click="onCtcpDet">
Details
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.ctc.pts.adrblk">
<c-input
rows="4"
type="textarea"
v-model="model.gidgrp.ctc.pts.adrblk"
maxlength="140"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: 'Int. Beneficiary',
grp: 'gidgrp',
rol: 'bec',
}"
:disabled="false"
@onAplpDet="onBecpDet"
<el-form-item
label="Int. Beneficiary Ref."
prop="gidgrp.bec.pts.ref"
>
</c-ptap>
<c-input
v-model="model.gidgrp.bec.pts.ref"
maxlength="16"
placeholder="请输入Int. Beneficiary Ref."
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Int. Beneficiary" prop="gidgrp.bec.pts.extkey">
<c-fullbox>
<c-input
v-model="model.gidgrp.bec.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.bec.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 size="small" type="primary" @click="onBecpDet">
Details
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.bec.pts.adrblk">
<c-input
:disabled="model.gidgrp.bec.pts.adrblk != ''"
rows="4"
type="textarea"
v-model="model.gidgrp.bec.pts.adrblk"
maxlength="140"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
......@@ -113,7 +190,7 @@
>
</c-button>
<c-button
disabled
:disabled="model.gidgrp.iss.pts.adrblk==''"
size="small"
type="primary"
@click="onIsspDet"
......@@ -131,26 +208,79 @@
rows="4"
type="textarea"
v-model="model.gidgrp.iss.pts.adrblk"
maxlength="35"
maxlength="140"
show-word-limit
placeholder="请输入地址名称"
@change="issChange"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: 'Ultimate Ben Bank',
grp: 'gidgrp',
rol: 'ben',
}"
:disabled="true"
@onAplpDet="onCtcpDet"
<el-form-item
label="Ultimate Ben Bank Ref."
prop="gidgrp.ben.pts.ref"
>
</c-ptap>
<c-input
v-model="model.gidgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入Ultimate Ben Bank Ref."
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="Ultimate Ben Bank"
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.ben.pts.adrblk==''"
size="small"
type="primary"
@click="onBenpDet"
>
Details
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.ben.pts.adrblk">
<c-input
:disabled="
model.gidgrp.bec.pts.adrblk == '' ||
model.gidgrp.ben.pts.adrblk != '' ||
model.gidgrp.rec.legfrm == ''
"
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
label="Avail. with Bank Ref."
......@@ -213,6 +343,7 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Getopn/Event";
import Ptap from "~/views/Public/Ptap";
import Utils from "~/utils";
export default {
components: { "c-ptap": Ptap },
......@@ -222,7 +353,15 @@ export default {
data() {
return {};
},
methods: { ...Event },
methods: {
...Event,
async issChange() {
let rtnmsg = await this.executeDefault("gidgrp.bec.pts.adrblk");
if (rtnmsg.respCode == SUCCESS) {
Utils.updateModel(this.model, rtnmsg.data);
}
},
},
created: function () {},
};
</script>
......
......@@ -240,7 +240,6 @@ export default {
provide() {
return {
root: this,
flag: false,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
......@@ -257,6 +256,7 @@ export default {
codes: {
...CodeTable,
},
flag: false,
};
},
methods: {
......@@ -267,6 +267,9 @@ export default {
if (name === "setpan") {
this.flag = true;
}
if(name === "ptypc") {
rulePath="gitp.ptypc";
}
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
......
......@@ -11,7 +11,7 @@
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
:disabled="model.gitp.swiftflg!='N'"
:disabled="model.gitp.swiftflg != 'N'"
></c-input>
<template slot="footer">
<!-- <el-form-item label="" label-width="5px"> -->
......@@ -50,7 +50,7 @@
v-model="model.gitp.usr.extkey"
maxlength="8"
placeholder="请输入Responsible User"
:disabled="model.gitp.swiftflg==''"
:disabled="model.gitp.swiftflg == ''"
></c-input>
<template slot="footer">
<c-button
......@@ -86,21 +86,30 @@
</c-col>
<c-col :span="8">
<el-form-item label-width="5px" prop="gidgrp.cbs.max.amt">
<c-input
v-model="model.gidgrp.cbs.max.amt"
style="margin: 0 0 0 10px; width: 80%"
placeholder="请输入Guarantee Amount"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4" v-if="model.gitp.swiftflg!='Y'" class="centerLable">
<c-checkbox disabled v-model="model.gitp.dzbhflg">电子保函标志</c-checkbox>
<c-col
:span="4"
v-if="model.gitp.swiftflg != 'Y'"
class="centerLable"
>
<c-checkbox disabled v-model="model.gitp.dzbhflg"
>电子保函标志</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Open Amount" prop="gidgrp.cbs.opn1.cur">
<c-input disabled
<c-input
disabled
v-model="model.gidgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请输入Open Amount"
......@@ -109,20 +118,34 @@
</c-col>
<c-col :span="8">
<!-- <el-form-item label="" prop="gidgrp.cbs.opn1.amt"> -->
<c-input disabled
<c-input
disabled
v-model="model.gidgrp.cbs.opn1.amt"
style="margin: 0 0 0 10px; width: 80%"
placeholder="请输入Balance"
></c-input>
<!-- </el-form-item> -->
</c-col>
<c-col :span="4" v-if="model.gitp.swiftflg=='Y'" class="centerLable">
<c-col
:span="4"
v-if="model.gitp.swiftflg == 'Y'"
class="centerLable"
>
<c-checkbox v-model="model.gitp.inc760">incoming lose</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Incoming Purpose " prop="gidgrp.rec.purposin">
<c-select :disabled="model.gitp.inc760==''" v-model="model.gidgrp.rec.purposin" style="width:100%" placeholder="请选择Incoming Purpose ">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="Incoming Purpose "
prop="gidgrp.rec.purposin"
>
<c-select
:disabled="model.gitp.inc760 == ''"
v-model="model.gidgrp.rec.purposin"
style="width: 100%"
placeholder="请选择Incoming Purpose "
>
<el-option
v-for="item in codes.purposin"
:key="item.value"
......@@ -135,8 +158,18 @@
</c-col>
<c-col :span="24">
<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">
<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"
>
<el-option
v-for="item in codes.purpos1"
:key="item.value"
......@@ -149,8 +182,19 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin=='ICCO'" label="Outgoing Purpose" prop="gidgrp.rec.purpos">
<c-select v-model="model.gidgrp.rec.purpos" style="width:100%" placeholder="请选择Outgoing Purpose">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
model.gidgrp.rec.purposin == 'ICCO'
"
label="Outgoing Purpose"
prop="gidgrp.rec.purpos"
>
<c-select
v-model="model.gidgrp.rec.purpos"
style="width: 100%"
placeholder="请选择Outgoing Purpose"
>
<el-option
v-for="item in codes.purpos2"
:key="item.value"
......@@ -163,8 +207,19 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin=='ISCO'" label="Outgoing Purpose" prop="gidgrp.rec.purpos">
<c-select v-model="model.gidgrp.rec.purpos" style="width:100%" placeholder="请选择Outgoing Purpose">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
model.gidgrp.rec.purposin == 'ISCO'
"
label="Outgoing Purpose"
prop="gidgrp.rec.purpos"
>
<c-select
v-model="model.gidgrp.rec.purpos"
style="width: 100%"
placeholder="请选择Outgoing Purpose"
>
<el-option
v-for="item in codes.purpos3"
:key="item.value"
......@@ -177,8 +232,19 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin=='ISSU'" label="Outgoing Purpose" prop="gidgrp.rec.purpos">
<c-select v-model="model.gidgrp.rec.purpos" style="width:100%" placeholder="请选择Outgoing Purpose">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
model.gidgrp.rec.purposin == 'ISSU'
"
label="Outgoing Purpose"
prop="gidgrp.rec.purpos"
>
<c-select
v-model="model.gidgrp.rec.purpos"
style="width: 100%"
placeholder="请选择Outgoing Purpose"
>
<el-option
v-for="item in codes.purpos4"
:key="item.value"
......@@ -191,7 +257,11 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg==''" label="Handling Type" prop="gidgrp.rec.hndtyp">
<el-form-item
v-if="model.gitp.swiftflg == ''"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
......@@ -203,7 +273,11 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="Handling Type" prop="gidgrp.rec.hndtyp">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
......@@ -221,7 +295,14 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin=='ISCO'" label="Handling Type" prop="gidgrp.rec.hndtyp">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
model.gidgrp.rec.purposin == 'ISCO'
"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
......@@ -239,7 +320,14 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin=='ICCO'" label="Handling Type" prop="gidgrp.rec.hndtyp">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
model.gidgrp.rec.purposin == 'ICCO'
"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
......@@ -257,7 +345,15 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin=='ISSU'&&model.gidgrp.rec.purpos=='ISCO'" 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 == 'ISCO'
"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
......@@ -275,7 +371,15 @@
</c-col>
<c-col :span="24">
<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">
<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
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
......@@ -293,7 +397,15 @@
</c-col>
<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 == ''
"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
......@@ -311,7 +423,15 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin=='ISSU'&&model.gidgrp.rec.purpos=='ADVI'" 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 == 'ADVI'
"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
......@@ -329,7 +449,15 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin=='ISSU'&&model.gidgrp.rec.purpos=='ACNF'" 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 == 'ACNF'
"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
......@@ -347,7 +475,15 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purpos==''&&model.gidgrp.rec.purposin==''" label="Handling Type" prop="gidgrp.rec.hndtyp">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
model.gidgrp.rec.purpos == '' &&
model.gidgrp.rec.purposin == ''
"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
......@@ -365,7 +501,15 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purpos=='ISSU'&&model.gidgrp.rec.purposin==''" label="Handling Type" prop="gidgrp.rec.hndtyp">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
model.gidgrp.rec.purpos == 'ISSU' &&
model.gidgrp.rec.purposin == ''
"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
......@@ -383,7 +527,16 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&(model.gidgrp.rec.purpos=='ISCO'||model.gidgrp.rec.purpos=='ICCO')&&model.gidgrp.rec.purposin==''" label="Handling Type" prop="gidgrp.rec.hndtyp">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
(model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO') &&
model.gidgrp.rec.purposin == ''
"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
......@@ -401,7 +554,15 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purpos=='ADVI'&&model.gidgrp.rec.purposin==''" label="Handling Type" prop="gidgrp.rec.hndtyp">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
model.gidgrp.rec.purpos == 'ADVI' &&
model.gidgrp.rec.purposin == ''
"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
......@@ -419,7 +580,15 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purpos=='ACNF'&&model.gidgrp.rec.purposin==''" label="Handling Type" prop="gidgrp.rec.hndtyp">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
model.gidgrp.rec.purpos == 'ACNF' &&
model.gidgrp.rec.purposin == ''
"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
......@@ -456,8 +625,16 @@
<c-col :span="24">
<c-col :span="24">
<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">
<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"
>
<el-option
v-for="item in codes.legfrm"
:key="item.value"
......@@ -474,8 +651,16 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Demand Indicator" prop="gidgrp.rec.demand">
<c-select v-model="model.gidgrp.rec.demand" style="width:100%" placeholder="请选择Demand Indicator">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="Demand Indicator"
prop="gidgrp.rec.demand"
>
<c-select
v-model="model.gidgrp.rec.demand"
style="width: 100%"
placeholder="请选择Demand Indicator"
>
<el-option
v-for="item in codes.demand"
:key="item.value"
......@@ -488,7 +673,11 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="面函标题" prop="gitp.lettername">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="面函标题"
prop="gitp.lettername"
>
<c-input
v-model="model.gitp.lettername"
maxlength="60"
......@@ -518,12 +707,13 @@
</c-select>
<template slot="footer">
<el-form-item
label-width="5px"
prop="gidgrp.blk.apprultxt"
>
<el-form-item label-width="5px" prop="gidgrp.blk.apprultxt">
<c-input
:disabled="model.gidgrp.blk.apprul=='URDG'||model.gidgrp.blk.apprul=='NONE'||model.gidgrp.blk.apprul=='UCPR'"
:disabled="
model.gidgrp.blk.apprul == 'URDG' ||
model.gidgrp.blk.apprul == 'NONE' ||
model.gidgrp.blk.apprul == 'UCPR'
"
v-model="model.gidgrp.blk.apprultxt"
maxlength="35"
placeholder="请输入Applicable Rules"
......@@ -536,7 +726,7 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item
v-if="model.gitp.swiftflg!='Y'"
v-if="model.gitp.swiftflg != 'Y'"
label="Language of Undertak."
prop="gidgrp.rec.giduil"
>
......@@ -556,7 +746,11 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="核销日期" prop="gidgrp.rec.vrfdat">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="核销日期"
prop="gidgrp.rec.vrfdat"
>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.vrfdat"
......@@ -566,7 +760,11 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item v-if="model.gitp.swiftflg==''" label="核销日期" prop="gidgrp.rec.vrfdat">
<el-form-item
v-if="model.gitp.swiftflg == ''"
label="核销日期"
prop="gidgrp.rec.vrfdat"
>
<c-date-picker
disabled
type="date"
......@@ -580,7 +778,7 @@
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg=='Y'"
v-if="model.gitp.swiftflg == 'Y'"
label="Language of Undertak."
prop="gidgrp.rec.giduil"
>
......@@ -601,7 +799,11 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="特殊保函类型" prop="gidgrp.ghd.segtyp">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="特殊保函类型"
prop="gidgrp.ghd.segtyp"
>
<c-select
disabled
v-model="model.gidgrp.ghd.segtyp"
......@@ -619,9 +821,16 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="分离式保函" prop="gidgrp.rec.fenlishi">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="分离式保函"
prop="gidgrp.rec.fenlishi"
>
<c-select
:disabled="model.gidgrp.rec.hndtyp!='OC'&&model.gidgrp.rec.hndtyp!='OL'"
:disabled="
model.gidgrp.rec.hndtyp != 'OC' &&
model.gidgrp.rec.hndtyp != 'OL'
"
v-model="model.gidgrp.rec.fenlishi"
style="width: 100%"
placeholder="请选择是否分离式保函"
......@@ -637,10 +846,11 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'
&&model.gidgrp.rec.gartyp==''"
<el-form-item
v-if="model.gitp.swiftflg == 'N' && model.gidgrp.rec.gartyp == ''"
label="Choice of Text"
prop="gidgrp.rec.gtxinr">
prop="gidgrp.rec.gtxinr"
>
<c-select
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
......@@ -650,14 +860,17 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'
&&model.gidgrp.rec.gartyp==''"
<el-form-item
v-if="model.gitp.swiftflg == 'Y' && model.gidgrp.rec.gartyp == ''"
label="Choice of Text"
prop="gidgrp.rec.gtxinr">
prop="gidgrp.rec.gtxinr"
>
<c-select
:disabled="model.gidgrp.rec.purpos=='ADVI'||model.gidgrp.rec.purpos=='ACNF'"
:disabled="
model.gidgrp.rec.purpos == 'ADVI' ||
model.gidgrp.rec.purpos == 'ACNF'
"
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
placeholder="请选择Choice of Text"
......@@ -667,12 +880,16 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'
&&model.gidgrp.rec.gartyp!=''"
<el-form-item
v-if="model.gitp.swiftflg == 'Y' && model.gidgrp.rec.gartyp != ''"
label="Choice of Text"
prop="gidgrp.rec.gtxinr">
prop="gidgrp.rec.gtxinr"
>
<c-select
:disabled="model.gidgrp.rec.purpos=='ADVI'||model.gidgrp.rec.purpos=='ACNF'"
:disabled="
model.gidgrp.rec.purpos == 'ADVI' ||
model.gidgrp.rec.purpos == 'ACNF'
"
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
placeholder="请选择Choice of Text"
......@@ -688,11 +905,16 @@
</el-form-item>
</c-col>
<c-col :span="24" >
<el-form-item v-if="model.gitp.swiftflg=='N'
&&model.gidgrp.rec.gartyp!=''
&&model.gidgrp.rec.giduil==''"
label="Choice of Text" prop="gidgrp.rec.gtxinr">
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'N' &&
model.gidgrp.rec.gartyp != '' &&
model.gidgrp.rec.giduil == ''
"
label="Choice of Text"
prop="gidgrp.rec.gtxinr"
>
<c-select
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
......@@ -709,11 +931,16 @@
</el-form-item>
</c-col>
<c-col :span="24" >
<el-form-item v-if="model.gitp.swiftflg=='N'
&&model.gidgrp.rec.gartyp!=''
&&model.gidgrp.rec.giduil=='EN'"
label="Choice of Text" prop="gidgrp.rec.gtxinr">
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'N' &&
model.gidgrp.rec.gartyp != '' &&
model.gidgrp.rec.giduil == 'EN'
"
label="Choice of Text"
prop="gidgrp.rec.gtxinr"
>
<c-select
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
......@@ -730,11 +957,17 @@
</el-form-item>
</c-col>
<c-col :span="24" >
<el-form-item v-if="model.gitp.swiftflg=='N'
&&model.gidgrp.rec.gartyp!=''
&&model.gidgrp.rec.giduil=='CN'
&&model.gidgrp.rec.hndtyp==''" label="Choice of Text" prop="gidgrp.rec.gtxinr">
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'N' &&
model.gidgrp.rec.gartyp != '' &&
model.gidgrp.rec.giduil == 'CN' &&
model.gidgrp.rec.hndtyp == ''
"
label="Choice of Text"
prop="gidgrp.rec.gtxinr"
>
<c-select
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
......@@ -751,8 +984,17 @@
</el-form-item>
</c-col>
<c-col :span="24" >
<el-form-item v-if="model.gitp.swiftflg=='N'&&model.gidgrp.rec.gartyp!=''&&model.gidgrp.rec.giduil=='CN'&&model.gidgrp.rec.hndtyp=='OT'" label="Choice of Text" prop="gidgrp.rec.gtxinr">
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'N' &&
model.gidgrp.rec.gartyp != '' &&
model.gidgrp.rec.giduil == 'CN' &&
model.gidgrp.rec.hndtyp == 'OT'
"
label="Choice of Text"
prop="gidgrp.rec.gtxinr"
>
<c-select
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
......@@ -769,8 +1011,17 @@
</el-form-item>
</c-col>
<c-col :span="24" >
<el-form-item v-if="model.gitp.swiftflg=='N'&&model.gidgrp.rec.gartyp!=''&&model.gidgrp.rec.giduil=='CN'&&model.gidgrp.rec.hndtyp=='OC'" label="Choice of Text" prop="gidgrp.rec.gtxinr">
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'N' &&
model.gidgrp.rec.gartyp != '' &&
model.gidgrp.rec.giduil == 'CN' &&
model.gidgrp.rec.hndtyp == 'OC'
"
label="Choice of Text"
prop="gidgrp.rec.gtxinr"
>
<c-select
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
......@@ -787,8 +1038,17 @@
</el-form-item>
</c-col>
<c-col :span="24" >
<el-form-item v-if="model.gitp.swiftflg=='N'&&model.gidgrp.rec.gartyp!=''&&model.gidgrp.rec.giduil=='CN'&&model.gidgrp.rec.hndtyp=='OL'" label="Choice of Text" prop="gidgrp.rec.gtxinr">
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'N' &&
model.gidgrp.rec.gartyp != '' &&
model.gidgrp.rec.giduil == 'CN' &&
model.gidgrp.rec.hndtyp == 'OL'
"
label="Choice of Text"
prop="gidgrp.rec.gtxinr"
>
<c-select
v-model="model.gidgrp.rec.gtxinr"
style="width: 100%"
......@@ -805,7 +1065,11 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="Order Date" prop="gidgrp.rec.orddat">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="Order Date"
prop="gidgrp.rec.orddat"
>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.orddat"
......@@ -816,9 +1080,13 @@
</c-col>
<c-col :span="24">
<c-col :span="14">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="Validity until" prop="gidgrp.rec.expdat">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="Validity until"
prop="gidgrp.rec.expdat"
>
<c-date-picker
:disabled="model.gidgrp.rec.expflg=='X'"
:disabled="model.gidgrp.rec.expflg == 'X'"
type="date"
v-model="model.gidgrp.rec.expdat"
style="width: 90%"
......@@ -826,18 +1094,27 @@
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="7" v-if="model.gitp.swiftflg=='N'" class="centerLable">
<c-col
:span="7"
v-if="model.gitp.swiftflg == 'N'"
class="centerLable"
>
<c-checkbox v-model="model.gidgrp.rec.expflg"
>Unlimited Guarantee</c-checkbox
>
</c-col>
<c-col :span="3" v-if="model.gitp.swiftflg=='N'" class="centerLable">
<c-col
:span="3"
v-if="model.gitp.swiftflg == 'N'"
class="centerLable"
>
<c-button
size="small"
type="primary"
@click="onGitpWbxs"
disabled
style="color:white">
style="color: white"
>
显示文本
</c-button>
</c-col>
......@@ -845,7 +1122,11 @@
<c-col :span="24">
<c-col :span="14">
<el-form-item v-if="model.gitp.swiftflg==''" label="Validity until" prop="gidgrp.rec.expdat">
<el-form-item
v-if="model.gitp.swiftflg == ''"
label="Validity until"
prop="gidgrp.rec.expdat"
>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.expdat"
......@@ -854,18 +1135,27 @@
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="7" v-if="model.gitp.swiftflg==''" class="centerLable">
<c-col
:span="7"
v-if="model.gitp.swiftflg == ''"
class="centerLable"
>
<c-checkbox v-model="model.gidgrp.rec.expflg"
>Unlimited Guarantee</c-checkbox
>
</c-col>
<c-col :span="3" v-if="model.gitp.swiftflg==''" class="centerLable">
<c-col
:span="3"
v-if="model.gitp.swiftflg == ''"
class="centerLable"
>
<c-button
size="small"
type="primary"
@click="onGitpWbxs"
disabled
style="color:white">
style="color: white"
>
显示文本
</c-button>
</c-col>
......@@ -874,12 +1164,15 @@
<c-col :span="24">
<c-col :span="14">
<el-form-item
v-if="model.gitp.swiftflg=='N'"
v-if="model.gitp.swiftflg == 'N'"
label="Our Liability until"
prop="gidgrp.rec.liadat"
>
<c-date-picker
:disabled="model.gidgrp.rec.hndtyp!='OC'||model.gidgrp.rec.liaflg=='X'"
:disabled="
model.gidgrp.rec.hndtyp != 'OC' ||
model.gidgrp.rec.liaflg == 'X'
"
type="date"
v-model="model.gidgrp.rec.liadat"
style="width: 90%"
......@@ -887,18 +1180,31 @@
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="7" v-if="model.gitp.swiftflg=='N'" class="centerLable">
<c-checkbox v-model="model.gidgrp.rec.liaflg"
:disabled="model.gidgrp.rec.hndtyp!='OC'||model.gidgrp.rec.expflg=='X'"
<c-col
:span="7"
v-if="model.gitp.swiftflg == 'N'"
class="centerLable"
>
<c-checkbox
v-model="model.gidgrp.rec.liaflg"
:disabled="
model.gidgrp.rec.hndtyp != 'OC' ||
model.gidgrp.rec.expflg == 'X'
"
>Unlimited Liability</c-checkbox
>
</c-col>
<c-col :span="3" v-if="model.gitp.swiftflg=='N'" class="centerLable">
<c-col
:span="3"
v-if="model.gitp.swiftflg == 'N'"
class="centerLable"
>
<c-button
size="small"
type="primary"
@click="onGitpYptxy"
disabled>
disabled
>
协议签署
</c-button>
</c-col>
......@@ -907,7 +1213,7 @@
<c-col :span="24">
<c-col :span="14">
<el-form-item
v-if="model.gitp.swiftflg==''"
v-if="model.gitp.swiftflg == ''"
label="Our Liability until"
prop="gidgrp.rec.liadat"
>
......@@ -919,17 +1225,26 @@
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="7" v-if="model.gitp.swiftflg==''" class="centerLable">
<c-col
:span="7"
v-if="model.gitp.swiftflg == ''"
class="centerLable"
>
<c-checkbox v-model="model.gidgrp.rec.liaflg"
>Unlimited Liability</c-checkbox
>
</c-col>
<c-col :span="3" v-if="model.gitp.swiftflg==''" class="centerLable">
<c-col
:span="3"
v-if="model.gitp.swiftflg == ''"
class="centerLable"
>
<c-button
size="small"
type="primary"
@click="onGitpYptxy"
disabled>
disabled
>
协议签署
</c-button>
</c-col>
......@@ -944,7 +1259,11 @@
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="保函生效日" prop="gidgrp.rec.inudat">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="保函生效日"
prop="gidgrp.rec.inudat"
>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.inudat"
......@@ -954,7 +1273,11 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="Mortgage Flag" prop="gidgrp.rec.guaflg">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="Mortgage Flag"
prop="gidgrp.rec.guaflg"
>
<c-select
v-model="model.gidgrp.rec.guaflg"
style="width: 100%"
......@@ -971,11 +1294,16 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="是否显示查询码" prop="gidgrp.gidcxm.cxmflg">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="是否显示查询码"
prop="gidgrp.gidcxm.cxmflg"
>
<c-select
v-model="model.gidgrp.gidcxm.cxmflg"
style="width: 100%"
placeholder="请选择是否显示查询码">
placeholder="请选择是否显示查询码"
>
<el-option
v-for="item in codes.cxmflg"
:key="item.value"
......@@ -990,39 +1318,65 @@
<!-- ============右边================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="Name" prop="gidgrp.rec.nam">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="Name"
prop="gidgrp.rec.nam"
>
<c-input
v-model="model.gidgrp.rec.nam"
maxlength="40"
placeholder="请输入Name"
:disabled="model.gitp.swiftflg==''"
:disabled="model.gitp.swiftflg == ''"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="Applicant Ref." prop="gidgrp.apl.pts.ref">
<c-input :disabled="model.gidgrp.ghd.segtyp=='02'" v-model="model.gidgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref."></c-input>
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="Applicant Ref."
prop="gidgrp.apl.pts.ref"
>
<c-input
:disabled="model.gidgrp.ghd.segtyp == '02'"
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">
<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"
<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;"
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
<span style="font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
<c-button :disabled="model.gidgrp.rec.hndtyp!='OT'" size="small" type="primary" @click="onAplpDet">
<c-button
:disabled="model.gidgrp.rec.hndtyp != 'OT'"
size="small"
type="primary"
@click="onAplpDet"
>
Details
</c-button>
</template>
......@@ -1030,34 +1384,72 @@
</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="model.gidgrp.rec.hndtyp!='OT'||model.gidgrp.apl.pts.adrblk!=''" rows="4" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="140" show-word-limit placeholder="请输入地址名称" ></c-input>
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="地址名称"
prop="gidgrp.apl.pts.adrblk"
>
<c-input
:disabled="
model.gidgrp.rec.hndtyp != 'OT' ||
model.gidgrp.apl.pts.adrblk != ''
"
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.gidgrp.rec.hndtyp=='OL'||model.gidgrp.rec.hndtyp=='')&&model.gitp.swiftflg!='Y'" label="Adv/Rcv bank Ref." prop="gidgrp.adv.pts.ref">
<c-input v-model="model.gidgrp.adv.pts.ref" maxlength="16" placeholder="请输入Adv/Rcv bank Ref."></c-input>
<el-form-item
v-if="
(model.gidgrp.rec.hndtyp == 'OL' ||
model.gidgrp.rec.hndtyp == '') &&
model.gitp.swiftflg != 'Y'
"
label="Adv/Rcv bank Ref."
prop="gidgrp.adv.pts.ref"
>
<c-input
v-model="model.gidgrp.adv.pts.ref"
maxlength="16"
placeholder="请输入Adv/Rcv bank Ref."
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="(model.gidgrp.rec.hndtyp=='OL'||model.gidgrp.rec.hndtyp=='')&&model.gitp.swiftflg!='Y'" label="Adv/Rcv bank" prop="gidgrp.adv.pts.extkey">
<el-form-item
v-if="
(model.gidgrp.rec.hndtyp == 'OL' ||
model.gidgrp.rec.hndtyp == '') &&
model.gitp.swiftflg != 'Y'
"
label="Adv/Rcv bank"
prop="gidgrp.adv.pts.extkey"
>
<c-fullbox>
<c-input v-model="model.gidgrp.adv.pts.extkey"
<c-input
v-model="model.gidgrp.adv.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.adv.pts.extkey`)
">
"
>
</c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
<span style="font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
<c-button size="small" type="primary" @click="onAdvpDet">
Details
......@@ -1067,35 +1459,79 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="(model.gidgrp.rec.hndtyp=='OL'||model.gidgrp.rec.hndtyp=='')&&model.gitp.swiftflg!='Y'" label="地址名称" prop="gidgrp.adv.pts.adrblk">
<c-input :disabled="model.gidgrp.adv.pts.adrblk!=''" rows="4" type="textarea" v-model="model.gidgrp.adv.pts.adrblk" maxlength="140" show-word-limit placeholder="请输入地址名称" ></c-input>
<el-form-item
v-if="
(model.gidgrp.rec.hndtyp == 'OL' ||
model.gidgrp.rec.hndtyp == '') &&
model.gitp.swiftflg != 'Y'
"
label="地址名称"
prop="gidgrp.adv.pts.adrblk"
>
<c-input
:disabled="model.gidgrp.adv.pts.adrblk != ''"
rows="4"
type="textarea"
v-model="model.gidgrp.adv.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.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
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">
<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"
<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>
"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
<span style="font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
<c-button disabled size="small" type="primary" @click="onIsspDet">
<c-button
disabled
size="small"
type="primary"
@click="onIsspDet"
>
Details
</c-button>
</template>
......@@ -1103,34 +1539,71 @@
</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
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>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="Beneficiary Ref." prop="gidgrp.ben.pts.ref">
<c-input v-model="model.gidgrp.ben.pts.ref" maxlength="16" placeholder="请输入Beneficiary Ref."></c-input>
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="Beneficiary Ref."
prop="gidgrp.ben.pts.ref"
>
<c-input
v-model="model.gidgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入Beneficiary 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">
<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"
<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>
"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
<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">
<c-button
:disabled="model.gidgrp.rec.hndtyp == 'OT'"
size="small"
type="primary"
@click="onBenpDet"
>
Details
</c-button>
</template>
......@@ -1138,14 +1611,36 @@
</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" v-model="model.gidgrp.ben.pts.adrblk" maxlength="140" show-word-limit placeholder="请输入地址名称" ></c-input>
<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"
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="被保证人" prop="gidgrp.gidcxm.warran">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="被保证人"
prop="gidgrp.gidcxm.warran"
>
<c-input
:disabled="model.gidgrp.rec.hndtyp!='OT'&&model.gidgrp.rec.fenlishi==''"
:disabled="
model.gidgrp.rec.hndtyp != 'OT' &&
model.gidgrp.rec.fenlishi == ''
"
v-model="model.gidgrp.gidcxm.warran"
maxlength="40"
placeholder="请输入被保证人"
......@@ -1153,7 +1648,11 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="Issuance Date" prop="gidgrp.rec.opndat">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="Issuance Date"
prop="gidgrp.rec.opndat"
>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.opndat"
......@@ -1163,7 +1662,11 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="是否对外担保" prop="gidgrp.rec.fingua">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="是否对外担保"
prop="gidgrp.rec.fingua"
>
<c-select
v-model="model.gidgrp.rec.fingua"
style="width: 100%"
......@@ -1181,9 +1684,16 @@
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<el-form-item
v-if="model.gitp.swiftflg != 'Y'"
label="对外担保类型"
prop="gidgrp.rec.cfaguatyp"
>
<c-select
:disabled="model.gidgrp.rec.fingua=='N'||model.gidgrp.rec.fingua==''"
:disabled="
model.gidgrp.rec.fingua == 'N' ||
model.gidgrp.rec.fingua == ''
"
v-model="model.gidgrp.rec.cfaguatyp"
style="width: 90%"
placeholder="请选择对外担保类型"
......@@ -1198,14 +1708,27 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="4" v-if="model.gidgrp.cbs.max.cur=='CNY'&&model.gitp.swiftflg!='Y'" class="centerLable">
<c-checkbox label="跨境人民币保函" disabled v-model="model.gidgrp.rec.cmtflg"
<c-col
:span="4"
v-if="
model.gidgrp.cbs.max.cur == 'CNY' && model.gitp.swiftflg != 'Y'
"
class="centerLable"
>
<c-checkbox
label="跨境人民币保函"
disabled
v-model="model.gidgrp.rec.cmtflg"
>跨境人民币保函</c-checkbox
>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Order Date" prop="gidgrp.rec.orddat">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="Order Date"
prop="gidgrp.rec.orddat"
>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.orddat"
......@@ -1216,14 +1739,31 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Valid from" prop="gidgrp.rec.opndat">
<c-date-picker type="date" v-model="model.gidgrp.rec.opndat" style="width:100%" placeholder="请选择Valid from"></c-date-picker>
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="Valid from"
prop="gidgrp.rec.opndat"
>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.opndat"
style="width: 100%"
placeholder="请选择Valid from"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Expiry Type" prop="gidgrp.rec.exptyp">
<c-select v-model="model.gidgrp.rec.exptyp" style="width:100%" placeholder="请选择Expiry Type">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="Expiry Type"
prop="gidgrp.rec.exptyp"
>
<c-select
v-model="model.gidgrp.rec.exptyp"
style="width: 100%"
placeholder="请选择Expiry Type"
>
<el-option
v-for="item in codes.exptyp"
:key="item.value"
......@@ -1236,8 +1776,13 @@
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Validity until" prop="gidgrp.rec.expdat">
<c-date-picker :disabled="model.gidgrp.rec.exptyp=='OPEN'"
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="Validity until"
prop="gidgrp.rec.expdat"
>
<c-date-picker
:disabled="model.gidgrp.rec.exptyp == 'OPEN'"
type="date"
v-model="model.gidgrp.rec.expdat"
style="width: 90%"
......@@ -1245,7 +1790,11 @@
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="4" v-if="model.gitp.swiftflg=='Y'" class="centerLable">
<c-col
:span="4"
v-if="model.gitp.swiftflg == 'Y'"
class="centerLable"
>
<c-checkbox disabled v-model="model.gidgrp.rec.expflg"
>Unlimited Validity</c-checkbox
>
......@@ -1254,27 +1803,95 @@
<c-col :span="24">
<c-col :span="20">
<c-form-item v-show="model.gitp.swiftflg=='Y'&&model.gitp.exptxtmodflg==''" label="Expiry Condition/ Evt." prop="gidgrp.blk.exptxt">
<c-input type="textarea" rows="4" :disabled="model.gitp.exptxtmodflg==''" v-model="model.gidgrp.blk.exptxt" maxlength="780" show-word-limit placeholder="请输入Expiry Condition/ Evt." ></c-input>
<c-form-item
v-show="
model.gitp.swiftflg == 'Y' && model.gitp.exptxtmodflg == ''
"
label="Expiry Condition/ Evt."
prop="gidgrp.blk.exptxt"
>
<c-input
type="textarea"
rows="4"
:disabled="model.gitp.exptxtmodflg == ''"
v-model="model.gidgrp.blk.exptxt"
maxlength="780"
show-word-limit
placeholder="请输入Expiry Condition/ Evt."
></c-input>
</c-form-item>
<c-form-item v-show="model.gitp.swiftflg=='Y'&&model.gitp.exptxtmodflg=='X'" label="Expiry Condition/ Evt." prop="gidgrp.blk.atxexptxt">
<c-input type="textarea" rows="4" :disabled="model.gitp.exptxtmodflg==''" v-model="model.gidgrp.blk.atxexptxt" maxlength="780" @blur="atxexpBlur" show-word-limit placeholder="请输入Expiry Condition/ Evt." ></c-input>
<c-form-item
v-show="
model.gitp.swiftflg == 'Y' && model.gitp.exptxtmodflg == 'X'
"
label="Expiry Condition/ Evt."
prop="gidgrp.blk.atxexptxt"
>
<c-input
type="textarea"
rows="4"
:disabled="model.gitp.exptxtmodflg == ''"
v-model="model.gidgrp.blk.atxexptxt"
maxlength="780"
@blur="atxexpBlur"
show-word-limit
placeholder="请输入Expiry Condition/ Evt."
></c-input>
</c-form-item>
</c-col>
<c-col :span="4">
<c-checkbox v-if="model.gitp.swiftflg=='Y'" v-model="model.gitp.exptxtmodflg" :disabled="model.gidgrp.rec.exptyp=='FIXD'||model.gidgrp.rec.exptyp=='OPEN'||model.gidgrp.rec.exptyp==''" style="margin:0 0 0 10px">Modify Text</c-checkbox>
<c-button v-if="model.gitp.swiftflg=='Y'" disabled size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifexptxt">
<c-checkbox
v-if="model.gitp.swiftflg == 'Y'"
v-model="model.gitp.exptxtmodflg"
:disabled="
model.gidgrp.rec.exptyp == 'FIXD' ||
model.gidgrp.rec.exptyp == 'OPEN' ||
model.gidgrp.rec.exptyp == ''
"
style="margin: 0 0 0 10px"
>Modify Text</c-checkbox
>
<c-button
v-if="model.gitp.swiftflg == 'Y'"
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifexptxt"
>
vs. &System
</c-button>
<c-button v-if="model.gitp.swiftflg=='Y'" disabled size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifhisexptxt">
<c-button
v-if="model.gitp.swiftflg == 'Y'"
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifhisexptxt"
>
vs. &History
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Liability Type " prop="gidgrp.rec.liatypc">
<c-select :disabled="model.gidgrp.rec.purpos=='ISSU'||!(model.gidgrp.rec.purposin=='ICCO'&&model.gidgrp.rec.purpos=='ISCO')" v-model="model.gidgrp.rec.liatypc" style="width:100%" placeholder="请选择Liability Type ">
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="Liability Type "
prop="gidgrp.rec.liatypc"
>
<c-select
:disabled="
model.gidgrp.rec.purpos == 'ISSU' ||
!(
model.gidgrp.rec.purposin == 'ICCO' &&
model.gidgrp.rec.purpos == 'ISCO'
)
"
v-model="model.gidgrp.rec.liatypc"
style="width: 100%"
placeholder="请选择Liability Type "
>
<el-option
v-for="item in codes.liatypc"
:key="item.value"
......@@ -1289,11 +1906,15 @@
<c-col :span="24">
<c-col :span="20">
<el-form-item
v-if="model.gitp.swiftflg=='Y'"
v-if="model.gitp.swiftflg == 'Y'"
label="Our Liability until"
prop="gidgrp.rec.liadat"
>
<c-date-picker :disabled="model.gidgrp.rec.liatypc=='OPEN'||model.gidgrp.rec.liatypc==''"
<c-date-picker
:disabled="
model.gidgrp.rec.liatypc == 'OPEN' ||
model.gidgrp.rec.liatypc == ''
"
type="date"
v-model="model.gidgrp.rec.liadat"
style="width: 90%"
......@@ -1301,7 +1922,11 @@
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="4" v-if="model.gitp.swiftflg=='Y'" class="centerLable">
<c-col
:span="4"
v-if="model.gitp.swiftflg == 'Y'"
class="centerLable"
>
<c-checkbox disabled v-model="model.gidgrp.rec.liaflg"
>Unlimited Liability</c-checkbox
>
......@@ -1310,16 +1935,52 @@
<c-col :span="24">
<c-col :span="20">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Liability Condition" prop="gidgrp.blk.liatxtc">
<c-input type="textarea" :disabled="model.gitp.liatxtcmodflg==''" rows="4" v-model="model.gidgrp.blk.liatxtc" maxlength="780" show-word-limit placeholder="请输入Liability Condition" ></c-input>
<el-form-item
v-if="model.gitp.swiftflg == 'Y'"
label="Liability Condition"
prop="gidgrp.blk.liatxtc"
>
<c-input
type="textarea"
:disabled="model.gitp.liatxtcmodflg == ''"
rows="4"
v-model="model.gidgrp.blk.liatxtc"
maxlength="780"
show-word-limit
placeholder="请输入Liability Condition"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox v-if="model.gitp.swiftflg=='Y'" :disabled="model.gidgrp.rec.liatypc=='OPEN'||model.gidgrp.rec.liatypc=='FIXD'||model.gidgrp.rec.liatypc==''" v-model="model.gitp.liatxtcmodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox>
<c-button v-if="model.gitp.swiftflg=='Y'" disabled size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifliatxtc">
<c-checkbox
v-if="model.gitp.swiftflg == 'Y'"
:disabled="
model.gidgrp.rec.liatypc == 'OPEN' ||
model.gidgrp.rec.liatypc == 'FIXD' ||
model.gidgrp.rec.liatypc == ''
"
v-model="model.gitp.liatxtcmodflg"
style="margin: 0 0 0 10px"
>Modify Text</c-checkbox
>
<c-button
v-if="model.gitp.swiftflg == 'Y'"
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifliatxtc"
>
vs. &System
</c-button>
<c-button v-if="model.gitp.swiftflg=='Y'" disabled size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifhisliatxtc">
<c-button
v-if="model.gitp.swiftflg == 'Y'"
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px"
@click="onGitpButdifhisliatxtc"
>
vs. &History
</c-button>
</c-col>
......@@ -1328,57 +1989,56 @@
</c-col>
</c-col>
</c-row>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitopn/Event"
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"],
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
return {
}
data() {
return {};
},
computed: {
flag() {
return this.model.gidgrp.apl.pts.extkey == "";
},
},
watch:{
"model.gidgrp.rec.expflg":function () {
if(this.model.gidgrp.rec.expflg=='X'&&this.model.gidgrp.rec.hndtyp=='OC'){
this.model.gidgrp.rec.liaflg='X';
watch: {
"model.gidgrp.rec.expflg": function () {
if (
this.model.gidgrp.rec.expflg == "X" &&
this.model.gidgrp.rec.hndtyp == "OC"
) {
this.model.gidgrp.rec.liaflg = "X";
}
},
},
methods:{
methods: {
...Event,
onSeainf(data) {
this.$emit("onSeainf",data);
this.$emit("onSeainf", data);
},
valueChange() {
if (this.onlySearch) return;
},
async atxexpBlur(){
let rtnmsg = await this.executeRule("gidgrp.blk.atxexptxt")
async atxexpBlur() {
let rtnmsg = await this.executeRule("gidgrp.blk.atxexptxt");
if (rtnmsg.respCode == SUCCESS) {
Utils.updateModel(this.model, rtnmsg.data);
}
},
},
created:function(){
}
}
created: function () {},
};
</script>
<style>
</style>
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