Commit 2859e787 by wangren

Merge branch 'development-202206' of http://192.168.0.110:11080/fukai/vue-gjjs…

Merge branch 'development-202206' of http://192.168.0.110:11080/fukai/vue-gjjs into development-202206
parents 1281d761 77e18c44
......@@ -18,7 +18,7 @@ export default {
"ledgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{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位" }//同属适用于正负数
],
"betp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......
......@@ -16,9 +16,9 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"ledgrp.cbs.opn1.amt":[
{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位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }//同属适用于正负数
],
"betp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......@@ -38,7 +38,7 @@ export default {
],
"bedgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "strig", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -52,7 +52,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"bedgrp.cbs.opn1.amt":[
{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位" }
],
......@@ -111,7 +111,7 @@ export default {
],
"bedgrp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"bedgrp.oth.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -141,7 +141,7 @@ export default {
],
"bedgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"bedgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -171,7 +171,7 @@ export default {
"bedgrp.blk.intdis":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 1300,message:"长度不能超过1300"}
],
......@@ -181,21 +181,21 @@ export default {
"bedgrp.blk.comcon":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 1300,message:"长度不能超过1300"}
],
"bedgrp.rec.disdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bedgrp.rec.lescom":[
{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位" }
],
"bedgrp.blk.setinsbe":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 390,message:"长度不能超过390"}
],
......@@ -204,7 +204,7 @@ export default {
"bedgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
{max: 3500,message:"长度不能超过3500"}
],
"betp.docp.ptsget.sdamod.dadsnd":[
......@@ -226,7 +226,7 @@ export default {
],
"bedgrp.doc.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"bedgrp.doc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -238,21 +238,21 @@ export default {
],
"bedsnd.usadet":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 650,message:"长度不能超过650"}
],
"bedsnd.addphr":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 650,message:"长度不能超过650"}
],
"bedsnd.newbenadr":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 175,message:"长度不能超过175"}
],
"bedgrp.blk.benref":[
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 160,message:"长度不能超过160"}
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
......@@ -387,7 +387,7 @@ export default {
],
"rmbclm.rmbrmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"rmbclm.rmbrmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -420,7 +420,7 @@ export default {
],
"rmbclm.acwacw.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"rmbclm.acwacw.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -453,7 +453,7 @@ export default {
],
"rmbclm.bebbeb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"rmbclm.bebbeb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -31,6 +31,7 @@ export default class Betsnd{
adaflg:"", // Add. amount .betp.adaflg
docgrdm:{
docdsclab:"", // Label of document description .betp.docgrdm.docdsclab
docgrd:"", //betp.docgrdm.docgrd 加表格内容字段
},
othp:{
ptsget:{
......@@ -124,7 +125,8 @@ export default class Betsnd{
setinsbe:"", // Settlement Instructions transaction field .bedgrp.blk.setinsbe
docdis:"", // Discrepancies .bedgrp.blk.docdis
docdisflg:"", // Discrepancies modified .bedgrp.blk.docdisflg
benref:"", // 新受益人编号 .bedgrp.blk.benref
benref:"", // 新受益人编号 .bedgrp.blk.benref\
prsdoc:"", //加Rgfp.vue左下表格字段//path字段 bedgrp.blk.prsdoc
},
doc:{
pts:new Pts().data,
......@@ -133,6 +135,12 @@ export default class Betsnd{
dbfadrblkcn:"", // Chinese address .bedgrp.doc.dbfadrblkcn
},
},
oldbedgrp:{
rec:{
rcvdat:"", //到单日期recevied on 是否高亮可选 oldbedgrp.rec.rcvdat
predat:"", //提示日期 Presented on 是否高亮可选 oldbedgrp.rec.predat
}
},
ameadrflg:"", // Ammendment Ben. or Iss. Address .ameadrflg
bedsnd:{
snd732:"", // Create MT 732 .bedsnd.snd732
......
......@@ -12,16 +12,16 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"lidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.cbs.opn1.amt":[
{required: true, message: "必输项"},
//{type: "string", required: true, message: "必输项"},
{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位" }
],
"brtp0.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......@@ -41,7 +41,7 @@ export default {
],
"brdgrp.cbs.max.amt":[
{required: true, message: "必输项"},
//{type: "string", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -54,7 +54,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"brdgrp.cbs.opn1.amt":[
{required: true, message: "必输项"},
//{type: "string", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -63,10 +63,10 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"brdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -91,8 +91,8 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"strinf":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
//{type: "string", required: true, message: "必输项"},
{max: 1750,message:"长度不能超过1750"}
],
......@@ -119,18 +119,18 @@ export default {
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
//{type: "string", required: true, message: "必输项"},
//{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
//{type: "string", required: true, message: "必输项"},
//{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
//{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
import Setmod from "../Public/Setmod"
......@@ -69,86 +70,11 @@ export default class Brtcan{
sndmsg:"", // Send Message .sndmsg
rebkpflg:"", // Booking Procedure .rebkpflg
setmod:new Setmod().data,
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
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
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
liaall:{
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
},
liaall: new Pub().data.Liaall,
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
pageId: "" // ctx的key
}
}
......
......@@ -7,59 +7,98 @@ let checkObj = {
"cpdgrp.rmt.namelc" :null,
"cpdgrp.rmt.pts.extkey" :null,
"cpdgrp.ori.pts.adrblk" :null,
"bopmod.dbegrp.bas.othamt" :null,
"cpdgrp.pyb.pts.adrblk" :null,
"bopmod.dbegrp.bas.fcyacc" :null,
"attp.feetyp" :null,
"bopmod.dbegrp.bas.custnm" :null,
"bopmod.dbbgrp.bas.exrate" :null,
"attp.commet" :null,
"bopmod.dbbgrp.bas.fcyamt" :null,
"cpdgrp.orc.pts.extkey" :null,
"bopmod.dbegrp.bas.custype" :null,
"attp.orcadr" :null,
"bopmod.dbbgrp.bas.methods" :null,
"bopmod.dbbgrp.bas.idcode" :null,
"cpdgrp.pye.namelc" :null,
"bopmod.dbbgrp.bas.buscode" :null,
"bopmod.dbegrp.bas.oppacc" :null,
"bopmod.dbegrp.bas.oppuser" :null,
"attp.pyeadr" :null,
"attp.swftyp" :null,
"attp.pyenam" :null,
"attp.bustyp" :null,
"setmod.dspflg" :null,
"bopmod.dbbgrp.bas.lcyacc" :null,
"cpdgrp.orc.adrelc" :null,
"cpdgrp.pye.pts.extkey" :null,
"attp.orcnam" :null,
"bopmod.dbbgrp.bas.custype" :null,
"cpdgrp.med.pts.adrblk" :null,
"cpdgrp.pye.pts.adrblk" :null,
"cpdgrp.rec.trntyp" :null,
"cpdgrp.ori.namelc" :null,
"attp.paycountcode" :null,
"bopmod.dbbgrp.bas.fcyacc" :null,
"bopmod.dbbgrp.bas.txamt" :null,
"bopmod.dbbgrp.bas.othamt" :null,
"bopmod.dbegrp.bas.txccy" :null,
"bopmod.dbegrp.bas.exrate" :null,
"cpdgrp.pye.adrelc" :null,
"cpdgrp.rec.valdat" :null,
"cpdgrp.rmt.pts.adrblk" :null,
"cpdgrp.pyb.pts.extkey" :null,
"attp.payuil" :null,
"bopmod.dbegrp.bas.methods" :null,
"cpdgrp.rec.paytype" :null,
"cpdgrp.med.namelc" :null,
"cpdgrp.pyb.namelc" :null,
"cpdgrp.cbs.nom1.cur" :null,
"bopmod.dbegrp.bas.rptno" :null,
"bopmod.dbbgrp.bas.actiontype" :null,
"cpdgrp.orc.pts.adrblk" :null,
"cpdgrp.rec.ischktyp" :null,
"attp.resbch" :null,
"cpdgrp.rmt.adrelc" :null,
"bopmod.szflg" :null,
"bopmod.dbbgrp.bas.lcyamt" :null,
"bopmod.dbegrp.bas.actiondesc" :null,
"bopmod.dbbgrp.bas.othacc" :null,
"cpdgrp.orc.namelc" :null,
"bopmod.dbegrp.bas.custcod" :null,
"bopmod.dbbgrp.bas.actiondesc" :null,
"cpdgrp.med.pts.extkey" :null,
"cpdgrp.ori.adrelc" :null,
"bopmod.dbbgrp.bas.rptno" :null,
"cpdgrp.cbs.nom1.amt" :null,
"bopmod.dbbgrp.bas.custnm" :null,
"cpdgrp.ori.pts.extkey" :null,
"bopmod.dbegrp.bas.othacc" :null,
"bopmod.dbegrp.bas.lcyamt" :null,
"bopmod.dbegrp.bas.fcyamt" :null,
"cpdgrp.cbs.max.amt" :null,
"bopmod.dbegrp.bas.idcode" :null,
"cpdgrp.rec.pyeact" :null,
"bopmod.dbbgrp.bas.oppuser" :null,
"cpdgrp.rec.orcact" :null,
"bopmod.basflg" :null,
"mtabut.coninf.conexedat" :null,
"cpdgrp.cbs.max.cur" :null,
"attp.resbchnam" :null,
"cpdgrp.rec.prechkdat" :null,
"bopmod.dbbgrp.bas.custcod" :null,
"bopmod.ownextkey" :null,
"cpdgrp.pyb.adrelc" :null,
"cpdgrp.med.adrelc" :null,
"bopmod.dbegrp.bas.lcyacc" :null,
"bopmod.dbegrp.bas.txamt" :null,
"bopmod.dbbgrp.bas.txccy" :null,
"setmod.docamt" :null,
"attp.acctyp" :null,
"bopmod.acttyp" :null,
"attp.sndbchnam" :null,
"bopmod.dbegrp.bas.actiontype" :null,
"bopmod.dbegrp.bas.buscode" :null,
}
for (const key in checkObj) {
......
......@@ -12,6 +12,7 @@ export default {
"cpdgrp.orc.pts.adrblk" :Utils.defaultFunction,
"cpdgrp.orc.dbfadrblkcn" :Utils.defaultFunction,
"attp.payuil" :Utils.defaultFunction,
"bopmod.dbegrp.bas.rptno" :Utils.defaultFunction,
"cpdgrp.pye.pts.adrblk" :Utils.defaultFunction,
"cpdgrp.pyb.pts.adrblk" :Utils.defaultFunction,
"cpdgrp.rmt.pts.extkey" :Utils.defaultFunction,
......@@ -28,6 +29,7 @@ export default {
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"cpdgrp.rec.ownref" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.rptno" :Utils.defaultFunction,
"cpdgrp.pyb.pts.extkey" :Utils.defaultFunction,
"cpdgrp.orc.pts.extkey" :Utils.defaultFunction,
"cpdgrp.med.adrelc" :Utils.defaultFunction,
......@@ -40,10 +42,14 @@ export default {
"cpdgrp.ori.adrelc" :Utils.defaultFunction,
"cpdgrp.ori.namelc" :Utils.defaultFunction,
"cpdgrp.ori.dbfadrblkcn" :Utils.defaultFunction,
"bopmod.dbegrp.bas.custype" :Utils.defaultFunction,
"bopmod.dbegrp.bas.custcod" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction,
"bopmod.szflg" :Utils.defaultFunction,
"bopmod.basflg" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.tmpref" :Utils.defaultFunction,
"bopmod.dbegrp.bas.tmpref" :Utils.defaultFunction,
"cpdgrp.rec.othbch" :Utils.defaultFunction,
"cpdgrp.pye.pts.extkey" :Utils.defaultFunction,
"cpdgrp.ori.pts.adrblk" :Utils.defaultFunction,
......@@ -53,6 +59,8 @@ export default {
"attp.feetyp" :Utils.defaultFunction,
"cpdgrp.orc.adrelc" :Utils.defaultFunction,
"cpdgrp.orc.namelc" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.buscode" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.ownextkey" :Utils.defaultFunction,
"cpdgrp.pye.adrelc" :Utils.defaultFunction,
"cpdgrp.pye.namelc" :Utils.defaultFunction,
"cpdgrp.pye.dbfadrblkcn" :Utils.defaultFunction,
......@@ -60,14 +68,18 @@ export default {
"cpdgrp.cbs.nom1.amt" :Utils.defaultFunction,
"cpdgrp.rec.ischktyp" :Utils.defaultFunction,
"attp.com102" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.custype" :Utils.defaultFunction,
"attp.xnggbh" :Utils.defaultFunction,
"attp.country" :Utils.defaultFunction,
"attp.swftyp" :Utils.defaultFunction,
"cpdgrp.rec.trntyp" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"attp.sndbchnam" :Utils.defaultFunction,
"bopmod.dbegrp.bas.ownextkey" :Utils.defaultFunction,
"bopmod.dbbgrp.bas.custcod" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"bopmod.dbegrp.bas.buscode" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"attp.resbchnam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
......
......@@ -7,11 +7,7 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
});
}
else
{
......@@ -210,5 +206,197 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSav(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetreftmp(){
let rtnmsg = await this.executeRule("baspp.getreftmp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSav(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBaspp1Getreftmp(){
let rtnmsg = await this.executeRule("baspp1.getreftmp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBaspp1Getref(){
let rtnmsg = await this.executeRule("baspp1.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -409,4 +409,162 @@ export default {
"bopmod.dbbgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbbgrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bopmod.dbbgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbbgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"bopmod.dbbgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbbgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbbgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"bopmod.dbbgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbbgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbbgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbbgrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbbgrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbegrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbegrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bopmod.dbegrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbegrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbegrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"bopmod.dbegrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbegrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbegrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbegrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"bopmod.dbegrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbegrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbegrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbegrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbegrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbegrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbegrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbegrp.bas.oppacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
}
\ No newline at end of file
......@@ -178,28 +178,29 @@ export default class Cptato{
// gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
// },
// },
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
mtabut: new Pub().data.Mtabut,
// mtabut:{
// coninf:{
// oitinf:{
// labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
// oit:{
// inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
// inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
// },
// },
// oitset:{
// labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
// oit:{
// inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
// inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
// },
// },
// conexedat:"", // 执行日期 .mtabut.coninf.conexedat
// usr:{
// extkey:"", // User ID .mtabut.coninf.usr.extkey
// },
// },
// },
trnmod: new Pub().data.Trnmod,
// trnmod:{
// trndoc:{
......@@ -226,6 +227,81 @@ export default class Cptato{
vrfflg:"", // 核销数据 .bopmod.vrfflg
ownextkey:"", // 地区机构号 .bopmod.ownextkey
acttyp:"", // 款项去向 .bopmod.acttyp
dbbp:{
baspp:{
cusnam:"", // .bopmod.dbbp.baspp.cusnam
cornam:"", // .bopmod.dbbp.baspp.cornam
corpnam:"", // .bopmod.dbbp.baspp.corpnam
roptnam:"", // RoptNam .bopmod.dbbp.baspp.roptnam
exratelab:"", // �'�汇/结汇汇率 .bopmod.dbbp.baspp.exratelab
lcyamtlab:"", // �'�汇/结汇金额 .bopmod.dbbp.baspp.lcyamtlab
acp:"", // 确认 .bopmod.dbbp.baspp.acp
tmprefnew:"", // TMPREFLABEL .bopmod.dbbp.baspp.tmprefnew
},
},
dbbgrp:{
bas:{
tmpref:"", // �'时申报流�'号 .bopmod.dbbgrp.bas.tmpref
ownextkey:"", // 地区机构号 .bopmod.dbbgrp.bas.ownextkey
actiontype:"", // 操作类型 .bopmod.dbbgrp.bas.actiontype
rptno:"", // 申报号码 .bopmod.dbbgrp.bas.rptno
idcode:"", // 身份证件号码 .bopmod.dbbgrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .bopmod.dbbgrp.bas.lcyacc
fcyamt:"", // 现汇金额 .bopmod.dbbgrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .bopmod.dbbgrp.bas.fcyacc
othamt:"", // 其它金额 .bopmod.dbbgrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .bopmod.dbbgrp.bas.othacc
methods:"", // 结算方式 .bopmod.dbbgrp.bas.methods
buscode:"", // 银行业务编号 .bopmod.dbbgrp.bas.buscode
custype:"", // 类型 .bopmod.dbbgrp.bas.custype
actiondesc:"", // 操作类型 .bopmod.dbbgrp.bas.actiondesc
exrate:"", // �'�汇汇率 .bopmod.dbbgrp.bas.exrate
lcyamt:"", // �'�汇金额 .bopmod.dbbgrp.bas.lcyamt
custnm:"", // 汇款人名称 .bopmod.dbbgrp.bas.custnm
oppuser:"", // 收款人名称 .bopmod.dbbgrp.bas.oppuser
custcod:"", // 组织机构 .bopmod.dbbgrp.bas.custcod
txccy:"", // 汇款币种及金额 .bopmod.dbbgrp.bas.txccy
txamt:"", // 汇款币种及金额 .bopmod.dbbgrp.bas.txamt
},
},
dbep:{
baspp:{
cusnam:"", // .bopmod.dbep.baspp.cusnam
cornam:"", // .bopmod.dbep.baspp.cornam
corpnam:"", // .bopmod.dbep.baspp.corpnam
roptnam:"", // RoptNam .bopmod.dbep.baspp.roptnam
exratelab:"", // �'�汇/结汇汇率 .bopmod.dbep.baspp.exratelab
lcyamtlab:"", // �'�汇/结汇金额 .bopmod.dbep.baspp.lcyamtlab
acp:"", // 确认 .bopmod.dbep.baspp.acp
tmprefnew:"", // TMPREFLABEL .bopmod.dbep.baspp.tmprefnew
},
},
dbegrp:{
bas:{
tmpref:"", // �'时申报流�'号 .bopmod.dbegrp.bas.tmpref
ownextkey:"", // 地区机构号 .bopmod.dbegrp.bas.ownextkey
actiontype:"", // 操作类型 .bopmod.dbegrp.bas.actiontype
rptno:"", // 申报号码 .bopmod.dbegrp.bas.rptno
idcode:"", // 身份证件号码 .bopmod.dbegrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .bopmod.dbegrp.bas.lcyacc
fcyamt:"", // 现汇金额 .bopmod.dbegrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .bopmod.dbegrp.bas.fcyacc
othamt:"", // 其它金额 .bopmod.dbegrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .bopmod.dbegrp.bas.othacc
methods:"", // 结算方式 .bopmod.dbegrp.bas.methods
buscode:"", // 银行业务编号 .bopmod.dbegrp.bas.buscode
custype:"", // 类型 .bopmod.dbegrp.bas.custype
actiondesc:"", // 操作类型 .bopmod.dbegrp.bas.actiondesc
exrate:"", // �'�汇汇率 .bopmod.dbegrp.bas.exrate
lcyamt:"", // �'�汇金额 .bopmod.dbegrp.bas.lcyamt
custnm:"", // 汇款人名称 .bopmod.dbegrp.bas.custnm
oppuser:"", // 收款人名称 .bopmod.dbegrp.bas.oppuser
custcod:"", // 组织机构 .bopmod.dbegrp.bas.custcod
txccy:"", // 汇款币种和金额 .bopmod.dbegrp.bas.txccy
txamt:"", // 汇款币种和金额 .bopmod.dbegrp.bas.txamt
oppacc:"", // 收款人账号 .bopmod.dbegrp.bas.oppacc
},
},
},
pageId: "" // ctx的key
}
......
<template>
<div class="eibs-tab">
<!-- S0000042 : 是否报送跨境人民币2101表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000042')" prop="cnybop.cnyflg">
<c-select
v-model="model.cnybop.cnyflg"
style="width: 100%"
:placeholder="$t('other.please_enter') + $t('cnybop.S0000042')"
>
<!-- S0000042 : 是否报送跨境人民币2101表 -->
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2101表" label-width=160px prop="cnybop.cnyflg">
<c-select disabled v-model="model.cnybop.cnyflg" style="width:70%" placeholder="请选择是否报送跨境人民币2101表"
:code="codes.cnyflg">
</c-select>
</el-form-item>
</c-col>
<!-- S0000045 : 是否报送跨境人民币2107表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000045')" prop="cnybop.traflg">
<c-select
v-model="model.cnybop.traflg"
style="width: 100%"
:placeholder="$t('other.please_enter') + $t('cnybop.S0000045')"
>
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2107表" label-width=160px prop="cnybop.traflg">
<c-select disabled v-model="model.cnybop.traflg" style="width:70%" placeholder="请选择是否报送跨境人民币2107表"
:code="codes.traflg">
</c-select>
</el-form-item>
</c-col>
<!-- S0000077 : 是否报送跨境人民币2111表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000077')" prop="cnybop.outflg">
<c-select
v-model="model.cnybop.outflg"
style="width: 100%"
:placeholder="$t('other.please_enter') + $t('cnybop.S0000077')"
>
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2111表" label-width=160px prop="cnybop.outflg">
<c-select disabled v-model="model.cnybop.outflg" style="width:70%" placeholder="请选择是否报送跨境人民币2111表"
:code="codes.outflg">
</c-select>
</el-form-item>
</c-col>
<!-- S0000113 : 是否报送跨境人民币2106表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000113')" prop="cnybop.libflg">
<c-select
v-model="model.cnybop.libflg"
style="width: 100%"
:placeholder="$t('other.please_enter') + $t('cnybop.S0000113')"
>
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2106表" label-width=160px prop="cnybop.libflg">
<c-select v-model="model.cnybop.libflg" style="width:70%" placeholder="请选择是否报送跨境人民币2106表"
:code="codes.libflg">
</c-select>
</el-form-item>
</c-col>
<!-- S0000142 : 是否报送跨境人民币2122表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000142')" prop="cnybop.vouflg">
<c-select
v-model="model.cnybop.vouflg"
style="width: 100%"
:placeholder="$t('other.please_enter') + $t('cnybop.S0000142')"
>
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2122表" label-width=160px prop="cnybop.vouflg">
<c-select disabled v-model="model.cnybop.vouflg" style="width:70%" placeholder="请选择是否报送跨境人民币2122表"
:code="codes.vouflg">
</c-select>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
......@@ -79,4 +61,6 @@ export default {
created: function () {},
}
</script>
<style></style>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000060 : 远期单据指示 -->
<c-col :span="12">
<c-form-item :label="$t('bedsnd.SF000060')" prop="bedsnd.usadet">
<c-col :span="20">
<c-col :span="21">
<c-form-item label="Instructions regarding Usance Documengts" prop="bedsnd.usadet">
<c-input
type="textarea"
v-model="model.bedsnd.usadet"
maxlength="65"
maxlength="650"
:rows="8"
show-word-limit
:placeholder="$t('other.please_enter') + $t('bedsnd.SF000060')"
placeholder="请输入远期单据指示"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-col :span="3">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onUsatxtButtxmsel"
>
{{ $t('bedsnd.CF000057') }}
...
</c-button>
</c-col>
<!-- SF000059 : 偿付条款 -->
</c-col>
<c-col :span="12">
<c-form-item :label="$t('bedsnd.SF000059')" prop="bedsnd.addphr">
<!-- SF000059 : 偿付条款 -->
<c-col :span="20">
<c-col :span="21">
<c-form-item label="Reimmursement Pharse" prop="bedsnd.addphr">
<c-input
type="textarea"
v-model="model.bedsnd.addphr"
maxlength="65"
maxlength="650"
:rows="8"
show-word-limit
:placeholder="$t('other.please_enter') + $t('bedsnd.SF000059')"
placeholder="请输入偿付条款"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-col :span="3">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onRgfphrButtxmsel"
>
{{ $t('bedsnd.CF000058') }}
...
</c-button>
</c-col>
<!-- SG000345 : 新受益人地址 -->
</c-col>
<c-col :span="12">
<c-form-item :label="$t('bedsnd.SG000345')" prop="bedsnd.newbenadr">
<!-- SG000345 : 新受益人地址 -->
<c-col :span="20">
<c-form-item label="New Ben.Address" prop="bedsnd.newbenadr">
<c-input
type="textarea"
v-model="model.bedsnd.newbenadr"
maxlength="35"
maxlength="175"
:rows="5"
show-word-limit
:placeholder="$t('other.please_enter') + $t('bedsnd.SG000345')"
placeholder="请输入新受益人地址"
:disabled="model.ameadrflg==''"
style="width:60%"
></c-input>
</c-form-item>
</c-col>
<!-- S0000347 : 新受益人编号 -->
<c-col :span="12">
<c-form-item :label="$t('bedsnd.S0000347')" prop="bedgrp.blk.benref">
<c-col :span="20">
<c-form-item label="New Beneficiary Ref." prop="bedgrp.blk.benref">
<c-input
type="textarea"
v-model="model.bedgrp.blk.benref"
maxlength="16"
maxlength="160"
:rows="5"
show-word-limit
:placeholder="$t('other.please_enter') + $t('bedsnd.S0000347')"
placeholder="请输入新受益人编号"
style="width:60%"
></c-input>
</c-form-item>
</c-col>
......
......@@ -36,7 +36,7 @@
</c-content>
</el-tab-pane>
<!--betsnd PD000050 Instr./ Discrep. -->
<el-tab-pane label="Discr./Instr." name="dscins">
<el-tab-pane label="Instr./ Discrep." name="dscins">
<c-content>
<m-dscins :model="model" :codes="codes" />
</c-content>
......@@ -78,7 +78,7 @@
</c-content>
</el-tab-pane>
<!--rmbclm PD000128 Reimbursement Details -->
<el-tab-pane label="Reimbursement Details" name="remp">
<el-tab-pane label="Reimbursement Details" name="remp" v-if="model.rmbclmnow ">
<c-content>
<m-remp :model="model" :codes="codes" />
</c-content>
......@@ -90,14 +90,13 @@
</c-content>
</el-tab-pane>
<!--cnybop PD000110 2106银行跟单结算及表外融资 -->
<el-tab-pane label="2106银行跟单结算及表外融资" name="libp">
<el-tab-pane label="2106银行跟单结算及表外融资" name="libp" v-if="this.model.cnybop.libflg == '1'">
<c-content>
<m-libp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
<el-tab-pane label="统一授信" name="limitbody"
>\
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
......
<template>
<div class="eibs-tab">
<c-col>
<el-row>
<c-col :span="8">
<c-fullbox>
<el-form-item label="Import L/C" prop="lidgrp.rec.ownref">
<c-input
disabled
v-model="model.lidgrp.rec.ownref"
maxlength="16"
placeholder="请输入参考号"
......@@ -15,7 +17,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>
......@@ -34,13 +35,14 @@
v-model="model.lidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择Date of Expiry"
disabled="disabled"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="Open Amt. L/C" prop="lidgrp.cbs.opn1.cur">
<c-select
disabled
v-model="model.lidgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请选择币种"
......@@ -51,6 +53,7 @@
<c-col :span="6">
<el-form-item prop="lidgrp.cbs.opn1.amt" label-width="20px">
<c-input
disabled
v-model="model.lidgrp.cbs.opn1.amt"
placeholder="请输入Balance"
></c-input>
......@@ -65,7 +68,7 @@
v-model="model.brdgrp.rec.ownref"
maxlength="16"
placeholder="请输入单据参考号"
disabled="disabled"
disabled
></c-input>
</el-form-item>
<template slot="footer">
......@@ -73,7 +76,6 @@
style="margin: 0 0 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
......@@ -83,6 +85,7 @@
<c-col :span="12">
<el-form-item prop="brdgrp.rec.nam">
<c-input
disabled
v-model="model.brdgrp.rec.nam"
maxlength="40"
placeholder="请输入Name of Bill Contract"
......@@ -90,7 +93,42 @@
</el-form-item>
</c-col>
</el-row>
<el-row>
</c-col>
<!-- ----------------------------------------------------------------- -->
<c-col :span="24">
<c-litTemp
:model="model"
:argadr="{
title: '',
trans: 'brdgrp',
trans1:'brtp0',
}"
:rol="[
{
title: 'Applicant',
trans: 'apl',
},
{
title: 'Beneficiary',
trans: 'ben',
},
{
title: 'Presenting Bank',
trans: 'prb',
},
]"
:isAdvdat="true"
:isMattxtlab="false"
:isTenmaxday="false"
>
</c-litTemp>
</c-col>
<!-- <el-row>
<c-col :span="5">
<el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur">
<c-select
......@@ -248,14 +286,15 @@
></c-input>
</el-form-item>
</c-col>
</el-row>
</el-row> -->
<el-row>
<c-col :span="12">
<el-form-item label="Narrative" prop="strinf">
<c-input
type="textarea"
v-model="model.strinf"
maxlength="50"
maxlength="1750"
:rows="10"
show-word-limit
placeholder="请输入Narrative"
></c-input>
......@@ -275,6 +314,7 @@
v-model="model.rebkpflg"
style="width: 100%"
placeholder="请选择Booking Procedure"
:code="rebkpflg"
>
</c-select>
</el-form-item>
......@@ -287,13 +327,22 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtcan/Event";
import Brtcan from "~/model/Brtcan";
import LitTemp from "~/views/Public/LitTemp";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
components: {
"c-litTemp": LitTemp,
},
data() {
return {};
return {
rebkpflg: [
{ label: "Reverse Booking (Document Set)", value: "N" },
{ label: "Reverse Booking (Doc. Set, L/C)", value: "B" },
]
};
},
methods: { ...Event },
created: function () {},
......
<template>
<div class="eContainer">
<div class="bus-button">
<c-button type="primary" v-on:click="handleSave">{{ $t("buttons.save") }}</c-button>
<c-button type="primary" v-on:click="handleCheck">{{ $t("buttons.check") }}</c-button>
</div>
<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" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000016 -->
<el-tab-pane label="Cancelation" name="canp">
<c-content>
<m-canp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<!-- <el-tab-pane label="Liability" name="engp">
<el-tab-pane label="Liability" name="engp">
<c-content>
<m-engp :model="model" :codes="codes"/>
</el-tab-pane> -->
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
......@@ -55,9 +74,10 @@ import Check from "~/model/Brtcan/Check"
import Default from "~/model/Brtcan/Default"
import Pattern from "~/model/Brtcan/Pattern"
import Canp from "./Canp"
// import Engp from "./Engp"
import Engp from "../../Public/Engp"
import Setpan from "../../Public/Setpan"
import Glepan from "../../Public/Glepan"
import Coninfp from "../../Public/Coninfp"
import Docpan from "../../Public/Docpan"
import Doctre from "../../Public/Doctre"
......@@ -67,8 +87,9 @@ export default {
name: 'Brtcan',
components:{
"m-canp" : Canp,
// "m-engp" : Engp,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-glepan" : Glepan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
......
......@@ -23,7 +23,12 @@
size="small"
:validate-on-rule-change="false"
>
<c-tabs ref="elment" :value="tabVal" type="card" @tab-click="mimeTabClick">
<c-tabs
ref="elment"
:value="tabVal"
type="card"
@tab-click="mimeTabClick"
>
<el-tab-pane label="基本信息" name="opnp1">
<!--PD000020 -->
<c-content>
......@@ -41,7 +46,6 @@
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<!--PD000000 -->
<m-coninfp :model="model" :codes="codes" />
......@@ -59,7 +63,11 @@
<!--PD000546 -->
<m-sbxx :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="2101跨境收入信息" name="incp" v-if="model.cnybop.cnyflg === '1'">
<el-tab-pane
label="2101跨境收入信息"
name="incp"
v-if="model.cnybop.cnyflg === '1'"
>
<c-content>
<m-incp :model="model" :codes="codes"></m-incp>
</c-content>
......@@ -72,14 +80,19 @@
</el-form>
</div>
<c-grid-ety-prompt-dialog
        ref="doxpDialog"
        :isPty="false"
        :promptData="promptData"
        @select-ety="selectMsg"
      >
      </c-grid-ety-prompt-dialog>
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
     
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"></c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
></c-grid-ety-prompt-dialog>
</c-page>
</template>
<script>
......@@ -118,15 +131,15 @@ export default {
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-ptap": Ptap,
"m-docpan2" : Docpan2,
"m-incp" : Incp
"m-docpan2": Docpan2,
"m-incp": Incp,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
computed: {},
data() {
return {
......@@ -144,8 +157,8 @@ export default {
},
methods: {
mimeTabClick(tab) {
this.tabClick(tab)
const name = tab.name
this.tabClick(tab);
const name = tab.name;
let rulePath;
if (name === "docpan2") {
rulePath = "lendoc.docpan";
......@@ -157,14 +170,14 @@ export default {
rulePath = "cnybop.incp";
}
if (!!rulePath) {
this.executeRule(rulePath).then(res => {
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data)
}
})
this.updateModel(res.data);
}
});
}
},
},
created: async function () {
console.log("进入cptadv交易");
let rtnmsg = await this.init(this.$route.query);
......
......@@ -194,16 +194,16 @@
<c-col :span="12">
<el-form-item
label="款人常驻国家/地区代码"
label="款人常驻国家/地区代码"
prop="attp.paycountcode"
>
<c-input
v-model="model.attp.paycountcode"
v-model="model.attp.country"
filterable
style="width: 100%"
placeholder="款人常驻国家/地区代码"
placeholder="款人常驻国家/地区代码"
@keyup.enter.native="
showGridPromptDialog('attp.paycountcode')
showGridPromptDialog('attp.country')
"
>
</c-input>
......
......@@ -5,6 +5,12 @@
<c-col :span="24">
<el-form-item label="申报类型" prop="bopmod.szflg">
<c-select v-model="model.bopmod.szflg" style="width:100%" placeholder="请选择申报类型">
<el-option
v-for="item in codes.szflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -12,6 +18,12 @@
<c-col :span="24">
<el-form-item label="款项来源" prop="bopmod.acttyp">
<c-select v-model="model.bopmod.acttyp" style="width:100%" placeholder="请选择款项来源">
<el-option
v-for="item in codes.acttyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -19,11 +31,42 @@
<c-col :span="24">
<el-form-item label="地区机构号" prop="bopmod.ownextkey">
<c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号">
<el-option
v-for="item in codes.ownextkey"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="国外银行扣费(涉外收入申报专用)" label-width="60%">
<c-select v-model="model.bopmod.outchargeccy" style="width:95%" placeholder="请选择国外银行扣费(涉外收入申报专用)" :disabled="true">
<el-option
v-for="item in outchargeccy"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-input-currency v-model="model.bopmod.outchargeamt"
style="text-align: right;"
placeholder="请输入国外银行扣费(涉外收入申报专用)"
:disabled="!model.bopmod.basflg || model.bopmod.szflg === '2' || model.bopmod.szflg === '3' "
@keyup.enter.native="defaultFunction('bopmod.outchargeamt', model.bopmod.outchargeamt)"
></c-input-currency>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="国外银行扣费(涉外收入申报专用)" prop="bopmod.outchargeccy">
<c-select v-model="model.bopmod.outchargeccy" style="width:100%" placeholder="请选择国外银行扣费(涉外收入申报专用)">
</c-select>
......@@ -34,21 +77,20 @@
<el-form-item label="国外银行扣费(涉外收入申报专用)" prop="bopmod.outchargeamt">
<c-input v-model="model.bopmod.outchargeamt" placeholder="请输入国外银行扣费(涉外收入申报专用)"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col> -->
<c-col :span="11" offset="1">
<c-col :span="24">
<c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<c-checkbox v-model="model.bopmod.dclflg">申报数据</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bopmod.vrfflg">核销数据</c-checkbox>
</c-col>
</c-col> -->
</c-col>
<!--
<c-col :span="12">
......
......@@ -87,6 +87,21 @@
</c-content>
</el-tab-pane>
<el-tab-pane
label="境内收入申报单-基础信息"
name="dbe"
v-if="model.bopmod.szflg === '2' && model.bopmod.basflg"
>
<m-dbe :model="model" :codes="codes"></m-dbe>
</el-tab-pane>
<el-tab-pane
label="涉外收入申报单-基础信息"
name="dbb"
v-if="model.bopmod.szflg === '1' && model.bopmod.basflg"
>
<m-dbb :model="model" :codes="codes"></m-dbb>
</el-tab-pane>
<!--PD000018 -->
<!-- <el-tab-pane label="PD000018" name="addinf">
<c-content>
......@@ -117,6 +132,8 @@ import Doctre from "~/views/Public/Doctre";
import Docpan1 from "~/views/Public/Docpan";
import Docpan from "./Docpan";
import Wg from "./Wg";
import Dbe from "./Dbe.vue";
import Dbb from "./Dbb.vue";
export default {
name: "Cptati",
......@@ -130,6 +147,8 @@ export default {
"m-docpan1": Docpan1,
"m-docpan": Docpan,
"m-wg": Wg,
"m-dbe": Dbe,
"m-dbb": Dbb,
},
provide() {
return {
......
......@@ -242,7 +242,7 @@
<c-input
type="textarea"
v-model="model.attp.orcadr"
maxlength="65"
maxlength="265"
show-word-limit
placeholder="请输入汇款人地址"
......@@ -257,7 +257,7 @@
<c-input
type="textarea"
v-model="model.attp.pyenam"
maxlength="65"
maxlength="265"
show-word-limit
placeholder="请输入收款人名称"
disabled
......@@ -272,7 +272,7 @@
<c-input
type="textarea"
v-model="model.attp.pyeadr"
maxlength="65"
maxlength="265"
show-word-limit
placeholder="请输入收款人地址"
disabled
......@@ -286,7 +286,7 @@
<el-form-item label="汇款人帐号" prop="cpdgrp.rec.orcact">
<c-input
v-model="model.cpdgrp.rec.orcact"
maxlength="35"
maxlength="235"
placeholder="请输入汇款人帐号"
disabled
></c-input>
......@@ -300,7 +300,7 @@
<c-input
:disabled="model.attp.swftyp == ''"
v-model="model.cpdgrp.orc.pts.extkey"
maxlength="16"
maxlength="216"
placeholder="请输入External Key of Address"
style="width: 95%"
@keyup.enter.native="
......@@ -343,7 +343,7 @@
<c-input
type="textarea"
v-model="model.cpdgrp.orc.pts.adrblk"
maxlength="35"
maxlength="235"
show-word-limit
placeholder="请输入Address Block"
disabled
......@@ -359,7 +359,7 @@
<el-form-item label="Name" prop="cpdgrp.rec.nam">
<c-input
v-model="model.cpdgrp.rec.nam"
maxlength="40"
maxlength="240"
placeholder="请输入Externally Displayed Name to Identify the Contract"
disabled
></c-input>
......@@ -526,7 +526,7 @@
<el-form-item label="接收行名称" prop="attp.resbchnam">
<c-input
v-model="model.attp.resbchnam"
maxlength="42"
maxlength="242"
placeholder="请输入接收行名称"
@keyup.enter.native="
showGridPromptDialog('attp.resbchnam')
......@@ -541,7 +541,7 @@
<el-form-item label="接收行BIC" prop="attp.resbch">
<c-input
v-model="model.attp.resbch"
maxlength="11"
maxlength="211"
placeholder="请输入接收行BIC"
disabled
></c-input>
......
......@@ -6,7 +6,7 @@
<el-form-item label="汇款人开户行" prop="cpdgrp.ori.pts.ref">
<c-input
v-model="model.cpdgrp.ori.pts.ref"
maxlength="16"
maxlength="216"
placeholder="请输入汇款人开户行"
></c-input>
</el-form-item>
......@@ -16,7 +16,7 @@
<el-form-item label="账号" prop="attp.atd.sbkact">
<c-input
v-model="model.attp.atd.sbkact"
maxlength="35"
maxlength="235"
placeholder="请输入收款人开户行帐号"
></c-input>
</el-form-item>
......@@ -30,7 +30,7 @@
>
<c-input
v-model="model.cpdgrp.ori.pts.extkey"
maxlength="16"
maxlength="216"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.ori.pts.extkey')
......@@ -64,7 +64,7 @@
<c-input
type="textarea"
v-model="model.cpdgrp.ori.pts.adrblk"
maxlength="35"
maxlength="235"
show-word-limit
placeholder="请输入Address Block"
rows="4"
......@@ -116,7 +116,7 @@
>
<c-input
v-model="model.cpdgrp.med.pts.extkey"
maxlength="16"
maxlength="216"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.med.pts.extkey')
......@@ -150,7 +150,7 @@
<c-input
type="textarea"
v-model="model.cpdgrp.med.pts.adrblk"
maxlength="35"
maxlength="235"
show-word-limit
placeholder="请输入Address Block"
rows="4"
......@@ -166,7 +166,7 @@
>
<c-input
v-model="model.cpdgrp.rmt.pts.extkey"
maxlength="16"
maxlength="216"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.rmt.pts.extkey')
......@@ -199,7 +199,7 @@
<c-input
type="textarea"
v-model="model.cpdgrp.rmt.pts.adrblk"
maxlength="35"
maxlength="235"
show-word-limit
placeholder="请输入Address Block"
rows="4"
......@@ -213,7 +213,7 @@
<el-form-item label="收款人开户行" prop="cpdgrp.pyb.pts.ref">
<c-input
v-model="model.cpdgrp.pyb.pts.ref"
maxlength="16"
maxlength="216"
placeholder="请输入收款人开户行"
></c-input>
</el-form-item>
......@@ -223,7 +223,7 @@
<el-form-item label="帐号" prop="attp.atd.rbkact">
<c-input
v-model="model.attp.atd.rbkact"
maxlength="35"
maxlength="235"
placeholder="请输入汇款人开户行帐号"
></c-input>
</el-form-item>
......@@ -249,7 +249,7 @@
>
<c-input
v-model="model.cpdgrp.pyb.pts.extkey"
maxlength="16"
maxlength="216"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.pyb.pts.extkey')
......@@ -283,7 +283,7 @@
<el-form-item label="Address Block" prop="cpdgrp.pyb.pts.adrblk">
<c-input type="textarea"
v-model="model.cpdgrp.pyb.pts.adrblk"
maxlength="35"
maxlength="235"
show-word-limit
placeholder="请输入Address Block"
rows="4"
......@@ -319,7 +319,7 @@
<c-input
type="textarea"
v-model="model.attp.commet"
maxlength="35"
maxlength="235"
show-word-limit
placeholder="请输入附言"
rows="4"
......@@ -336,7 +336,7 @@
<c-input
type="textarea"
v-model="model.attp.com102"
maxlength="35"
maxlength="235"
show-word-limit
placeholder="请输入Account with Institution / Account (Tag 57a)"
rows="4"
......@@ -349,7 +349,7 @@
<c-input
type="textarea"
v-model="model.attp.shouyh"
maxlength="30"
maxlength="230"
show-word-limit
placeholder="请输入受益行"
rows="4"
......
......@@ -48,6 +48,21 @@
<m-wg :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane
label="境内汇款申请书-基础信息"
name="dbe"
v-if="model.bopmod.szflg === '2' && model.bopmod.basflg"
>
<m-dbe :model="model" :codes="codes"></m-dbe>
</el-tab-pane>
<el-tab-pane
label="境外汇款申请书-基础信息"
name="dbb"
v-if="model.bopmod.szflg === '1' && model.bopmod.basflg"
>
<m-dbb :model="model" :codes="codes"></m-dbb>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
......@@ -71,6 +86,10 @@ import Doctre from "~/views/Public/Doctre";
import Opnp1 from "./Opnp1";
import Pardet from "./Pardet";
import Wg from "./Wg";
import Basp from "./Basp";
import Sbxx from "~/views/Public/Sbxx";
import Dbe from "./Dbe.vue";
import Dbb from "./Dbb.vue";
export default {
name: "Cptato",
......@@ -83,6 +102,10 @@ export default {
"m-glepan" : Glepan,
"m-pardet" : Pardet,
"m-doctre" : Doctre,
"m-basp" : Basp,
"m-sbxx": Sbxx,
"m-dbe": Dbe,
"m-dbb": Dbb,
},
provide() {
return {
......
......@@ -24,7 +24,12 @@
size="small"
:validate-on-rule-change="false"
>
<c-tabs :value="tabVal" ref="elment" type="card" @tab-click="mimeTabClick">
<c-tabs
:value="tabVal"
ref="elment"
type="card"
@tab-click="mimeTabClick"
>
<el-tab-pane label="汇款信息" name="opnp1">
<!--PD000020 -->
<c-content>
......@@ -32,7 +37,11 @@
</c-content>
</el-tab-pane>
<el-tab-pane label="Additional Info" name="AdditionalInfo" v-if="this.model.cpdgrp.rec.swftyp != ''">
<el-tab-pane
label="Additional Info"
name="AdditionalInfo"
v-if="this.model.cpdgrp.rec.swftyp != ''"
>
<m-AdditionalInfo :model="model" :codes="codes" />
</el-tab-pane>
......@@ -43,7 +52,7 @@
<el-tab-pane label="分录" name="glepan">
<!--PD000001 -->
<m-glepan :model="model" :codes="codes" ref="glepan"/>
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
......@@ -68,21 +77,40 @@
<el-tab-pane label="申报信息" name="sbxx">
<!--PD000009 -->
<m-sbxx :model="model" :codes="codes"/>
<m-sbxx :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="境内汇款申请书-基础信息" name="dbe" v-if="model.bopmod.szflg === '2' && model.bopmod.basflg">
<el-tab-pane
label="境内汇款申请书-基础信息"
name="dbe"
v-if="model.bopmod.szflg === '2' && model.bopmod.basflg"
>
<m-dbe :model="model" :codes="codes"></m-dbe>
</el-tab-pane>
<el-tab-pane label="境外汇款申请书-基础信息" name="dbb" v-if="model.bopmod.szflg === '1' && model.bopmod.basflg">
<el-tab-pane
label="境外汇款申请书-基础信息"
name="dbb"
v-if="model.bopmod.szflg === '1' && model.bopmod.basflg"
>
<m-dbb :model="model" :codes="codes"></m-dbb>
</el-tab-pane>
<el-tab-pane label="2111跨境支出信息" name="outp" v-if="model.cnybop.outflg==='1'">
<el-tab-pane
label="2111跨境支出信息"
name="outp"
v-if="model.cnybop.outflg === '1'"
>
<m-outp :model="model" :codes="codes"></m-outp>
</el-tab-pane>
<el-tab-pane label="Payment 103 PYE USD" name="Payment103" v-if="model.cpdgrp.rec.swftyp === '103' || model.cpdgrp.rec.swftyp === '202'">
<el-tab-pane
label="Payment 103 PYE USD"
name="Payment103"
v-if="
model.cpdgrp.rec.swftyp === '103' ||
model.cpdgrp.rec.swftyp === '202'
"
>
<m-Payment :model="model" :codes="codes" />
</el-tab-pane>
......@@ -97,19 +125,24 @@
</el-form>
</div>
<c-grid-ety-prompt-dialog
        ref="doxpDialog"
        :isPty="false"
        :promptData="promptData"
        @select-ety="selectMsg"
      >
      </c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"></c-grid-ety-prompt-dialog>
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
     
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
></c-grid-ety-prompt-dialog>
</c-page>
</template>
<script>
import Api from "~/service/Api";
import Utils from "~/utils/index"
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import Cptopn from "~/model/Cptopn";
import commonProcess from "~/mixin/commonProcess";
......@@ -118,26 +151,26 @@ import Default from "~/model/Cptopn/Default";
import Check from "~/model/Cptopn/Check";
import Opnp1 from "./Opnp1";
// import Coninfp from "./Coninfp";
import Finp from "./Finp"
import Dbe from "./Dbe.vue"
import Dbb from "./Dbb.vue"
import Outp from "./Outp.vue"
import AdditionalInfo from "./AdditionalInfo.vue"
import Payment from "./Payment103.vue"
import Finp from "./Finp";
import Dbe from "./Dbe.vue";
import Dbb from "./Dbb.vue";
import Outp from "./Outp.vue";
import AdditionalInfo from "./AdditionalInfo.vue";
import Payment from "./Payment103.vue";
// import Payment103 from "./Det103.vue"
// import Payment202 from "./Det202.vue"
import Coninfp from "~/views/Public/Coninfp";
import Doctre from "~/views/Public/Doctre";
import Glepan from "~/views/Public/Glepan"
import Setpan from "~/views/Public/Setpan"
import Docpan from "~/views/Public/Docpan"
import Glepan from "~/views/Public/Glepan";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
import Sbxx from "~/views/Public/Sbxx";
import commonFuncs from "~/mixin/commonFuncs";
export default {
name: 'Cptopn',
name: "Cptopn",
components: {
"m-opnp1": Opnp1,
"m-setpan": Setpan,
......@@ -154,30 +187,29 @@ export default {
"m-Payment": Payment,
// "m-Payment103": Payment103,
// "m-Payment202": Payment202
},
provide() {
return {
root: this
}
root: this,
};
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal:"opnp1",
trnName:"cptopn",
tabVal: "opnp1",
trnName: "cptopn",
model: new Cptopn().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules:null,
codes: {...CodeTable},
rules: null,
codes: { ...CodeTable },
};
},
methods:{
methods: {
mimeTabClick(tab) {
this.tabClick(tab)
const name = tab.name
this.tabClick(tab);
const name = tab.name;
let rulePath;
if (name === "setpan") {
rulePath = "pyenam";
......@@ -198,19 +230,19 @@ export default {
rulePath = "trd.ownref,cnyp";
}
if (!!rulePath) {
this.executeRule(rulePath).then(res => {
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data)
}
})
this.updateModel(res.data);
}
});
}
},
},
created: async function () {
console.log("进入cptopn交易");
let rtnmsg = await this.init(this.$route.query);
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model,rtnmsg.data)
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
......@@ -218,14 +250,14 @@ export default {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
watch:{
watch: {
"model.cpdgrp.cbs.nom1.amt": {
handler(val, oldVal) {
this.changeFormItemRequired("cpdgrp.rec.swftyp", val != '0.000');
this.changeFormItemRequired("cpdgrp.rec.swftyp", val != "0.000");
},
immediate: true,
},
}
},
};
</script>
<style>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment