Commit d27fe681 by liyixun

gitopn事件修改

No related merge requests found
......@@ -32486,9 +32486,9 @@ const CodeTable = {
{ label: "ISCO Issuance of counter-undertaking", value: "ISCO" },
],
purpos: [
{ label: "Advice of the credit amendment", value: "ADVI" },
{ label: "Advice and confirmation of the credit amendment", value: "ACNF" },
{ label: "Issuance of the credit amendment", value: "ISSU" },
{ label: "ADVI Advice of issued undertaking", value: "ADVI" },
{ label: "ACNF Advice and confirm of issued undert", value: "ACNF" },
{ label: "ISSU Issuance of undertaking", value: "ISSU" },
{ label: "ISCO Issuance of counter-undertaking", value: "ISCO" },
{ label: "ICCO Issuance of counter-counter-undert.", value: "ICCO" },
],
......@@ -32497,6 +32497,11 @@ const CodeTable = {
// {label:"Advice and confirmation of the credit amendment",value:"ACNF" },
// {label:"Issuance of the credit amendment",value:"ISSU" },
// ]
purposin: [
{ label: "ICCO Issuance of counter-counter-undert.", value: "ICCO" },
{ label: "ISSU Issuance of undertaking", value: "ISSU" },
{ label: "ISCO Issuance of counter-undertaking", value: "ISCO" },
],
purtyp: [
{ label: "合格押汇", value: "NB0" },
{ label: "不合格押汇", value: "DSB" },
......@@ -99,7 +99,7 @@
placeholder="请输入Guarantee Amount"
></c-input>
</c-col>
<c-col :span="4" v-if="model.gitp.swiftflg!='Y'" class="centerLable">
<c-col :span="4" v-show="model.gitp.swiftflg!='Y'" class="centerLable">
<c-checkbox disabled v-model="model.gitp.dzbhflg">电子保函标志</c-checkbox>
</c-col>
</c-col>
......@@ -147,7 +147,7 @@
</c-col> -->
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Incoming Purpose " prop="gidgrp.rec.purposin">
<el-form-item v-show="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"
......@@ -161,7 +161,7 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Outgoing Purpose" prop="gidgrp.rec.purpos">
<el-form-item v-show="model.gitp.swiftflg=='Y'" 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.purpos"
......@@ -186,7 +186,7 @@
placeholder="请选择Handling Type"
>
<el-option
v-for="item in hndtyp"
v-for="item in codes.hndtyp"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -215,7 +215,7 @@
<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">
<el-form-item v-show="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 legfrm"
......@@ -233,7 +233,7 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Demand Indicator" prop="gidgrp.rec.demand">
<el-form-item v-show="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"
......@@ -323,7 +323,7 @@
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg=='Y'"
v-show="model.gitp.swiftflg=='Y'"
label="Language of Undertak."
prop="gidgrp.rec.giduil"
>
......@@ -1585,17 +1585,11 @@ export default {
mixins: [commonProcess],
data(){
return {
hndtyp: [
{ label: "Transfer", value: "OT" },
{ label: "Direct (we issue)", value: "OL" },
{ label: "Indirect (please issue)", value: "OC" },
],
apprul:[
{label:"UCPR Undertaking is subject to UCP Rules f. Doc. Credit",value:"UCPR" },
{label:"OTHR The guarantee is subject to another set of rules, see Narrative",value:"OTHR" },
{label:"URDG The guarantee is subject to the ICC Rules for Demand Guarantees",value:"URDG" },
{label:"ISPR The guarantee is not subject to any set of rule",value:"ISPR"},
// {label:"ISPR The undertaking is subject to International Standby Practices ISP",value:"ISPR" },
{label:"NONE The guarantee is not subject to any set of rule",value:"NONE" },
],
legfrm:[
......@@ -1628,43 +1622,43 @@ export default {
},
},
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';
}
},
"model.gidgrp.cbs.opn1.cur":function(){
if(this.model.gidgrp.cbs.opn1.cur!=''){
this.model.cfagit.recgrp.bas.guarancurr=this.model.gidgrp.cbs.opn1.cur;
// "model.gidgrp.rec.expflg":function () {
// if(this.model.gidgrp.rec.expflg=='X'&&this.model.gidgrp.rec.hndtyp=='OC'){
// this.model.gidgrp.rec.liaflg='X';
// }
// },
// "model.gidgrp.cbs.opn1.cur":function(){
// if(this.model.gidgrp.cbs.opn1.cur!=''){
// this.model.cfagit.recgrp.bas.guarancurr=this.model.gidgrp.cbs.opn1.cur;
}
},
"model.gidgrp.cbs.max.amt":function(){
if(this.model.gidgrp.cbs.max.amt!=''){
this.model.cfagit.recgrp.bas.guaranamount=this.model.gidgrp.cbs.max.amt;
}
},
// }
// },
// "model.gidgrp.cbs.max.amt":function(){
// if(this.model.gidgrp.cbs.max.amt!=''){
// this.model.cfagit.recgrp.bas.guaranamount=this.model.gidgrp.cbs.max.amt;
// }
// },
"model.gidgrp.cbs.opn1.cur":function(){
if(this.model.gidgrp.cbs.opn1.cur!=''&&this.model.gidgrp.cbs.opn1.cur!='CNY'){
this.model.cnybop.cnyvou.currencycode=this.model.gidgrp.cbs.opn1.cur;
this.model.cnybop.cnyvou.fvouchamt=this.model.gidgrp.cbs.max.amt;
}
},
// "model.gidgrp.cbs.opn1.cur":function(){
// if(this.model.gidgrp.cbs.opn1.cur!=''&&this.model.gidgrp.cbs.opn1.cur!='CNY'){
// this.model.cnybop.cnyvou.currencycode=this.model.gidgrp.cbs.opn1.cur;
// this.model.cnybop.cnyvou.fvouchamt=this.model.gidgrp.cbs.max.amt;
// }
// },
"model.gidgrp.cbs.max.amt":function(){
if(this.model.gidgrp.cbs.max.amt!=''){
this.model.cnybop.cnyvou.fvouchamt=this.model.gidgrp.cbs.max.amt;
}
},
// "model.gidgrp.cbs.max.amt":function(){
// if(this.model.gidgrp.cbs.max.amt!=''){
// this.model.cnybop.cnyvou.fvouchamt=this.model.gidgrp.cbs.max.amt;
// }
// },
"model.gidgrp.rec.giduil":function(){
if(this.model.gidgrp.rec.giduil=='CN'){
this.model.gidgrp.rec.gtxinr.code=this.codes.gtxinr1;
}else if(this.model.gidgrp.rec.giduil=='EN'){
this.model.gidgrp.rec.gtxinr.code=this.codes.gtxinr;
}
}
// "model.gidgrp.rec.giduil":function(){
// if(this.model.gidgrp.rec.giduil=='CN'){
// this.model.gidgrp.rec.gtxinr.code=this.codes.gtxinr1;
// }else if(this.model.gidgrp.rec.giduil=='EN'){
// this.model.gidgrp.rec.gtxinr.code=this.codes.gtxinr;
// }
// }
},
methods:{
...Event,
......
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