Commit 0428aaa9 by taojinrui

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 61428088 d6053f9e
...@@ -140,7 +140,7 @@ export default { ...@@ -140,7 +140,7 @@ export default {
], ],
"liaall.outamt":[ "liaall.outamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -153,19 +153,19 @@ export default { ...@@ -153,19 +153,19 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"liaall.misamt":[ "liaall.misamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"liaall.exttotoldamt":[ "liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"liaall.exttotamt":[ "liaall.exttotamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -480,29 +480,29 @@ export default { ...@@ -480,29 +480,29 @@ export default {
], ],
"bopmod.dbdgrp.bas.lcyamt":[ "bopmod.dbdgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ], {type: "string", required: false, message: "必输项"} ],
"bopmod.dbdgrp.bas.lcyacc":[ "bopmod.dbdgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"} {max: 32,message:"长度不能超过32"}
], ],
"bopmod.dbdgrp.bas.fcyamt":[ "bopmod.dbdgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ], {type: "string", required: false, message: "必输项"} ],
"bopmod.dbdgrp.bas.fcyacc":[ "bopmod.dbdgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"} {max: 32,message:"长度不能超过32"}
], ],
"bopmod.dbdgrp.bas.othamt":[ "bopmod.dbdgrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ], {type: "string", required: false, message: "必输项"} ],
"bopmod.dbdgrp.bas.othacc":[ "bopmod.dbdgrp.bas.othacc":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"} {max: 32,message:"长度不能超过32"}
], ],
"bopmod.dbdgrp.bas.txamt":[ "bopmod.dbdgrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ], {type: "string", required: false, message: "必输项"} ],
"bopmod.dbdgrp.bas.inchargeamt":[ "bopmod.dbdgrp.bas.inchargeamt":[
{type: "number", required: false, message: "必输项"} ], {type: "string", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.rptno":[ "bopmod.dbagrp.bas.rptno":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -558,32 +558,32 @@ export default { ...@@ -558,32 +558,32 @@ export default {
], ],
"bopmod.dbagrp.bas.lcyamt":[ "bopmod.dbagrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ], {type: "string", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.lcyacc":[ "bopmod.dbagrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"} {max: 32,message:"长度不能超过32"}
], ],
"bopmod.dbagrp.bas.fcyamt":[ "bopmod.dbagrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ], {type: "string", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.fcyacc":[ "bopmod.dbagrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"} {max: 32,message:"长度不能超过32"}
], ],
"bopmod.dbagrp.bas.othamt":[ "bopmod.dbagrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ], {type: "string", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.othacc":[ "bopmod.dbagrp.bas.othacc":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"} {max: 32,message:"长度不能超过32"}
], ],
"bopmod.dbagrp.bas.txamt":[ "bopmod.dbagrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ], {type: "string", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.inchargeamt":[ "bopmod.dbagrp.bas.inchargeamt":[
{type: "number", required: false, message: "必输项"} ], {type: "string", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.outchargeamt":[ "bopmod.dbagrp.bas.outchargeamt":[
{type: "number", required: false, message: "必输项"} ], {type: "string", required: false, message: "必输项"} ],
"cnybop.cnyinc.spk":[ "cnybop.cnyinc.spk":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -2,6 +2,9 @@ import Api from "~/service/Api" ...@@ -2,6 +2,9 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onSeainf(){
},
async onGctpGetrefbut(){ async onGctpGetrefbut(){
let rtnmsg = await this.executeRule("gctp.getrefbut") let rtnmsg = await this.executeRule("gctp.getrefbut")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
......
...@@ -213,22 +213,108 @@ export default class Gitset{ ...@@ -213,22 +213,108 @@ export default class Gitset{
// }, // },
// }, // },
trnmod:{ trnmod:{
trndoc:{ swiadd: {
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel amedat: "", // Amendment Date .trnmod.swiadd.amedat
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam amenbr: "", // Amend. No Received .trnmod.swiadd.amenbr
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc amecur: "", // Amended .trnmod.swiadd.amecur
advnam:"", // 国内证落款 .trnmod.trndoc.advnam ameamt: "", // Amended .trnmod.swiadd.ameamt
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl newcur: "", // New Data .trnmod.swiadd.newcur
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl newamt: "", // New Data .trnmod.swiadd.newamt
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm newnomtop: "", // New positive tolerance .trnmod.swiadd.newnomtop
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc newnomton: "", // New negative tolerance .trnmod.swiadd.newnomton
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout nomspc: "", // Amount Specification .trnmod.swiadd.nomspc
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm newexpdat: "", // New Expiry Date .trnmod.swiadd.newexpdat
rcvatt:{ newshpdat: "", // New Shipment Date .trnmod.swiadd.newshpdat
seainf:"", // .trnmod.trndoc.rcvatt.seainf shpper: "", // Shipment Period .trnmod.swiadd.shpper
}, shpfro: "", // Dispatch from .trnmod.swiadd.shpfro
filrecv:"", // File Receiver .trnmod.trndoc.filrecv 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
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 cmttag:"", // 跨境人民币清算模式 .trnmod.cmttag
swfflg:"", // 报文类型 .trnmod.swfflg swfflg:"", // 报文类型 .trnmod.swfflg
cmtflg:"", // CMT100 报文 .trnmod.cmtflg cmtflg:"", // CMT100 报文 .trnmod.cmtflg
......
...@@ -309,6 +309,8 @@ ...@@ -309,6 +309,8 @@
rol: 'drr', rol: 'drr',
}" }"
:disabled="true" :disabled="true"
:disabledRef="true"
:disabledExtkey="true"
> >
</c-ptap> </c-ptap>
<c-ptap <c-ptap
...@@ -318,7 +320,7 @@ ...@@ -318,7 +320,7 @@
grp: 'bodgrp', grp: 'bodgrp',
rol: 'col', rol: 'col',
}" }"
:disabled="true" :disabled="this.flag2"
> >
</c-ptap> </c-ptap>
...@@ -329,70 +331,11 @@ ...@@ -329,70 +331,11 @@
grp: 'bodgrp', grp: 'bodgrp',
rol: 'dre', rol: 'dre',
}" }"
:disabled="true" :disabled="this.flag3"
> >
</c-ptap> </c-ptap>
<!-- <c-col :span="24">
<el-form-item
label="Drawee参考号"
prop="bodgrp.dre.pts.ref"
>
<c-input
v-model="model.bodgrp.dre.pts.ref"
maxlength="16"
style="width: 100%"
placeholder="请输入Application Ref"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Drawee" prop="bodgrp.dre.pts.extkey">
<c-fullbox>
<c-input
v-model="model.bodgrp.dre.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('bodgrp.dre.pts.extkey')"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
@click="onAplpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="bodgrp.dre.pts.adrblk">
<c-input
type="textarea"
:rows="4"
v-model="model.bodgrp.dre.pts.adrblk"
maxlength="50"
disabled
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
...@@ -452,13 +395,36 @@ export default { ...@@ -452,13 +395,36 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
flag2:false,
flag3:false,
invtyp: [{ label: "type1", value: "1" }], invtyp: [{ label: "type1", value: "1" }],
} }
}, },
watch:{
"model.bodgrp.col.pts.extkey" :{
immediate:true,
handler(val ,oldVal){
if(this.model.bodgrp.col.pts.extkey!=''){
this.flag2=true;
}else{
this.flag2=false;
}
}
},
"model.bodgrp.dre.pts.extkey" :{
immediate:true,
handler(val ,oldVal){
if(this.model.bodgrp.dre.pts.extkey!=''){
this.flag3=true;
}else{
this.flag3=false;
}
}
},
},
methods: { methods: {
...Event, ...Event,
......
...@@ -152,51 +152,7 @@ ...@@ -152,51 +152,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 无法显示数据,改用另一种方式 -->
<!-- <c-col :span="24">
<c-table
:list="model.botp.docgrdm.docgrd || []"
>
<el-table-column label="1st" width="camil1"></el-table-column>
<el-table-column label="2st" width="camil2"></el-table-column>
<el-table-column label="Document" width="docnam"></el-table-column>
</c-table>
</c-col> -->
<!-- <c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.botp.docgrdm.docdsclab" class="messageLabel">
<c-button style="float: right" @click="addTableValue" type="primary">新增单据</c-button>
</el-form-item>
</c-col>
<c-col :span="24" style="margin-bottom: 30px;">
<c-table height="200px" style="text-align: center" :list="this.model.botp.docgrdm.docgrd || []"
:paginationShow="false" :border="true">
<el-table-column label="1st" width="auto">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail1" @change="docpre" maxlength="12"></c-input>
</template>
</el-table-column>
<el-table-column label="2nd" width="auto">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail2" maxlength="12" @change="docpre"></c-input>
</template>
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam" @change="docpre">
<el-option v-for="item in codeTable" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="操作" width="170px" fixed="right">
<template slot-scope="scope">
<c-button @click="deleteTable(scope.$index)" type="primary">删除</c-button>
</template>
</el-table-column>
</c-table>
</c-col> -->
<c-docpre :model="model" :argadr="{ <c-docpre :model="model" :argadr="{
path: 'SEMFLG', path: 'SEMFLG',
...@@ -207,23 +163,210 @@ ...@@ -207,23 +163,210 @@
</c-col> </c-col>
<!-- ====================右边======================= --> <!-- ====================右边======================= -->
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<!-- <c-col :span="24">
<el-form-item
label="Drawer参考号"
prop="bodgrp.drr.pts.ref"
>
<c-input
v-model="model.bodgrp.drr.pts.ref"
maxlength="16"
style="width: 100%"
placeholder="请输入Application Ref"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Drawer" prop="bodgrp.drr.pts.extkey">
<c-fullbox>
<c-input
v-model="model.bodgrp.drr.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('bodgrp.drr.pts.extkey')"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
@click="onAplpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="bodgrp.drr.pts.adrblk">
<c-input
type="textarea"
:rows="4"
v-model="model.bodgrp.drr.pts.adrblk"
maxlength="50"
:disabled="this.flag1"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="Collecting Bank参考号"
prop="bodgrp.col.pts.ref"
>
<c-input
v-model="model.bodgrp.col.pts.ref"
maxlength="16"
style="width: 100%"
placeholder="请输入Application Ref"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Collecting Bank" prop="bodgrp.col.pts.extkey">
<c-fullbox>
<c-input
v-model="model.bodgrp.col.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('bodgrp.col.pts.extkey')"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
@click="onAplpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="bodgrp.col.pts.adrblk">
<c-input
type="textarea"
:rows="4"
v-model="model.bodgrp.col.pts.adrblk"
maxlength="50"
:disabled="this.flag2"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="Drawee参考号"
prop="bodgrp.dre.pts.ref"
>
<c-input
v-model="model.bodgrp.dre.pts.ref"
maxlength="16"
style="width: 100%"
placeholder="请输入Application Ref"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Drawee" prop="bodgrp.dre.pts.extkey">
<c-fullbox>
<c-input
v-model="model.bodgrp.dre.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('bodgrp.dre.pts.extkey')"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
icon="el-icon-search"
>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
@click="onAplpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="bodgrp.dre.pts.adrblk">
<c-input
type="textarea"
:rows="4"
v-model="model.bodgrp.dre.pts.adrblk"
maxlength="50"
:disabled="this.flag3"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col> -->
<c-ptap :model="model" :argadr="{ <c-ptap :model="model" :argadr="{
title: 'Drawer', title: 'Drawer',
grp: 'bodgrp', grp: 'bodgrp',
rol: 'drr', rol: 'drr',
}" :isAdrblk="true" :disabled="false"> }" :isAdrblk="true" :disabled="this.flag1">
</c-ptap> </c-ptap>
<c-ptap :model="model" :argadr="{ <c-ptap :model="model" :argadr="{
title: 'Collecting Bank', title: 'Collecting Bank',
grp: 'bodgrp', grp: 'bodgrp',
rol: 'col', rol: 'col',
}" :disabled="false"> }" :disabled="this.flag2">
</c-ptap> </c-ptap>
<c-ptap :model="model" :argadr="{ <c-ptap :model="model" :argadr="{
title: 'Drawee', title: 'Drawee',
grp: 'bodgrp', grp: 'bodgrp',
rol: 'dre', rol: 'dre',
}" :disabled="false"> }" :disabled="this.flag3">
</c-ptap> </c-ptap>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Country or region Code" prop="bodgrp.rec.stacty"> <el-form-item label="Country or region Code" prop="bodgrp.rec.stacty">
...@@ -259,6 +402,9 @@ ...@@ -259,6 +402,9 @@
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
flag1:false,
flag2:false,
flag3:false,
codeTable2: [ codeTable2: [
{ label: "金(含金饰品)", value: "001" }, { label: "金(含金饰品)", value: "001" },
{ label: "银(含银饰品)", value: "002" }, { label: "银(含银饰品)", value: "002" },
...@@ -323,6 +469,39 @@ ...@@ -323,6 +469,39 @@
], ],
}; };
}, },
watch:{
"model.bodgrp.drr.pts.extkey" :{
immediate:true,
handler(val ,oldVal){
if(this.model.bodgrp.drr.pts.extkey!=''){
this.flag1=true;
}else{
this.flag1=false;
}
}
},
"model.bodgrp.col.pts.extkey" :{
immediate:true,
handler(val ,oldVal){
if(this.model.bodgrp.col.pts.extkey!=''){
this.flag2=true;
}else{
this.flag2=false;
}
}
},
"model.bodgrp.dre.pts.extkey" :{
immediate:true,
handler(val ,oldVal){
if(this.model.bodgrp.dre.pts.extkey!=''){
this.flag3=true;
}else{
this.flag3=false;
}
}
},
},
methods: { methods: {
...Event, ...Event,
changeCur(){ changeCur(){
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="收款人类型" prop="bopmod.dbagrp.bas.custype"> <el-form-item label="收款人类型" prop="bopmod.dbagrp.bas.custype">
<c-select disabled v-model="model.bopmod.dbagrp.bas.custype" style="width:100%" placeholder="请选择类型"> <c-select disabled v-model="model.bopmod.dbagrp.bas.custype" style="width:100%" placeholder="请选择类型" @change="selectOrCheckboxRule('bopmod.dbagrp.bas.custype')">
<el-option <el-option
v-for="item in codes.custype" v-for="item in codes.custype"
:key="item.value" :key="item.value"
...@@ -81,26 +81,26 @@ ...@@ -81,26 +81,26 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="结汇金额" prop="bopmod.dbagrp.bas.lcyamt"> <el-form-item label="结汇金额" prop="bopmod.dbagrp.bas.lcyamt">
<c-input v-model="model.bopmod.dbagrp.bas.lcyamt" placeholder="请输入结汇金额"></c-input> <c-input-currency v-model="model.bopmod.dbagrp.bas.lcyamt" placeholder="请输入结汇金额" @keyup.enter.native="defaultFunction('bopmod.dbagrp.bas.lcyamt', model.bopmod.dbagrp.bas.lcyamt)"></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="现汇金额" prop="bopmod.dbagrp.bas.fcyamt"> <el-form-item label="现汇金额" prop="bopmod.dbagrp.bas.fcyamt">
<c-input v-model="model.bopmod.dbagrp.bas.fcyamt" placeholder="请输入现汇金额"></c-input> <c-input-currency v-model="model.bopmod.dbagrp.bas.fcyamt" placeholder="请输入现汇金额" @keyup.enter.native="defaultFunction('bopmod.dbagrp.bas.fcyamt', model.bopmod.dbagrp.bas.fcyamt)"></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="其它金额" prop="bopmod.dbagrp.bas.othamt"> <el-form-item label="其它金额" prop="bopmod.dbagrp.bas.othamt">
<c-input v-model="model.bopmod.dbagrp.bas.othamt" placeholder="请输入其它金额"></c-input> <c-input-currency v-model="model.bopmod.dbagrp.bas.othamt" placeholder="请输入其它金额" @keyup.enter.native="defaultFunction('bopmod.dbagrp.bas.othamt', model.bopmod.dbagrp.bas.othamt)"></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col> <c-col>
<c-col :span="10"> <c-col :span="10">
<el-form-item label="收入款币种及金额" prop="bopmod.dbagrp.bas.txccy"> <el-form-item label="收入款币种及金额" prop="bopmod.dbagrp.bas.txccy">
<c-select disabled v-model="model.bopmod.dbagrp.bas.txccy" style="width:100%" placeholder="请选择收入款币种及金额"> <c-select disabled v-model="model.bopmod.dbagrp.bas.txccy" style="width:100%" placeholder="请选择收入款币种及金额" >
<el-option <el-option
v-for="item in codes.curtxt1" v-for="item in codes.curtxt1"
:key="item.value" :key="item.value"
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
<c-col :span="14"> <c-col :span="14">
<el-form-item label="" prop="bopmod.dbagrp.bas.txamt" label-width="5px"> <el-form-item label="" prop="bopmod.dbagrp.bas.txamt" label-width="5px">
<c-input disabled v-model="model.bopmod.dbagrp.bas.txamt" placeholder="请输入收入款币种及金额"></c-input> <c-input-currency disabled v-model="model.bopmod.dbagrp.bas.txamt" placeholder="请输入收入款币种及金额" @keyup.enter.native="defaultFunction('bopmod.dbagrp.bas.txamt', model.bopmod.dbagrp.bas.txamt)"></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
<c-col :span="14"> <c-col :span="14">
<el-form-item label="" prop="bopmod.dbagrp.bas.inchargeamt" label-width="5px"> <el-form-item label="" prop="bopmod.dbagrp.bas.inchargeamt" label-width="5px">
<c-input disabled v-model="model.bopmod.dbagrp.bas.inchargeamt" placeholder="请输入国内银行扣费"></c-input> <c-input-currency disabled v-model="model.bopmod.dbagrp.bas.inchargeamt" placeholder="请输入国内银行扣费" @keyup.enter.native="defaultFunction('bopmod.dbagrp.bas.inchargeamt', model.bopmod.dbagrp.bas.inchargeamt)"></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
<c-col :span="14"> <c-col :span="14">
<el-form-item label="" prop="bopmod.dbagrp.bas.outchargeamt" label-width="5px"> <el-form-item label="" prop="bopmod.dbagrp.bas.outchargeamt" label-width="5px">
<c-input disabled @change="change" v-model="model.bopmod.dbagrp.bas.outchargeamt" placeholder="请输入国外银行扣费"></c-input> <c-input-currency disabled v-model="model.bopmod.dbagrp.bas.outchargeamt" placeholder="请输入国外银行扣费" @keyup.enter.native="defaultFunction('bopmod.dbagrp.bas.outchargeamt', model.bopmod.dbagrp.bas.outchargeamt)"></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
......
...@@ -334,7 +334,7 @@ ...@@ -334,7 +334,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox <c-checkbox
:disabled="model.setmod.docamt < model.bodgrp.cbs.opn1.amt" :disabled="this.flag1"
v-model="model.mtabut.clsflg" v-model="model.mtabut.clsflg"
>Close Contract</c-checkbox >Close Contract</c-checkbox
> >
...@@ -408,6 +408,7 @@ export default { ...@@ -408,6 +408,7 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
flag1: true,
stmData: { stmData: {
columns: [ columns: [
'1 1 "Type" 250', '1 1 "Type" 250',
...@@ -467,8 +468,12 @@ export default { ...@@ -467,8 +468,12 @@ export default {
methods: { methods: {
...Event, ...Event,
async change1(){ async change1(){
if(this.model.bodgrp.cbs.opn1.amt==this.model.setmod.docamt){ if(this.model.bodgrp.cbs.opn1.amt<=this.model.setmod.docamt){
this.model.mtabut.clsflg = "X"; this.model.mtabut.clsflg = "X";
this.flag1=false;}
else if(this.model.bodgrp.cbs.opn1.amt>this.model.setmod.docamt){
this.model.mtabut.clsflg = "";
this.flag1=true;
}}, }},
async change() { async change() {
if (this.model.bodgrp.rec.focflg === "X") { if (this.model.bodgrp.rec.focflg === "X") {
...@@ -493,7 +498,7 @@ export default { ...@@ -493,7 +498,7 @@ export default {
if (selection.length === 0) { if (selection.length === 0) {
chkIds = []; chkIds = [];
this.$nextTick(async () => { this.$nextTick(async () => {
this.model.setmod.docamt = "0.000"; this.model.setmod.docamt = "0.00";
}) })
this.model.liaall.tensetstm.rows = []; this.model.liaall.tensetstm.rows = [];
} else { } else {
......
...@@ -221,6 +221,7 @@ ...@@ -221,6 +221,7 @@
<c-checkbox <c-checkbox
style="margin: 0px 0 10px 150px" style="margin: 0px 0 10px 150px"
v-model="model.bopmod.dbfp.baspp.baspp" v-model="model.bopmod.dbfp.baspp.baspp"
checked
>确认</c-checkbox >确认</c-checkbox
> >
</c-col> </c-col>
......
...@@ -105,6 +105,7 @@ ...@@ -105,6 +105,7 @@
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
disabled
v-model="model.gctp.getrefbut" v-model="model.gctp.getrefbut"
@click="onGctpGetrefbut" @click="onGctpGetrefbut"
> >
...@@ -406,7 +407,7 @@ ...@@ -406,7 +407,7 @@
<!-- :disabled="model.paypsb=='X'&&model.gcdgrp.rec.frepayflg==''" --> <!-- :disabled="model.paypsb=='X'&&model.gcdgrp.rec.frepayflg==''" -->
<c-col :span="12" class="centerLable marginLable"> <c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.mtabut.clsflg" checked <c-checkbox v-model="model.mtabut.clsflg" checked
:disabled="model.paypsb=='X'&&model.gcdgrp.rec.frepayflg==''" :disabled="flag2"
>Close Contract >Close Contract
</c-checkbox> </c-checkbox>
</c-col> </c-col>
...@@ -420,7 +421,7 @@ ...@@ -420,7 +421,7 @@
<c-col :span="12" class="centerLable marginLable"> <c-col :span="12" class="centerLable marginLable">
<c-checkbox <c-checkbox
v-model="model.paypsb" v-model="model.paypsb"
:disabled="model.gcdgrp.rec.frepayflg=='X'" :disabled="this.flag1"
>Unpaid by Appliacnt</c-checkbox >Unpaid by Appliacnt</c-checkbox
> >
</c-col> </c-col>
...@@ -428,7 +429,7 @@ ...@@ -428,7 +429,7 @@
<c-col <c-col
:span="12" :span="12"
class="centerLable marginLable" 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 v-model="model.gidgrp.rec.cmtflg"
>跨境人民币保函</c-checkbox >跨境人民币保函</c-checkbox
...@@ -445,7 +446,7 @@ ...@@ -445,7 +446,7 @@
<c-select <c-select
v-model="model.trnmod.cmtflg" v-model="model.trnmod.cmtflg"
style="width: 100%" style="width: 100%"
placeholder="Other" placeholder=""
:disabled="model.gcdgrp.rec.frepaylg=='X'" :disabled="model.gcdgrp.rec.frepaylg=='X'"
> >
<el-option <el-option
...@@ -462,10 +463,13 @@ ...@@ -462,10 +463,13 @@
<el-form-item <el-form-item
label="报文类型" label="报文类型"
prop="trnmod.swftyp" 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-select v-model="model.trnmod.swftyp" disabled placeholder=""
</c-input> :code="codes.swftyp1"
style="width: 100%"
>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -731,26 +735,52 @@ export default { ...@@ -731,26 +735,52 @@ export default {
data() { data() {
return { return {
cmtflg: [ cmtflg: [
{ label: "代理行模式", value: "1" }, { label: "代理行模式", value: "C" },
{ label: "Other", value: "2" }, { label: "Other", value: "O" },
{ label: "CIPS系统", value: "3" }, { label: "CIPS系统", value: "P" },
], ],
}; };
}, },
// watch:{ watch:{
// "model.gcdgrp.rec.frepayflg" : { "model.trnmod.cmtflg" :{
// immediate: true, immediate: true,
// handler(val,oldval) { handler(val,oldval){
// if(this.model.gcdgrp.rec.frepayflg !="X"){ if(this.model.trnmod.cmtflg=="P"){
// this.model.clsflg=="X"; this.model.trnmod.swftyp="CIV"
// }else if(this.model.gcdgrp.rec.frepayflg =""){ }
// this.model.clsflg==""; }
// } },
// }, "model.gcdgrp.rec.frepayflg" : {
immediate: true,
// } handler(val,oldval) {
// }, if(this.model.paypsb=="X"&&this.model.gcdgrp.rec.frepayflg =="X"){
this.flag1=true;
this.model.paypsb="";
this.model.mtabut.clsflg="X"
}
else if(this.model.gcdgrp.rec.frepayflg =="X"){
this.flag1=true;
this.model.paypsb="";
}else if(this.model.gcdgrp.rec.frepayflg ==""){
this.model.paypsb="";
this.flag1=false;
}
},
} ,
"model.paypsb" :{
immediate: true,
handler(val,oldval){
if(this.model.paypsb=="X"){
this.flag2=true
this.model.mtabut.clsflg=""
}else if(this.model.paypsb==""){
this.flag2=false
this.model.mtabut.clsflg="X"
}
}
}
},
methods: { methods: {
...Event, ...Event,
// change(){ // change(){
......
...@@ -107,6 +107,7 @@ ...@@ -107,6 +107,7 @@
size="small" size="small"
type="primary" type="primary"
v-model="model.gctp.getrefbut" v-model="model.gctp.getrefbut"
disabled
@click="onGctpGetrefbut" @click="onGctpGetrefbut"
> >
Get ref. Get ref.
...@@ -398,7 +399,7 @@ ...@@ -398,7 +399,7 @@
> >
</c-col> </c-col>
<c-col :span="12" class="centerLable marginLable"> <c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.mtabut.clsflgp" checked <c-checkbox v-model="model.mtabut.clsflg"
>Close Contract >Close Contract
</c-checkbox> </c-checkbox>
</c-col> </c-col>
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
<el-form-item label="地区机构号"> <el-form-item label="地区机构号">
<c-select <c-select
v-model="model.bopmod.ownextkey" v-model="model.bopmod.ownextkey"
:code="codes.ownextkey" :code="codes.ownextkey1"
style="width: 100%" style="width: 100%"
placeholder="请选择地区机构号" placeholder="请选择地区机构号"
:disabled="model.bopmod.szflg == 3 || model.bopmod.szflg == ''" :disabled="model.bopmod.szflg == 3 || model.bopmod.szflg == ''"
...@@ -79,6 +79,24 @@ export default { ...@@ -79,6 +79,24 @@ export default {
data() { data() {
return {}; 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 }, methods: { ...Event },
created: function () {}, created: function () {},
}; };
......
...@@ -43,7 +43,9 @@ ...@@ -43,7 +43,9 @@
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan"> <el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
...@@ -76,7 +78,9 @@ ...@@ -76,7 +78,9 @@
name="basp" name="basp"
v-if="model.bopmod.basflg && model.bopmod.szflg == '2'" v-if="model.bopmod.basflg && model.bopmod.szflg == '2'"
> >
<c-content>
<m-basp :model="model" :codes="codes" /> <m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane <el-tab-pane
...@@ -84,7 +88,9 @@ ...@@ -84,7 +88,9 @@
name="basp" name="basp"
v-if="model.bopmod.basflg && model.bopmod.szflg == '1'" v-if="model.bopmod.basflg && model.bopmod.szflg == '1'"
> >
<c-content>
<m-basp :model="model" :codes="codes" /> <m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000002 --> <!--PD000002 -->
...@@ -105,7 +111,7 @@ ...@@ -105,7 +111,7 @@
<m-shisuan :model="model" :codes="codes" /> <m-shisuan :model="model" :codes="codes" />
</el-tab-pane> </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> <c-content>
<m-cips :model="model" :codes="codes" /> <m-cips :model="model" :codes="codes" />
</c-content> </c-content>
...@@ -114,7 +120,7 @@ ...@@ -114,7 +120,7 @@
<el-tab-pane <el-tab-pane
label="Cips2" label="Cips2"
name="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" /> <m-cips2 :model="model" :codes="codes" />
</el-tab-pane> </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