Commit e814f6aa by liyixun

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 7c90366a ca827d4a
......@@ -7140,5 +7140,9 @@ const CodeTable = {
ELC022: [
{ label: "拒绝通知", value: "ADRE" },
],
guarantee: [
{ label: "进口保函", value: "LG" },
{ label: "出口保函", value: "AG" },
],
}
export default CodeTable;
......@@ -140,7 +140,7 @@ export default {
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -153,19 +153,19 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -480,29 +480,29 @@ export default {
],
"bopmod.dbdgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
{type: "string", required: false, message: "必输项"} ],
"bopmod.dbdgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbdgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
{type: "string", required: false, message: "必输项"} ],
"bopmod.dbdgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbdgrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
{type: "string", required: false, message: "必输项"} ],
"bopmod.dbdgrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbdgrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
{type: "string", required: false, message: "必输项"} ],
"bopmod.dbdgrp.bas.inchargeamt":[
{type: "number", required: false, message: "必输项"} ],
{type: "string", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
......@@ -558,32 +558,32 @@ export default {
],
"bopmod.dbagrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
{type: "string", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbagrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
{type: "string", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbagrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
{type: "string", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbagrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
{type: "string", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.inchargeamt":[
{type: "number", required: false, message: "必输项"} ],
{type: "string", required: false, message: "必输项"} ],
"bopmod.dbagrp.bas.outchargeamt":[
{type: "number", required: false, message: "必输项"} ],
{type: "string", required: false, message: "必输项"} ],
"cnybop.cnyinc.spk":[
{type: "string", required: false, message: "必输项"},
......
......@@ -70,7 +70,7 @@ export default {
],
"attp.orcnam":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"attp.resbchnam":[
......@@ -82,12 +82,12 @@ export default {
{max: 11,message:"长度不能超过11"}
],
"attp.orcadr":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"attp.pyenam":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"attp.sndbchnam":[
......@@ -100,7 +100,7 @@ export default {
],
"attp.pyeadr":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"cpdgrp.rec.orcact":[
......@@ -220,7 +220,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.ori.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.ori.dbfadrblkcn":[
......@@ -228,7 +228,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.pyb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.pyb.dbfadrblkcn":[
......@@ -260,7 +260,7 @@ export default {
],
"attp.commet":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.med.namelc":[
......@@ -268,7 +268,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.med.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.med.dbfadrblkcn":[
......@@ -280,7 +280,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"attp.com102":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"attp.rmtp.ptsget.sdamod.dadsnd":[
......@@ -301,7 +301,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.rmt.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.rmt.dbfadrblkcn":[
......@@ -313,7 +313,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"attp.shouyh":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 30,message:"长度不能超过30"}
],
"setmod.ref":[
......
......@@ -74,7 +74,7 @@ export default {
],
"attp.orcnam":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"attp.resbchnam":[
......@@ -86,12 +86,12 @@ export default {
{max: 11,message:"长度不能超过11"}
],
"attp.orcadr":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"attp.pyenam":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"attp.sndbchnam":[
......@@ -104,7 +104,7 @@ export default {
],
"attp.pyeadr":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"cpdgrp.rec.orcact":[
......@@ -224,7 +224,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.ori.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.ori.dbfadrblkcn":[
......@@ -232,7 +232,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.pyb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.pyb.dbfadrblkcn":[
......@@ -264,7 +264,7 @@ export default {
],
"attp.commet":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.med.namelc":[
......@@ -272,7 +272,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.med.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.med.dbfadrblkcn":[
......@@ -284,7 +284,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"attp.com102":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"attp.rmtp.ptsget.sdamod.dadsnd":[
......@@ -305,7 +305,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.rmt.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.rmt.dbfadrblkcn":[
......@@ -317,7 +317,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"attp.shouyh":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 30,message:"长度不能超过30"}
],
"setmod.ref":[
......
......@@ -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
......@@ -301,7 +387,7 @@ export default class Gitset{
vrfflg:"", // 核销数据 .bopmod.vrfflg
ownextkey:"", // 地区机构号 .bopmod.ownextkey
acttyp:"", // 款项去向 .bopmod.acttyp
dbfp:{
dbcp:{
baspp:{
cusnam:"", // .bopmod.dbfp.baspp.cusnam
cornam:"", // .bopmod.dbfp.baspp.cornam
......@@ -313,7 +399,7 @@ export default class Gitset{
tmprefnew:"", // TMPREFLABEL .bopmod.dbfp.baspp.tmprefnew
},
},
dbfgrp:{
dbcgrp:{
bas:{
tmpref:"", // �'时申报流�'号 .bopmod.dbfgrp.bas.tmpref
ownextkey:"", // 地区机构号 .bopmod.dbfgrp.bas.ownextkey
......
......@@ -86,7 +86,10 @@ export default {
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
let params = {
"isGuarantee" : this.isGuarantee,
}
let rtnmsg = await this.executeRule("infbut.searow", params)
if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
......@@ -95,6 +98,24 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset() {
this.model.infcon.seaownref = ""
this.model.infcon.opndatfrom = new Date();
this.model.infcon.opndatto = new Date();
this.isGuarantee = "";
this.model.infcon.nam = "";
this.model.infcon.pty.extkey = "";
this.model.infcon.seapty = "";
this.model.infcon.searef = "";
this.model.infcon.pty.nam = "";
this.model.infcon.searol = "";
this.model.infcon.usr.extkey = "";
this.model.infcon.seasta = "";
this.model.infcon.seacur = "";
this.model.infcon.seaamtfr = "";
this.model.infcon.seaamtto = "";
this.model.seagtyp = "";
},
}
\ No newline at end of file
......@@ -375,9 +375,9 @@ export default {
}
},
async handleReset(formName) {
this.$refs[formName].resetFields();
},
// async handleReset(formName) {
// this.$refs[formName].resetFields();
// },
async handleSearch() {
this.stmData.data = [];
......@@ -391,8 +391,11 @@ export default {
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
let params = {
"isGuarantee" : this.isGuarantee,
}
let rtnmsg = await this.executeRule("infbut.searow", params)
if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
}
......@@ -401,5 +404,34 @@ export default {
}
},
async handleReset() {
this.model.infcon.seaownref = ""
this.model.infcon.opndatfrom = new Date();
this.model.infcon.opndatto = new Date();
this.isGuarantee = "";
this.model.infcon.nam = "";
this.model.infcon.pty.extkey = "";
this.model.infcon.seapty = "";
this.model.infcon.searef = "";
this.model.infcon.pty.nam = "";
this.model.infcon.searol = "";
this.model.infcon.usr.extkey = "";
this.model.infcon.seasta = "";
this.model.infcon.seacur = "";
this.model.infcon.seaamtfr = "";
this.model.infcon.seaamtto = "";
this.model.seagtyp = "";
this.model.infcon.relflg = "";
this.model.infcon.hndtyp = "";
this.model.infcon.cxmflg = "";
this.model.seapurpos = "";
this.model.seahndtyp = "";
this.model.infcon.segtyp = "";
this.model.fromflg = "";
this.model.fenlishi = "";
this.model.cmtflg = "";
this.model.fingua = "";
},
}
\ No newline at end of file
......@@ -54,9 +54,9 @@ export default {
],
"trnmod.swiadd.ameamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{required: false, message: "必输项"},
{type: "string", max: 18,message:"整数位不能超过14位"},
{pattern: /(^(\+|\-)|\d+$)|(^(\+|\-)|\.\d{1,3}$)|(^(\+|\-)|\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"letamep.engamt":[
......
......@@ -150,6 +150,9 @@ export default {
//TODO 处理数据逻辑
//更新数据
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -301,7 +301,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="说明" label-width="135px" prop="strinf">
<el-form-item label="说明" prop="strinf">
<c-input v-model="model.strinf"
type="textarea"
:autosize="{minRows:12,maxRows:12}"
......
......@@ -67,7 +67,7 @@
<c-col :span="24">
<c-col :span="13">
<el-form-item label="付款类型" prop="bddgrp.rec.paytyp">
<c-select v-model="model.bddgrp.rec.paytyp" style="width:100%" placeholder="请选择付款类型">
<c-select v-model="model.bddgrp.rec.paytyp" style="width:100%" placeholder="请选择付款类型" :code="codes.paytyp">
</c-select>
</el-form-item>
</c-col>
......@@ -76,7 +76,7 @@
<c-col :span="24">
<c-col :span="13">
<el-form-item label="清算方式" prop="bddgrp.rec.clrmtd">
<c-select v-model="model.bddgrp.rec.clrmtd" style="width:100%" placeholder="请选择清算方式">
<c-select v-model="model.bddgrp.rec.clrmtd" style="width:100%" placeholder="请选择清算方式" :code="codes.clrtyp">
</c-select>
</el-form-item>
</c-col>
......
......@@ -285,7 +285,7 @@
<c-checkbox v-model="crefinflg" :disabled="model.bddgrp.rec.frepayflg === 'X' || model.paypsb ==='X'">融资</c-checkbox>
</c-col>
<c-col :span="5">
<c-checkbox v-model="clsflg">闭卷</c-checkbox>
<c-checkbox v-model="clsflg" @change="clsflgDefault">闭卷</c-checkbox>
</c-col>
<c-col :span="5">
<c-checkbox v-model="paypsb" :disabled="model.bddgrp.rec.frepayflg === 'X' || model.trtcre.crefinflg ==='X'">垫款</c-checkbox>
......@@ -300,14 +300,10 @@
</c-col>
<c-col :span="24">
<el-form-item label="交单行编号" prop="bddgrp.prb.pts.ref">
<c-input
v-model="model.bddgrp.prb.pts.ref"
maxlength="16"
style="width: 100%"
placeholder="请输入交单行编号"
@keyup.enter.native="ptsRefEvent"
></c-input>
<el-form-item label="交单行" prop="bddgrp.rec.docprbrol">
<c-select v-model="model.bddgrp.rec.docprbrol" style="width: 100%" placeholder="请选择Presented by"
:code="codes.docprbrol1" @change="docprbrolChange">
</c-select>
</el-form-item>
</c-col>
......@@ -682,6 +678,14 @@ export default {
}
});
},
clsflgDefault(){
this.executeDefault("mtabut.clsflg").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
},
created: function () {
},
......
......@@ -309,6 +309,8 @@
rol: 'drr',
}"
:disabled="true"
:disabledRef="true"
:disabledExtkey="true"
>
</c-ptap>
<c-ptap
......@@ -318,7 +320,7 @@
grp: 'bodgrp',
rol: 'col',
}"
:disabled="true"
:disabled="this.flag2"
>
</c-ptap>
......@@ -329,70 +331,11 @@
grp: 'bodgrp',
rol: 'dre',
}"
:disabled="true"
:disabled="this.flag3"
>
</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">
<el-form-item
......@@ -452,13 +395,36 @@ export default {
mixins: [commonProcess],
data() {
return {
flag2:false,
flag3:false,
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: {
...Event,
......
......@@ -152,51 +152,7 @@
</el-form-item>
</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="{
path: 'SEMFLG',
......@@ -207,23 +163,210 @@
</c-col>
<!-- ====================右边======================= -->
<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="{
title: 'Drawer',
grp: 'bodgrp',
rol: 'drr',
}" :isAdrblk="true" :disabled="false">
}" :isAdrblk="true" :disabled="this.flag1">
</c-ptap>
<c-ptap :model="model" :argadr="{
title: 'Collecting Bank',
grp: 'bodgrp',
rol: 'col',
}" :disabled="false">
}" :disabled="this.flag2">
</c-ptap>
<c-ptap :model="model" :argadr="{
title: 'Drawee',
grp: 'bodgrp',
rol: 'dre',
}" :disabled="false">
}" :disabled="this.flag3">
</c-ptap>
<c-col :span="24">
<el-form-item label="Country or region Code" prop="bodgrp.rec.stacty">
......@@ -259,6 +402,9 @@
mixins: [commonProcess],
data() {
return {
flag1:false,
flag2:false,
flag3:false,
codeTable2: [
{ label: "金(含金饰品)", value: "001" },
{ label: "银(含银饰品)", value: "002" },
......@@ -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: {
...Event,
changeCur(){
......
......@@ -49,7 +49,7 @@
<c-col :span="24">
<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
v-for="item in codes.custype"
:key="item.value"
......@@ -81,26 +81,26 @@
<c-col :span="24">
<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>
</c-col>
<c-col :span="24">
<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>
</c-col>
<c-col :span="24">
<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>
</c-col>
<c-col>
<c-col :span="10">
<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
v-for="item in codes.curtxt1"
:key="item.value"
......@@ -114,7 +114,7 @@
<c-col :span="14">
<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>
</c-col>
</c-col>
......@@ -136,7 +136,7 @@
<c-col :span="14">
<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>
</c-col>
</c-col>
......@@ -158,7 +158,7 @@
<c-col :span="14">
<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>
</c-col>
</c-col>
......
......@@ -334,7 +334,7 @@
</c-col>
<c-col :span="24">
<c-checkbox
:disabled="model.setmod.docamt < model.bodgrp.cbs.opn1.amt"
:disabled="this.flag1"
v-model="model.mtabut.clsflg"
>Close Contract</c-checkbox
>
......@@ -408,6 +408,7 @@ export default {
mixins: [commonProcess],
data() {
return {
flag1: true,
stmData: {
columns: [
'1 1 "Type" 250',
......@@ -467,8 +468,12 @@ export default {
methods: {
...Event,
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.flag1=false;}
else if(this.model.bodgrp.cbs.opn1.amt>this.model.setmod.docamt){
this.model.mtabut.clsflg = "";
this.flag1=true;
}},
async change() {
if (this.model.bodgrp.rec.focflg === "X") {
......@@ -493,7 +498,7 @@ export default {
if (selection.length === 0) {
chkIds = [];
this.$nextTick(async () => {
this.model.setmod.docamt = "0.000";
this.model.setmod.docamt = "0.00";
})
this.model.liaall.tensetstm.rows = [];
} else {
......
......@@ -71,7 +71,7 @@
<c-col :span="24">
<el-form-item label="中资企业境外担保项下境内贷款额度币种" prop="cfatrt.cda.cfeogudcurr">
<c-select v-model="model.cfatrt.cda.cfeogudcurr" style="width:100%" placeholder="请选择中资企业境外担保项下境内贷款额度币种 :disabled=this.flag">
<c-select v-model="model.cfatrt.cda.cfeogudcurr" style="width:100%" placeholder="请选择中资企业境外担保项下境内贷款额度币种" :disabled=this.flag>
</c-select>
</el-form-item>
</c-col>
......
......@@ -375,7 +375,7 @@
</c-col>
<c-col :span="11">
<el-form-item label="" prop="setmod.redamt" label-width="5px">
<c-input v-model="model.setmod.redamt" placeholder="请输入Reduction Amt."></c-input>
<c-input v-model="model.setmod.redamt" placeholder="请输入Reduction Amt." :disabled="model.brdgrp.rec.frepayflg !=''?true:false"></c-input>
</el-form-item>
</c-col>
</c-col>
......
......@@ -358,7 +358,7 @@ const BusRouter = [
{ path: 'gitopn', component: Gitopn, name: 'Gitopn', meta: { title: '进口保函开立' } },
{ path: 'gitame', component: Gitame, name: 'Gitame', meta: { title: '进口保函修改' } },
{ path: 'gitsel', component: Gitsel, name: 'Gitsel', meta: { title: '进口保函查询' } },
{ path: 'infgid', component: Infgid, name: 'Infgid', meta: { title: '进口保函入口交易' } },
{ path: 'infgid', component: Infgid, name: 'Infgid', meta: { title: '保函入口交易' } },
{ path: 'gitset', component: Gitset, name: 'Gitset', meta: { title: '进口保函赔付' } },
{ path: 'gitcrq', component: Gitcrq, name: 'Gitcrq', meta: { title: '进口保函索赔登记' } },
{ path: 'infgcd', component: Infgcd, name: 'Infgcd', meta: { title: '保函赔付查询' } },
......
......@@ -66,7 +66,7 @@
placeholder="请选择Initial Code"
>
<el-option
v-for="item in codes.ownextkey"
v-for="item in ownextkey"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -176,6 +176,11 @@ export default {
mixins: [commonProcess],
data() {
return {
ownextkey:[
{label:"<ALL>",value:"<ALL>"},
{label:"00000047 ???",value:"00000047"},
{label:"00001047 LM ADD",value:"00001047"},
],
stmData: {
columns: [
'0 1 "业务编号" 110',
......@@ -188,6 +193,7 @@ export default {
],
data: [],
},
};
},
methods: { ...Event },
......
......@@ -155,7 +155,6 @@
v-model="model.attp.sysno"
maxlength="21"
placeholder="请输入清算编号"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -259,7 +258,7 @@
v-model="model.cpdgrp.rec.orcact"
maxlength="35"
placeholder="请输入汇款人帐号"
disabled
:disabled="model.attp.swftyp==''"
></c-input>
</el-form-item>
</c-col>
......@@ -314,7 +313,7 @@
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
disabled
:disabled="model.attp.swftyp==''"
></c-input>
</el-form-item>
</c-col>
......@@ -478,8 +477,8 @@
<c-col :span="24">
<c-row type="flex" justify="end">
<c-col :span="12">
<el-form-item label="相关参考号" prop="" v-show="flag1">
<c-input></c-input>
<el-form-item label="相关参考号" prop="attp.xnggbh" v-show="flag1">
<c-input v-model="model.attp.xnggbh"></c-input>
</el-form-item>
</c-col>
<c-col :span="10" :offset="2" style="text-align: right">
......@@ -531,19 +530,24 @@
</c-col>
<c-col :span="24">
<c-col :span="11">
<c-fullbox>
<c-col :span="18">
<el-form-item label="发报行BIC" prop="attp.sndbch">
<c-input
v-model="model.attp.sndbch"
maxlength="11"
placeholder="请输入发报行BIC"
style="width:100%"
disabled
></c-input>
</el-form-item>
</c-col>
<template slot="footer">
<c-col :span="6">
<c-button type="primary">查询客户号</c-button>
</c-col>
</template>
</c-fullbox>
</c-col>
<c-col :span="24">
......
......@@ -45,8 +45,7 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
>
><span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button
......@@ -62,7 +61,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.ori.pts.adrblk" >
<el-form-item label="" prop="cpdgrp.ori.pts.adrblk" >
<c-input
type="textarea"
v-model="model.cpdgrp.ori.pts.adrblk"
......@@ -96,8 +95,7 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
>
><span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button
......@@ -113,7 +111,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.med.pts.adrblk">
<el-form-item label="" prop="cpdgrp.med.pts.adrblk">
<c-input
type="textarea"
v-model="model.cpdgrp.med.pts.adrblk"
......@@ -147,8 +145,7 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
>
><span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button
style="margin: 0 0"
......@@ -163,7 +160,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.rmt.pts.adrblk">
<el-form-item label="" prop="cpdgrp.rmt.pts.adrblk">
<c-input
type="textarea"
v-model="model.cpdgrp.rmt.pts.adrblk"
......@@ -203,7 +200,7 @@
<c-col :span="24">
<c-fullbox>
<el-form-item
label="External Key of Address"
label=""
prop="cpdgrp.pyb.pts.extkey"
>
<c-input
......@@ -221,8 +218,7 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
>
><span style="font-family: '宋体'; font-weight:bold">i</span>
</c-button>
<c-button
......@@ -238,7 +234,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="cpdgrp.pyb.pts.adrblk">
<el-form-item label="" prop="cpdgrp.pyb.pts.adrblk">
<c-input type="textarea"
v-model="model.cpdgrp.pyb.pts.adrblk"
maxlength="35"
......@@ -251,7 +247,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="附言" prop="attp.commet">
<el-form-item label="附言(FMT100最多录入140个字符)" prop="attp.commet">
<c-input
type="textarea"
v-model="model.attp.commet"
......@@ -569,7 +565,7 @@ export default {
return this.model.attp.swftyp == "200";
},
flag1() {
return this.model.attp.swftyp == "100"||this.model.attp.swftyp == "102"||this.model.attp.swftyp == "103";
return this.model.attp.swftyp == "100"||this.model.attp.swftyp == "102"||this.model.attp.swftyp == "103"||this.model.attp.swftyp=='';
},
},
}
......
......@@ -47,7 +47,7 @@
:disabled="model.bopmod.szflg==='3' ||model.bopmod.szflg===''"
>
<el-option
v-for="item in codes.ownextkey1"
v-for="item in ownextkey"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -70,19 +70,6 @@
label-width="60%"
>
<c-input v-model="model.bopmod.outchargeccy" :disabled="true"></c-input>
<!-- <c-select
v-model="model.bopmod.outchargeccy"
style="width: 95%"
placeholder="请选择国外银行扣费(涉外收入申报专用)"
:disabled="true"
>
<el-option
v-for="item in codes.outchargeccy"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select> -->
</el-form-item>
</c-col>
......@@ -183,7 +170,9 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
return {
ownextkey:[]
};
},
methods: { ...Event },
created: function () {},
......
......@@ -8,6 +8,7 @@
<c-input
maxlength="16"
placeholder="请输入申报号码"
></c-input>
</c-col>
</el-form-item>
......
......@@ -20,7 +20,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
......@@ -29,7 +28,6 @@
size="small"
type="primary"
:disabled="this.flag"
@click="onAttpGetref"
>
获取
</c-button>
......@@ -102,7 +100,7 @@
v-model="model.cpdgrp.rec.prechkdat"
style="width: 100%"
placeholder="请选择PRECHKDAT"
:disabled="model.cpdgrp.rec.ischktyp == ''"
:disabled="model.cpdgrp.rec.ischktyp == ''||model.cpdgrp.rec.ischktyp=='N'"
></c-date-picker>
</el-form-item>
</c-col>
......@@ -167,9 +165,8 @@
style="width: 100%"
placeholder="请选择业务种类"
>
<!-- 使用busflg,bustyp不符 -->
<el-option
v-for="item in codes.busflg"
v-for="item in bustyp1"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -209,13 +206,12 @@
</c-input>
</el-form-item>
</c-col>
<!-- 还有一个按钮 -->
<c-col :span="2">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onCptpGetinf"
>
</c-button>
</c-col>
......@@ -225,12 +221,11 @@
<c-col :span="24">
<el-form-item label="汇款人名称" prop="attp.orcnam">
<c-input
type="textarea"
v-model="model.attp.orcnam"
maxlength="65"
show-word-limit
placeholder="请输入汇款人名称"
disabled
:disabled="model.attp.swftyp==''"
></c-input>
</el-form-item>
</c-col>
......@@ -240,12 +235,11 @@
<c-col :span="24">
<el-form-item label="汇款人地址" prop="attp.orcadr">
<c-input
type="textarea"
v-model="model.attp.orcadr"
maxlength="265"
show-word-limit
placeholder="请输入汇款人地址"
:disabled="model.attp.swftyp==''"
></c-input>
</el-form-item>
</c-col>
......@@ -255,12 +249,11 @@
<c-col :span="24">
<el-form-item label="收款人名称" prop="attp.pyenam">
<c-input
type="textarea"
v-model="model.attp.pyenam"
maxlength="265"
show-word-limit
placeholder="请输入收款人名称"
disabled
:disabled="model.attp.swftyp==''"
></c-input>
</el-form-item>
</c-col>
......@@ -270,12 +263,11 @@
<c-col :span="24">
<el-form-item label="收款人地址" prop="attp.pyeadr">
<c-input
type="textarea"
v-model="model.attp.pyeadr"
maxlength="265"
show-word-limit
placeholder="请输入收款人地址"
disabled
:disabled="model.attp.swftyp==''"
></c-input>
</el-form-item>
</c-col>
......@@ -288,7 +280,7 @@
v-model="model.cpdgrp.rec.orcact"
maxlength="235"
placeholder="请输入汇款人帐号"
disabled
:disabled="model.attp.swftyp==''"
></c-input>
</el-form-item>
</c-col>
......@@ -298,11 +290,11 @@
<c-col :span="20">
<el-form-item label="汇款人" prop="cpdgrp.orc.pts.extkey">
<c-input
:disabled="model.attp.swftyp == ''"
v-model="model.cpdgrp.orc.pts.extkey"
maxlength="216"
placeholder="请输入External Key of Address"
style="width: 95%"
:disabled="model.attp.swftyp == ''"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.orc.pts.extkey')
"
......@@ -315,7 +307,6 @@
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
......@@ -330,7 +321,6 @@
size="small"
type="primary"
:disabled="this.flag"
@click="onDetpButgetref"
>
获取
</c-button>
......@@ -495,7 +485,7 @@
placeholder="请选择报文类型"
>
<el-option
v-for="item in codes.swftyp2"
v-for="item in swftyp"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -510,10 +500,10 @@
<c-row type="flex" justify="end">
<c-col :span="12">
<el-form-item label="相关参考号" prop="" v-show="flag1">
<c-input></c-input>
<c-input v-model="model.attp.xnggbh"></c-input>
</el-form-item>
</c-col>
<c-col :span="10" offset="2" style="text-align: right">
<c-col :span="10" :offset="2" style="text-align: right">
<c-checkbox
v-model="model.cpdgrp.rec.tsnflg"
>同名划转标志</c-checkbox>
......@@ -564,7 +554,7 @@
</c-col>
<c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="发报行BIC" prop="attp.sndbch">
<c-input
v-model="model.attp.sndbch"
......@@ -608,7 +598,6 @@
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
......@@ -622,7 +611,6 @@
size="small"
type="primary"
style="margin: 0 0"
@click="onPyepDet"
>
详情
</c-button>
......@@ -638,7 +626,6 @@
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -1029,7 +1016,22 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
return {
bustyp1: [
{ label: "01-支付运保费", value: "01" },
{ label: "02-代理进出口", value: "02" },
{ label: "03-与特殊经济区企业资金往来", value: "03" },
{ label: "04-同一企业不同账户资金划转", value: "04" },
{ label: "05-归还国内贷款或转贷款", value: "05" },
{ label: "06-贸易深加工结转业务", value: "06" },
{ label: "07-贸易融资业务", value: "07" },
{ label: "08-其他", value: "08" },
],
swftyp:[
{label:"FMT100",value:"100"},
{label:"FMT200",value:"200"}
]
};
},
methods: { ...Event },
created: function () {},
......
......@@ -21,7 +21,7 @@
v-model="model.bopmod.acttyp"
style="width:100%"
placeholder="请选择地区机构号"
:disabled="model.bopmod.szflg==='3' || model.bopmod.szflg==='2' ||model.bopmod.szflg===''"
>
<el-option
v-for="item in codes.acttyp"
......@@ -35,9 +35,9 @@
<c-col :span="24">
<el-form-item label="地区机构号" prop="bopmod.ownextkey">
<c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号">
<c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号" :disabled="model.bopmod.szflg==='3' ||model.bopmod.szflg===''">
<el-option
v-for="item in codes.ownextkey"
v-for="item in ownextkey"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -50,7 +50,7 @@
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-checkbox v-model="model.bopmod.basflg"
<c-checkbox v-model="model.bopmod.basflg" :disabled="model.bopmod.szflg==='3'||model.bopmod.szflg===''"
>基础数据</c-checkbox>
</c-col>
......@@ -111,7 +111,7 @@ export default {
mixins: [commonProcess],
data(){
return {
ownextkey:[]
}
},
methods:{...Event},
......
<template>
<c-page title="境内外币汇出汇款">
<div class="eContainer">
<c-bus-button :$pntvm="this"></c-bus-button>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
......@@ -91,6 +105,8 @@ import Sbxx from "~/views/Public/Sbxx";
import Dbe from "./Dbe.vue";
import Dbb from "./Dbb.vue";
import commonFuncs from "~/mixin/commonFuncs";
export default {
name: "Cptato",
components:{
......@@ -112,7 +128,7 @@ export default {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "opnp1",
......
......@@ -231,45 +231,59 @@
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column fixed="right" prop="op" label="操作" width="150px">
<template slot="header">
<c-col :span="11" style="text-align: left"><span>操作</span></c-col>
<!-- <c-col :span="12" style="text-align: right">
<c-button icon="el-icon-s-tools"></c-button>
</c-col> -->
</template>
<!-- <template slot-scope="scope">
<el-popover placement="top-start" title="历史信息" width="800" trigger="click" :ref="'popover_' + scope.row.IDX">
<div style="text-align: right; margin-top: -30px;margin-right: 5px; font-size: 16px;">
<span class="el-icon-close" @click="closeTrn('popover_' + scope.row.IDX)"/>
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: left"><span>操作</span></c-col>
</template>
<template slot-scope="scope">
<el-popover
placement="top-start"
title="历史信息"
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div style="text-align: right; margin-top: -30px; margin-right: 5px; font-size: 16px;">
<span class="el-icon-close" @click="closeTrn('popover_' + scope.row.IDX)"/>
</div>
<c-istream-table :list="trnData.data" :columns="trnData.columns">
<el-table-column prop="op" label="操作" width="0">
<template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="display(scope.row['INR'])" >详情</c-button>
</template>
</el-table-column>
</c-istream-table>
<c-istream-table
:list="trnData.data"
:columns="trnData.columns"
>
<el-table-column prop="op" label="操作" width="0">
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row['INR'])"
>
详情
</c-button>
</template>
</el-table-column>
</c-istream-table>
<c-button
style="margin-left: 0"
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>
详情
</c-button>
</el-popover>
<c-button
style="margin-left: 0"
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>详情</c-button
type="primary"
@click="getButtons(scope.row['Reference'])"
>
</el-popover>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
>处理
</c-button>
</template> -->
</el-table-column>
处理
</c-button>
</template>
</el-table-column>
</c-istream-table>
</c-col>
<m-busbtn ref="childs" :ownref="ownref" trnCode="cptsel" :model="CptselModel" ownrefPath="cpdgrp" @onChoose="onChoose" >11</m-busbtn>
<m-busbtn ref="childs" :ownref="ownref" trnCode="cptsel" :model="cptselModel" ownrefPath="cpdgrp" @onChoose="onChoose" >11</m-busbtn>
<!-- ======================================原码=================================================== -->
<!-- <c-col :span="12">
......@@ -496,7 +510,7 @@ export default {
components: { "m-busbtn": BusNavbar },
data() {
return {
CptselModel: new CptselModel().data,
cptselModel: new CptselModel().data,
ownref: "",
stmData: {
columns: [
......@@ -554,6 +568,18 @@ export default {
},
methods: {
...Event,
async getButtons(ownref) {
this.ownref = ownref;
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
//跳转交易
this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false;
},
async getTrnInfo(idx, row) {
this.model.objinr = row["INR"];
this.model.inr = row["INR"];
......@@ -569,16 +595,8 @@ export default {
closeTrn(refId) {
this.$refs[refId].doClose();
},
async getButtons(ownref) {
this.ownref = ownref;
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
//跳转交易
this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false;
},
},
created: function () {},
};
......
......@@ -14,7 +14,6 @@
v-model="model.cnybop.cnyflg"
style="width: 100%"
placeholder="请选择"
disabled
>
<el-option
v-for="item in codes.cnyflg"
......@@ -54,6 +53,7 @@
v-model="model.cnybop.outflg"
style="width: 100%"
placeholder="请选择"
disabled
>
<el-option
v-for="item in codes.outflg"
......
......@@ -46,7 +46,7 @@
placeholder="请选择地区机构号"
>
<el-option
v-for="item in codes.ownextkey"
v-for="item in codes.ownextkey1"
:key="item.value"
:label="item.label"
:value="item.value"
......
......@@ -4,62 +4,90 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--cptrep PD000020 Overview -->
<el-tab-pane label="Overview" name="opnp1">
<c-content>
<m-opnp1 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--glemod PD000001 Bookings-->
<el-tab-pane label="Bookings" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="Messages" name="docpan1">
<c-content>
<m-docpan1 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--cptp PD000434 Detail for MT910 -->
<el-tab-pane label="Detail for MT910" name="det910">
<el-tab-pane label="Detail for MT910" name="det910" v-if="model.cpdgrp.rec.swftyp=='910'">
<c-content>
<m-det910 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--lendoc PD000001 收账通知 -->
<el-tab-pane label="收账通知" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--bopgat PD000006 外管信息 -->
<el-tab-pane label="外管信息" name="wg">
<c-content>
<m-wg :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--dbap PD000001 涉外收入申报单-申报信息 -->
<el-tab-pane label="涉外收入申报单-基础信息" name="dclp" v-if="model.bopmod.szflg === '1' && model.bopmod.basflg">
<c-content>
<m-dclp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--dbdp PD000000 境内收入申报单-基础信息 -->
<el-tab-pane label="境内收入申报单-基础信息" name="basp" v-if="model.bopmod.szflg === '2' && model.bopmod.basflg">
<c-content>
<m-basp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--hvpmod PD000007 跨境支付 -->
<el-tab-pane label="跨境支付" name="secpan">
<c-content>
<m-secpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--cnybop PD000002 跨境人民币申报 -->
<el-tab-pane label="跨境人民币申报" name="cnyp">
<c-content>
<m-cnyp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--cnybop PD000001 2101跨境收入信息 -->
<el-tab-pane label="2101跨境收入信息" name="incp">
<el-tab-pane label="2101跨境收入信息" name="incp" v-if="model.cnybop.cnyflg=='1'">
<c-content>
<m-incp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
......
......@@ -21,7 +21,7 @@
<m-canp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Mt769" name="Mt769p" v-if="model.gidgrp.rec.purcan=='RR'">
<el-tab-pane label="Mt769" name="Mt769p" v-if="model.gidgrp.rec.purcan=='RR'">
<m-mt769p :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000027 -->
......@@ -83,7 +83,7 @@ import Doctre from "~/views/Public/Doctre"
import Docpan from "~/views/Public/Docpan"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Mt769p from "./Mt769p"
//import Mt769p from "./Mt769p"
export default {
......@@ -96,7 +96,7 @@ export default {
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-limitbody" : Limitbody,
"m-mt769p" : Mt769p,
//"m-mt769p" : Mt769p,
},
provide() {
return {
......
......@@ -105,6 +105,7 @@
<c-button
size="small"
type="primary"
disabled
v-model="model.gctp.getrefbut"
@click="onGctpGetrefbut"
>
......@@ -406,7 +407,7 @@
<!-- :disabled="model.paypsb=='X'&&model.gcdgrp.rec.frepayflg==''" -->
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.mtabut.clsflg" checked
:disabled="model.paypsb=='X'&&model.gcdgrp.rec.frepayflg==''"
:disabled="flag2"
>Close Contract
</c-checkbox>
</c-col>
......@@ -420,7 +421,7 @@
<c-col :span="12" class="centerLable marginLable">
<c-checkbox
v-model="model.paypsb"
:disabled="model.gcdgrp.rec.frepayflg=='X'"
:disabled="this.flag1"
>Unpaid by Appliacnt</c-checkbox
>
</c-col>
......@@ -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,26 +735,52 @@ 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.gcdgrp.rec.frepayflg" : {
// immediate: true,
// handler(val,oldval) {
// if(this.model.gcdgrp.rec.frepayflg !="X"){
// this.model.clsflg=="X";
// }else if(this.model.gcdgrp.rec.frepayflg =""){
// this.model.clsflg=="";
// }
// },
// }
// },
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) {
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: {
...Event,
// change(){
......
......@@ -107,6 +107,7 @@
size="small"
type="primary"
v-model="model.gctp.getrefbut"
disabled
@click="onGctpGetrefbut"
>
Get ref.
......@@ -398,7 +399,7 @@
>
</c-col>
<c-col :span="12" class="centerLable marginLable">
<c-checkbox v-model="model.mtabut.clsflgp" checked
<c-checkbox v-model="model.mtabut.clsflg"
>Close Contract
</c-checkbox>
</c-col>
......
......@@ -6,6 +6,7 @@
<el-form-item label="业务主键" prop="cnybop.cnyout.spk">
<c-input
v-model="model.cnybop.cnyout.spk"
disabled
maxlength="20"
placeholder=""
readonly
......@@ -19,6 +20,7 @@
<c-input
v-model="model.cnybop.sbankname"
maxlength="80"
disabled
placeholder=""
readonly
>
......@@ -186,6 +188,7 @@
v-model="model.cnybop.cnyout.sbanktrano"
maxlength="22"
style="width: 100%"
disabled
placeholder=""
readonly
>
......@@ -203,6 +206,7 @@
v-model="model.cnybop.cnyout.sbankorgcode"
maxlength="12"
placeholder=""
disabled
readonly
>
</c-input>
......
......@@ -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>
......
......@@ -59,15 +59,15 @@
<c-col :span="8">
<el-form-item
label="Party Reference"
prop="infcon.searef"
label="进口/出口保函"
style="width: 100%"
>
<c-input
v-model="model.infcon.searef"
maxlength="16"
placeholder="请输入Party Reference"
></c-input>
<c-select
v-model="isGuarantee"
style="width: 100%"
placeholder="请选择进口/出口保函"
:code="codes.guarantee"
></c-select>
</el-form-item>
</c-col>
</c-col>
......@@ -199,7 +199,7 @@
placeholder="请选择Currency"
>
<el-option
v-for="item in codes.cur"
v-for="item in codes.curtxt1"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -236,6 +236,20 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="Party Reference"
prop="infcon.searef"
style="width: 100%"
>
<c-input
v-model="model.infcon.searef"
maxlength="16"
placeholder="请输入Party Reference"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="Undertaking Type"
prop="seagtyp"
style="width: 100%"
......@@ -244,6 +258,7 @@
v-model="model.seagtyp"
style="width: 100%"
placeholder="请选择Undertaking Type"
:code="codes.seagtyp"
>
</c-select>
</el-form-item>
......@@ -535,6 +550,7 @@ export default {
ownref: "",
dialogTableVisible: false,
dialogFlag: true,
isGuarantee:'',
trnData: {
columns: [
'0 1 "Trn ID" 100',
......
<template>
<div class="eibs-tab">
<c-list-search
@form-reset="handleReset('paramsForm')"
@form-reset="handleReset"
@form-search="handleSearch"
>
<!-- 持续展示区 -->
......@@ -63,15 +63,15 @@
<c-col :span="8">
<el-form-item
label="Party Reference"
prop="infcon.searef"
label="进口/出口保函"
style="width: 100%"
>
<c-input
v-model="model.infcon.searef"
maxlength="16"
placeholder="请输入Party Reference"
></c-input>
<c-select
v-model="isGuarantee"
style="width: 100%"
placeholder="请选择进口/出口保函"
:code="codes.guarantee"
></c-select>
</el-form-item>
</c-col>
</c-col>
......@@ -416,6 +416,19 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="Party Reference"
prop="infcon.searef"
style="width: 100%"
>
<c-input
v-model="model.infcon.searef"
maxlength="16"
placeholder="请输入Party Reference"
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label=""
style="margin-left: 110px"
prop="model.cmtflg"
......@@ -753,6 +766,7 @@ export default {
ownref: "",
dialogTableVisible: false,
dialogFlag: true,
isGuarantee:'',
trnData: {
columns: [
'0 1 "Trn ID" 100',
......
......@@ -55,9 +55,9 @@
</el-tab-pane>
<!--PD000001 -->
<!-- <el-tab-pane label="Booking" name="glepan">
<el-tab-pane label="Booking" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane> -->
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
......
......@@ -45,6 +45,13 @@
</c-content>
</el-tab-pane>
<!--PD000027 表外-->
<el-tab-pane label="Liability" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 Settlement账务-->
<el-tab-pane label="Settlement" name="setpan">
<c-content>
......@@ -52,6 +59,13 @@
</c-content>
</el-tab-pane>
<!--PD000001 分录信息-->
<el-tab-pane label="Bookings" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 Completion附言-->
<el-tab-pane label="Completion" name="coninfp">
<c-content>
......@@ -116,7 +130,9 @@ import Canp from './Canp'
// import Docpan from './Docpan'
// import Doctre from './Doctre'
// import Limitbody from './Limitbody'
import Setpan from '~/views/Public/Setpan'
import Engp from "~/views/Public/Engp";
import Setpan from '~/views/Public/Setpan';
import Glepan from "~/views/Public/Glepan";
import Coninfp from '~/views/Public/Coninfp'
import Docpan from '~/views/Public/Docpan'
import Doctre from '~/views/Public/Doctre'
......@@ -126,7 +142,9 @@ export default {
name: "Letcan",
components: {
'm-canp': Canp,
'm-engp': Engp,
'm-setpan': Setpan,
'm-glepan': Glepan,
'm-coninfp': Coninfp,
'm-docpan': Docpan,
'm-doctre': Doctre,
......
......@@ -94,6 +94,12 @@
</c-content>
</el-tab-pane>
<el-tab-pane label="Booking" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<c-content>
......@@ -174,6 +180,7 @@ import Adcp from './Adcp'
import Coninfp from '~/views/Public/Coninfp'
import Setpan from '~/views/Public/Setpan'
import Glepan from '~/views/Public/Glepan'
import Docpan from '~/views/Public/Docpan'
import Doctre from '~/views/Public/Doctre'
......@@ -189,6 +196,7 @@ export default {
'm-adcp': Adcp,
// "m-notcha": Notcha,
'm-setpan': Setpan,
'm-glepan': Glepan,
'm-coninfp': Coninfp,
'm-docpan': Docpan,
'm-doctre': Doctre,
......
......@@ -108,6 +108,13 @@
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Booking" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<c-content>
......@@ -129,12 +136,7 @@
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="分录信息" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000394 -->
<el-tab-pane
......
......@@ -141,9 +141,9 @@ export default {
{ inifrm: "12", ininam: "智能审单", pntmiu: "" },
{ inifrm: "examRule", ininam: "智能审单规则配置", pntmiu: "12" },
//进口保函
{ inifrm: "13", ininam: "进口保函", pntmiu: "" },
{ inifrm: "infgid", ininam: "进口保函入口交易", pntmiu: "13" },
//保函
{ inifrm: "13", ininam: "保函", pntmiu: "" },
{ inifrm: "infgid", ininam: "保函入口交易", pntmiu: "13" },
{ inifrm: "infgcd", ininam: "保函赔付查询", pntmiu: "13" },
// { inifrm: "gitsel", ininam: "进口保函查询", pntmiu: "13" },
// { inifrm: "gitset", ininam: "进口保函赔付", pntmiu: "13" },
......
......@@ -280,33 +280,36 @@
</c-select>
</el-form-item>
<el-form-item
label-width="30px"
v-if="title != 'elcs.101.001.01'"
>
<el-input
style="width: 250px"
label-width="150px"
v-if="title == 'elcs.101.001.01'"
>
<c-fullbox>
<c-input
v-model="dialog.rcv.pts.extkey"
/>
<c-button size="small" type="primary" icon="el-icon-search"
<template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search"
></c-button
>
<c-button size="small" type="primary">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
<el-form-item v-else label="BIC">
<el-form-item v-else label="BIC" label-width="150px">
<el-input v-model="dialog.rcv.pts.extkey" />
</el-form-item>
<el-form-item
v-if="title == 'elcs.101.001.01'"
label="行联行号"
v-if="title == 'elcs.101.001.01'||(title != 'elcs.101.001.01'&&dialog.rcv.pts.bankno!='')"
label="联行行号" label-width="150px"
>
<el-input v-model="dialog.rcv.pts.bankno" />
</el-form-item>
<el-form-item label-width="30px">
<el-input
:value="
title != 'elcs.101.001.01'
title == 'elcs.101.001.01'
? dialog.rcv.namelc
: dialog.rcv.pts.jigomc
"
......@@ -317,7 +320,7 @@
<br />
<el-input
:value="
title != 'elcs.101.001.01'
title == 'elcs.101.001.01'
? dialog.rcv.adrelc
: dialog.rcv.pts.dizzhii
"
......@@ -468,6 +471,7 @@ export default {
rcv: {
pts: {},
ptyinftxt: {},
},
},
centerDialogVisible: false,
......
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