Commit 802a668b by panziyi

gitset

parent 714375fb
......@@ -2,6 +2,9 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onSeainf(){
},
async onGctpGetrefbut(){
let rtnmsg = await this.executeRule("gctp.getrefbut")
if(rtnmsg.respCode == SUCCESS)
......
......@@ -213,22 +213,108 @@ export default class Gitset{
// },
// },
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
swiadd: {
amedat: "", // Amendment Date .trnmod.swiadd.amedat
amenbr: "", // Amend. No Received .trnmod.swiadd.amenbr
amecur: "", // Amended .trnmod.swiadd.amecur
ameamt: "", // Amended .trnmod.swiadd.ameamt
newcur: "", // New Data .trnmod.swiadd.newcur
newamt: "", // New Data .trnmod.swiadd.newamt
newnomtop: "", // New positive tolerance .trnmod.swiadd.newnomtop
newnomton: "", // New negative tolerance .trnmod.swiadd.newnomton
nomspc: "", // Amount Specification .trnmod.swiadd.nomspc
newexpdat: "", // New Expiry Date .trnmod.swiadd.newexpdat
newshpdat: "", // New Shipment Date .trnmod.swiadd.newshpdat
shpper: "", // Shipment Period .trnmod.swiadd.shpper
shpfro: "", // Dispatch from .trnmod.swiadd.shpfro
porloa: "", // Air-/Port of Loading .trnmod.swiadd.porloa
pordis: "", // Air-/Port of Discharge .trnmod.swiadd.pordis
purpos: "", // Purpose of message trnmod.swiadd.purpos
shpto: "", // Final Destination .trnmod.swiadd.shpto
addamtcov: "", // Amounts Covered .trnmod.swiadd.addamtcov
addamt: "", // Amounts Covered .trnmod.swiadd.addamt
insbnk: "", // Instruction to P/A/N Bank amendment .trnmod.swiadd.insbnk
nartxt: "",
newnomtopame: "",
newnomtoname: "",
prepers18: "", //New Presentation Period
strinf: "", // Narrative of Maturity .trnmod.swiadd.strinf
newmatpercnt:"", // New Tenor Data .trnmod.swiadd.newmatpercnt
newmatpertyp:"", // Days/Month or Year for Maturity Period .trnmod.swiadd.newmatpertyp
newmatperbeg:"", // Start of Maturity Period .trnmod.swiadd.newmatperbeg
newmatdat:"", // New Maturity Date .trnmod.swiadd.newmatdat
ametxt:"", // Further Amendments .trnmod.swiadd.ametxt
shptoelc: "", // 货物目的地/交货地(港) .trnmod.swiadd.shptoelc
shpfroelc: "", // Shipment from .trnmod.swiadd.shpfroelc
//nartxtflg: "", // Narrative modified .trnmod.swiadd.nartxtflg
lcrgod: "", // Description of Goods amendment .trnmod.swiadd.lcrgod
lcrdoc: "", // Documents Required amendment .trnmod.swiadd.lcrdoc
//adlcnd: "", // Additional Conditions amendment .trnmod.swiadd.adlcnd
purposamein:"", // Inc. Purpose of amend. .trnmod.swiadd.purposamein
purposame:"", // Purpose of amend. .trnmod.swiadd.purposame
amedat:"", // Amendment Date .trnmod.swiadd.amedat
orddat:"", // Order from .trnmod.swiadd.orddat
amenbr:"", // Amend. No Receiv. .trnmod.swiadd.amenbr
amecur:"", // Amended .trnmod.swiadd.amecur
ameamt:"", // Amended Amount .trnmod.swiadd.ameamt
newcur:"", // Guarantee Amount .trnmod.swiadd.newcur
newamt:"", // New amount .trnmod.swiadd.newamt
ameblk:"", // Text for Amendments .trnmod.swiadd.ameblk
reqcan:"", // Cancellation Request .trnmod.swiadd.reqcan
amemsgdonflg:"", // Create Amendment Message .trnmod.swiadd.amemsgdonflg
addamtflg:"", // Add. Amount Flag .trnmod.swiadd.addamtflg
addcur:"", // Additional Currency .trnmod.swiadd.addcur
addamt:"", // Additional Amount .trnmod.swiadd.addamt
addamtcovs20:"", // Additional Amount Covered .trnmod.swiadd.addamtcovs20
redrea:"", // Reason for Reduce / Discharge .trnmod.swiadd.redrea
exptyp:"", // New Expiry Type .trnmod.swiadd.exptyp
newexpdat:"", // New Expiry Date .trnmod.swiadd.newexpdat
exptxt:"", // New Expiry Condition .trnmod.swiadd.exptxt
liatypc:"", // New Liability Type .trnmod.swiadd.liatypc
newliadat:"", // New Liability Date .trnmod.swiadd.newliadat
liatxtc:"", // New Liability Condition .trnmod.swiadd.liatxtc
newdtaappexpdat:"", // New appr. Expiry Date .trnmod.swiadd.newdtaappexpdat
ameblkc:"", // Text for Amendments .trnmod.swiadd.ameblkc
amecurc:"", // Amended Amount .trnmod.swiadd.amecurc
ameamtc:"", // Increase of Local Guarantee Amount .trnmod.swiadd.ameamtc
newcurc:"", // Local Undertaking .trnmod.swiadd.newcurc
newamtc:"", // New Amount Local Guarantee .trnmod.swiadd.newamtc
addamtflgc:"", // Additional Amount Flag Seq. C .trnmod.swiadd.addamtflgc
addcurc:"", // Additional Currency Seq. C .trnmod.swiadd.addcurc
addamtc:"", // Additional Amount Seq. C .trnmod.swiadd.addamtc
addamtcovc:"", // Add. Amount Covered .trnmod.swiadd.addamtcovc
newexpflg:"", // Unlimited Validity .trnmod.swiadd.newexpflg
newliaflg:"", // Unlimited Liability .trnmod.swiadd.newliaflg
addamtcov:"", // Amounts Covered .trnmod.swiadd.addamtcov
},
trndoc: {
nar754: "", // Narrative :77A: .trnmod.trndoc.nar754
advlabel: "", // ADVLABEL .trnmod.trndoc.advlabel
amdnam: "", // AMDNAM .trnmod.trndoc.amdnam
advdoc: "", // 国内证通知书 .trnmod.trndoc.advdoc
advnam: "", // 国内证落款 .trnmod.trndoc.advnam
amdapl: "", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl: "", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm: "", // Document tree .trnmod.trndoc.doctrestm
shwinc: "", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout: "", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm: "", // Connected Documents .trnmod.trndoc.condocstm
rcvatt: {
seainf: "", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
filrecv: "", // File Receiver .trnmod.trndoc.filrecv
doceot: [],
addstr750:""//trnmod.trndoc.addstr750
},
docimm:{
ascin:"", // Message as stream .trnmod.docimm.ascin
prtswtrpblk:"", // XMLPanel prtswtrp的内置block .trnmod.docimm.prtswtrpblk
xmldocblk:"", // XMLPanel xmldoc的内置block .trnmod.docimm.xmldocblk
prtswtpblk:"", // XMLPanel prtswtp的内置block .trnmod.docimm.prtswtpblk
},
cmttag:"", // 跨境人民币清算模式 .trnmod.cmttag
swfflg:"", // 报文类型 .trnmod.swfflg
cmtflg:"", // CMT100 报文 .trnmod.cmtflg
......
......@@ -221,6 +221,7 @@
<c-checkbox
style="margin: 0px 0 10px 150px"
v-model="model.bopmod.dbfp.baspp.baspp"
checked
>确认</c-checkbox
>
</c-col>
......
......@@ -105,6 +105,7 @@
<c-button
size="small"
type="primary"
disabled
v-model="model.gctp.getrefbut"
@click="onGctpGetrefbut"
>
......@@ -405,7 +406,7 @@
<!-- :disabled="model.paypsb=='X'&&model.gcdgrp.rec.frepayflg==''" -->
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.mtabut.clsflg"
<c-checkbox v-model="model.mtabut.clsflg" checked
:disabled="flag2"
>Close Contract
</c-checkbox>
......@@ -428,7 +429,7 @@
<c-col
:span="12"
class="centerLable marginLable"
v-if="model.gcdgrp.cbs.max.cur != 'CNY'"
v-if="model.gcdgrp.cbs.max.cur == 'CNY'"
>
<c-checkbox v-model="model.gidgrp.rec.cmtflg"
>跨境人民币保函</c-checkbox
......@@ -445,7 +446,7 @@
<c-select
v-model="model.trnmod.cmtflg"
style="width: 100%"
placeholder="Other"
placeholder=""
:disabled="model.gcdgrp.rec.frepaylg=='X'"
>
<el-option
......@@ -462,10 +463,13 @@
<el-form-item
label="报文类型"
prop="trnmod.swftyp"
v-if="model.trnmod.cmtflg == 3&&model.gidgrp.rec.cmtflg"
v-if="model.trnmod.cmtflg =='P'&&model.gidgrp.rec.cmtflg"
>
<c-input v-model="model.trnmod.swftyp" disabled placeholder="">
</c-input>
<c-select v-model="model.trnmod.swftyp" disabled placeholder=""
:code="codes.swftyp1"
style="width: 100%"
>
</c-select>
</el-form-item>
</c-col>
......@@ -731,14 +735,22 @@ export default {
data() {
return {
cmtflg: [
{ label: "代理行模式", value: "1" },
{ label: "Other", value: "2" },
{ label: "CIPS系统", value: "3" },
{ label: "代理行模式", value: "C" },
{ label: "Other", value: "O" },
{ label: "CIPS系统", value: "P" },
],
};
},
watch:{
"model.trnmod.cmtflg" :{
immediate: true,
handler(val,oldval){
if(this.model.trnmod.cmtflg=="P"){
this.model.trnmod.swftyp="CIV"
}
}
},
"model.gcdgrp.rec.frepayflg" : {
immediate: true,
handler(val,oldval) {
......
......@@ -107,6 +107,7 @@
size="small"
type="primary"
v-model="model.gctp.getrefbut"
disabled
@click="onGctpGetrefbut"
>
Get ref.
......
......@@ -55,7 +55,7 @@
<el-form-item label="地区机构号">
<c-select
v-model="model.bopmod.ownextkey"
:code="codes.ownextkey"
:code="codes.ownextkey1"
style="width: 100%"
placeholder="请选择地区机构号"
:disabled="model.bopmod.szflg == 3 || model.bopmod.szflg == ''"
......@@ -79,6 +79,24 @@ export default {
data() {
return {};
},
watch:{
"model.bopmod.szflg":{
immediate:true,
handler(val ,oldVal){
if(val=="3"){
this.model.bopmod.ownextkey=''
}
if(val=="2"){
this.model.bopmod.ownextkey='08350012'
}
if(val=="1"){
this.model.bopmod.ownextkey='08350012'
}
},
}
},
methods: { ...Event },
created: function () {},
};
......
......@@ -43,7 +43,9 @@
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
......@@ -76,7 +78,9 @@
name="basp"
v-if="model.bopmod.basflg && model.bopmod.szflg == '2'"
>
<c-content>
<m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane
......@@ -84,7 +88,9 @@
name="basp"
v-if="model.bopmod.basflg && model.bopmod.szflg == '1'"
>
<c-content>
<m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000002 -->
......@@ -105,7 +111,7 @@
<m-shisuan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Cips" name="cips" v-if="model.trnmod.cmtflg == '3'&&model.gidgrp.rec.cmtflg">
<el-tab-pane label="Cips" name="cips" v-if="model.trnmod.cmtflg == 'P'&&model.gidgrp.rec.cmtflg">
<c-content>
<m-cips :model="model" :codes="codes" />
</c-content>
......@@ -114,7 +120,7 @@
<el-tab-pane
label="Cips2"
name="cips2"
v-if="model.trnmod.cmtflg == '3'&&model.gidgrp.rec.cmtflg"
v-if="model.trnmod.cmtflg == 'P'&&model.gidgrp.rec.cmtflg"
>
<m-cips2 :model="model" :codes="codes" />
</el-tab-pane>
......
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