Commit 2cecedae by liuxin

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 7bc5ad20 aa75caf6
......@@ -320,7 +320,7 @@ export default {
/**
* 货物条款等非机构栏位回填
* @param {Object} val 选种行的值
* @param {Object} val 选种行的值,按钮的值
* @param {Object} url 字段路劲 需要回填的字段路劲
* @param {Object} url 对应字段值是否覆盖 ,需要为true,否则合并叠加
* @param {String} rulePath 路径
......
......@@ -70,18 +70,18 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "setmod.docamt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"bcdgrp.rec.accdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.blk.colins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 165,message:"长度不能超过165"}
],
......@@ -91,7 +91,7 @@ export default {
],
"bcdgrp.blk.dftins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 165,message:"长度不能超过165"}
],
......@@ -203,7 +203,7 @@ export default {
],
"bcdgrp.co2.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 150,message:"长度不能超过150"}
],
"bcdgrp.co2.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -211,7 +211,7 @@ export default {
],
"bcdgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 150,message:"长度不能超过150"}
],
"bcdgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -225,11 +225,11 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "liaall.outamt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
......@@ -238,23 +238,23 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "liaall.misamt":[
// {type: "number", 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: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", 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: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
// "liaall.exttotamt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......
......@@ -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
......
......@@ -254,7 +254,7 @@ export default {
],
"lendoc.account":[
//{type: "string", required: true, message: "必输项"},
{max: 25,message:"长度不能超过25"}
{max: 75,message:"长度不能超过75"}
],
"lendoc.vercerref":[
......
......@@ -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
}
......
......@@ -139,7 +139,7 @@ export default {
],
"cpdgrp.snd.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.snd.dbfadrblkcn":[
......
import Utils from "~/utils"
/**
* Getame Check规则
*/
let checkObj = {
"gidgrp.rec.tenref" :null,
"gidgrp.rec.giduil" :null,
"gidgrp.rec.jurlaws20" :null,
"gitp.aamp.aammod.addamtflg" :null,
"gidgrp.ben.pts.adrblk" :null,
"gidgrp.blk.atxexptxt" :null,
"gidgrp.atb.pts.adrblk" :null,
"gidgrp.con.pts.adrblk" :null,
"gitp.liatxtcmodflg" :null,
"trnmod.swiadd.exptxt" :null,
"gidgrp.rec.orcamt" :null,
"gidgrp.ben.adrelc" :null,
"gitp.usr.extkey" :null,
"trnmod.swiadd.amenbr" :null,
"gidgrp.rec.exptyp" :null,
"gidgrp.ctr.pts.extkey" :null,
"trnmod.swiadd.newliadat" :null,
"trnmod.swiadd.ameblk" :null,
"gidgrp.rec.liadat" :null,
"gidgrp.rec.sndto" :null,
"gidgrp.con.adrelc" :null,
"gidgrp.blk.liatxtc" :null,
"gitp.exptxtmodflg" :null,
"trnmod.swiadd.amedat" :null,
"gidgrp.rec.gtxinr" :null,
"gidgrp.rec.vrfdat" :null,
"gidgrp.rec.tendat" :null,
"gidgrp.rec.purpos" :null,
"gidgrp.gidcxm.cxmflg" :null,
"gidgrp.rec.autrnwflg" :null,
"gitamep.ramrol" :null,
"gidgrp.rec.legfrm" :null,
"gidgrp.apl.pts.extkey" :null,
"trnmod.swiadd.newexpdat" :null,
"gidgrp.apl.namelc" :null,
"gidgrp.rec.liatypc" :null,
"gidgrp.blk.orcplc" :null,
"gidgrp.atb.adrelc" :null,
"gidgrp.rec.revflg" :null,
"gidgrp.blk.addinf" :null,
"gidgrp.iss.adrelc" :null,
"gidgrp.rec.hndtyp" :null,
"gidgrp.adv.namelc" :null,
"gitp.swiftflg" :null,
"gidgrp.bdb.pts.extkey" :null,
"gidgrp.iss.pts.adrblk" :null,
"gidgrp.adv.pts.adrblk" :null,
"gidgrp.rec.orcref" :null,
"gidgrp.ctr.namelc" :null,
"gidgrp.blk.atxpreper" :null,
"trnmod.swiadd.liatxtc" :null,
"gidgrp.con.pts.extkey" :null,
"gidgrp.rec.tenclsdat" :null,
"trnmod.swiadd.newamt" :null,
"gidgrp.bdb.adrelc" :null,
"gidgrp.ctr.adrelc" :null,
"gidgrp.blk.covgodsrv" :null,
"gidgrp.blk.atxcovgodsrv" :null,
"gidgrp.con.namelc" :null,
"gitp.covgodsrvmodflg" :null,
"gidgrp.rec.orcrat" :null,
"gidgrp.ben.namelc" :null,
"gidgrp.ghd.aplnam" :null,
"gidgrp.rec.expflg" :null,
"gidgrp.ctr.pts.adrblk" :null,
"gidgrp.atb.namelc" :null,
"gidgrp.rec.orddat" :null,
"trnmod.swiadd.addamt" :null,
"gidgrp.rec.orcdat" :null,
"gidgrp.rec.stacty" :null,
"gidgrp.blk.exptxt" :null,
"gidgrp.atb.pts.extkey" :null,
"gidgrp.blk.atxliatxtc" :null,
"gidgrp.rec.jurplc" :null,
"gidgrp.rec.mannum" :null,
"gidgrp.blk.apprul" :null,
"gidgrp.apl.pts.adrblk" :null,
"trnmod.swiadd.purposame" :null,
"gidgrp.rec.jurlaw" :null,
"gidgrp.rec.acc" :null,
"trnmod.swiadd.ameamt" :null,
"gidgrp.rec.inudat" :null,
"gidgrp.iss.pts.ref" :null,
"gidgrp.blk.feetxt" :null,
"gitp.prepermodflg" :null,
"gidgrp.bdb.namelc" :null,
"gidgrp.rec.trmdat" :null,
"gidgrp.blk.preper" :null,
"gidgrp.apl.adrelc" :null,
"trnmod.swiadd.addamtcovs20" :null,
"gidgrp.adv.adrelc" :null,
"gidgrp.blk.apprultxt" :null,
"gidgrp.iss.namelc" :null,
"gidgrp.adv.pts.extkey" :null,
"gidgrp.iss.pts.extkey" :null,
"gidgrp.ben.pts.extkey" :null,
"gidgrp.bdb.pts.adrblk" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
......@@ -7,6 +7,7 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.model.gidgrp.rec.ownref=rtnmsg.data.gidgrp_rec_ownref;
}
else
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Getopn{
constructor () {
......@@ -410,6 +411,10 @@ export default class Getopn{
pts:new Pts().data,
},
},
setmod:new Pub().data.Setmod,
mtabut:new Pub().data.Mtabut,
trnmod:new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
pageId: "" // ctx的key
}
}
......
......@@ -311,6 +311,7 @@ export default {
this.model.jyqflg="";
this.model.mylx="";
this.model.elcflg="";
this.model.seagodcod="";
},
async handleSearch() {
......
......@@ -29,10 +29,10 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.cbs.opn1.amt":[
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "lidgrp.cbs.opn1.amt":[
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
......@@ -284,17 +284,17 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "brdgrp.cbs.max.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "brdgrp.cbs.max2.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brdgrp.blk.chaded":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
......@@ -307,11 +307,11 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"brdgrp.rec.totamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "brdgrp.rec.totamt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brtp.acbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......
......@@ -128,24 +128,26 @@
</c-col>
<c-col :span="24">
<el-form-item label="Payment Condition" prop="bcdgrp.rec.doctypcod">
<c-input
<c-select
v-model="model.bcdgrp.rec.doctypcod"
:code="codes.doctypcod"
style="width: 100%"
placeholder="请选择Payment Condition"
disabled
>
</c-input>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bcdgrp.rec.docsta">
<c-input
<c-select
v-model="model.bcdgrp.rec.docsta"
:code="codes.docstabot"
style="width: 100%"
placeholder="请输入Document Set Status"
disabled
>
</c-input>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -262,9 +264,9 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item prop="bcdgrp.drr.pts.ref">
<el-form-item prop="bcdgrp.drr.pts.nam">
<c-input
v-model="model.bcdgrp.drr.pts.ref"
v-model="model.bcdgrp.drr.pts.nam"
maxlength="40"
style="width: 100%"
disabled
......
......@@ -5,24 +5,35 @@
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Delivery of Documents Instructions" prop="bcdgrp.blk.colins">
<c-input type="textarea" v-model="model.bcdgrp.blk.colins" maxlength="65" show-word-limit
<c-input
:rows="4"
type="textarea" v-model="model.bcdgrp.blk.colins" maxlength="165" show-word-limit
placeholder="请输入Delivery of Documents Instructions"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onColinsButtxmsel">
<c-button size="small" type="primary" icon="el-icon-search"
@click="showGridPromptDialog('bctp.colins.buttxmsel', null, null,{TXT: 'bcdgrp.blk.colins'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Draft Instructions" prop="bcdgrp.blk.dftins">
<c-input type="textarea" v-model="model.bcdgrp.blk.dftins" maxlength="65" show-word-limit
<c-input
:rows="4"
type="textarea" v-model="model.bcdgrp.blk.dftins" maxlength="165" show-word-limit
placeholder="请输入Draft Instructions"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDftinsButtxmsel">
<c-button
size="small" type="primary" icon="el-icon-search"
@click="showGridPromptDialog('bctp.dftins.buttxmsel', null, null,{TXT: 'bcdgrp.blk.dftins'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
</c-col>
......@@ -37,13 +48,17 @@
</c-col>
<c-col :span="20">
<el-form-item label="Other Instructions" prop="bcdgrp.blk.othins">
<c-input type="textarea" v-model="model.bcdgrp.blk.othins" maxlength="65" show-word-limit
<c-input
:rows="4"
type="textarea" v-model="model.bcdgrp.blk.othins" maxlength="65" show-word-limit
placeholder="请输入Other Instructions">
</c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel">
<c-button size="small" type="primary" icon="el-icon-search"
@click="showGridPromptDialog('bctp.othins.buttxmsel', null, null,{TXT: 'bcdgrp.blk.othins'}, {TXT: false},'doxpDialog')"
>
</c-button>
</c-col>
<c-col :span="24">
......@@ -72,7 +87,9 @@
</c-col>
<c-col :span="24">
<el-form-item label="Charges Text" prop="bcdgrp.blk.chgtxt">
<c-input type="textarea" v-model="model.bcdgrp.blk.chgtxt" maxlength="35" style="width:76%"
<c-input
:rows="4"
type="textarea" v-model="model.bcdgrp.blk.chgtxt" maxlength="35" style="width:76%"
show-word-limit placeholder="请输入Charges Text"></c-input>
</el-form-item>
</c-col>
......
......@@ -87,7 +87,7 @@
v-model="model.bcdgrp.co2.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('bcdgrp.co2.pts.extkey')"
></c-input>
<template slot="footer">
<c-button
......@@ -119,8 +119,8 @@
type="textarea"
:rows="4"
v-model="model.bcdgrp.co2.pts.adrblk"
maxlength="50"
disabled
maxlength="150"
show-word-limit
placeholder="请输入Address Block"
></c-input>
......@@ -152,7 +152,7 @@
v-model="model.bcdgrp.rmi.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('bcdgrp.rmi.pts.extkey')"
></c-input>
<template slot="footer">
<c-button
......@@ -213,7 +213,7 @@
v-model="model.bcdgrp.drr.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('bcdgrp.drr.pts.extkey')"
></c-input>
<template slot="footer">
<c-button
......@@ -245,7 +245,7 @@
type="textarea"
:rows="4"
v-model="model.bcdgrp.drr.pts.adrblk"
maxlength="50"
maxlength="150"
disabled
show-word-limit
placeholder="请输入Address Block"
......
<template>
<c-page title="进口代收承兑">
<div class="eContainer">
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right"
size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<c-page title="进口代收承兑">
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--Settle BC -->
<el-tab-pane label="Settle BC" name="bctset">
<c-content>
<m-bctset :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Settle BC -->
<el-tab-pane label="Settle BC" name="bctset">
<c-content>
<m-bctset :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Instructions -->
<el-tab-pane label="Instructions" name="detp">
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
<!--Instructions -->
<el-tab-pane label="Instructions" name="detp">
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
<!--Parties -->
<el-tab-pane label="Parties" name="ptyp">
<c-content>
<m-ptyp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Parties -->
<el-tab-pane label="Parties" name="ptyp">
<c-content>
<m-ptyp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Liability -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--Liability -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--Messages -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--Messages -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
<!--Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import Utils from "~/utils/index"
import CodeTable from "~/config/CodeTable"
import commonFuncs from "~/mixin/commonFuncs";
import Bctacc from "~/model/Bctacc"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Bctacc/Check"
import Default from "~/model/Bctacc/Default"
import Pattern from "~/model/Bctacc/Pattern"
import Bctset from "./Bctset"
import Detp from "./Detp"
import Ptyp from "./Ptyp"
import Engp from "~/views/Public/Engp"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "~/views/Public/Doctre"
import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import commonFuncs from "~/mixin/commonFuncs";
import Bctacc from "~/model/Bctacc";
import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Bctacc/Check";
import Default from "~/model/Bctacc/Default";
import Pattern from "~/model/Bctacc/Pattern";
import Bctset from "./Bctset";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
export default {
name: "Bctacc",
components: {
"m-bctset": Bctset,
"m-detp": Detp,
"m-ptyp": Ptyp,
"m-engp": Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "bctset",
trnName: "bctacc",
model: new Bctacc().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
methods: {
tabClick() {}
},
created: async function () {
console.log("进入bctacc交易");
let rtnmsg = await this.init(this.$route.query)
if (rtnmsg.respCode == SUCCESS) {
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
}
}
}
export default {
name: "Bctacc",
components: {
"m-bctset": Bctset,
"m-detp": Detp,
"m-ptyp": Ptyp,
"m-engp": Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "bctset",
trnName: "bctacc",
model: new Bctacc().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
};
},
methods: {
tabClick() {},
},
created: async function () {
console.log("进入bctacc交易");
let rtnmsg = await this.init(this.$route.query);
if (rtnmsg.respCode == SUCCESS) {
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
},
};
</script>
<style></style>
\ No newline at end of file
<style></style>
<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')"
>
</c-select>
</el-form-item>
</c-col>
<!-- 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-select>
</el-form-item>
</c-col>
<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-select>
</el-form-item>
</c-col>
<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-select>
</el-form-item>
</c-col>
<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-select>
</el-form-item>
<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>
......@@ -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>
......
......@@ -17,7 +17,7 @@
<c-col :span="11" :offset="1">
<el-form-item label="Charges Condition" prop="bodgrp.rec.chato">
<c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to" disabled>
<el-option v-for="item in codes.chato" :key="item.value" :label="item.label"
<el-option v-for="item in codes.chadet" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
......
......@@ -43,8 +43,8 @@
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.amt">
<c-col :span="11" :offset="1">
<el-form-item label="" prop="bodgrp.cbs.max.amt" label-width="0">
<c-input v-model="model.bodgrp.cbs.max.amt" placeholder="请输入Document Amount" disabled></c-input>
</el-form-item>
</c-col>
......@@ -60,14 +60,14 @@
<c-col :span="24">
<c-col :span="11">
<c-col :span="12">
<el-form-item label="Warehouse/Insurance" prop="bodgrp.cbs.opn1.cur">
<el-form-item label="Open Amount" prop="bodgrp.cbs.opn1.cur">
<c-input v-model="model.bodgrp.cbs.opn1.cur" style="width:100%"
placeholder="请选择Warehouse/Insurance" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" style="text-align: left" prop="bodgrp.cbs.opn1.amt">
<c-col :span="11" :offset="1">
<el-form-item label="" prop="bodgrp.cbs.opn1.amt" label-width="0">
<c-input v-model="model.bodgrp.cbs.opn1.amt" style="width:100%" placeholder="请输入Open Amount"
disabled></c-input>
</el-form-item>
......@@ -86,10 +86,19 @@
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-select v-model="model.bodgrp.rec.doctypcod" style="width: 100%"
placeholder="请选择Payment Condition" disabled>
<el-option v-for="item in codes.doctypcod" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
<!-- <el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-input v-model="model.bodgrp.rec.doctypcod" style="width:100%"
placeholder="请选择Collection Condition" disabled>
</c-input>
</el-form-item>
</el-form-item> -->
</c-col>
<c-col :span="11" :offset="1">
......@@ -104,10 +113,20 @@
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
<c-select v-model="model.bodgrp.rec.docsta" style="width: 100%"
placeholder="请输入Document Set Status" disabled>
<el-option v-for="item in codes.docstabot" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
<!-- <el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
<c-input v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status"
disabled>
</c-input>
</el-form-item>
</el-form-item> -->
</c-col>
</c-col>
<c-col :span="11" :offset="1">
......@@ -140,10 +159,20 @@
</c-col>
<c-col :span="24">
<el-form-item label="" prop="bodgrp.rec.matperbeg">
<c-select v-model="model.bodgrp.rec.matperbeg" style="width: 100%"
placeholder="请选择Start of Maturity Period MATBEG" disabled>
<el-option v-for="item in codes.matperbeg" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
<!-- <el-form-item label="" prop="bodgrp.rec.matperbeg">
<c-input v-model="model.bodgrp.rec.matperbeg" style="width:100%"
placeholder="请选择Start of Maturity Period MATBEG" disabled>
</c-input>
</el-form-item>
</el-form-item> -->
</c-col>
<!-- <c-col :span="5">
<span v-text="model.bodgrp.rec.matpertyp" data-path=".bodgrp.rec.matpertyp"> </span>
......@@ -194,7 +223,8 @@
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label-width="0" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount" disabled></c-input>
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount" :disabled="isDisabled">
</c-input>
</el-form-item>
</c-col>
</c-col>
......@@ -215,15 +245,18 @@
</el-form-item>
</c-col> -->
<c-col :span="24" style="margin-top: 30px">
<c-col :span="11">
<c-edit-table :model="model" v-bind="docgrd">
<span style="font-size:14px;">Bills to Pay back:</span>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-edit-table :model="model" v-bind="docgrd" style="margin-left:-30px">
</c-edit-table>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<c-istream-table ref="table" :list="model.liaall.tenstm.rows || []" :columns="stmData.columns"
:showSelection="true" v-on:multipleSelect="multipleSelect">
:showSelection="true" v-on:multipleSelect="multipleSelect" prop="liaall.tenstm">
</c-istream-table>
</c-col>
</c-col>
......@@ -267,6 +300,7 @@ export default {
mixins: [commonProcess],
data() {
return {
isDisabled: false,
stmData: {
columns: [
'1 1 "Type" 80',
......@@ -293,13 +327,13 @@ export default {
},
{
title: "Open Amount",
width: "80px",
width: "200px",
dataIndex: "opnamt",
show: "input",
},
{
title: "Amount Paid",
width: "320px",
width: "200px",
dataIndex: "bckamt",
show: "input",
},
......@@ -310,13 +344,39 @@ export default {
},
methods: {
...Event,
multipleSelect(){
console.log(111);
}
async multipleSelect(selection) {
if (selection.length > 1) {
this.$notify({
title: "error",
message: "You cannot select more than one tenor",
type: "error",
});
} else {
let selIds;
if (selection.length === 0) {
selIds = [];
this.model.setmod.docamt = "0.000";
this.model.liaall.tensetstm.rows = [];
this.isDisabled = false;
// this.model.liaall.tenstm.rows = []
} else {
selIds = [selection[0] + 1];
this.model.setmod.docamt = this.model.bodgrp.cbs.max.amt;
this.isDisabled = true;
}
//
console.log(this.model.liaall.tensetstm);
let params = { selDst: "liaall.tenstm", selIds };
const rtnmsg = await this.executeRule("liaall.tenstm", params);
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
},
created: function () {
console.log(this.model.liaall.tenstm);
}
}
</script>
<style>
......
......@@ -8,17 +8,17 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000027 -->
<el-tab-pane label="setp" name="setp">
<m-setp :model="model" :codes="codes" />
<el-tab-pane label="Changing Maturity" name="setp">
<m-setp ref="setp" :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000049 -->
<el-tab-pane label="inst" name="inst">
<el-tab-pane label="Instructions" name="inst">
<m-inst :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000266 -->
<el-tab-pane label="ptyp" name="ptyp">
<el-tab-pane label="Parties" name="ptyp">
<m-ptyp :model="model" :codes="codes" />
</el-tab-pane>
......@@ -129,7 +129,10 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
this.$nextTick(() => {
this.$refs.setp.$refs.table.$refs.table.toggleAllSelection();
this.model.setmod.docamt = this.model.bodgrp.cbs.max.amt;
})
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
......
......@@ -323,7 +323,7 @@
methods: {
...Event,
changeCur(){
this.executeDefault("bodgrp.cbs.max.cur").then((res) => {
this.executeDefault("cnybop.libflg").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
......
......@@ -17,7 +17,7 @@
<c-col :span="11" :offset="1">
<el-form-item label="Charges Condition" prop="bodgrp.rec.chato">
<c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to" disabled>
<el-option v-for="item in codes.chato" :key="item.value" :label="item.label"
<el-option v-for="item in codes.chadet" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
......
......@@ -42,8 +42,8 @@
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.amt">
<c-col :span="11" :offset="1">
<el-form-item label="" prop="bodgrp.cbs.max.amt" label-width="0">
<c-input v-model="model.bodgrp.cbs.max.amt" placeholder="请输入Document Amount" disabled></c-input>
</el-form-item>
</c-col>
......@@ -59,14 +59,14 @@
<c-col :span="24">
<c-col :span="11">
<c-col :span="12">
<el-form-item label="Warehouse/Insurance" prop="bodgrp.cbs.opn1.cur">
<el-form-item label="Open Amount" prop="bodgrp.cbs.opn1.cur">
<c-input v-model="model.bodgrp.cbs.opn1.cur" style="width:100%"
placeholder="请选择Warehouse/Insurance" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" style="text-align: left" prop="bodgrp.cbs.opn1.amt">
<c-col :span="11" :offset="1">
<el-form-item label="" label-width="0" prop="bodgrp.cbs.opn1.amt">
<c-input v-model="model.bodgrp.cbs.opn1.amt" style="width:100%" placeholder="请输入Open Amount"
disabled></c-input>
</el-form-item>
......@@ -85,9 +85,12 @@
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-input v-model="model.bodgrp.rec.doctypcod" style="width:100%"
placeholder="请选择Collection Condition" disabled>
</c-input>
<c-select v-model="model.bodgrp.rec.doctypcod" style="width: 100%"
placeholder="请选择Payment Condition" disabled>
<el-option v-for="item in codes.doctypcod" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -103,9 +106,12 @@
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
<c-input v-model="model.bodgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status"
disabled>
</c-input>
<c-select v-model="model.bodgrp.rec.docsta" style="width: 100%"
placeholder="请输入Document Set Status" disabled>
<el-option v-for="item in codes.docstabot" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
......@@ -139,9 +145,12 @@
</c-col>
<c-col :span="24">
<el-form-item label="" prop="bodgrp.rec.matperbeg">
<c-input v-model="model.bodgrp.rec.matperbeg" style="width:100%"
<c-select v-model="model.bodgrp.rec.matperbeg" style="width: 100%"
placeholder="请选择Start of Maturity Period MATBEG" disabled>
</c-input>
<el-option v-for="item in codes.matperbeg" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="5">
......@@ -230,9 +239,13 @@
</c-input>
</el-form-item>
</c-col> -->
<c-col :span="24" style="margin-top: 30px">
<span style="font-size:14px">Bills to Pay back:</span>
</c-col>
<c-col :span="24">
<c-col :span="11">
<c-edit-table :model="model" v-bind="docgrd">
<c-col :span="12">
<c-edit-table :model="model" v-bind="docgrd" style="margin-left:-30px">
</c-edit-table>
</c-col>
</c-col>
......
......@@ -8,17 +8,17 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000027 -->
<el-tab-pane label="setp" name="setp">
<el-tab-pane label="Funds Settlement" name="setp">
<m-setp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000049 -->
<el-tab-pane label="inst" name="inst">
<el-tab-pane label="Instructions" name="inst">
<m-inst :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000266 -->
<el-tab-pane label="ptyp" name="ptyp">
<el-tab-pane label="Parties" name="ptyp">
<m-ptyp :model="model" :codes="codes" />
</el-tab-pane>
......
......@@ -25,7 +25,7 @@
<c-fullbox>
<c-input
v-model="model.lendoc.account"
maxlength="3"
maxlength="75"
style="width: 100%"
placeholder="Please input Input Amount"
:disabled="!actflg"
......
......@@ -202,7 +202,7 @@
<!-- ====================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="摘要" prop="bodgrp.rec.nam">
<el-form-item label="Name" prop="bodgrp.rec.nam">
<c-input
align="middle"
v-model="model.bodgrp.rec.nam"
......
<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,
......
......@@ -109,7 +109,7 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="远期单据到期日" prop="matp.matinf">
<el-form-item label="远期单据到期日" prop="brdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.matdat" style="width:100%" placeholder="请选择到单日期" disabled></c-date-picker>
</el-form-item>
</c-col>
......@@ -183,7 +183,7 @@
</c-col>
<c-col :span="11">
<el-form-item label="" prop="aamset.utlamt" label-width="5px">
<c-input v-model="model.aamset.utlamt" placeholder="请输入单据金额"></c-input>
<c-input v-model="model.aamset.utlamt" placeholder="请输入单据金额" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
......@@ -197,14 +197,20 @@
</c-col>
<c-col :span="11">
<el-form-item label="" prop="aamset.utlamt2" label-width="5px">
<c-input v-model="model.aamset.utlamt2" placeholder=""></c-input>
<c-input v-model="model.aamset.utlamt2" placeholder="" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="跨境人民币清算模式" prop="trnmod.cmtflg">
<c-select v-model="model.trnmod.cmtflg" style="width:100%" placeholder="请选择跨境人民币清算模式" :code="codes.cmtflg">
<c-select
v-model="model.trnmod.cmtflg"
style="width:100%"
placeholder="请选择跨境人民币清算模式"
:code="this.cmtflg"
@change="commonExecuteRule('trnmod.cmtflg')"
>
</c-select>
</el-form-item>
</c-col>
......@@ -216,7 +222,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="报文类型" prop="trnmod.swftyp" v-show="model.trnmod.cmtflg=='P'?true:false">
<c-select v-model="model.trnmod.swftyp" style="width:100%" placeholder="请选择报文类型" :code="codes.swftyp">
<c-select v-model="model.trnmod.swftyp" style="width:100%" placeholder="请选择报文类型" :code="codes.swftyp1" disabled>
</c-select>
</el-form-item>
</c-col>
......@@ -377,7 +383,12 @@
<c-col :span="24">
<el-form-item label="External Key of Address" prop="brdgrp.prb.pts.extkey">
<c-fullbox>
<c-input v-model="model.brdgrp.prb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
<c-input
v-model="model.brdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('brdgrp.prb.pts.extkey')"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
......@@ -426,6 +437,11 @@ export default {
mixins: [commonProcess],
data(){
return {
cmtflg:[
{ label: "代理行模式", value: "C" },
{ label: "Other", value: "O" },
{ label: "CIPS系统", value: "P" },
],
table1:[],
columns:[
"1 1 \"Type\" 40",
......@@ -437,12 +453,31 @@ export default {
]
}
},
methods:{...Event},
methods:{...Event,
commonExecuteRule(ruleName) {
this.executeRule(ruleName).then((res) => {
if ((res.respCode == SUCCESS)) {
}
});
},
},
created:function(){
},
watch: {
declareParams() {},
declareParams() {},
"model.trnmod.cmtflg":{
immediate:true,
handler(val ,oldVal){
if(this.model.trnmod.cmtflg=='P'){
this.model.trnmod.swftyp='CIV';
}else{
this.model.trnmod.swftyp='';
}
}
},
},
}
</script>
......
......@@ -36,7 +36,7 @@
</el-tab-pane>
<!--PD000027 -->
<!-- <el-tab-pane label="同业代付" name="dftcrep" >
<!-- <el-tab-pane label="同业代付" name="dftcrep" v-if="this.model.dftcre.dfflag==''">
<m-dftcrep :model="model" :codes="codes" />
</el-tab-pane> -->
......@@ -106,6 +106,10 @@
</el-tab-pane>-->
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"></c-grid-ety-prompt-dialog>
</div>
</template>
<script>
......@@ -184,14 +188,7 @@ export default {
}
},
watch:{
'model.dftcre.dfflag': function(){
var val = this.model.dftcre.dfflag;
if(val == ""){
document.getElementById("tab-dftcrep").style.display = 'none';
}else{
document.getElementById("tab-dftcrep").style.display = '';
}
}
},
created:async function(){
console.log("进入brtset交易");
......@@ -200,9 +197,6 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
document.getElementById("tab-dftcrep").style.display = 'none';
}
else
{
......
......@@ -150,6 +150,7 @@ import Gitcrq from "./Gitcrq"
import Infgcd from "./Infgcd"
import Getsel from "./Getsel"
import Getopn from "./Getopn"
import Getame from "./Getame"
import Getset from "./Getset"
import Getcrq from "./Getcrq"
import Getamc from "./Getamc"
......@@ -377,6 +378,7 @@ const BusRouter = [
{ path: 'getset', component: Getset, name: 'Getset', meta: { title: 'Getset' } },
{ path: 'getsel', component: Getsel, name: 'Getsel', meta: { title: 'Getsel' } },
{ path: 'getopn', component: Getopn, name: 'Getopn', meta: { title: '出口保函通知' } },
{ path: 'getame', component: Getame, name: 'Getame', meta: { title: '出口保函修改' } },
{ path: 'getcrq', component: Getcrq, name: 'Getcrq', meta: { title: 'Getcrq' } },
{ path: 'getamc', component: Getamc, name: 'Getamc', meta: { title: '出口保函保兑' } },
{ path: 'notice', component: Notice, name: 'Notice', meta: { title: '通知公告设置' } },
......
......@@ -23,30 +23,34 @@
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>
<m-opnp1 :model="model" :codes="codes" />
<m-opnp1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="费用及账务" name="setpan">
<el-tab-pane label="费用及账务" name="setpan">
<!--PD000006 -->
<c-content>
<m-setpan :model="model" :codes="codes" />
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="分录" name="glepan">
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<!--PD000000 -->
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="附件" name="doctre">
<!--PD000529 -->
<m-doctre :model="model" :codes="codes" />
......@@ -59,9 +63,13 @@
<!--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>
<m-incp :model="model" :codes="codes"></m-incp>
</c-content>
</el-tab-pane>
<el-tab-pane label="报文及面函" name="docpan">
......@@ -71,15 +79,20 @@
</c-tabs>
</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="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,13 +170,13 @@ 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交易");
......@@ -182,11 +195,11 @@ export default {
</script>
<style>
.el-col .el-divider--horizontal {
margin-top: 0;
margin-top: 0;
}
.messageLabel .el-form-item__label {
text-align: left;
font-weight: bold;
font-size: 12px;
text-align: left;
font-weight: bold;
font-size: 12px;
}
</style>
......@@ -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,25 +5,68 @@
<c-col :span="24">
<el-form-item label="申报类型" prop="bopmod.szflg">
<c-select v-model="model.bopmod.szflg" style="width:100%" placeholder="请选择申报类型">
</c-select>
<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>
<c-col :span="24">
<el-form-item label="款项来源" prop="bopmod.acttyp">
<c-select v-model="model.bopmod.acttyp" style="width:100%" placeholder="请选择款项来源">
</c-select>
<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>
<c-col :span="24">
<el-form-item label="地区机构号" prop="bopmod.ownextkey">
<c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select>
<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 {
......
......@@ -163,6 +163,7 @@
<c-input
maxlength="16"
placeholder=""
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -172,12 +173,14 @@
label="Intermediary Institut.(Tag 54a)"
style="width: 100%"
label-width="35%"
>
<c-fullbox>
<c-input
maxlength="16"
placeholder="请输入Reference"
disabled
v-model="model.cpdgrp.orc.pts.extkey"
@keyup.enter.native="showGridPromptDialog('cpdgrp.orc.pts.extkey')"
></c-input>
<template slot="footer">
<c-button
......@@ -211,6 +214,7 @@
type="textarea"
:rows="3"
maxlength="140"
v-model="model.cpdgrp.orc.pts.adrblk"
show-word-limit
placeholder="请输入Address Block"
disabled
......@@ -236,6 +240,7 @@
label="Account with Institution/Account(Tag 54a)"
style="width: 100%"
label-width="35%"
>
<c-fullbox>
<c-input
......@@ -244,7 +249,7 @@
v-model="setgll.setgrp.awi.pts.extkey"
@change="setgllChange"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.pye.pts.extkey')
showGridPromptDialog('setgll.setgrp.awi.pts.extkey')
"
></c-input>
<template slot="footer">
......@@ -259,8 +264,7 @@
font-family: '宋体';
font-weight: bold;
"
>i</span
>
>i</span>
</c-button>
<c-button
style="margin: 0 0"
......@@ -297,9 +301,7 @@
></c-input>
</c-col>
<c-col :span="5" style="text-align: right">
<c-checkbox v-model="model.cpdgrp.rec.tsnflg"
>Use Opt.F</c-checkbox
>
<c-checkbox v-model="model.cpdgrp.rec.tsnflg">Use Opt.F</c-checkbox>
</c-col>
</el-form-item>
</c-col>
......@@ -418,6 +420,8 @@ export default {
setgrp:{
awi:{
pts:{
extkey: '',
adrblk: '',
}
}
}
......
<template>
<div class="eibs-tab">
<!-- SF002108 : Old Expiry Type -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002108')" prop="oldgidgrp.rec.exptyp">
<c-select v-model="model.oldgidgrp.rec.exptyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002108')">
</c-select>
</el-form-item>
</c-col>
<!-- SF002110 : Old Expiry Date -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002110')" prop="oldgidgrp.rec.expdat">
<c-date-picker type="date" v-model="model.oldgidgrp.rec.expdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002110')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002109 : Old Expiry Condition -->
<c-col :span="12">
<c-form-item :label="$t('gitamep.SF002109')" prop="oldgidgrp.blk.exptxt">
<c-input type="textarea" v-model="model.oldgidgrp.blk.exptxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002109')" ></c-input>
</c-form-item>
</c-col>
<!-- SF002151 : Old Liability Type -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002151')" prop="oldgidgrp.rec.liatypc">
<c-select v-model="model.oldgidgrp.rec.liatypc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002151')">
</c-select>
</el-form-item>
</c-col>
<!-- SF002152 : Old Liability -->
<c-col :span="12">
<el-form-item label="Liability until" prop="oldgidgrp.rec.liadat">
<c-date-picker type="date" v-model="model.oldgidgrp.rec.liadat" style="width:100%" :placeholder="$t('other.please_enter')+'Liability until'"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002153 : Old Liability Condition -->
<c-col :span="12">
<c-form-item :label="$t('gitamep.SF002153')" prop="oldgidgrp.blk.liatxtc">
<c-input type="textarea" v-model="model.oldgidgrp.blk.liatxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002153')" ></c-input>
</c-form-item>
</c-col>
<!-- SF002106 : New Expiry Type -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002106')" prop="trnmod.swiadd.exptyp">
<c-select v-model="model.trnmod.swiadd.exptyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002106')">
</c-select>
</el-form-item>
</c-col>
<!-- SF002105 : New Expiry Date -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002105')" prop="trnmod.swiadd.newexpdat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.newexpdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002105')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002107 : New Expiry Condition -->
<c-col :span="12">
<c-form-item :label="$t('gitamep.SF002107')" prop="trnmod.swiadd.exptxt">
<c-input type="textarea" v-model="model.trnmod.swiadd.exptxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002107')" ></c-input>
</c-form-item>
</c-col>
<!-- SF002154 : New Liability Type -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002154')" prop="trnmod.swiadd.liatypc">
<c-select v-model="model.trnmod.swiadd.liatypc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002154')">
</c-select>
</el-form-item>
</c-col>
<!-- SF002155 : New Liability -->
<c-col :span="12">
<el-form-item label="New Liability Date" prop="trnmod.swiadd.newliadat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.newliadat" style="width:100%" :placeholder="$t('other.please_enter')+'New Liability Date'"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002157 : New Liability Condition -->
<c-col :span="12">
<c-form-item :label="$t('gitamep.SF002157')" prop="trnmod.swiadd.liatxtc">
<c-input type="textarea" v-model="model.trnmod.swiadd.liatxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitamep.SF002157')" ></c-input>
</c-form-item>
</c-col>
<!-- SF002132 : Old appr. Expiry Date -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002132')" prop="oldgidgrp.blk.dtaappexpdat">
<c-date-picker type="date" v-model="model.oldgidgrp.blk.dtaappexpdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002132')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002133 : New appr. Expiry Date -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002133')" prop="trnmod.swiadd.newdtaappexpdat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.newdtaappexpdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002133')"></c-date-picker>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-button size="small" type="primary" @click="onSav">
{{$t('mtabut.CF000174')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onUsrcon">
{{$t('mtabut.CG000224')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('getame.SF050038')" prop="oldgidgrp.blk.gidtxt">
<c-input type="textarea" v-model="model.oldgidgrp.blk.gidtxt" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('getame.SF050038')" ></c-input>
</c-form-item>
</c-col>
<!-- SF050038 : Guarantee Text -->
<c-col :span="12">
<c-button size="small" type="primary" @click="onChk">
{{$t('mtabut.CF000175')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onUsrchk">
{{$t('mtabut.CG000225')}}
</c-button>
</c-col>
<!-- SF050111 : before this -->
<!-- SF050112 : Amendment -->
<c-col :span="12">
<c-button size="small" type="primary" @click="onSyswrnButshw">
{{$t('mtabut.CF000176')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDiasel">
{{$t('mtabut.CF000190')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInc">
{{$t('mtabut.CF000188')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onNotmap">
{{$t('mtabut.CF000189')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onFrmbut">
{{$t('mtabut.CF000208')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOrd">
{{$t('mtabut.CF000213')}}
</c-button>
</c-col>
<!-- SF050039 : Amendments so Far -->
<c-col :span="12">
<c-form-item :label="$t('getame.SF050039')" prop="gidgrp.blk.gidtxtame">
<c-input type="textarea" v-model="model.gidgrp.blk.gidtxtame" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('getame.SF050039')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onIncben">
{{$t('mtabut.CG000239')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onImgmodImage">
{{$t('mtabut.CG000240')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onImgmodNewimg">
{{$t('mtabut.CG000232')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onImgmodNewhisimg">
{{$t('mtabut.CG000233')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onImgmodElcimage">
{{$t('mtabut.CG000241')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onEntmodEntbut">
{{$t('mtabut.CG000242')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onPen">
{{$t('mtabut.CF000178')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCan">
{{$t('mtabut.CF000179')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="是否SWIFT格式" prop="gitp.swiftflg">
<c-select v-model="model.gitp.swiftflg" style="width:100%" placeholder="请选择是否SWIFT格式">
<el-option
v-for="item in codes.swiftflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="是否对外担保" prop="gidgrp.rec.fingua">
<c-select disabled v-model="model.gidgrp.rec.fingua" style="width:100%" placeholder="请选择是否对外担保">
<el-option
v-for="item in codes.fingua"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="20">
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select disabled v-model="model.gidgrp.rec.cfaguatyp" style="width:90%" placeholder="请选择对外担保类型">
<el-option
v-for="item in codes.cfaguatyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="4" class="centerLable">
<c-checkbox v-if="model.gidgrp.cbs.max.cur=='CNY'" disabled v-model="model.gidgrp.rec.cmtflg">跨境人民币保函</c-checkbox>
</c-col>
<!-- <c-checkbox v-if="model.gidgrp.rec.fingua=='Y'" disabled v-model="model.gidgrp.rec.cmtflg">跨境人民币保函</c-checkbox> -->
</c-col>
<!-- SG001294 : 是否SWIFT格式 -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SG001294')" prop="gitp.swiftflg">
<c-select v-model="model.gitp.swiftflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SG001294')">
</c-select>
</el-form-item>
</c-col> -->
<!-- S0001304 : 是否对外担保 -->
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.S0001256')" prop="gidgrp.rec.fingua">
<c-select v-model="model.gidgrp.rec.fingua" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.S0001256')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select v-model="model.gidgrp.rec.cfaguatyp" style="width:100%" :placeholder="$t('other.please_enter')+'对外担保类型'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gidgrp.rec.cmtflg">{{$t('gitp.CG001233')}}</c-checkbox>
</c-col> -->
<!-- S0001305 : 担保类型 -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000859 : Delivery of Undertak. -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000859')" prop="gidgrp.rec.delori">
<c-select v-model="model.gidgrp.rec.delori" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000859')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000859')" prop="gidgrp.rec.deloritxt">
<c-input v-model="model.gidgrp.rec.deloritxt" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000859')"></c-input>
</c-form-item>
</c-col>
<!-- SF000863 : Charges Condition -->
<!-- SF000862 : Undertaking Send to -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000862')" prop="gidgrp.rec.sndto">
<c-select v-model="model.gidgrp.rec.sndto" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000862')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Own Charges Borne by" prop="gidgrp.rec.chato">
<c-select v-model="model.gidgrp.rec.chato" style="width:100%" :placeholder="$t('other.please_enter')+'Own Charges Borne by'">
</c-select>
</el-form-item>
</c-col>
<!-- SF000860 : Deliv. To/Collection By -->
<c-col :span="12">
<el-form-item :label="$t('gitp.SF000860')" prop="gidgrp.rec.delto">
<c-select v-model="model.gidgrp.rec.delto" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000860')">
</c-select>
</el-form-item>
</c-col>
<!-- SF000864 : Charges -->
<c-col :span="12">
<c-checkbox v-model="model.gitp.chargi.chkast">{{$t('gitp.CF001069')}}</c-checkbox>
</c-col>
<!-- SF000861 : Delivery to Address -->
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000861')" prop="gidgrp.blk.deltoadr">
<c-input type="textarea" v-model="model.gidgrp.blk.deltoadr" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000861')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxt">
<c-input type="textarea" v-model="model.gidgrp.blk.feetxt" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Additional Details to Code for Charges'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onChargiButtxmsel">
{{$t('gitp.CF001057')}}
</c-button>
</c-col>
<!-- SF000728 : Presentation Instr. -->
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000728')" prop="gidgrp.blk.preper">
<c-input type="textarea" v-model="model.gidgrp.blk.preper" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000728')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000728')" prop="gidgrp.blk.atxpreper">
<c-input type="textarea" v-model="model.gidgrp.blk.atxpreper" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000728')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.prepermodflg">{{$t('gitp.CF001186')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.chkpreper">{{$t('gitp.CF001187')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifpreper">
{{$t('gitp.CF001188')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifhispreper">
{{$t('gitp.CF001189')}}
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gidgrp.rec.transfer">{{$t('gitp.CF000884')}}</c-checkbox>
</c-col>
<!-- SF000885 : Transfer Conditions -->
<c-col :span="12">
<c-form-item :label="$t('gitp.SF000885')" prop="gidgrp.blk.trfcond">
<c-input type="textarea" v-model="model.gidgrp.blk.trfcond" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000885')" ></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--gitp PD001291 开立方式 -->
<el-tab-pane label="开立方式" name="opnp">
<m-opnp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitamep PD002031 Amendment -->
<el-tab-pane :label="$t('gitamep.PD002031')" name="ameps20">
<m-ameps20 :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitamep PD002100 Amendment Dates -->
<el-tab-pane :label="$t('gitamep.PD002100')" name="amedat20">
<m-amedat20 :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000002 Overview -->
<el-tab-pane :label="$t('gitp.PD000002')" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000043 Parties -->
<el-tab-pane :label="$t('gitp.PD000043')" name="ptyp">
<m-ptyp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000727 Presentation/ Delivery -->
<el-tab-pane :label="$t('gitp.PD000727')" name="preperp">
<m-preperp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000389 Details -->
<el-tab-pane :label="$t('gitp.PD000389')" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<!--getame PD050035 History -->
<el-tab-pane :label="$t('getame.PD050035')" name="amephis">
<m-amephis :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Getame from "~/model/Getame"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Getame/Check"
import Default from "~/model/Getame/Default"
import Pattern from "~/model/Getame/Pattern"
import Opnp from "./Opnp"
import Ameps20 from "./Ameps20"
import Amedat20 from "./Amedat20"
import Ovwp from "./Ovwp"
import Ptyp from "./Ptyp"
import Preperp from "./Preperp"
import Detp from "./Detp"
import Amephis from "./Amephis"
export default {
name: "Getame",
components:{
"m-opnp" : Opnp,
"m-ameps20" : Ameps20,
"m-amedat20" : Amedat20,
"m-ovwp" : Ovwp,
"m-ptyp" : Ptyp,
"m-preperp" : Preperp,
"m-detp" : Detp,
"m-amephis" : Amephis,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "opnp",
trnName: "getame",
trnType: "",
model: new Getame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入getame交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="24">
<c-col :span="12">
<c-col :span="24">
<c-col :span="14">
<el-form-item label="Additional Amount" prop="gidgrp.cbs.mac2.cur">
<c-input disabled v-model="model.gidgrp.cbs.mac2.cur" maxlength="3" placeholder="请输入Additional Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<c-input v-model="model.gidgrp.cbs.mac2.amt" placeholder="请输入Balance"></c-input>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="14">
<el-form-item label="Open Add. Amount" prop="gidgrp.cbs.opc2.cur">
<c-input disabled v-model="model.gidgrp.cbs.opc2.cur" maxlength="3" placeholder="请输入Open Add. Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<c-input disabled v-model="model.gidgrp.cbs.opc2.amt" placeholder="请输入Balance"></c-input>
</c-col>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Covered" prop="gidgrp.blk.addamtcovc">
<c-input type="textarea" :rows="4" v-model="model.gidgrp.blk.addamtcovc" maxlength="65" show-word-limit placeholder="请输入Covered" ></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
<!-- SF000004 : Additional Amount -->
<c-col :span="12">
<!-- <c-col :span="12">
<c-form-item :label="$t('aacp.SF000004')" prop="gidgrp.cbs.mac2.cur">
<c-input v-model="model.gidgrp.cbs.mac2.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('aacp.SF000004')"></c-input>
</c-form-item>
......@@ -12,10 +46,10 @@
<c-form-item label="Balance" prop="gidgrp.cbs.mac2.amt">
<c-input v-model="model.gidgrp.cbs.mac2.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
</c-form-item>
</c-col>
</c-col> -->
<!-- SF000008 : Open Add. Amount -->
<c-col :span="12">
<!-- <c-col :span="12">
<c-form-item :label="$t('aacp.SF000008')" prop="gidgrp.cbs.opc2.cur">
<c-input v-model="model.gidgrp.cbs.opc2.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('aacp.SF000008')"></c-input>
</c-form-item>
......@@ -25,14 +59,14 @@
<c-form-item label="Balance" prop="gidgrp.cbs.opc2.amt">
<c-input v-model="model.gidgrp.cbs.opc2.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
</c-form-item>
</c-col>
</c-col> -->
<!-- SF000009 : Covered -->
<c-col :span="12">
<!-- <c-col :span="12">
<c-form-item :label="$t('aacp.SF000009')" prop="gidgrp.blk.addamtcovc">
<c-input type="textarea" v-model="model.gidgrp.blk.addamtcovc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('aacp.SF000009')" ></c-input>
</c-form-item>
</c-col>
</c-col> -->
</div>
</template>
<script>
......
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="24">
<c-col :span="16">
<c-col :span="24">
<el-form-item v-if="model.gitp.gidtxtmodflg == ''" label="Guarantee Text with Variables" prop="gidgrp.blk.gidtxt">
<i-stream-input :disabled="model.gitp.gidtxtmodflg == ''" type="textarea" rows="15" :model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></i-stream-input>
</el-form-item>
<el-form-item v-if="model.gitp.gidtxtmodflg == 'X'" label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt">
<i-stream-input type="textarea" :model="model.gidgrp.blk.gtxgidtxt" rows="15" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></i-stream-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="24">
<c-checkbox v-model="model.gitp.gidtxtmodflg" style="margin:0 0 0 10px">Modify Guarantee Text</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.gitp.chkgidtxt" style="margin:0 0 0 10px">Allow *</c-checkbox>
</c-col>
<c-col :span="24">
<c-button :disabled="model.gitp.gidtxtmodflg == ''" size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdif">
vs. &System
</c-button>
</c-col>
<c-col :span="24">
<c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifhis">
vs. &History
</c-button>
</c-col>
<template v-if="model.gitp.gidtxtmodflg=='X'">
<c-col :span="24">
<c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpShwgidtxt">
Show&Text
</c-button>
</c-col>
</template>
<c-col :span="24">
<c-input
style="margin:5px 0 0 10px;width:50%"
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
></c-input>
</c-col>
<c-col :span="24">
<c-button
disabled
style="margin:5px 0 0 10px"
size="small"
type="primary"
@click="onGitpButgetref"
>
获取
</c-button>
</c-col>
<c-col :span="24">
<c-button :disabled="model.gitp.gidtxtmodflg == ''" size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpGidtxtmod">
修改中文保函文本
</c-button>
</c-col>
</c-col>
</c-col>
</c-row>
<!-- SF000350 : Text of Undertaking -->
<!--
<c-col :span="12">
<c-checkbox v-model="model.gitp.gidtxtmodflg">{{$t('gitp.CF000347')}}</c-checkbox>
</c-col>
......@@ -44,7 +111,7 @@
<c-button size="small" type="primary" @click="onGitpGidtxtmod">
{{$t('gitp.CG000442')}}
</c-button>
</c-col>
</c-col> -->
</div>
</template>
<script>
......@@ -52,8 +119,10 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getopn/Event"
import IStreamInput from '~/components/IStreamInput'
export default {
components: {IStreamInput},
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
......
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="24">
<c-col :span="16">
<c-col :span="24">
<el-form-item v-if="model.gitp.gidtxtmodflgc == ''" label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt">
<i-stream-input :disabled="model.gitp.gidtxtmodflgc == ''" type="textarea" rows="15" :model="model.gidgrp.blk.gtxgidtxtc" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></i-stream-input>
</el-form-item>
<el-form-item v-if="model.gitp.gidtxtmodflgc == 'X'" label="Guarantee Text with Variables - Counter Undertaking" prop="gidgrp.blk.gtxgidtxtc">
<i-stream-input type="textarea" :modle="model.gidgrp.blk.gtxgidtxtc" rows="15" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables - Counter Undertaking" ></i-stream-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="24">
<c-input
style="margin:5px 0 0 10px;width:50%"
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
></c-input>
</c-col>
<c-col :span="24">
<c-button
style="margin:5px 0 0 10px"
size="small"
type="primary"
@click="onGitpButgetref"
>
获取
</c-button>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.gitp.gidtxtmodflgc" style="margin:0 0 0 10px">Modify Guarantee Text</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.gitp.chkgidtxtc" style="margin:0 0 0 10px">Allow *</c-checkbox>
</c-col>
<c-col :span="24">
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifc">
vs. &System
</c-button>
</c-col>
<c-col :span="24">
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifhisc">
vs. &History
</c-button>
</c-col>
<template v-if="model.gitp.gidtxtmodflgc=='X'">
<c-col :span="24">
<c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpShwgidtxtc">
Show&Text
</c-button>
</c-col>
</template>
<c-col :span="24">
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpGidtxtmodc">
修改中文保函文本
</c-button>
</c-col>
</c-col>
</c-col>
</c-row>
<!-- SF000792 : Undertaking Text -->
<c-col :span="12">
<!-- <c-col :span="12">
<c-form-item label="Guarantee Text local undertaking" prop="gidgrp.blk.gidtxtc">
<c-input type="textarea" v-model="model.gidgrp.blk.gidtxtc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Guarantee Text local undertaking'" ></c-input>
</c-form-item>
......@@ -50,7 +118,7 @@
<c-button size="small" type="primary" @click="onGitpGidtxtmodc">
{{$t('gitp.CG001303')}}
</c-button>
</c-col>
</c-col> -->
</div>
</template>
<script>
......@@ -58,8 +126,10 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getopn/Event"
import IStreamInput from '~/components/IStreamInput'
export default {
components: {IStreamInput},
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
......
......@@ -166,7 +166,7 @@
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin==''" label="Outgoing Purpose" prop="gidgrp.rec.purpos">
<c-select v-model="model.gidgrp.rec.purpos" style="width:100%" placeholder="请选择Outgoing Purpose">
<el-option
v-for="item in codes.purpos1"
v-for="item in codes.purpos4"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -267,7 +267,7 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin=='ISSU'&&model.gidgrp.rec.purpos==''" label="Handling Type" prop="gidgrp.rec.hndtyp">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin=='ISSU'&&model.gidgrp.rec.purpos=='ISSU'" label="Handling Type" prop="gidgrp.rec.hndtyp">
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
......@@ -433,7 +433,7 @@
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Form of Undertaking" prop="gidgrp.rec.legfrm">
<c-select v-model="model.gidgrp.rec.legfrm" style="width:100%" placeholder="请选择Form of Undertaking">
<el-option
v-for="item in legfrm"
v-for="item in codes.legfrm"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -762,7 +762,7 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="4" class="centerLable">
<c-col :span="4" v-if="model.gidgrp.cbs.max.cur=='CNY'&&model.gitp.swiftflg!='Y'" class="centerLable">
<c-checkbox v-model="model.gidgrp.rec.teskeyunc">
Test Key Unconfirmity
</c-checkbox>
......@@ -970,7 +970,7 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="4" v-if="model.gidgrp.cbs.max.cur=='CNY'" class="centerLable">
<c-col :span="4" v-if="model.gidgrp.cbs.max.cur=='CNY'&&model.gitp.swiftflg!='Y'" class="centerLable">
<c-checkbox label="跨境人民币保函" v-model="model.gidgrp.rec.cmtflg"
>跨境人民币保函</c-checkbox
>
......@@ -1097,8 +1097,10 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getopn/Event"
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
......@@ -1107,6 +1109,12 @@ export default {
}
},
computed: {
flag() {
return this.model.gidgrp.apl.pts.extkey == "";
},
},
methods:{...Event},
created:function(){
......
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="24">
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Delivery of Undertak." prop="gidgrp.rec.deloric">
<c-fullbox>
<c-select v-model="model.gidgrp.rec.deloric" style="width:100%" placeholder="请选择Delivery of Undertak.">
<el-option
v-for="item in codes.deloric"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer" >
<c-input :disabled="model.gidgrp.rec.deloric!='OTHR'&&model.gidgrp.rec.deloric!='COUR'" v-model="model.gidgrp.rec.deloritxtc" maxlength="35" placeholder="请输入Delivery of Undertak."></c-input>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Deli. To/Collection By" prop="gidgrp.rec.deltoc">
<c-select v-model="model.gidgrp.rec.deltoc" style="width:100%" placeholder="请选择Deli. To/Collection By">
<el-option
v-for="item in codes.deltoc"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Delivery to Address" prop="gidgrp.blk.deltoadrc">
<c-input :disabled="model.gidgrp.rec.deltoc=='BENE'" type="textarea" rows="4" v-model="model.gidgrp.blk.deltoadrc" maxlength="35" show-word-limit placeholder="请输入Delivery to Address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Presentation Instr. " prop="gidgrp.blk.preperc">
<c-input :disabled="model.gitp.prepercmodflg==''" rows="6" type="textarea" v-model="model.gidgrp.blk.preperc" maxlength="65" show-word-limit placeholder="请输入Presentation Instr. " ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.gitp.prepercmodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox>
<c-checkbox v-model="model.gitp.chkpreperc" style="margin:0 0 0 10px">Allow *</c-checkbox>
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:98px" @click="onGitpButdifpreperc">
vs. &System
</c-button>
<c-button disabled size="small" style="margin:5px 0 0 10px;width:98px" type="primary" @click="onGitpButdifhispreperc">
vs. &History
</c-button>
</c-col>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxtc">
<c-input rows="4" type="textarea" v-model="model.gidgrp.blk.feetxtc" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button style="margin:5px 0 0 10px" size="small" type="primary" icon="el-icon-search" @click="onChargicButtxmsel">
...
</c-button>
<c-checkbox style="margin:0 0 0 10px" v-model="model.gitp.chargic.chkast">Allow *</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcondc">
<c-input disabled rows="5" type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
<!-- SF000875 : Delivery of Undertak. -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SF000875')" prop="gidgrp.rec.deloric">
<c-select v-model="model.gidgrp.rec.deloric" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000875')">
</c-select>
......@@ -13,10 +95,10 @@
<c-form-item :label="$t('gitp.SF000875')" prop="gidgrp.rec.deloritxtc">
<c-input v-model="model.gidgrp.rec.deloritxtc" maxlength="35" :placeholder="$t('other.please_enter')+$t('gitp.SF000875')"></c-input>
</c-form-item>
</c-col>
</c-col> -->
<!-- SF000872 : Charges -->
<c-col :span="12">
<!-- <c-col :span="12">
<c-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxtc">
<c-input type="textarea" v-model="model.gidgrp.blk.feetxtc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Additional Details to Code for Charges'" ></c-input>
</c-form-item>
......@@ -26,18 +108,18 @@
<c-button size="small" type="primary" icon="el-icon-search" @click="onChargicButtxmsel">
{{$t('gitp.CF000878')}}
</c-button>
</c-col>
</c-col> -->
<!-- SF000878 : Deli. To/Collection By -->
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item :label="$t('gitp.SF000878')" prop="gidgrp.rec.deltoc">
<c-select v-model="model.gidgrp.rec.deltoc" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitp.SF000878')">
</c-select>
</el-form-item>
</c-col>
</c-col> -->
<!-- SF000879 : Delivery to Address -->
<c-col :span="12">
<!-- <c-col :span="12">
<c-form-item :label="$t('gitp.SF000879')" prop="gidgrp.blk.deltoadrc">
<c-input type="textarea" v-model="model.gidgrp.blk.deltoadrc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000879')" ></c-input>
</c-form-item>
......@@ -45,10 +127,10 @@
<c-col :span="12">
<c-checkbox v-model="model.gitp.chargic.chkast">{{$t('gitp.CF000879')}}</c-checkbox>
</c-col>
</c-col> -->
<!-- SF000877 : Presentation Instr. -->
<c-col :span="12">
<!-- <c-col :span="12">
<c-form-item :label="$t('gitp.SF000877')" prop="gidgrp.blk.preperc">
<c-input type="textarea" v-model="model.gidgrp.blk.preperc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000877')" ></c-input>
</c-form-item>
......@@ -82,14 +164,14 @@
<c-col :span="12">
<c-checkbox v-model="model.gidgrp.rec.transferc">{{$t('gitp.CF000877')}}</c-checkbox>
</c-col>
</c-col> -->
<!-- SF000880 : Transfer Conditions -->
<c-col :span="12">
<!-- <c-col :span="12">
<c-form-item :label="$t('gitp.SF000880')" prop="gidgrp.blk.trfcondc">
<c-input type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('gitp.SF000880')" ></c-input>
</c-form-item>
</c-col>
</c-col> -->
</div>
</template>
<script>
......
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