Commit 4e3c54c0 by wangyanjiao

bdtdck,bdtdcr,bdteus交易处理

parent 3b285464
......@@ -6248,7 +6248,7 @@ const CodeTable = {
{ label: "有特殊规定,条件为:", value: "有特殊规定,条件为:" }
],
swttlx: [
{ label: "需要加押的SWIFT报文(MT999)", value: "M" },
{ label: "需要加押的SWIFT报文(MT999)", value: "M" },
{ label: "需要加押的TELEX报文", value: "T" },
// {label:"正常",value:"N"}
],
......
......@@ -19,7 +19,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"didgrp.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位" }
],
......@@ -41,7 +41,7 @@ export default {
],
"bddgrp.cbs.max.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位" }
],
......@@ -54,7 +54,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"bddgrp.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位" }
],
......@@ -77,8 +77,7 @@ export default {
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
......@@ -98,7 +97,7 @@ export default {
"bddgrp.cbs.max.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位" }
],
......@@ -115,7 +114,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bddgrp.prb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"trnmod.swiadd.oriinstgagt":[
......@@ -124,7 +123,7 @@ export default {
],
"bddgrp.prb.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.rec.predat":[
......@@ -154,22 +153,25 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mhtyp":[
{type:"string ", required:true,message:"请选择交易类别"}
],
"tzdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "date", required: true, message: "输入正确的日期"}
],
"oldbddgrp.cbs.max.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位" }
],
"bdtp.oth.namelc":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bdtp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bdtp.oth.dbfadrblkcn":[
......@@ -182,7 +184,7 @@ export default {
],
"oldbddgrp.cbs.max2.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位" }
],
......@@ -191,21 +193,21 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bddgrp.skh.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"didgrp.rec.aplref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"didgrp.rec.utlnbr":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"days":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
// "didgrp.rec.utlnbr":[
// {type: "string", required: false, message: "必输项"},
// {max: 3,message:"长度不能超过3"}
// ],
// "days":[
// {type: "string", required: false, message: "必输项"},
// {max: 2,message:"长度不能超过2"}
// ],
......@@ -287,13 +289,13 @@ export default {
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
......@@ -356,7 +358,7 @@ export default {
],
"liaall.limmod.comamt":[
{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位" }
],
......@@ -369,7 +371,7 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.ccvamt":[
{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位" }
],
......
......@@ -5,6 +5,19 @@ import Pub from "../Public"
export default class Bdtdck{
constructor () {
this.data = {
// private String brtapll2blk= NULLSTR;
// //XMLPanel brtapll1的内置block
// private String brtapll1blk= NULLSTR;
// //XMLPanel brtrogl1的内置block
// private String brtrogl1blk= NULLSTR;
// //XMLPanel brtapll3的内置block
// private String brtapll3blk= NULLSTR;
// //XMLPanel brtrogl2的内置block
// private String brtrogl2blk= NULLSTR;
brtapll2blk:"", //XMLPanel brtapll1的内置block
brtapll1blk:"", //XMLPanel brtrogl1的内置block
brtrogl1blk:"", //XMLPanel brtapll3的内置block
brtrogl2blk:"", //XMLPanel brtrogl2的内置block
oridoclab:"", // Label original .oridoclab
oriaddlab:"", // Label original .oriaddlab
bddgrp:{
......@@ -122,66 +135,8 @@ export default class Bdtdck{
mhtyp:"", // 交易类别 .mhtyp
days:"", // 此信用证下的到单次数 .days
tzdat:"", // 通知日期 .tzdat
trnmod:{
swiadd:{
orimsgid:"", // 原报文标识号 .trnmod.swiadd.orimsgid
oriinstgagt:"", // 原发起直接参与机构 .trnmod.swiadd.oriinstgagt
orimsgtyp:"", // 原报文类型 .trnmod.swiadd.orimsgtyp
},
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
},
},
liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
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
},
},
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
// setmod:{
// docamttyplab:"", // settled amount description as label .setmod.docamttyplab
// retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
......
......@@ -19,7 +19,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"didgrp.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位" }
],
......@@ -41,7 +41,7 @@ export default {
],
"bddgrp.cbs.max.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位" }
],
......@@ -54,7 +54,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"bddgrp.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位" }
],
......@@ -116,13 +116,13 @@ export default {
],
"bddgrp.prb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bddgrp.prb.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rejtype":[
......@@ -151,11 +151,11 @@ export default {
],
"bdtp.oth.namelc":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bdtp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bdtp.oth.dbfadrblkcn":[
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Bdtdcr {
constructor() {
this.data = {
brtissl1blk: "",
brtbenl1blk: "",
brtbenl2blk: "",
brtbenl3blk: "",
brtbenl4blk: "",
bddgrp: {
rec: {
advdocflg:"",
docflg: "", // 单据类型 .bddgrp.rec.docflg
rcvdat: "", // 到单日期 .bddgrp.rec.rcvdat
predat: "", // 到单日期 .bddgrp.rec.predat
......@@ -35,6 +42,7 @@ export default class Bdtdcr {
blnum: "", // B/L Number .bddgrp.rec.blnum
totcur: "", // Total Amount Claimed .bddgrp.rec.totcur
totamt: "", // Total Amount to be Paid .bddgrp.rec.totamt
},
cbs: {
max: {
......@@ -161,93 +169,16 @@ export default class Bdtdcr {
},
docgrdm: {
docdsclab: "", // Label of document description .bdtp.docgrdm.docdsclab
docgrdp:"",
},
},
rejtype: "", // 退单方式 .rejtype
swtdat: "", // SWIFT发送时间 .swtdat
advbwdflg: "", // 是否发送213拒付报文 .advbwdflg
expmno: "", // 快递单号 .expmno
liaall: {
misamt: "", // Amount not yet assigned .liaall.misamt
concur: "", // External Booking Amount .liaall.concur
outpct: "", // Sight Amount Percentage .liaall.outpct
outamt: "", // Sight Amount .liaall.outamt
exttotoldamt: "", // Old Amount booked externally .liaall.exttotoldamt
exttotamt: "", // Total booking amount external assinged .liaall.exttotamt
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
},
},
setmod: {
docamt: "", // document amount .setmod.docamt
doccur: "", // document currency .setmod.doccur
docamttyplab: "", // settled amount description as label .setmod.docamttyplab
retmsg: "", // Label showing Retry overflow condition .setmod.retmsg
ref: "", // our reference .setmod.ref
dspflg: "", // Type of settlement .setmod.dspflg
xreflg: "", // Recalculate Rates .setmod.xreflg
setglg: {
labdspflg: "", // Label for Type of Settlement .setmod.setglg.labdspflg
setgll: []
},
zmqacclab: "", // 主�'�号LABEL .setmod.zmqacclab
zmqacc: "", // 自�'�区主�'�号 .setmod.zmqacc
setfog: {
setfol: []
},
setfeg: {
setfel: []
},
glemod: {
gleshwstm: "", // Booking stream to Display .setmod.glemod.gleshwstm
},
},
trnmod: {
trndoc: {
advlabel: "", // ADVLABEL .trnmod.trndoc.advlabel
amdnam: "", // AMDNAM .trnmod.trndoc.amdnam
advdoc: "", // 国内证通知书 .trnmod.trndoc.advdoc
advnam: "", // 国内证落款 .trnmod.trndoc.advnam
amdapl: "", // 修改申请人名称 .trnmod.trndoc.amdapl
doceot: [],
},
},
liaall: new Pub().data.Liaall,
trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod,
pageId: "" // ctx的key
}
}
......
......@@ -19,7 +19,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"didgrp.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位" }
],
......@@ -41,7 +41,7 @@ export default {
],
"bddgrp.cbs.max.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位" }
],
......@@ -54,7 +54,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"bddgrp.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位" }
],
......@@ -77,8 +77,7 @@ export default {
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{type: "number", required: false, message: "必输项"}
],
"bddgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
......@@ -95,8 +94,8 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"strinf":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
{type: "string", required: false, message: "必输项"},
{max: 1750,message:"长度不能超过50"}
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
......
......@@ -5,6 +5,12 @@ import Pub from "../Public"
export default class Bdteus{
constructor () {
this.data = {
// //XMLPanel brtapll1的内置block
// private String brtapll1blk= NULLSTR;
// //XMLPanel brtprbl1的内置block
// private String brtprbl1blk= NULLSTR;
brtprbl1blk:"", //XMLPanel brtprbl1的内置block
brtapll1blk:"",//XMLPanel brtapll1的内置block
strinf:"", // 说明 .strinf
bddgrp:{
rec:{
......@@ -66,52 +72,53 @@ export default class Bdteus{
mattxtlab:"", // Label for MATTXT .bdtp.matp.mattxtlab
},
},
liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
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,
// liaall:{
// misamt:"", // Amount not yet assigned .liaall.misamt
// concur:"", // External Booking Amount .liaall.concur
// outpct:"", // Sight Amount Percentage .liaall.outpct
// outamt:"", // Sight Amount .liaall.outamt
// exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
// exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
// 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
// },
// },
// setmod:{
// docamttyplab:"", // settled amount description as label .setmod.docamttyplab
// retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
......@@ -174,15 +181,7 @@ export default class Bdteus{
},
},
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
},
},
trnmod: new Pub().data.Trnmod,
pageId: "" // ctx的key
}
}
......
......@@ -31,7 +31,7 @@ export default {
],
"bodgrp.cbs.max.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位" }
],
......@@ -55,7 +55,7 @@ export default {
],
"bodgrp.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位" }
],
......@@ -119,8 +119,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bodgrp.rec.matpercnt":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{type: "number", required: false, message: "必输项"}
],
"bodgrp.rec.paydocnum":[
{type: "string", required: false, message: "必输项"},
......
......@@ -547,7 +547,7 @@ export default {
],
"liaall.limmod.comamt":[
{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位" }
],
......@@ -560,7 +560,7 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -18,6 +18,7 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<c-button
style="margin:0 10px 0 0;padding: 0 10px;"
......@@ -41,7 +42,8 @@
</el-form-item>
</c-col>
<c-col :span="23">
<!-- <c-col :span="23">
<el-form-item
label="信用证号码"
prop="didgrp.rec.ownref"
......@@ -55,8 +57,8 @@
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
</c-col> -->
<!-- <c-col :span="1">
<c-button
style="margin:0 10px 0 0;padding: 0 10px;"
size="small"
......@@ -64,7 +66,7 @@
icon="el-icon-search"
@click="onSeainf"
></c-button>
</c-col>
</c-col> -->
<c-col :span="23">
<el-form-item
......@@ -97,6 +99,7 @@
v-model="model.bddgrp.cbs.max.cur"
placeholder="币种"
style="width: 95%"
disabled
>
</c-select>
</el-form-item>
......@@ -107,6 +110,7 @@
v-model="model.bddgrp.cbs.max.amt"
maxlength="3"
placeholder="请输入单据金额"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -114,9 +118,10 @@
<c-col :span="11">
<el-form-item label="单据余额" prop="bddgrp.cbs.opn1.cur">
<c-select
v-model="model.bddgrp.cbs.max.cur"
v-model="model.bddgrp.cbs.opn1.cur"
placeholder="币种"
style="width: 95%"
disabled
>
</c-select>
</el-form-item>
......@@ -124,9 +129,10 @@
<c-col :span="13">
<el-form-item label-width="0" prop="bddgrp.cbs.opn1.amt">
<c-input
v-model="model.bddgrp.cbs.max.amt"
v-model="model.bddgrp.cbs.opn1.amt"
maxlength="3"
placeholder="请输入单据余额"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -138,6 +144,7 @@
v-model="model.bddgrp.rec.rcvdat"
style="width: 100%"
placeholder="请选择到单日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
......@@ -149,6 +156,7 @@
v-model="model.bddgrp.rec.stadat"
style="width: 100%"
placeholder="请选择Start Date"
disabled
></c-date-picker>
</el-form-item>
</c-col>
......@@ -165,6 +173,7 @@
v-model="model.bddgrp.rec.matdat"
style="width: 100%"
placeholder="单据到期日"
disabled
></c-date-picker>
</el-form-item>
</c-col>
......@@ -176,6 +185,7 @@
v-model="model.bddgrp.rec.tenmaxday"
style="width: 100%"
placeholder="远期期限"
disabled
></c-date-picker>
</el-form-item>
</c-col>
......@@ -185,7 +195,10 @@
<c-select
v-model="model.bddgrp.rec.docflg"
style="width:100%"
placeholder="请选择单据类型">
placeholder="请选择单据类型"
:code="codes.brdtyp"
disabled
>
</c-select>
</el-form-item>
</c-col>
......@@ -193,9 +206,12 @@
<c-col :span="24">
<el-form-item label="单据状态" prop="bddgrp.rec.docsta">
<c-select
v-model="model.bddgrp.rec.docflg"
v-model="model.bddgrp.rec.docsta"
style="width:100%"
placeholder="请选择单据状态">
placeholder="请选择单据状态"
:code="codes.docsta"
disabled>
</c-select>
</el-form-item>
</c-col>
......@@ -205,7 +221,10 @@
<c-select
v-model="model.bddgrp.rec.docflg"
style="width:100%"
placeholder="请选择单据类型">
placeholder="请选择单据类型"
:code="codes.brdtyp"
disabled>
</c-select>
</el-form-item>
</c-col>
......@@ -217,6 +236,7 @@
v-model="model.bddgrp.cbs.max.cur"
placeholder="币种"
style="width: 95%"
disabled
>
</c-select>
</el-form-item>
......@@ -236,7 +256,8 @@
<c-input
v-model="model.trnmod.swiadd.orimsgid"
maxlength="35"
placeholder="请输入原报文标识号">
placeholder="请输入原报文标识号"
disabled>
</c-input>
</el-form-item>
</c-col>
......@@ -246,7 +267,8 @@
<c-input
v-model="model.trnmod.swiadd.oriinstgagt"
maxlength="20"
placeholder="请输入原发起直接参与机构"></c-input>
placeholder="请输入原发起直接参与机构"
disabled></c-input>
</el-form-item>
</c-col>
......@@ -255,7 +277,8 @@
<c-select
v-model="model.trnmod.swiadd.orimsgtyp"
style="width:100%"
placeholder="请选择原报文类型">
placeholder="请选择原报文类型"
disabled>
</c-select>
</el-form-item>
</c-col>
......@@ -289,13 +312,12 @@
<c-date-picker type="date"
v-model="model.bddgrp.rec.matdat"
style="width:100%"
placeholder="请选择单据到期日"></c-date-picker>
placeholder="请选择单据到期日"
disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bdtp.zcday" data-path=".bdtp.zcday" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="最迟货物装运日" prop="bddgrp.rec.shpdat">
......@@ -314,7 +336,7 @@
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="通知日期" prop="tzdat">
<c-date-picker type="date"
v-model="model.tzdat" style="width:100%"
......@@ -323,24 +345,24 @@
</el-form-item>
</c-col>
<c-col :span="12">
<!-- 未知balance -->
<!-- <c-col :span="12">
<el-form-item label="Balance" prop="oldbddgrp.cbs.max.amt">
<c-input v-model="model.oldbddgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="收款行行号" prop="bddgrp.skh.pts.bankno">
<c-input v-model="model.bddgrp.skh.pts.bankno" maxlength="20" placeholder="请输入收款行行号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<!-- 未知balance -->
<!-- <c-col :span="12">
<el-form-item label="Balance" prop="oldbddgrp.cbs.max2.amt">
<c-input v-model="model.oldbddgrp.cbs.max2.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="24">
<el-form-item label="联行名称 电证用" prop="bddgrp.skh.pts.jigomc">
......@@ -357,7 +379,8 @@
<c-col :span="12">
<el-form-item label="文档数" prop="didgrp.rec.utlnbr">
<c-input v-model="model.didgrp.rec.utlnbr" placeholder="请输入Count of Received Document Sets"></c-input>
<c-input v-model="model.didgrp.rec.utlnbr" placeholder="请输入Count of Received Document Sets"
disabled></c-input>
</el-form-item>
</c-col>
......@@ -367,9 +390,9 @@
</el-form-item>
</c-col>
<c-col :span="24" :offset="8">
<!-- <c-col :span="24" :offset="8">
<c-checkbox v-model="model.bdtp.setnowflg">Register to Send and Settle Document</c-checkbox>
</c-col>
</c-col> -->
</c-col>
......@@ -409,7 +432,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<c-ptap
:model="model"
:argadr="{
......@@ -423,9 +446,33 @@
@onAplpDet="onAplpDet"
>
</c-ptap>
</c-col> -->
<!-- 申请人编号及名称,绑定model.bddgrp.apl.pts.ref&model.bddgrp.apl.pts.nam-->
<c-col :span="24">
<el-form-item label="申请人编号" prop="bddgrp.apl.pts.ref">
<c-input
v-model="model.bddgrp.apl.pts.ref"
maxlength="16"
disabled
placeholder="请输入申请人编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人名称" prop="bddgrp.apl.pts.nam">
<c-input
v-model="model.bddgrp.apl.pts.nam"
maxlength="40"
disabled
placeholder="申请人名称"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<c-ptap
:model="model"
:argadr="{
......@@ -439,15 +486,57 @@
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col> -->
<!-- 受益人编号及名称,绑定model.bddgrp.ben.pts.nam&model.bddgrp.prb.pts.ref -->
<c-col :span="24">
<el-form-item label="受益人编号" prop="bddgrp.ben.pts.ref">
<c-input
v-model="model.bddgrp.ben.pts.ref"
maxlength="16"
disabled
placeholder="请输入受益人编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人名称" prop="bddgrp.ben.pts.nam">
<c-input
v-model="model.bddgrp.ben.pts.nam"
maxlength="40"
disabled
placeholder="受益人名称"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<c-ptap :model="model" :argadr="{
title: '交单行',
grp: 'bddgrp',
rol: 'prb',
}" :noRef="true" :onlySearch="false">
</c-ptap>
</c-col> -->
<c-col :span="24">
<el-form-item label="交易行编号" prop="bddgrp.prb.pts.ref">
<c-input
v-model="model.bddgrp.prb.pts.ref"
maxlength="40"
placeholder="请输入交易行编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易行名称" prop="bddgrp.prb.pts.nam">
<c-input
v-model="model.bddgrp.prb.pts.nam"
maxlength="40"
placeholder="请输入交易行名称"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -456,12 +545,13 @@
v-model="model.bddgrp.rec.docprbrol"
placeholder="请输入受益人账号"
style="width: 100%"
:code="codes.docprbrol"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<el-form-item
label="交单行 联行行号"
prop="bddgrp.prb.pts.bankno"
......@@ -496,15 +586,50 @@
maxlength="35"
show-word-limit placeholder="请输入地址 电证用" ></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="24">
<c-ptsadr :model="model" :argadr="{
title: '交单行',
rol: 'bddgrp.prb.pts.rol',
url: 'bddgrp.prb.pts',
}"
:isShowRol="false">
</c-ptsadr>
</c-col> -->
<c-col>
<el-form-item label="BIC" prop="bddgrp.prb.pts.extkey">
<c-input
v-model="model.bddgrp.prb.pts.extkey"
maxlength="40"
placeholder="请输入BIC"
></c-input>
</el-form-item>
</c-col>
<c-ptapdome
:model="model"
:disabledJigomc="true"
:argadr="{
title: '交易行',
rol: 'prb',
grp: 'bddgrp'
}">
</c-ptapdome>
<c-col :span="24">
<el-form-item label="付款人" prop="bddgrp.rec.payrol">
<c-select
v-model="model.bddgrp.rec.payrol"
style="width:100%"
placeholder="请选择Payer">
placeholder="请选择Payer"
disabled
:code="codes.payrol"
>
</c-select>
</el-form-item>
</c-col>
......@@ -515,7 +640,8 @@
v-model="model.bdtp.oth.pts.extkey"
maxlength="16"
style="width: 95%"
placeholder="请输入External Key of Address"></c-input>
placeholder="请输入External Key of Address"
disabled></c-input>
</el-form-item>
</c-col>
......@@ -569,41 +695,43 @@
</el-form-item>
</c-col>
-->
<c-col :span="24">
<el-form-item
label="名称地址"
:prop="`bdtp.oth.pts.adrblk`"
>
prop="bdtp.oth.namelc"
:label="`付款人名称`"
:prop="`bdtp.oth.namelc`">
<c-input
type="textarea"
:rows="4"
v-model="model.bdtp.oth.pts.adrblk"
v-model="model.bdtp.oth.namelc"
:placeholder="'请输入付款人名称'"
:rows="2"
maxlength="35"
show-word-limit
placeholder="请输入名称地址"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
bdtp.oth.namelc
:label="`付款人名称`"
:prop="`bdtp.oth.namelc`"
label="付款人地址"
:prop="`bdtp.oth.pts.adrblk`"
>
<c-input
type="textarea"
v-model="model.bdtp.oth.namelc"
:placeholder="'请输入付款人名称'"
:rows="2"
:rows="4"
v-model="model.bdtp.oth.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入付款人地址"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@-->
......@@ -1004,10 +1132,12 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bdtdck/Event"
import Ptap from "~/views/Public/Ptap";
import PtapDome from "~/views/Public/PtapDome";
export default {
components: {
"c-ptap": Ptap ,
"c-ptapdome": PtapDome,
},
inject: ['root'],
props:["model","codes"],
......
......@@ -13,8 +13,9 @@
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
<!-- <c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select> -->
<c-input v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level"></c-input>
</el-form-item>
</c-col>
......
<template>
<c-row>
<!-- 左边 -->
......@@ -53,8 +54,72 @@
</el-form-item>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<span v-text="model.bdtp.docgrdm.docdsclab" data-path=".bdtp.docgrdm.docdsclab" > </span>
</c-col> -->
<c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.bdtp.docgrdm.docdsclab" class="messageLabel">
<c-button style="float: right" @click="addTableValue" type="primary"
>新增单据</c-button
>
</el-form-item>
</c-col>
<c-col :span="24" style="margin-bottom: 30px;">
<c-table
height="200px"
style="text-align: center"
:list="this.model.bdtp.docgrdm.docgrd || []"
:paginationShow="false"
:border="true"
>
<el-table-column
label="1st"
width="auto"
>
<template slot-scope="scope">
<c-input
v-model="scope.row.cmail1"
></c-input>
</template>
</el-table-column>
<el-table-column
label="2st"
width="auto"
>
<template slot-scope="scope">
<c-input
v-model="scope.row.cmail2"
></c-input>
</template>
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<!-- {{scope.row.docnam}} -->
<c-select
style="width: 100%"
placeholder="请选择"
v-model="scope.row.docnam"
>
<el-option
v-for="item in codeTable"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="操作" width="170px" fixed="right">
<template slot-scope="scope">
<c-button @click="deleteTable(scope.row)" type="primary"
>删除</c-button
>
</template>
</el-table-column>
</c-table>
</c-col>
</c-col>
......@@ -206,15 +271,63 @@ export default {
mixins: [commonProcess],
data(){
return {
TableValue: [
{
id: 0,
cmail1: "1",
cmail2: "2",
docnam: "1",
},
],
newValue: {
id: 0,
cmail1: "",
cmail2: "",
docnam: "",
},
codeTable: [
{ label: "增值税发票", value: "1" },
{ label: "发票", value: "2" },
{ label: "装箱单", value: "3" },
{ label: "空运单", value: "4" },
{ label: "海运提单", value: "5" },
{ label: "铁路运单", value: "6" },
{ label: "货物收据", value: "7" },
{ label: "邮政收据", value: "8" },
],
}
},
methods:{...Event},
methods:{
...Event,
addTableValue() {
var index = this.TableValue.length;
var newTableValue = this.newValue;
if (index > 0) {
newTableValue.id = this.TableValue[index - 1].id + 1;
}
this.TableValue.push(newTableValue);
},
deleteTable(row) {
for (let i = 0; i < this.TableValue.length; i++) {
if (this.TableValue[i].id == row.id) {
this.TableValue.splice(i, 1);
break;
}
}
},
},
created:function(){
}
}
</script>
<style>
.messageLabel >>> .el-form-item__label {
text-align: left;
font-weight: bold;
font-size: 12px;
}
</style>
......@@ -99,7 +99,12 @@
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg1">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg1" style="width:100%" placeholder="请选择Flag to Mark Non-revolving Limits">
<c-select
v-model="model.liaall.limmod.limpts.nonrevflg1"
style="width:100%"
placeholder="请选择Flag to Mark Non-revolving Limits"
disabled
>
</c-select>
</el-form-item>
</c-col>
......
......@@ -133,7 +133,6 @@ export default {
changeShowDocpre(val) {
this.isShowDocpre = val;
},
tabClick() {},
},
created: async function () {
console.log("进入bdtdck交易");
......@@ -149,9 +148,10 @@ export default {
}
if (this.model.bddgrp.rec.dscinsflg == "X") {
this.isShowDocpre = true;
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
// else {
// this.$notify.error({ title: "错误", message: "服务请求失败!" });
// }
},
};
</script>
......
......@@ -28,7 +28,8 @@
placeholder="请输入单号"
></c-input>
</el-form-item>
<c-row>
<!-- <c-row>
<c-form-item label="已交单据" prop="bdtp.docgrdm.docgrd">
<c-col :span="24">
<c-istream-table
:list="model.bdtp.docgrdm.docgrd"
......@@ -36,7 +37,71 @@
>
</c-istream-table>
</c-col>
</c-row>
</c-form-item>
</c-row> -->
<c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.bdtp.docgrdm.docdsclab" class="messageLabel">
<c-button style="float: right" @click="addTableValue" type="primary"
>新增单据</c-button
>
</el-form-item>
</c-col>
<c-col :span="24" style="margin-bottom: 30px;">
<c-table
height="200px"
style="text-align: center"
:list="this.model.bdtp.docgrdm.docgrd || []"
:paginationShow="false"
:border="true"
>
<el-table-column
label="1st"
width="auto"
>
<template slot-scope="scope">
<c-input
v-model="scope.row.cmail1"
></c-input>
</template>
</el-table-column>
<el-table-column
label="2st"
width="auto"
>
<template slot-scope="scope">
<c-input
v-model="scope.row.cmail2"
></c-input>
</template>
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<!-- {{scope.row.docnam}} -->
<c-select
style="width: 100%"
placeholder="请选择"
v-model="scope.row.docnam"
>
<el-option
v-for="item in codeTable"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="操作" width="170px" fixed="right">
<template slot-scope="scope">
<c-button @click="deleteTable(scope.row)" type="primary"
>删除</c-button
>
</template>
</el-table-column>
</c-table>
</c-col>
</c-col>
<c-col :span="12">
......@@ -65,11 +130,55 @@ export default {
mixins: [commonProcess],
data() {
return {
columns: ['0 0 "lst1" 50 ', '1 1 "lst2" 50', '2 2 "document" 200'],
TableValue: [
{
id: 0,
cmail1: "1",
cmail2: "2",
docnam: "1",
},
],
newValue: {
id: 0,
cmail1: "",
cmail2: "",
docnam: "",
},
codeTable: [
{ label: "增值税发票", value: "1" },
{ label: "发票", value: "2" },
{ label: "装箱单", value: "3" },
{ label: "空运单", value: "4" },
{ label: "海运提单", value: "5" },
{ label: "铁路运单", value: "6" },
{ label: "货物收据", value: "7" },
{ label: "邮政收据", value: "8" },
],
// columns: [
// '0 0 "lst1" 155',
// '1 1 "lst2" 155',
// '2 2 "document" 452'
// ],
};
},
methods: {
...Event,
addTableValue() {
var index = this.TableValue.length;
var newTableValue = this.newValue;
if (index > 0) {
newTableValue.id = this.TableValue[index - 1].id + 1;
}
this.TableValue.push(newTableValue);
},
deleteTable(row) {
for (let i = 0; i < this.TableValue.length; i++) {
if (this.TableValue[i].id == row.id) {
this.TableValue.splice(i, 1);
break;
}
}
},
changed(e) {
if (!e) {
this.model.bddgrp.blk.docdis = "";
......@@ -85,4 +194,9 @@ export default {
margin: 10px;
font-size: 16px;
}
.messageLabel >>> .el-form-item__label {
text-align: left;
font-weight: bold;
font-size: 12px;
}
</style>
<template>
<div class="eibs-tab">
<c-row>
<!-- 顶端,从左往右 -->
<!-- <c-col :span="22" :offset="1"> -->
<c-col :span="12">
<c-row>
<c-col :span="15">
<el-form-item label="信用证参考号" prop="didgrp.rec.ownref">
<el-form-item
label="信用证参考号"
prop="didgrp.rec.ownref">
<c-input
:disabled="true"
v-model="model.didgrp.rec.ownref"
maxlength="16"
placeholder="请输入参考号"
style="width: 95%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="9" style="margin-left: -65px">
<c-col :span="9" >
<el-form-item
style="width: 120%"
label="到期日"
prop="didgrp.rec.expdat"
>
<c-date-picker
:disabled="true"
style="width: 120%"
style="width: 100%"
type="date"
v-model="model.didgrp.rec.expdat"
placeholder="请选择到期日"
......@@ -91,12 +94,11 @@
</c-col>
</c-row>
<!-- ---------------------------------------------------------------------------------------------------------------- -->
<c-row>
<c-col :span="12">
<c-row>
<c-col :span="24">
<c-col :span="24">
<c-col :span="13">
<el-form-item label="单据金额" prop="bddgrp.cbs.max.cur">
<c-select
......@@ -119,8 +121,7 @@
<el-form-item
style="text-align: left"
label-width="0"
prop="bddgrp.cbs.max.amt"
>
prop="bddgrp.cbs.max.amt">
<c-input-currency
disabled
v-model="model.bddgrp.cbs.max.amt"
......@@ -131,8 +132,6 @@
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="单据余额" prop="bddgrp.cbs.opn1.cur">
......@@ -167,16 +166,45 @@
</el-form-item>
</c-col>
</c-col>
</c-row>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="申请人编号" prop="bddgrp.apl.pts.ref">
<c-input
v-model="model.bddgrp.apl.pts.ref"
maxlength="16"
disabled
placeholder="请输入申请人编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人名称" prop="bddgrp.apl.pts.nam">
<c-input
v-model="model.bddgrp.apl.pts.nam"
maxlength="40"
disabled
placeholder="申请人名称"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<m-ptsmsg
:model="model"
:disabled="true"
:argadr="{ title: '申请人', url: 'bddgrp.apl.pts' }"
></m-ptsmsg>
</c-col>
</c-col> -->
</c-row>
<c-row>
......@@ -235,12 +263,40 @@
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="受益人编号" prop="bddgrp.ben.pts.ref">
<c-input
v-model="model.bddgrp.ben.pts.ref"
maxlength="16"
disabled
placeholder="请输入受益人编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人名称" prop="bddgrp.ben.pts.nam">
<c-input
v-model="model.bddgrp.ben.pts.nam"
maxlength="40"
disabled
placeholder="受益人名称"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<m-ptsmsg
:disabled="true"
:model="model"
:argadr="{ title: '受益人', url: 'bddgrp.ben.pts' }"
:argadr="{
title: '受益人',
rol: 'rec',
grp: 'bddgrp'
}"
></m-ptsmsg>
</c-col>
</c-col> -->
</c-row>
<c-row>
......@@ -249,18 +305,12 @@
<c-col :span="24">
<el-form-item label="单据类型" prop="bddgrp.rec.docflg">
<c-select
:disabled="true"
v-model="model.bddgrp.rec.docflg"
style="width: 100%"
style="width:100%"
placeholder="请选择单据类型"
>
<el-option
v-for="item in codes.bdd_brdtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
:code="codes.brdtyp"
disabled>
</c-select>
</el-form-item>
</c-col>
......@@ -271,6 +321,7 @@
v-model="model.bddgrp.rec.docsta"
style="width: 100%"
placeholder="请选择单据状态"
:code="codes.docsta"
>
<el-option
v-for="item in codes.bdd_docsta"
......@@ -286,39 +337,175 @@
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="交易行编号" prop="bddgrp.prb.pts.ref">
<c-input
v-model="model.bddgrp.prb.pts.ref"
maxlength="40"
placeholder="请输入交易行编号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易行名称" prop="bddgrp.prb.pts.nam">
<c-input
v-model="model.bddgrp.prb.pts.nam"
maxlength="40"
placeholder="请输入交易行名称"
disabled>
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<m-ptsmsg
:disabled="true"
:model="model"
:argadr="{ title: '交单行', url: 'bddgrp.prb.pts' }"
></m-ptsmsg>
</c-col>
</c-col> -->
</c-row>
<div class="line" />
<hr />
<c-row>
<c-col :span="12">
<c-row>
<m-ptsadr
<!-- <m-ptsadr
:model="model"
:argadr="{
title: '交单行',
url: 'bddgrp.prb.pts',
rol: 'bddgrp.rec.docprbrol',
}"
></m-ptsadr>
></m-ptsadr> -->
<c-col :span="24">
<el-form-item label="交单行" prop="bddgrp.rec.docprbrol">
<c-select
v-model="model.bddgrp.rec.docprbrol"
placeholder="请输入受益人账号"
style="width: 100%"
:code="codes.docprbrol"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col>
<el-form-item label="BIC" prop="bddgrp.prb.pts.extkey">
<c-input
v-model="model.bddgrp.prb.pts.extkey"
maxlength="40"
placeholder="请输入BIC"
></c-input>
</el-form-item>
</c-col>
<c-ptapdome
:model="model"
:disabledJigomc="true"
:argadr="{
title: '交易行',
rol: 'prb',
grp: 'bddgrp'
}">
</c-ptapdome>
</c-row>
<br />
<c-row>
<m-ptsadr
<!-- 有大问题 -->
<!-- <m-ptsadr
:model="model"
:argadr="{
title: '付款人',
url: 'bdtp.oth.pts',
rol: 'bddgrp.rec.payrol',
}"
></m-ptsadr>
></m-ptsadr> -->
<c-col :span="24">
<el-form-item label="付款人" prop="bddgrp.rec.payrol">
<c-select
v-model="model.bddgrp.rec.payrol"
style="width:100%"
placeholder="请选择Payer"
disabled
:code="codes.payrol"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="20">
<el-form-item label="External Key of Address" prop="bdtp.oth.pts.extkey">
<c-input
v-model="model.bdtp.oth.pts.extkey"
maxlength="16"
style="width: 95%"
placeholder="请输入External Key of Address"
disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<c-button
style="margin:0 10px 0 0;padding: 0 10px;"
class="searchButton"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf(`bdtp.oth.pts.extkey`)"
></c-button>
</c-col>
<c-col :span="3" style="text-align: right">
<c-button
style="margin:0 0"
class="detailsButton"
size="small"
type="primary"
>
详情
</c-button>
</c-col>
<c-col :span="24">
<el-form-item
prop="bdtp.oth.namelc"
:label="`付款人名称`"
:prop="`bdtp.oth.namelc`">
<c-input
type="textarea"
v-model="model.bdtp.oth.namelc"
:placeholder="'请输入付款人名称'"
:rows="2"
maxlength="35"
show-word-limit
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="付款人地址"
:prop="`bdtp.oth.pts.adrblk`"
>
<c-input
type="textarea"
:rows="4"
v-model="model.bdtp.oth.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入付款人地址"
disabled
></c-input>
</el-form-item>
</c-col>
</c-row>
</c-col>
......@@ -330,6 +517,8 @@
v-model="model.bddgrp.rec.orddat"
style="width: 100%"
placeholder=""
:disabled="model.advrefflg != 'X' "
></c-date-picker>
</el-form-item>
......@@ -339,6 +528,8 @@
v-model="model.swtdat"
style="width: 100%"
placeholder="请选择SWIFT发送时间"
:disabled="model.bddgrp.rec.advdocflg !='X' "
></c-date-picker>
</el-form-item>
......@@ -379,31 +570,36 @@
<c-col :span="7">
<el-form-item label="" prop="advbwdflg">
<c-checkbox style="width: 100%" v-model="model.advbwdflg"
disabled
>是否发送213拒付报文</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="" prop="advdisflg">
<c-checkbox style="width: 100%" v-model="model.advdisflg"
<c-checkbox
style="width: 100%"
v-model="advdisflg"
>收到电提不符点</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" prop="mtabut.clsflg">
<c-checkbox v-model="model.mtabut.clsflg">闭卷</c-checkbox>
<c-checkbox
v-model="clsflg"
disabled
>闭卷</c-checkbox>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="6">
<el-form-item label="" prop="">
<el-form-item label="" prop="bddgrp.rec.advdocflg">
<c-checkbox
style="width: 100%"
v-model="model.bddgrp.rec.advdocflg"
@change="changed"
v-model="advdocflg"
>退单</c-checkbox
>
</el-form-item>
......@@ -437,6 +633,7 @@
maxlength="105"
show-word-limit
placeholder="请输入拒付声明"
:disabled = "model.bddgrp.blk.disdocflg!='X'"
></c-input>
</el-form-item>
......@@ -446,6 +643,7 @@
<c-checkbox
style="width: 100%"
v-model="model.bddgrp.blk.disdocflg"
>拒付声明修改</c-checkbox
>
</el-form-item>
......@@ -474,6 +672,7 @@ import Ptsadr from "~/views/Public/Ptsadr";
import Amtpanl from "~/views/Public/Amtpanl";
//import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";
import PtapDome from "~/views/Public/PtapDome";
export default {
components: {
......@@ -481,6 +680,7 @@ export default {
"m-ptsmsg": Ptsmsg,
"m-ptsadr": Ptsadr,
"c-amtpanl": Amtpanl,
"c-ptapdome": PtapDome,
},
inject: ["root"],
props: ["model", "codes"],
......@@ -488,6 +688,43 @@ export default {
data() {
return {};
},
computed: {
//advdocflg,advdisflg互斥,但不会动态同时改变
advdocflg: {
get() {
return this.model.bddgrp.rec.advdocflg === "X";
},
set(val) {
this.model.bddgrp.rec.advdocflg = val ? "X" : "";
},
},
advdisflg: {
get(){
if(
this.model.bddgrp.rec.advdocflg==="X"){
return false;
}else {
return this.model.advdisflg === "X";
}
},
set(val){
this.model.advdisflg = val ? "X" : "";
},
},
rejpenins:{
get() {
return this.model.rejpenins === "X";
},
set(val) {
this.model.rejpenins = val ? "X" : "";
},
},
clsflg: {
get() {
return !(this.model.rejpenins === "X");
}
},
},
methods: {
...Event,
opn1CurEvent() {
......
......@@ -121,7 +121,6 @@ export default {
};
},
methods: {
tabClick() {},
},
created: async function () {
console.log("进入bdtdcr交易");
......
......@@ -97,6 +97,7 @@
v-model="model.bddgrp.cbs.max.cur"
placeholder="币种"
style="width: 95%"
disabled
>
</c-select>
</el-form-item>
......@@ -107,6 +108,7 @@
v-model="model.bddgrp.cbs.max.amt"
maxlength="3"
placeholder="请输入单据金额"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -114,9 +116,10 @@
<c-col :span="11">
<el-form-item label="单据余额" prop="bddgrp.cbs.opn1.cur">
<c-select
v-model="model.bddgrp.cbs.max.cur"
v-model="model.bddgrp.cbs.opn1.cur"
placeholder="币种"
style="width: 95%"
disabled
>
</c-select>
</el-form-item>
......@@ -124,9 +127,10 @@
<c-col :span="13">
<el-form-item label-width="0" prop="bddgrp.cbs.opn1.amt">
<c-input
v-model="model.bddgrp.cbs.max.amt"
v-model="model.bddgrp.cbs.opn1.amt"
maxlength="3"
placeholder="请输入单据余额"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -138,6 +142,7 @@
v-model="model.bddgrp.rec.rcvdat"
style="width: 100%"
placeholder="请选择到单日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
......@@ -149,6 +154,7 @@
v-model="model.bddgrp.rec.stadat"
style="width: 100%"
placeholder="请选择Start Date"
disabled
></c-date-picker>
</el-form-item>
</c-col>
......@@ -165,18 +171,20 @@
v-model="model.bddgrp.rec.matdat"
style="width: 100%"
placeholder="单据到期日"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="远期期限" prop="bddgrp.rec.tenmaxday">
<c-date-picker
type="date"
v-model="model.bddgrp.rec.tenmaxday"
<c-input
:disabled="true"
v-model.number="model.bddgrp.rec.tenmaxday"
placeholder="请输入"
style="width: 100%"
placeholder="远期期限"
></c-date-picker>
maxlength="5"
></c-input>
</el-form-item>
</c-col>
......@@ -185,7 +193,10 @@
<c-select
v-model="model.bddgrp.rec.docflg"
style="width:100%"
placeholder="请选择单据类型">
placeholder="请选择单据类型"
:code="codes.brdtyp"
disabled
>
</c-select>
</el-form-item>
</c-col>
......@@ -195,7 +206,9 @@
<c-select
v-model="model.bddgrp.rec.docflg"
style="width:100%"
placeholder="请选择单据状态">
placeholder="请选择单据状态"
:code="codes.docsta"
disabled>
</c-select>
</el-form-item>
</c-col>
......@@ -237,44 +250,75 @@
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '申请人',
grp: 'bddgrp',
rol: 'apl',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
<c-col :span="24">
<el-form-item label="申请人编号" prop="bddgrp.apl.pts.ref">
<c-input
v-model="model.bddgrp.apl.pts.ref"
maxlength="16"
disabled
placeholder="请输入申请人编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '受益人',
grp: 'bddgrp',
rol: 'ben',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
<el-form-item label="申请人名称" prop="bddgrp.apl.pts.nam">
<c-input
v-model="model.bddgrp.apl.pts.nam"
maxlength="40"
disabled
placeholder="申请人名称"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="受益人编号" prop="bddgrp.ben.pts.ref">
<c-input
v-model="model.bddgrp.ben.pts.ref"
maxlength="16"
disabled
placeholder="请输入受益人编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人名称" prop="bddgrp.ben.pts.nam">
<c-input
v-model="model.bddgrp.ben.pts.nam"
maxlength="40"
disabled
placeholder="受益人名称"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="交易行编号" prop="bddgrp.prb.pts.ref">
<c-input
v-model="model.bddgrp.prb.pts.ref"
maxlength="40"
placeholder="请输入交易行编号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: '交单行',
grp: 'bddgrp',
rol: 'prb',
}" :noRef="true" :onlySearch="false" @onAplpDet="onSndpDet">
</c-ptap>
<el-form-item label="交易行名称" prop="bddgrp.prb.pts.nam">
<c-input
v-model="model.bddgrp.prb.pts.nam"
maxlength="40"
placeholder="请输入交易行名称"
disabled>
</c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
......
......@@ -123,8 +123,6 @@ export default {
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入bdteus交易");
......
......@@ -247,7 +247,7 @@
rol: 'drr',
}"
:isAdrblk="true"
:disabled="true"
:disabled="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
......@@ -259,7 +259,7 @@
grp: 'bodgrp',
rol: 'col',
}"
:disabled="true"
:disabled="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
......@@ -271,7 +271,7 @@
grp: 'bodgrp',
rol: 'dre',
}"
:disabled="true"
:disabled="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
......
<template>
<div class="eibs-tab">
<div>
<div v-if="isShowRol">
<c-col :span="24">
<el-form-item :label="argadr.title" :prop="argadr.rol">
<c-input
......@@ -8,6 +9,8 @@
></c-input>
</el-form-item>
</c-col>
</div>
<c-col :span="24">
<el-form-item label="BIC" :prop="argadr.url + 'extkey'">
......@@ -35,6 +38,7 @@
v-model="model[argadr.url + 'jigomc']"
maxlength="35"
placeholder="请输入联行行名"
:disabled="disabled"
></c-input>
</el-form-item>
</c-col>
......@@ -59,7 +63,34 @@ import CodeTable from "~/config/CodeTable";
export default {
inject: ["root"],
mixins: [commonProcess],
props: ["model", "codes", "argadr"],
props: {
model: {
type: Object,
default: undefined,
},
codes: {},
argadr: {
type: Object,
default: function () {
return {
title: "", //角色名称
url: "", //角色
rol: "", //所属模块
};
},
},
isShowRol: {
//Rol是否显示
type: Boolean,
default: true,
},
disabled: {
//名称地址是否灰显
type: Boolean,
default: true,
},
},
data() {
return {
data: [],
......
......@@ -37,7 +37,16 @@ export default {
default: undefined,
},
codes: {},
argadr: {},
argadr: {
type: Object,
default: function () {
return {
title: "", //角色名称
rol: "", //角色
grp: "", //所属模块
};
},
},
disabled: {
//名称地址是否灰显
type: Boolean,
......
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