Commit cd8f3aae by Eivi
parents a103ab75 1ddf7dce
...@@ -4,20 +4,15 @@ import Utils from "~/utils" ...@@ -4,20 +4,15 @@ import Utils from "~/utils"
* Brtcan Check规则 * Brtcan Check规则
*/ */
let checkObj = { let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null, "liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null, "liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null, "liaall.limmod.ecifno" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.oth.pts.nam" :null, "liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null, "setmod.dspflg" :null,
"brtp0.recget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null, "liaall.limmod.limpts.wrk.pts.nam" :null,
"brtp0.lidget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null, "liaall.limmod.limpts.wrk.pts.extkey" :null,
"mtabut.coninf.conexedat" :null, "mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null, "liaall.limmod.limpts.nonrevflg1" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
} }
......
...@@ -7,30 +7,29 @@ import Utils from "~/utils/index" ...@@ -7,30 +7,29 @@ import Utils from "~/utils/index"
export default { export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction, "liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction, "setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction, "setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction, "setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction, "trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction, "trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction, "trnmod.trndoc.shwout" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction, "liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"brdgrp.ben.pts.nam" :Utils.defaultFunction, "brdgrp.ben.pts.nam" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"brdgrp.apl.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"brdgrp.prb.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction, "mtabut.coninf.conexedat" :Utils.defaultFunction,
"brdgrp.rec.ownref" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -2,31 +2,7 @@ import Api from "~/service/Api" ...@@ -2,31 +2,7 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onLiaallButmisamt(){ async onSetmodDet(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det") let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
......
...@@ -19,7 +19,7 @@ export default { ...@@ -19,7 +19,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"lidgrp.cbs.opn1.amt":[ "lidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -41,7 +41,7 @@ export default { ...@@ -41,7 +41,7 @@ export default {
], ],
"brdgrp.cbs.max.amt":[ "brdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -54,7 +54,7 @@ export default { ...@@ -54,7 +54,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"brdgrp.cbs.opn1.amt":[ "brdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -96,36 +96,6 @@ export default { ...@@ -96,36 +96,6 @@ export default {
], ],
"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"}
],
"liaall.concur":[
{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.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":[ "setmod.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -243,7 +213,7 @@ export default { ...@@ -243,7 +213,7 @@ export default {
], ],
"liaall.limmod.comamt":[ "liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"}, {required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -256,7 +226,7 @@ export default { ...@@ -256,7 +226,7 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"liaall.limmod.ccvamt":[ "liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"}, {required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Setmod from "../Public/Setmod"
export default class Brtcan{ export default class Brtcan{
constructor () { constructor () {
this.data = { this.data = {
...@@ -66,66 +68,7 @@ export default class Brtcan{ ...@@ -66,66 +68,7 @@ export default class Brtcan{
}, },
sndmsg:"", // Send Message .sndmsg sndmsg:"", // Send Message .sndmsg
rebkpflg:"", // Booking Procedure .rebkpflg rebkpflg:"", // Booking Procedure .rebkpflg
liaall:{ setmod:new Setmod().data,
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
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
},
mtabut:{ mtabut:{
coninf:{ coninf:{
oitinf:{ oitinf:{
...@@ -166,6 +109,46 @@ export default class Brtcan{ ...@@ -166,6 +109,46 @@ export default class Brtcan{
filrecv:"", // File Receiver .trnmod.trndoc.filrecv 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
},
},
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
......
...@@ -19,7 +19,7 @@ export default { ...@@ -19,7 +19,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"lidgrp.cbs.opn1.amt":[ "lidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -41,7 +41,7 @@ export default { ...@@ -41,7 +41,7 @@ export default {
], ],
"brdgrp.cbs.max.amt":[ "brdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -54,7 +54,7 @@ export default { ...@@ -54,7 +54,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"brdgrp.cbs.opn1.amt":[ "brdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -84,10 +84,10 @@ export default { ...@@ -84,10 +84,10 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"brdgrp.rec.tenmaxday":[ // "brdgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} // {max: 3,message:"长度不能超过3"}
], // ],
"brdgrp.prb.pts.ref":[ "brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -187,7 +187,7 @@ export default { ...@@ -187,7 +187,7 @@ export default {
"liaall.outamt":[ "liaall.outamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -200,19 +200,19 @@ export default { ...@@ -200,19 +200,19 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"liaall.misamt":[ "liaall.misamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"liaall.exttotoldamt":[ "liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"liaall.exttotamt":[ "liaall.exttotamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -223,7 +223,7 @@ export default { ...@@ -223,7 +223,7 @@ export default {
"setmod.docamt":[ "setmod.docamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -333,7 +333,7 @@ export default { ...@@ -333,7 +333,7 @@ export default {
], ],
"liaall.limmod.comamt":[ "liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -346,7 +346,7 @@ export default { ...@@ -346,7 +346,7 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"liaall.limmod.ccvamt":[ "liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
......
...@@ -450,5 +450,12 @@ export default { ...@@ -450,5 +450,12 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"} {max: 14,message:"长度不能超过14"}
], ],
"bopmod.basflg":[
{required: true, message: "必输项"},
],
"brtp.ischktyp":[
{required: true, message: "必输项"},
],
} }
\ No newline at end of file
...@@ -176,7 +176,7 @@ export default { ...@@ -176,7 +176,7 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.blk.lcrgod":[ "dedgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
...@@ -184,17 +184,17 @@ export default { ...@@ -184,17 +184,17 @@ export default {
"dedgrp.blk.lcrdoc":[ "dedgrp.blk.lcrdoc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"dedgrp.blk.adlcnd":[ "dedgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"dedgrp.blk.insbnk":[ "dedgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
...@@ -330,25 +330,25 @@ export default { ...@@ -330,25 +330,25 @@ export default {
"dedgrp.rec.shpfro":[ "dedgrp.rec.shpfro":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.fqtime":[ "dedgrp.rec.fqtime":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.shpto":[ "dedgrp.rec.shpto":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.sdsrfs":[ "dedgrp.rec.sdsrfs":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.shppro":[ "dedgrp.rec.shppro":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.conno":[ "dedgrp.rec.conno":[
......
...@@ -176,7 +176,7 @@ export default { ...@@ -176,7 +176,7 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.blk.lcrgod":[ "dedgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
...@@ -184,17 +184,17 @@ export default { ...@@ -184,17 +184,17 @@ export default {
"dedgrp.blk.lcrdoc":[ "dedgrp.blk.lcrdoc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"dedgrp.blk.adlcnd":[ "dedgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"dedgrp.blk.insbnk":[ "dedgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
...@@ -246,7 +246,7 @@ export default { ...@@ -246,7 +246,7 @@ export default {
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"dedgrp.adv.pts.jigomc":[ "dedgrp.adv.pts.jigomc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.apc.pts.bankno":[ "dedgrp.apc.pts.bankno":[
...@@ -254,7 +254,7 @@ export default { ...@@ -254,7 +254,7 @@ export default {
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"dedgrp.adv.pts.dizhii":[ "dedgrp.adv.pts.dizhii":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.apc.pts.jigomc":[ "dedgrp.apc.pts.jigomc":[
...@@ -330,25 +330,25 @@ export default { ...@@ -330,25 +330,25 @@ export default {
"dedgrp.rec.shpfro":[ "dedgrp.rec.shpfro":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.fqtime":[ "dedgrp.rec.fqtime":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.shpto":[ "dedgrp.rec.shpto":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.sdsrfs":[ "dedgrp.rec.sdsrfs":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.shppro":[ "dedgrp.rec.shppro":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.conno":[ "dedgrp.rec.conno":[
...@@ -357,7 +357,7 @@ export default { ...@@ -357,7 +357,7 @@ export default {
], ],
"dedgrp.rec.conamt":[ "dedgrp.rec.conamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"整数位不能超过13位"}, {max: 16,message:"整数位不能超过13位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" } {pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
], ],
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-row>
<c-col :span="8">
<c-fullbox>
<el-form-item label="Import L/C" prop="lidgrp.rec.ownref">
<c-input
v-model="model.lidgrp.rec.ownref"
maxlength="16"
placeholder="请输入参考号"
></c-input>
</el-form-item>
<template slot="footer">
<c-button
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>
</template>
</c-fullbox>
</c-col>
<el-row> <c-col :span="4">
<c-col :span="8"> <el-form-item
<el-form-item label="Import L/C" prop="lidgrp.rec.ownref"> label="Expiry"
<c-input v-model="model.lidgrp.rec.ownref" maxlength="16" placeholder="请输入参考号" prop="lidgrp.rec.expdat"
></c-input> label-width="80px"
</el-form-item> >
</c-col> <c-date-picker
<c-col :span="2"> type="date"
<c-button >seainf</c-button> v-model="model.lidgrp.rec.expdat"
</c-col> style="width: 100%"
<c-col :span="2"> placeholder="请选择Date of Expiry"
<c-button >dadsnd</c-button> disabled="disabled"
</c-col> ></c-date-picker>
<c-col :span="5"> </el-form-item>
<el-form-item label="Expiry" prop="lidgrp.rec.expdat"> </c-col>
<c-date-picker type="date" v-model="model.lidgrp.rec.expdat" style="width:100%" <c-col :span="6">
placeholder="请选择Date of Expiry" disabled="disabled"></c-date-picker> <el-form-item label="Open Amt. L/C" prop="lidgrp.cbs.opn1.cur">
</el-form-item> <c-select
</c-col> v-model="model.lidgrp.cbs.opn1.cur"
<c-col :span="3"> style="width: 100%"
<el-form-item label="Open Amt. L/C" prop="lidgrp.cbs.opn1.cur" label-width="100px"> placeholder="请选择币种"
<c-select v-model="model.lidgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择币种"> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="6">
<el-form-item prop="lidgrp.cbs.opn1.amt" label-width="1px"> <el-form-item prop="lidgrp.cbs.opn1.amt" label-width="20px">
<c-input v-model="model.lidgrp.cbs.opn1.amt" placeholder="请输入Balance" ></c-input> <c-input
</el-form-item> v-model="model.lidgrp.cbs.opn1.amt"
</c-col> placeholder="请输入Balance"
</el-row> ></c-input>
<el-row> </el-form-item>
<c-col :span="8"> </c-col>
<el-form-item label="Bill Set Reference" prop="brdgrp.rec.ownref"> </el-row>
<c-input v-model="model.brdgrp.rec.ownref" maxlength="16" placeholder="请输入单据参考号" <el-row>
disabled="disabled"></c-input> <c-col :span="12">
</el-form-item> <c-fullbox>
</c-col> <el-form-item label="Bill Set Reference" prop="brdgrp.rec.ownref">
<c-col :span="2"> <c-input
<c-button >seainf</c-button> v-model="model.brdgrp.rec.ownref"
</c-col> maxlength="16"
<c-col :span="2"> placeholder="请输入单据参考号"
<c-button >dadsnd</c-button> disabled="disabled"
</c-col> ></c-input>
<c-col :span="12"> </el-form-item>
<el-form-item prop="brdgrp.rec.nam"> <template slot="footer">
<c-input v-model="model.brdgrp.rec.nam" maxlength="40" placeholder="请输入Name of Bill Contract" <c-button
></c-input> style="margin: 0 0 0 10px; padding: 0 12px"
</el-form-item> size="small"
</c-col> type="primary"
</el-row> @click="onSeainf"
<el-row> >
<c-col :span="5"> <span style="font-family: '宋体'; font-weight: bold">i</span>
<el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur"> </c-button>
<c-select v-model="model.brdgrp.cbs.max.cur" style="width:100%" placeholder="请选择币种"> </template>
</c-select> </c-fullbox>
</el-form-item> </c-col>
</c-col> <c-col :span="12">
<el-form-item prop="brdgrp.rec.nam">
<c-input
v-model="model.brdgrp.rec.nam"
maxlength="40"
placeholder="请输入Name of Bill Contract"
></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="5">
<el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur">
<c-select
v-model="model.brdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择币种"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="7"> <c-col :span="7">
<el-form-item prop="brdgrp.cbs.max.amt" label-width="1px"> <el-form-item prop="brdgrp.cbs.max.amt" label-width="20px">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入单据金额"></c-input> <c-input
</el-form-item> v-model="model.brdgrp.cbs.max.amt"
</c-col> placeholder="请输入单据金额"
<c-col :span="12"> ></c-input>
<el-form-item label="Applicant .ref" prop="brdgrp.apl.pts.ref"> </el-form-item>
<c-input v-model="model.brdgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人ref"></c-input> </c-col>
</el-form-item> <c-col :span="12">
</c-col> <el-form-item label="Applicant .ref" prop="brdgrp.apl.pts.ref">
</el-row> <c-input
<el-row> v-model="model.brdgrp.apl.pts.ref"
<c-col :span="5"> maxlength="16"
<el-form-item label="Open Amount" prop="brdgrp.cbs.opn1.cur"> placeholder="请输入申请人ref"
<c-select v-model="model.brdgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择币种"> ></c-input>
</c-select> </el-form-item>
</el-form-item> </c-col>
</c-col> </el-row>
<el-row>
<c-col :span="5">
<el-form-item label="Open Amount" prop="brdgrp.cbs.opn1.cur">
<c-select
v-model="model.brdgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请选择币种"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="7"> <c-col :span="7">
<el-form-item prop="brdgrp.cbs.opn1.amt" label-width="1px"> <el-form-item prop="brdgrp.cbs.opn1.amt" label-width="20px">
<c-input v-model="model.brdgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input> <c-input
</el-form-item> v-model="model.brdgrp.cbs.opn1.amt"
</c-col> placeholder="请输入Balance"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item prop="brdgrp.apl.pts.nam" label="名称"> <el-form-item prop="brdgrp.apl.pts.nam" label="名称">
<c-input v-model="model.brdgrp.apl.pts.nam" maxlength="40" placeholder="申请人"></c-input> <c-input
</el-form-item> v-model="model.brdgrp.apl.pts.nam"
</c-col> maxlength="40"
</el-row> placeholder="申请人"
<el-row> ></c-input>
<c-col :span="6"> </el-form-item>
<el-form-item label="Received on" prop="brdgrp.rec.rcvdat"> </c-col>
<c-date-picker type="date" v-model="model.brdgrp.rec.rcvdat" style="width:100%" </el-row>
placeholder="请选择到单日期"></c-date-picker> <el-row>
</el-form-item> <c-col :span="6">
</c-col> <el-form-item label="Received on" prop="brdgrp.rec.rcvdat">
<c-date-picker
type="date"
v-model="model.brdgrp.rec.rcvdat"
style="width: 100%"
placeholder="请选择到单日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="6"> <c-col :span="6">
<el-form-item label="Advice on" prop="brdgrp.rec.advdat"> <el-form-item label="Advice on" prop="brdgrp.rec.advdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.advdat" style="width:100%" <c-date-picker
placeholder="请选择Date of Advice of Payment"></c-date-picker> type="date"
</el-form-item> v-model="model.brdgrp.rec.advdat"
</c-col> style="width: 100%"
placeholder="请选择Date of Advice of Payment"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Beneficiary .ref" prop="brdgrp.ben.pts.ref"> <el-form-item label="Beneficiary .ref" prop="brdgrp.ben.pts.ref">
<c-input v-model="model.brdgrp.ben.pts.ref" maxlength="16" placeholder="请输入受益人ref"></c-input> <c-input
</el-form-item> v-model="model.brdgrp.ben.pts.ref"
</c-col> maxlength="16"
</el-row> placeholder="请输入受益人ref"
<el-row> ></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="brdgrp.rec.matdat">
<c-date-picker
type="date"
v-model="model.brdgrp.rec.matdat"
style="width: 100%"
placeholder="请选择Maturity Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item prop="brdgrp.ben.pts.nam" label="名称">
<c-input
v-model="model.brdgrp.ben.pts.nam"
maxlength="40"
placeholder="受益人"
></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="12">
<el-form-item label="Document Type" prop="brdgrp.rec.docflg">
<c-select
v-model="model.brdgrp.rec.docflg"
style="width: 100%"
placeholder="请选择单据类型"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Maturity Date" prop="brdgrp.rec.matdat"> <el-form-item label="Presenting Bank .ref" prop="brdgrp.prb.pts.ref">
<c-date-picker type="date" v-model="model.brdgrp.rec.matdat" style="width:100%" <c-input
placeholder="请选择Maturity Date"></c-date-picker> v-model="model.brdgrp.prb.pts.ref"
</el-form-item> maxlength="16"
</c-col> placeholder="请输入交单行ref"
<c-col :span="12"> ></c-input>
<el-form-item prop="brdgrp.ben.pts.nam" label="名称"> </el-form-item>
<c-input v-model="model.brdgrp.ben.pts.nam" maxlength="40" placeholder="受益人"></c-input> </c-col>
</el-form-item> </el-row>
</c-col> <el-row>
</el-row> <c-col :span="12">
<el-row> <el-form-item label="Document Set Status" prop="brdgrp.rec.docsta">
<c-col :span="12"> <c-select
<el-form-item label="Document Type" prop="brdgrp.rec.docflg"> v-model="model.brdgrp.rec.docsta"
<c-select v-model="model.brdgrp.rec.docflg" style="width:100%" placeholder="请选择单据类型"> style="width: 100%"
</c-select> placeholder="请选择单据承付状态"
</el-form-item> >
</c-col> </c-select>
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Presenting Bank .ref" prop="brdgrp.prb.pts.ref"> <el-form-item label="名称" prop="brdgrp.prb.pts.nam">
<c-input v-model="model.brdgrp.prb.pts.ref" maxlength="16" placeholder="请输入交单行ref"></c-input> <c-input
</el-form-item> v-model="model.brdgrp.prb.pts.nam"
</c-col> maxlength="40"
</el-row> placeholder="请输入Name of Party"
<el-row> ></c-input>
<c-col :span="12"> </el-form-item>
<el-form-item label="Document Set Status" prop="brdgrp.rec.docsta"> </c-col>
<c-select v-model="model.brdgrp.rec.docsta" style="width:100%" placeholder="请选择单据承付状态"> </el-row>
</c-select> <el-row>
</el-form-item> <c-col :span="12">
</c-col> <el-form-item label="Narrative" prop="strinf">
<c-input
type="textarea"
v-model="model.strinf"
maxlength="50"
show-word-limit
placeholder="请输入Narrative"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="名称" prop="brdgrp.prb.pts.nam"> <el-form-item label="" prop="sndmsg">
<c-input v-model="model.brdgrp.prb.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> <c-checkbox v-model="model.sndmsg">Send Message</c-checkbox>
</el-form-item> </el-form-item>
</c-col> </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" show-word-limit
placeholder="请输入Narrative"></c-input>
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="12">
<c-checkbox v-model="model.sndmsg">Send Message</c-checkbox> <el-form-item label="Booking Procedure" prop="rebkpflg">
</c-col> <c-select
</el-row> v-model="model.rebkpflg"
style="width: 100%"
<c-col :span="12"> placeholder="请选择Booking Procedure"
<el-form-item label="Booking Procedure" prop="rebkpflg"> >
<c-select v-model="model.rebkpflg" style="width:100%" placeholder="请选择Booking Procedure"> </c-select>
</c-select> </el-form-item>
</el-form-item> </c-col>
</c-col> </div>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtcan/Event" import Event from "~/model/Brtcan/Event";
import Brtcan from "~/model/Brtcan" import Brtcan from "~/model/Brtcan";
export default { export default {
inject: ['root'], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return {} return {};
}, },
methods: {...Event}, methods: { ...Event },
created: function () { created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eContainer"> <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>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false"> <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"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
...@@ -9,9 +13,9 @@ ...@@ -9,9 +13,9 @@
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="Liability" name="engp"> <!-- <el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan"> <el-tab-pane label="Settlement" name="setpan">
...@@ -46,23 +50,24 @@ import Api from "~/service/Api" ...@@ -46,23 +50,24 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Brtcan from "~/model/Brtcan" import Brtcan from "~/model/Brtcan"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Brtcan/Check" import Check from "~/model/Brtcan/Check"
import Default from "~/model/Brtcan/Default" import Default from "~/model/Brtcan/Default"
import Pattern from "~/model/Brtcan/Pattern" import Pattern from "~/model/Brtcan/Pattern"
import Canp from "./Canp" import Canp from "./Canp"
import Engp from "./Engp" // import Engp from "./Engp"
import Setpan from "./Setpan"
import Coninfp from "./Coninfp"
import Docpan from "./Docpan"
import Doctre from "./Doctre"
import Limitbody from "./Limitbody"
import Setpan from "../../Public/Setpan"
import Coninfp from "../../Public/Coninfp"
import Docpan from "../../Public/Docpan"
import Doctre from "../../Public/Doctre"
import Limitbody from "../../Public/Limitbody"
export default { export default {
name: 'Brtcan',
components:{ components:{
"m-canp" : Canp, "m-canp" : Canp,
"m-engp" : Engp, // "m-engp" : Engp,
"m-setpan" : Setpan, "m-setpan" : Setpan,
"m-coninfp" : Coninfp, "m-coninfp" : Coninfp,
"m-docpan" : Docpan, "m-docpan" : Docpan,
...@@ -75,10 +80,10 @@ export default { ...@@ -75,10 +80,10 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "", tabVal: "canp",
trnName: "brtcan", trnName: "brtcan",
model: new Brtcan().data, model: new Brtcan().data,
checkRules: Check, checkRules: Check,
...@@ -90,19 +95,45 @@ export default { ...@@ -90,19 +95,45 @@ export default {
} }
}, },
methods:{ methods:{
tabClick(){ async handleSave() {
let result = await this.save();
if (result.respCode == SUCCESS && Object.keys(result.fieldErrors).length == 0) {
this.$notify({
title: "成功",
message: "保存成功",
type: "success",
});
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.go(-1)
} else if(result.fieldErrors && Object.keys(result.fieldErrors).length > 0 ){
const tab = this.showBackendErrors(result.fieldErrors)
if (tab) {
// tab切换之后,需出发tab-click的事件
this.tabClick(tab);
}
this.$notify({
title: "错误",
message: "检核失败!",
type: "error",
});
} else{
this.$notify({
title: "失败",
message: "保存失败",
type: "error",
});
}
} }
}, },
created:async function(){ created:async function(){
console.log("进入brtcan交易"); console.log("进入brtcan交易");
console.log("$el",this.$el)
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
} }
else else
{ {
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12">
<c-col :span="12"> <el-form-item label="Discrepancies" prop="brdgrp.blk.docdis">
<c-checkbox v-model="model.brdgrp.blk.docdisflg">discrepancies modified</c-checkbox> <c-fullbox>
</c-col> <c-input
type="textarea"
<c-col :span="12"> v-model="model.brdgrp.blk.docdis"
<el-form-item label="Discrepancies" prop="brdgrp.blk.docdis"> maxlength="50"
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入Discrepancies" ></c-input> show-word-limit
</el-form-item> placeholder="请输入Discrepancies"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
@click="onDocdisButtxmsel"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel"> <el-form-item>
... <c-checkbox v-model="model.brdgrp.blk.docdisflg"
</c-button> >discrepancies modified</c-checkbox
</c-col> >
</el-form-item>
<c-col :span="12"> </c-col>
<span v-text="model.brtp.docgrdm.docdsclab" data-path=".brtp.docgrdm.docdsclab" > </span>
</c-col> <c-col :span="24" style="height: 24px; margin-top: -10px">
</div> <el-form-item :label="model.brtp.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="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="">
<c-table
style="text-align: center"
:list="TableValue"
:paginationShow="false"
:border="true"
>
<el-table-column label="1st" prop="cmail1" width="auto"></el-table-column>
<el-table-column label="2nd" prop="cmail2" width="auto"></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>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtdcr/Event" import Event from "~/model/Brtdcr/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
TableValue:[
{
id:0,
cmail1:"",
cmail2:"",
docnam:"10"
},
{
id:1,
cmail1:"",
cmail2:"",
docnam:"20"
},
{
id:2,
cmail1:"",
cmail2:"",
docnam:"17"
},
],
newValue:{
id:0,
cmail1:"",
cmail2:"",
docnam:""
},
codeTable:[
{ label: "Airway Bills", value: "1" },
{ label: "Beneficiary's Declaration", value: "2" },
{ label: "Bill of Lading Copies", value: "3" },
{ label: "Bill of Lading Originals", value: "4" },
{ label: "Certificate", value: "5" },
{ label: "Certificate of Analysis", value: "6" },
{ label: "Certificate of Origin", value: "7" },
{ label: "Certificate of Quality", value: "8" },
{ label: "Certificate of Quantity", value: "9" },
{ label: "Commercial Invoice", value: "10" },
{ label: "Courier Receipt", value: "11" },
{ label: "Draft", value: "12" },
{ label: "Export Licence", value: "13" },
{ label: "Fax Report", value: "14" },
{ label: "Inspection Cert", value: "15" },
{ label: "Insurance Policy", value: "16" },
{ label: "Packing List", value: "17" },
{ label: "Shipment Advice", value: "18" },
{ label: "Weight List", value: "19" },
{ label: "Original Bills of Lading", value: "20" },
]
};
},
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;
}
}
} }
}, },
methods:{...Event}, created: function () {},
created:function(){ };
}
}
</script> </script>
<style> <style>
.messageLabel >>> .el-form-item__label {
text-align: left;
font-weight: bold;
font-size: 12px;
}
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="24">
<c-col :span="24"> <!-- ---------------Left--------------- -->
<!-- ---------------Left--------------- --> <c-col :span="12">
<c-col :span="12"> <c-col :span="24">
<c-col :span="24"> <el-form-item label="信用证编号" prop="lidgrp.rec.ownref">
<el-form-item label="信用证编号" prop="lidgrp.rec.ownref"> <c-fullbox>
<c-fullbox> <c-input
<c-input v-model="model.lidgrp.rec.ownref" maxlength="16" placeholder="请输入信用证编号"></c-input> v-model="model.lidgrp.rec.ownref"
<template slot="footer"> maxlength="16"
<c-button placeholder="请输入信用证编号"
style="margin:0 10px 0 10px;padding: 0 12px;" ></c-input>
size="small" <template slot="footer">
type="primary" <c-button
style="
margin: 0 10px 0 10px;
padding: 0 12px;
"
size="small"
type="primary"
>
<span
style="
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="单据参考号" prop="brdgrp.rec.ownref">
<c-fullbox>
<c-input
v-model="model.brdgrp.rec.ownref"
maxlength="16"
placeholder="请输入单据参考号"
></c-input>
<template slot="footer">
<c-button
style="
margin: 0 10px 0 10px;
padding: 0 12px;
"
size="small"
type="primary"
>
<span
style="
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Expiry" prop="lidgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.lidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择Date of Expiry"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- ---------------Right--------------- -->
<c-col :span="12">
<c-col :span="24">
<c-curAmt
:model="model"
:argadr="{
title: 'Opening Amount',
trans: 'lidgrp',
}"
>
</c-curAmt>
</c-col>
<c-col :span="24">
<el-form-item
label="Drag Drop Sender"
prop="brtp.lidget.sdamod.dadsnd"
>
<c-input
v-model="model.brtp.lidget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Order Date" prop="brdgrp.rec.orddat">
<c-date-picker
type="date"
v-model="model.brdgrp.rec.orddat"
style="width: 100%"
placeholder="请选择Order Date"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-litTemp
:model="model"
:argadr="{
title: 'Opening Amount',
trans: 'brdgrp',
}"
:rol="[
{
title: '交单行',
trans: 'prb',
},
{
title: '开证行',
trans: 'ben',
},
{
title: '申请人',
trans: 'apl',
},
]"
:isAdvdat="true"
:isMattxtlab="true"
:isTenmaxday="true"
>
</c-litTemp>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-col :span="24">
<el-form-item
label="Presented by"
prop="brdgrp.rec.docprbrol"
>
<c-select
v-model="model.brdgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择Presented by"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap1
:model="model"
:argadr="{
title: 'Presented by',
grp: 'brdgrp',
rol: 'prb',
}"
:disabled="true"
:isAdrblk="false"
>
</c-ptap1>
</c-col>
<c-col :span="24">
<el-form-item label="Payer" prop="brdgrp.rec.payrol">
<c-select
v-model="model.brdgrp.rec.payrol"
style="width: 100%"
placeholder="请选择Payer"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap1
:model="model"
:argadr="{
title: 'Payer',
grp: 'brtp',
rol: 'oth',
}"
:disabled="true"
:isAdrblk="false"
>
</c-ptap1>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="SWIFT message dated" prop="swtdat">
<c-date-picker
type="date"
v-model="model.swtdat"
style="width: 100%"
placeholder="请选择SWIFT message dated"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="Disposal of Documents"
prop="brdgrp.blk.disdoc"
>
<c-input
type="textarea"
v-model="model.brdgrp.blk.disdoc"
maxlength="35"
show-word-limit
placeholder="请输入Disposal of Documents"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="">
<c-col :span="12">
<c-checkbox v-model="model.advrefflg"
>Advice of Refusal MT734</c-checkbox
> >
<span style="font-family:'宋体';font-weight:bold">i</span> </c-col>
</c-button> <c-col :span="12">
<c-button <c-checkbox v-model="model.refdocflg"
style="margin:0 0" >Refund Document Amount</c-checkbox
size="small"
type="primary"
:disabled="this.flag"
> >
获取 </c-col>
</c-button> </el-form-item>
</template> </c-col>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据参考号" prop="brdgrp.rec.ownref"> <el-form-item label="">
<c-fullbox> <c-col :span="12">
<c-input v-model="model.brdgrp.rec.ownref" maxlength="16" placeholder="请输入单据参考号"></c-input> <c-checkbox v-model="model.brdgrp.rec.advdocflg"
<template slot="footer"> >Return of Documents</c-checkbox
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
> >
<span style="font-family:'宋体';font-weight:bold">i</span> </c-col>
</c-button> <c-col :span="12">
<c-button <c-checkbox v-model="model.advdisflg"
style="margin:0 0" >Advice of Discrepancy MT750</c-checkbox
size="small"
type="primary"
:disabled="this.flag"
> >
获取 </c-col>
</c-button> </el-form-item>
</template> </c-col>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Expiry" prop="lidgrp.rec.expdat"> <el-form-item label="">
<c-date-picker type="date" v-model="model.lidgrp.rec.expdat" style="width:100%" placeholder="请选择Date of Expiry"></c-date-picker> <c-col :span="12">
</el-form-item> <c-checkbox v-model="model.brdgrp.blk.disdocflg"
>Defaulted content of Disposal of Documents</c-checkbox
>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.rejpenins"
>Rejection pending instructions</c-checkbox
>
</c-col>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="">
<c-col :span="12">
<c-checkbox v-model="model.mtabut.clsflg"
>Close Flag</c-checkbox
>
</c-col>
</el-form-item>
</c-col>
</c-col> </c-col>
</c-col> </c-col>
<!-- ---------------Right--------------- --> <!--
<c-col :span="12">
<el-form-item label="" prop="brtp.lidget.sdamod.seainf">
<c-input
v-model="model.brtp.lidget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12"> </c-col>
<c-col :span="12">
<el-form-item label="Currency" prop="lidgrp.cbs.opn1.cur">
<c-input
v-model="model.lidgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入Currency"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="brtp.recget.sdamod.dadsnd"
>
<c-input
v-model="model.brtp.recget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="brtp.recget.sdamod.seainf">
<c-input
v-model="model.brtp.recget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Bill Contract" prop="brdgrp.rec.nam">
<c-input
v-model="model.brdgrp.rec.nam"
maxlength="40"
placeholder="请输入Name of Bill Contract"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <el-form-item label="单据金额" prop="brdgrp.cbs.max.cur">
<c-curAmt <c-select
:model="model" v-model="model.brdgrp.cbs.max.cur"
:argadr="{ style="width: 100%"
title: 'Opening Amount', placeholder="请选择单据金额"
trans: 'lidgrp',
}"
> >
</c-curAmt> </c-select>
</c-col> </el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据金额" prop="brdgrp.cbs.max.amt">
<c-input
v-model="model.brdgrp.cbs.max.amt"
placeholder="请输入单据金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="申请人" prop="brdgrp.apl.pts.ref">
<c-input
v-model="model.brdgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入申请人"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据余额" prop="brdgrp.cbs.opn1.cur">
<c-input
v-model="model.brdgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入单据余额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="brdgrp.cbs.opn1.amt">
<c-input
v-model="model.brdgrp.cbs.opn1.amt"
placeholder="请输入Balance"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="brdgrp.apl.pts.nam">
<c-input
v-model="model.brdgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="到单日期" prop="brdgrp.rec.rcvdat">
<c-date-picker
type="date"
v-model="model.brdgrp.rec.rcvdat"
style="width: 100%"
placeholder="请选择到单日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Date of Advice of Payment"
prop="brdgrp.rec.advdat"
>
<c-date-picker
type="date"
v-model="model.brdgrp.rec.advdat"
style="width: 100%"
placeholder="请选择Date of Advice of Payment"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="受益人" prop="brdgrp.ben.pts.ref">
<c-input
v-model="model.brdgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入受益人"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span
v-text="model.brtp.matp.mattxtlab"
data-path=".brtp.matp.mattxtlab"
>
</span>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="brdgrp.rec.matdat">
<c-date-picker
type="date"
v-model="model.brdgrp.rec.matdat"
style="width: 100%"
placeholder="请选择Maturity Date"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="远期单据到期日" prop="brdgrp.rec.stadat">
<c-date-picker
type="date"
v-model="model.brdgrp.rec.stadat"
style="width: 100%"
placeholder="请选择远期单据到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="brdgrp.ben.pts.nam">
<c-input
v-model="model.brdgrp.ben.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据类型" prop="brdgrp.rec.docflg">
<c-select
v-model="model.brdgrp.rec.docflg"
style="width: 100%"
placeholder="请选择单据类型"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Tenor day" prop="brdgrp.rec.tenmaxday">
<c-input
v-model="model.brdgrp.rec.tenmaxday"
placeholder="请输入Tenor day"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="交单行" prop="brdgrp.prb.pts.ref">
<c-input
v-model="model.brdgrp.prb.pts.ref"
maxlength="16"
placeholder="请输入交单行"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="brdgrp.prb.pts.nam">
<c-input
v-model="model.brdgrp.prb.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据状态" prop="brdgrp.rec.docsta">
<c-select
v-model="model.brdgrp.rec.docsta"
style="width: 100%"
placeholder="请选择单据状态"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="brtp.prbp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.brtp.prbp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="External Key of Address"
prop="brdgrp.prb.pts.extkey"
>
<c-input
v-model="model.brdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="brtp.prbp.ptsget.sdamod.seainf">
<c-input
v-model="model.brtp.prbp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onPrbpDet">
Details
</c-button>
</c-col>
<c-col :span="12"> </c-col>
<c-col :span="12">
<el-form-item label="名称" prop="brdgrp.prb.namelc">
<c-input
type="textarea"
v-model="model.brdgrp.prb.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="brdgrp.prb.pts.adrblk">
<c-input
type="textarea"
v-model="model.brdgrp.prb.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="brdgrp.prb.dbfadrblkcn">
<c-input
type="textarea"
v-model="model.brdgrp.prb.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12"> </c-col>
<c-col :span="12">
<el-form-item label="地址" prop="brdgrp.prb.adrelc">
<c-input
type="textarea"
v-model="model.brdgrp.prb.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12"> </c-col>
<c-col :span="12">
<el-form-item label="退单方式" prop="rejtype">
<c-input
v-model="model.rejtype"
maxlength="1"
placeholder="请输入退单方式"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12"> </c-col>
<c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="brtp.othp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.brtp.othp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="External Key of Address"
prop="brtp.oth.pts.extkey"
>
<c-input
v-model="model.brtp.oth.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="brtp.othp.ptsget.sdamod.seainf">
<c-input
v-model="model.brtp.othp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOthpDet">
Details
</c-button>
</c-col>
<c-col :span="24">
<el-form-item label="Drag Drop Sender" prop="brtp.lidget.sdamod.dadsnd">
<c-input v-model="model.brtp.lidget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-litTemp
:model="model"
:argadr="{
title: 'Opening Amount',
trans: 'brdgrp',
}"
:rol="[
{
title: '交单行',
trans: 'prb',
},
{
title: '开证行',
trans: 'ben',
},
{
title: '申请人',
trans: 'apl',
},
]"
>
</c-litTemp>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="brtp.lidget.sdamod.seainf">
<c-input v-model="model.brtp.lidget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
</c-col>
<c-col :span="12">
<c-col :span="12"> <el-form-item label="名称" prop="brtp.oth.namelc">
<el-form-item label="Currency" prop="lidgrp.cbs.opn1.cur"> <c-input
<c-input v-model="model.lidgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Currency"></c-input> type="textarea"
</el-form-item> v-model="model.brtp.oth.namelc"
</c-col> maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
<c-col :span="12"> </el-form-item>
<el-form-item label="Drag Drop Sender" prop="brtp.recget.sdamod.dadsnd"> </c-col>
<c-input v-model="model.brtp.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item> <c-col :span="12">
</c-col> <el-form-item label="Address Block" prop="brtp.oth.pts.adrblk">
<c-input
type="textarea"
v-model="model.brtp.oth.pts.adrblk"
<c-col :span="12"> maxlength="35"
<el-form-item label="" prop="brtp.recget.sdamod.seainf"> show-word-limit
<c-input v-model="model.brtp.recget.sdamod.seainf" placeholder="请输入"></c-input> placeholder="请输入Address Block"
</el-form-item> ></c-input>
</c-col> </el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Bill Contract" prop="brdgrp.rec.nam"> <c-col :span="12">
<c-input v-model="model.brdgrp.rec.nam" maxlength="40" placeholder="请输入Name of Bill Contract"></c-input> <el-form-item label="Chinese address" prop="brtp.oth.dbfadrblkcn">
</el-form-item> <c-input
</c-col> type="textarea"
v-model="model.brtp.oth.dbfadrblkcn"
<c-col :span="12"> maxlength="35"
<el-form-item label="单据金额" prop="brdgrp.cbs.max.cur"> show-word-limit
<c-select v-model="model.brdgrp.cbs.max.cur" style="width:100%" placeholder="请选择单据金额"> placeholder="请输入Chinese address"
</c-select> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="单据金额" prop="brdgrp.cbs.max.amt"> <c-button
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入单据金额"></c-input> size="small"
</el-form-item> type="primary"
</c-col> icon="el-icon-search"
@click="onDisdocButtxmsel"
<c-col :span="12"> >
<el-form-item label="申请人" prop="brdgrp.apl.pts.ref"> ...
<c-input v-model="model.brdgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人"></c-input> </c-button>
</el-form-item> </c-col>
</c-col>
<c-col :span="12">
<c-col :span="12"> <el-form-item label="地址" prop="brtp.oth.adrelc">
<el-form-item label="单据余额" prop="brdgrp.cbs.opn1.cur"> <c-input
<c-input v-model="model.brdgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入单据余额"></c-input> type="textarea"
</el-form-item> v-model="model.brtp.oth.adrelc"
</c-col> maxlength="35"
show-word-limit
<c-col :span="12"> placeholder="请输入地址"
<el-form-item label="Balance" prop="brdgrp.cbs.opn1.amt"> ></c-input>
<c-input v-model="model.brdgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input> </el-form-item>
</el-form-item> </c-col>
</c-col>
<c-col :span="12">
<c-col :span="12"> <c-checkbox v-model="model.brdgrp.blk.disdocflg"
<el-form-item label="Name of Party" prop="brdgrp.apl.pts.nam"> >Defaulted content of Disposal of Documents</c-checkbox
<c-input v-model="model.brdgrp.apl.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> >
</el-form-item> </c-col>
</c-col>
<c-col :span="12">
<c-col :span="12"> <c-checkbox v-model="model.rejpenins"
<el-form-item label="到单日期" prop="brdgrp.rec.rcvdat"> >Rejection pending instructions</c-checkbox
<c-date-picker type="date" v-model="model.brdgrp.rec.rcvdat" style="width:100%" placeholder="请选择到单日期"></c-date-picker> >
</el-form-item> </c-col>
</c-col> -->
</div>
<c-col :span="12">
<el-form-item label="Date of Advice of Payment" prop="brdgrp.rec.advdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.advdat" style="width:100%" placeholder="请选择Date of Advice of Payment"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="受益人" prop="brdgrp.ben.pts.ref">
<c-input v-model="model.brdgrp.ben.pts.ref" maxlength="16" placeholder="请输入受益人"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.brtp.matp.mattxtlab" data-path=".brtp.matp.mattxtlab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="brdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="远期单据到期日" prop="brdgrp.rec.stadat">
<c-date-picker type="date" v-model="model.brdgrp.rec.stadat" style="width:100%" placeholder="请选择远期单据到期日"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="brdgrp.ben.pts.nam">
<c-input v-model="model.brdgrp.ben.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据类型" prop="brdgrp.rec.docflg">
<c-select v-model="model.brdgrp.rec.docflg" style="width:100%" placeholder="请选择单据类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Tenor day" prop="brdgrp.rec.tenmaxday">
<c-input v-model="model.brdgrp.rec.tenmaxday" placeholder="请输入Tenor day"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="交单行" prop="brdgrp.prb.pts.ref">
<c-input v-model="model.brdgrp.prb.pts.ref" maxlength="16" placeholder="请输入交单行"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="brdgrp.prb.pts.nam">
<c-input v-model="model.brdgrp.prb.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据状态" prop="brdgrp.rec.docsta">
<c-select v-model="model.brdgrp.rec.docsta" style="width:100%" placeholder="请选择单据状态">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Presented by" prop="brdgrp.rec.docprbrol">
<c-select v-model="model.brdgrp.rec.docprbrol" style="width:100%" placeholder="请选择Presented by">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Order Date" prop="brdgrp.rec.orddat">
<c-date-picker type="date" v-model="model.brdgrp.rec.orddat" style="width:100%" placeholder="请选择Order Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="SWIFT message dated" prop="swtdat">
<c-date-picker type="date" v-model="model.swtdat" style="width:100%" placeholder="请选择SWIFT message dated"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="brtp.prbp.ptsget.sdamod.dadsnd">
<c-input v-model="model.brtp.prbp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.advrefflg">Advice of Refusal MT734</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="brdgrp.prb.pts.extkey">
<c-input v-model="model.brdgrp.prb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="brtp.prbp.ptsget.sdamod.seainf">
<c-input v-model="model.brtp.prbp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onPrbpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.refdocflg">Refund Document Amount</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="brdgrp.prb.namelc">
<c-input type="textarea" v-model="model.brdgrp.prb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="brdgrp.prb.pts.adrblk">
<c-input type="textarea" v-model="model.brdgrp.prb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="brdgrp.prb.dbfadrblkcn">
<c-input type="textarea" v-model="model.brdgrp.prb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.advdocflg">Return of Documents</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="brdgrp.prb.adrelc">
<c-input type="textarea" v-model="model.brdgrp.prb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.advdisflg">Advice of Discrepancy MT750</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="退单方式" prop="rejtype">
<c-input v-model="model.rejtype" maxlength="1" placeholder="请输入退单方式"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.mtabut.clsflg">Close Flag</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Payer" prop="brdgrp.rec.payrol">
<c-select v-model="model.brdgrp.rec.payrol" style="width:100%" placeholder="请选择Payer">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="brtp.othp.ptsget.sdamod.dadsnd">
<c-input v-model="model.brtp.othp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="brtp.oth.pts.extkey">
<c-input v-model="model.brtp.oth.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="brtp.othp.ptsget.sdamod.seainf">
<c-input v-model="model.brtp.othp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOthpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Disposal of Documents" prop="brdgrp.blk.disdoc">
<c-input type="textarea" v-model="model.brdgrp.blk.disdoc" maxlength="35" show-word-limit placeholder="请输入Disposal of Documents" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="brtp.oth.namelc">
<c-input type="textarea" v-model="model.brtp.oth.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="brtp.oth.pts.adrblk">
<c-input type="textarea" v-model="model.brtp.oth.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="brtp.oth.dbfadrblkcn">
<c-input type="textarea" v-model="model.brtp.oth.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDisdocButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="brtp.oth.adrelc">
<c-input type="textarea" v-model="model.brtp.oth.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.blk.disdocflg">Defaulted content of Disposal of Documents</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.rejpenins">Rejection pending instructions</c-checkbox>
</c-col>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtdcr/Event" import Event from "~/model/Brtdcr/Event";
import CurAmt from "~/views/Public/CurAmt" import CurAmt from "~/views/Public/CurAmt";
import LitTemp from "~/views/Public/LitTemp" import LitTemp from "~/views/Public/LitTemp";
import Ptap1 from "~/views/Public/Ptap1";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
components:{ components: {
"c-curAmt" : CurAmt, "c-curAmt": CurAmt,
"c-litTemp" : LitTemp, "c-litTemp": LitTemp,
"c-ptap1": Ptap1,
}, },
data(){ data() {
return { return {
flag:true flag: true,
} };
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
...@@ -81,13 +81,13 @@ ...@@ -81,13 +81,13 @@
<!-- ====================右边======================= --> <!-- ====================右边======================= -->
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="12">
<c-checkbox <c-checkbox
v-model="model.cfadft.basflg" v-model="model.cfadft.basflg"
>签约信息</c-checkbox> >签约信息</c-checkbox>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="12">
<c-checkbox v-model="model.cfadft.dclflg">变动信息</c-checkbox> <c-checkbox v-model="model.cfadft.dclflg">变动信息</c-checkbox>
</c-col> </c-col>
......
...@@ -130,7 +130,11 @@ ...@@ -130,7 +130,11 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Tenor Stream" prop="liaall.tenstm"> <el-form-item label="Tenor Stream" prop="liaall.tenstm">
<c-input v-model="model.liaall.tenstm" placeholder="请输入Tenor Stream"></c-input> <c-istream-table
:list="model.liaall.tenstm"
:columns="columns"
>
</c-istream-table>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -216,50 +220,41 @@ ...@@ -216,50 +220,41 @@
<c-col :span="24"> <c-col :span="24">
<div class="e-table-wrapper"> <div class="e-table-wrapper">
<el-table <c-table
:data="model.bptbck.bptbckg" style="text-align: center"
style="width: 100%" :list="table1"
:paginationShow="false"
:border="true"
> >
<el-table-column
prop="ownref" <el-table-column label="Reference" prop="ownref" width="auto"></el-table-column>
label="" <el-table-column label="Cur." prop="opncur" width="auto"></el-table-column>
sortable <el-table-column label="Open Amount" prop="opnamt" width="auto"></el-table-column>
width="100"> <el-table-column label="Amount Paid" prop="bckamt" width="auto"></el-table-column>
</el-table-column> <el-table-button label="Cal." prop="butcal" width="auto"></el-table-button>
<el-table-column
prop="opncur" </c-table>
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="opnamt"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="bckamt"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="butcal"
label=""
sortable
width="100">
</el-table-column>
</el-table>
</div> </div>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="12">
<el-form-item label="预计核验日期" prop="brtp.prechkdat"> <el-form-item label="预计核验日期" prop="brtp.prechkdat">
<c-date-picker type="date" v-model="model.brtp.prechkdat" style="width:100%" placeholder="请选择预计核验日期"></c-date-picker> <c-date-picker type="date" v-model="model.brtp.prechkdat" style="width:100%" placeholder="请选择预计核验日期"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="是否需要检验" prop="brtp.ischktyp">
<c-select v-model="model.brtp.ischktyp" style="width:100%" placeholder="">
<el-option
v-for="item in codes.ischktyp"
:key="item.label"
:label="item.label"
:value="item.label">
</el-option>
</c-select> </el-form-item>
</c-col>
</c-col> </c-col>
<!-- ====================右边======================= --> <!-- ====================右边======================= -->
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
...@@ -411,7 +406,15 @@ export default { ...@@ -411,7 +406,15 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data(){ data(){
return { return {
columns:[
"1 1 \"Type\" 40",
"2 2 \"Dbt\" 48",
"3 3 \"Cdt\" 48",
"4 4 \"Cur\" 48",
"5 5 \"Amt\" 85 2 8 1 4",
"6 6 \"Mat.Dat.\" 75 4 7 1"
]
} }
}, },
methods:{...Event}, methods:{...Event},
......
...@@ -4,12 +4,22 @@ ...@@ -4,12 +4,22 @@
<c-col :span="11"> <c-col :span="11">
<el-form-item label="申报类型" prop="bopmod.szflg"> <el-form-item label="申报类型" prop="bopmod.szflg">
<c-select v-model="model.bopmod.szflg" style="width:100%" placeholder="请选择申报类型"> <c-select v-model="model.bopmod.szflg" style="width:100%" placeholder="请选择申报类型">
<el-option
v-for="item in codes.szflg"
:key="item.label"
:label="item.label"
:value="item.label">
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox> <el-form-item label="" prop="bopmod.basflg">
<c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox>
</el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -22,13 +32,25 @@ ...@@ -22,13 +32,25 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="款项去向" prop="bopmod.acttyp"> <el-form-item label="款项去向" prop="bopmod.acttyp">
<c-select v-model="model.bopmod.acttyp" style="width:100%" placeholder="请选择款项去向"> <c-select v-model="model.bopmod.acttyp" style="width:100%" placeholder="请选择款项去向">
<el-option
v-for="item in codes.acttyp"
:key="item.label"
:label="item.label"
:value="item.label">
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="地区机构号" prop="bopmod.ownextkey"> <el-form-item label="地区机构号" prop="bopmod.ownextkey">
<c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号"> <c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号">\
<el-option
v-for="item in codes.ownextkey"
:key="item.label"
:label="item.label"
:value="item.label">
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small" @click="setDraggableContent('cms', '影像信息')">影像信息</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 <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
...@@ -94,6 +108,7 @@ import Api from "~/service/Api" ...@@ -94,6 +108,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Brtset from "~/model/Brtset" import Brtset from "~/model/Brtset"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Brtset/Check" import Check from "~/model/Brtset/Check"
import Default from "~/model/Brtset/Default" import Default from "~/model/Brtset/Default"
import Pattern from "~/model/Brtset/Pattern" import Pattern from "~/model/Brtset/Pattern"
...@@ -136,10 +151,11 @@ export default { ...@@ -136,10 +151,11 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
computed: {},
data(){ data(){
return { return {
tabVal: "", tabVal: "utlp",
trnName: "brtset", trnName: "brtset",
model: new Brtset().data, model: new Brtset().data,
checkRules: Check, checkRules: Check,
...@@ -147,6 +163,7 @@ export default { ...@@ -147,6 +163,7 @@ export default {
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
...CodeTable
}, },
} }
}, },
......
...@@ -144,6 +144,8 @@ import AssetPub from "./AssetPub" ...@@ -144,6 +144,8 @@ import AssetPub from "./AssetPub"
import Fund from "./Fund" import Fund from "./Fund"
import Brtdck from "./Brtdck" import Brtdck from "./Brtdck"
// import Brtcsg from "./Brtcsg"
import Brtcan from "./Brtcan"
import Litsel from "./Litsel" import Litsel from "./Litsel"
import Brtdcr from "./Brtdcr" import Brtdcr from "./Brtdcr"
...@@ -246,6 +248,8 @@ const BusRouter = [ ...@@ -246,6 +248,8 @@ const BusRouter = [
{ path: 'trtame', component: Trtame, name: 'Trtame', meta: { title: '进口融资修改' } }, { path: 'trtame', component: Trtame, name: 'Trtame', meta: { title: '进口融资修改' } },
{ path: 'trtsel', component: Trtsel, name: 'Trtsel', meta: { title: '进口融资入口交易' } }, { path: 'trtsel', component: Trtsel, name: 'Trtsel', meta: { title: '进口融资入口交易' } },
{ path: 'brtdck', component: Brtdck, name: 'Brtdck', meta: { title: '进口信用证单据改单/二次到单' } }, { path: 'brtdck', component: Brtdck, name: 'Brtdck', meta: { title: '进口信用证单据改单/二次到单' } },
// { path: 'brtcsg', component: Brtcsg, name: 'Brtcsg', meta: { title: '进口信用证单据提货担保注销' } },
{ path: 'brtcan', component: Brtcan, name: 'Brtcan', meta: { title: '进口信用证单据注销' } },
{ path: 'inftxm', component: Inftxm, name: 'Inftxm', meta: { title: '条式语句查询' } }, { path: 'inftxm', component: Inftxm, name: 'Inftxm', meta: { title: '条式语句查询' } },
// { path: 'infdet', component: Infdet, name: 'Infdet', meta: { title: 'Infdet' } }, // { path: 'infdet', component: Infdet, name: 'Infdet', meta: { title: 'Infdet' } },
......
...@@ -111,6 +111,7 @@ import Api from "~/service/Api"; ...@@ -111,6 +111,7 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"; import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Detopn from "~/model/Detopn"; import Detopn from "~/model/Detopn";
import Detame from "~/model/Detame"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs"; import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Detopn/Check"; import Check from "~/model/Detopn/Check";
...@@ -131,7 +132,7 @@ import Docpan from "~/views/Public/Docpan"; ...@@ -131,7 +132,7 @@ import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
export default { export default {
name: "Detopn", name: "Detame",
components: { components: {
"m-ovwp": Ovwp, "m-ovwp": Ovwp,
"m-detp": Detp, "m-detp": Detp,
...@@ -158,8 +159,8 @@ export default { ...@@ -158,8 +159,8 @@ export default {
data() { data() {
return { return {
tabVal: "ovwp", tabVal: "ovwp",
trnName: "detopn", trnName: "detame",
model: new Detopn().data, model: new Detame().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
......
<template> <template>
<c-content>
<div class="eContainer"> <div class="eContainer">
<c-function-btn <c-function-btn
...@@ -79,6 +80,7 @@ ...@@ -79,6 +80,7 @@
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
</c-content>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<c-input v-model="model.dedgrp.rec.conno" maxlength="35" placeholder="请输入"></c-input> <c-input v-model="model.dedgrp.rec.conno" maxlength="35" placeholder="请输入"></c-input>
</el-form-item> </el-form-item>
<el-form-item label="合同金额" prop="dedgrp.rec.conamt"> <el-form-item label="合同金额">
<c-col :span="10"> <c-col :span="10">
<c-select v-model="model.dedgrp.rec.concur" style="width:90%" placeholder="请选择"> <c-select v-model="model.dedgrp.rec.concur" style="width:90%" placeholder="请选择">
<el-option label="CNY 人民币" value="CNY"></el-option> <el-option label="CNY 人民币" value="CNY"></el-option>
......
...@@ -42,23 +42,20 @@ ...@@ -42,23 +42,20 @@
<div v-if="hotreg == 3 || hotreg == 4 || hotreg == 7 || hotreg == 8"> <div v-if="hotreg == 3 || hotreg == 4 || hotreg == 7 || hotreg == 8">
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item <el-form-item label="单据业务编号" prop="bfdgrp.rec.ownref">
label="单据业务编号"
prop="bfdgrp.rec.ownref"
>
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.bfdgrp.rec.ownref" v-model="model.bfdgrp.rec.ownref"
maxlength="16" maxlength="16"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog( showGridPromptDialog('bfdgrp.rec.ownref')
'bfdgrp.rec.ownref'
)
" "
placeholder="请输入单据业务编号" placeholder="请输入单据业务编号"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-checkbox v-model="model.bfdget.clsflg" style="margin-left:10px" <c-checkbox
v-model="model.bfdget.clsflg"
style="margin-left: 10px"
>Show closed</c-checkbox >Show closed</c-checkbox
> >
</template> </template>
...@@ -77,37 +74,58 @@ ...@@ -77,37 +74,58 @@
</c-col> </c-col>
</c-col> </c-col>
</div> </div>
<!-- 信用证 --> <!-- 信用证 -->
<div v-if="hotreg == 1 || hotreg == 2"> <div v-if="hotreg == 1 || hotreg == 2">
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item <c-col :span="13">
label="信用证金额" <el-form-item
prop="dedgrp.cbs.nom1.cur" label="信用证金额"
> prop="dedgrp.cbs.nom1.cur"
<c-input >
v-model="model.dedgrp.cbs.nom1.cur" <c-input
maxlength="3" v-model="model.dedgrp.cbs.nom1.cur"
placeholder="请输入信用证金额" maxlength="3"
disabled placeholder="请输入信用证金额"
></c-input> disabled
</el-form-item> ></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px">
<c-input
v-model="model.dedgrp.cbs.nom1.amt"
disabled
placeholder="请输入Balance"
></c-input>
</el-form-item>
</c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <c-col :span="13">
label="信用证余额" <el-form-item
prop="dedgrp.cbs.opn1.cur" label="信用证余额"
> prop="dedgrp.cbs.opn1.cur"
<c-input >
v-model="model.dedgrp.cbs.opn1.cur" <c-input
maxlength="3" v-model="model.dedgrp.cbs.opn1.cur"
placeholder="请输入Open Amount" maxlength="3"
disabled placeholder="请输入Open Amount"
></c-input> disabled
</el-form-item> ></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px">
<c-input
v-model="model.dedgrp.cbs.opn1.amt"
disabled
placeholder="请输入Balance"
></c-input>
</el-form-item>
</c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="指定银行" prop="dedgrp.avbnam"> <el-form-item label="指定银行" prop="dedgrp.avbnam">
...@@ -127,6 +145,13 @@ ...@@ -127,6 +145,13 @@
placeholder="请选择Available by " placeholder="请选择Available by "
disabled disabled
> >
<el-option
v-for="item in codes.avbby0"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -230,7 +255,7 @@ ...@@ -230,7 +255,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item <el-form-item
label="开证行参考号" label="开证行参考号"
prop="dedgrp.iss.pts.ref" prop="dedgrp.iss.pts.ref"
...@@ -255,6 +280,33 @@ ...@@ -255,6 +280,33 @@
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item
label="开证行编号"
prop="dedgrp.rec.kzref"
>
<c-input
v-model="model.dedgrp.rec.kzref"
maxlength="16"
placeholder="请输入开证行编号"
disabled="disabled"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="开证行名称"
prop="dedgrp.iss.pts.nam"
>
<c-input
v-model="model.dedgrp.iss.pts.nam"
maxlength="40"
placeholder="请输入开证行名称"
disabled="disabled"
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -456,7 +508,7 @@ ...@@ -456,7 +508,7 @@
:disabled="true" :disabled="true"
></c-ptsmsg> ></c-ptsmsg>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<c-ptsmsg <c-ptsmsg
:model="model" :model="model"
:argadr="{ :argadr="{
...@@ -466,6 +518,33 @@ ...@@ -466,6 +518,33 @@
}" }"
:disabled="true" :disabled="true"
></c-ptsmsg> ></c-ptsmsg>
</c-col> -->
<c-col :span="24">
<el-form-item
label="开证行编号"
prop="dedgrp.rec.kzref"
>
<c-input
v-model="model.dedgrp.rec.kzref"
maxlength="16"
placeholder="请输入开证行编号"
disabled="disabled"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="开证行名称"
prop="dedgrp.iss.pts.nam"
>
<c-input
v-model="model.dedgrp.iss.pts.nam"
maxlength="40"
placeholder="请输入开证行名称"
disabled="disabled"
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptsmsg <c-ptsmsg
...@@ -535,16 +614,25 @@ ...@@ -535,16 +614,25 @@
label="融资业务编号" label="融资业务编号"
prop="bpdgrp.rec.ownref" prop="bpdgrp.rec.ownref"
> >
<c-input <c-fullbox>
v-model="model.bpdgrp.rec.ownref" <c-input
maxlength="16" v-model="model.bpdgrp.rec.ownref"
placeholder="请输入融资业务编号" maxlength="16"
@keyup.enter.native=" placeholder="请输入融资业务编号"
@keyup.enter.native="
showGridPromptDialog( showGridPromptDialog(
'bpdgrp.rec.ownref' 'bpdgrp.rec.ownref'
) )
" "
></c-input> ></c-input>
<template slot="footer">
<c-checkbox
v-model="model.mtdget.clsflg"
style="margin-left: 10px"
>Show closed</c-checkbox
>
</template>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -695,16 +783,23 @@ ...@@ -695,16 +783,23 @@
label="代付业务编号" label="代付业务编号"
prop="dfdgrp.rec.ownref" prop="dfdgrp.rec.ownref"
> >
<c-input <c-fullbox>
v-model="model.dfdgrp.rec.ownref" <c-input
maxlength="16" v-model="model.dfdgrp.rec.ownref"
placeholder="请输入代付业务编号" maxlength="16"
@keyup.enter.native=" placeholder="请输入代付业务编号"
showGridPromptDialog( @keyup.enter.native="
'dfdgrp.rec.ownref' showGridPromptDialog('dfdgrp.rec.ownref')
)
" "
></c-input> ></c-input>
<template slot="footer">
<c-checkbox
v-model="model.bfdget.clsflg"
style="margin-left: 10px"
>Show closed</c-checkbox
>
</template>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
......
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
:span-method="arraySpanMethod" :span-method="arraySpanMethod"
style="width:80%,text-align:center" style="width:80%,text-align:center"
> >
<el-table-column prop="cmail1" label="1st" width="auto"> <el-table-column prop="cmail1" label="1st" width="auto">
<template slot-scope="scope"> <template slot-scope="scope">
<div v-if="!scope.row.states"> <div v-if="!scope.row.states">
{{scope.row.cmail1}} {{scope.row.cmail1}}
......
...@@ -76,6 +76,8 @@ export default { ...@@ -76,6 +76,8 @@ export default {
message: "保存成功", message: "保存成功",
type: "success", type: "success",
}); });
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.go(-1)
} else if(result.fieldErrors && Object.keys(result.fieldErrors).length > 0 ){ } else if(result.fieldErrors && Object.keys(result.fieldErrors).length > 0 ){
const tab = this.showBackendErrors(result.fieldErrors) const tab = this.showBackendErrors(result.fieldErrors)
if (tab) { if (tab) {
......
...@@ -78,6 +78,8 @@ export default { ...@@ -78,6 +78,8 @@ export default {
message: "保存成功", message: "保存成功",
type: "success", type: "success",
}); });
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.go(-1)
} else if(result.fieldErrors && Object.keys(result.fieldErrors).length > 0 ){ } else if(result.fieldErrors && Object.keys(result.fieldErrors).length > 0 ){
const tab = this.showBackendErrors(result.fieldErrors) const tab = this.showBackendErrors(result.fieldErrors)
if (tab) { if (tab) {
......
...@@ -10,214 +10,214 @@ ...@@ -10,214 +10,214 @@
label-width="110px" label-width="110px"
size="small" size="small"
> >
<el-row> <el-row>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="业务编号" prop="infcon.seaownref" > <el-form-item label="业务编号" prop="infcon.seaownref" >
<c-input v-model="model.infcon.seaownref" maxlength="16" placeholder="请输入Own Reference" ></c-input> <c-input v-model="model.infcon.seaownref" maxlength="16" placeholder="请输入Own Reference" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8" > <c-col :span="8" >
<el-form-item label="开立日期" > <el-form-item label="开立日期" >
<c-date-picker type="date" v-model="model.infcon.opndatfrom" placeholder="请选择Opening between" style="width:43%"></c-date-picker> <c-date-picker type="date" v-model="model.infcon.opndatfrom" placeholder="请选择Opening between" style="width:43%"></c-date-picker>
- -
<c-date-picker type="date" v-model="model.infcon.opndatto" placeholder="请选择Open Date to" style="width:43%"></c-date-picker> <c-date-picker type="date" v-model="model.infcon.opndatto" placeholder="请选择Open Date to" style="width:43%"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="业务主题" prop="infcon.nam" style=""> <el-form-item label="业务主题" prop="infcon.nam" style="">
<c-input v-model="model.infcon.nam" maxlength="40" placeholder="请输入Name" ></c-input> <c-input v-model="model.infcon.nam" maxlength="40" placeholder="请输入Name" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-row> </el-row>
<!--<c-col :span="12"> <!--<c-col :span="12">
<el-form-item label="Opening between" prop="infcon.opndatfrom"> <el-form-item label="Opening between" prop="infcon.opndatfrom">
<c-date-picker type="date" v-model="model.infcon.opndatfrom" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Opening between"></c-date-picker> <c-date-picker type="date" v-model="model.infcon.opndatfrom" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Opening between"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="Open Date to" prop="infcon.opndatto">
<c-date-picker type="date" v-model="model.infcon.opndatto" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Open Date to"></c-date-picker>
</el-form-item>
</c-col>-->
<el-row v-show="searchSlot.searchToggle">
<!--<c-col :span="12">
<el-form-item label="Party Reference" prop="infcon.searef" >
<c-input v-model="model.infcon.searef" maxlength="16" placeholder="请输入Party Reference" ></c-input>
</el-form-item>
</c-col>-->
<c-col :span="8">
<el-form-item label="复核状态" prop="infcon.relflg" style="">
<c-select v-model="model.infcon.relflg" style="width:100%" placeholder="请选择Release Status">
<el-option
v-for="item in codes.relflg"
: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="Handling Type" v-show ="false" prop="infcon.hndtyp" >
<c-select v-model="model.infcon.hndtyp" style="width:100%" placeholder="请选择Handling Type">
<el-option
v-for="item in codes.hndtyp"
: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="12">
<el-form-item label="Select Single Party" prop="infcon.pty.extkey" > <el-form-item label="Open Date to" prop="infcon.opndatto">
<c-input v-model="model.infcon.pty.extkey" maxlength="24" placeholder="请输入Select Single Party" ></c-input> <c-date-picker type="date" v-model="model.infcon.opndatto" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Open Date to"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>-->
<c-col :span="12"> <el-row v-show="searchSlot.searchToggle">
<el-form-item label="Party Name" prop="infcon.pty.nam" >
<c-input v-model="model.infcon.pty.nam" maxlength="40" placeholder="请输入Party Name" ></c-input>
</el-form-item> <!--<c-col :span="12">
</c-col> <el-form-item label="Party Reference" prop="infcon.searef" >
<c-input v-model="model.infcon.searef" maxlength="16" placeholder="请输入Party Reference" ></c-input>
</el-form-item>
</c-col>-->
<c-col :span="8">
<el-form-item label="复核状态" prop="infcon.relflg" style="">
<c-select v-model="model.infcon.relflg" style="width:100%" placeholder="请选择Release Status">
<el-option
v-for="item in codes.relflg"
: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="12">
<el-form-item label="Party Name/BIC" prop="infcon.seapty" > <el-form-item label="Handling Type" v-show ="false" prop="infcon.hndtyp" >
<c-input v-model="model.infcon.seapty" maxlength="24" placeholder="请输入Party Name/BIC"></c-input> <c-select v-model="model.infcon.hndtyp" style="width:100%" placeholder="请选择Handling Type">
</el-form-item> <el-option
</c-col> v-for="item in codes.hndtyp"
:key="item.value"
<c-col :span="12"> :label="item.label"
<el-form-item label="Role" prop="infcon.searol" > :value="item.value"
<c-select v-model="model.infcon.searol" style="width:100%" placeholder="请选择Role"> >
<el-option </el-option>
v-for="item in codes.searol" </c-select>
:key="item.value" </el-form-item>
:label="item.label" </c-col>-->
:value="item.value"
> <!--<c-col :span="12">
</el-option> <el-form-item label="Select Single Party" prop="infcon.pty.extkey" >
</c-select> <c-input v-model="model.infcon.pty.extkey" maxlength="24" placeholder="请输入Select Single Party" ></c-input>
</el-form-item> </el-form-item>
</c-col>--> </c-col>
<!--<c-col :span="12"> <c-col :span="12">
<el-form-item label="Opening between" prop="infcon.opndatfrom" > <el-form-item label="Party Name" prop="infcon.pty.nam" >
<c-date-picker type="date" v-model="model.infcon.opndatfrom" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Opening between"></c-date-picker> <c-input v-model="model.infcon.pty.nam" maxlength="40" placeholder="请输入Party Name" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Open Date to" prop="infcon.opndatto" > <el-form-item label="Party Name/BIC" prop="infcon.seapty" >
<c-date-picker type="date" v-model="model.infcon.opndatto" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Open Date to"></c-date-picker> <c-input v-model="model.infcon.seapty" maxlength="24" placeholder="请输入Party Name/BIC"></c-input>
</el-form-item> </el-form-item>
</c-col>--> </c-col>
<!--<c-col :span="12"> <c-col :span="12">
<el-form-item label="Resp.User" disabled prop="infcon.usr.extkey" > <el-form-item label="Role" prop="infcon.searol" >
<c-input v-model="model.infcon.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input> <c-select v-model="model.infcon.searol" style="width:100%" placeholder="请选择Role">
</el-form-item> <el-option
</c-col>--> v-for="item in codes.searol"
:key="item.value"
<c-col :span="8"> :label="item.label"
<el-form-item label="业务状态" prop="infcon.seasta" > :value="item.value"
<c-select v-model="model.infcon.seasta" style="width:100%" placeholder="请选择Status"> >
<el-option </el-option>
v-for="item in codes.seasta" </c-select>
:key="item.value" </el-form-item>
:label="item.label" </c-col>-->
:value="item.value"
> <!--<c-col :span="12">
</el-option> <el-form-item label="Opening between" prop="infcon.opndatfrom" >
</c-select> <c-date-picker type="date" v-model="model.infcon.opndatfrom" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Opening between"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="12">
<el-form-item label="币种" prop="infcon.seacur" > <el-form-item label="Open Date to" prop="infcon.opndatto" >
<c-select v-model="model.infcon.seacur" style="width:100%" placeholder="请选择Currency"> <c-date-picker type="date" v-model="model.infcon.opndatto" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Open Date to"></c-date-picker>
<el-option </el-form-item>
v-for="item in codes.seacur" </c-col>-->
:key="item.value"
:label="item.label" <!--<c-col :span="12">
:value="item.value" <el-form-item label="Resp.User" disabled prop="infcon.usr.extkey" >
> <c-input v-model="model.infcon.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-option> </el-form-item>
</c-select> </c-col>-->
</el-form-item>
</c-col> <c-col :span="8">
<el-form-item label="业务状态" prop="infcon.seasta" >
<c-col :span="8"> <c-select v-model="model.infcon.seasta" style="width:100%" placeholder="请选择Status">
<el-form-item label="金额" > <el-option
<c-input v-model="model.infcon.seaamtfr" placeholder="请输入Amount between" style="width:45%"></c-input> v-for="item in codes.seasta"
- :key="item.value"
<c-input v-model="model.infcon.seaamtto" placeholder="请输入Amount to" style="width:45%"></c-input> :label="item.label"
</el-form-item> :value="item.value"
</c-col> >
</el-option>
<c-col :span="8"> </c-select>
<el-form-item label="是否显示查询码" prop="infcon.cxmflg" > </el-form-item>
<c-select v-model="model.infcon.cxmflg" style="width:100%" placeholder="请选择是否显示查询码"> </c-col>
<el-option
v-for="item in codes.cxmflg" <c-col :span="8">
:key="item.value" <el-form-item label="币种" prop="infcon.seacur" >
:label="item.label" <c-select v-model="model.infcon.seacur" style="width:100%" placeholder="请选择Currency">
:value="item.value" <el-option
> v-for="item in codes.seacur"
</el-option> :key="item.value"
</c-select> :label="item.label"
</el-form-item> :value="item.value"
</c-col> >
</el-option>
<c-col :span="8"> </c-select>
<el-form-item label="确认状态" prop="seacnfdet" > </el-form-item>
<c-select v-model="model.seacnfdet" style="width:100%" placeholder="请选择Confirmation Status"> </c-col>
<el-option
v-for="item in codes.cnfins" <c-col :span="8">
:key="item.value" <el-form-item label="金额" >
:label="item.label" <c-input v-model="model.infcon.seaamtfr" placeholder="请输入Amount between" style="width:45%"></c-input>
:value="item.value" -
> <c-input v-model="model.infcon.seaamtto" placeholder="请输入Amount to" style="width:45%"></c-input>
</el-option> </el-form-item>
</c-select> </c-col>
</el-form-item>
</c-col> <c-col :span="8">
<el-form-item label="是否显示查询码" prop="infcon.cxmflg" >
<c-col :span="8"> <c-select v-model="model.infcon.cxmflg" style="width:100%" placeholder="请选择是否显示查询码">
<el-form-item label="信用证类型" prop="sealcrtyp" > <el-option
<c-select v-model="model.sealcrtyp" :code="codes.lcrtyp" style="width:100%" placeholder="请选择form of L/C"> v-for="item in codes.cxmflg"
</c-select> :key="item.value"
</el-form-item> :label="item.label"
</c-col> :value="item.value"
>
<c-col :span="8"> </el-option>
<el-form-item label="货物种类" prop="seagodcod"> </c-select>
<c-select v-model="model.seagodcod" style="width:100%" placeholder="请选择Goods Code"> </el-form-item>
<el-option </c-col>
v-for="item in codes.godcod"
:key="item.value" <c-col :span="8">
:label="item.label" <el-form-item label="确认状态" prop="seacnfdet" >
:value="item.value" <c-select v-model="model.seacnfdet" style="width:100%" placeholder="请选择Confirmation Status">
> <el-option
</el-option> v-for="item in codes.cnfins"
</c-select> :key="item.value"
</el-form-item> :label="item.label"
</c-col> :value="item.value"
>
</el-row> </el-option>
</el-form> </c-select>
</template> </el-form-item>
</c-list-search> </c-col>
<c-col :span="8">
<el-form-item label="信用证类型" prop="sealcrtyp" >
<c-select v-model="model.sealcrtyp" :code="codes.lcrtyp" style="width:100%" placeholder="请选择form of L/C">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="货物种类" prop="seagodcod">
<c-select v-model="model.seagodcod" style="width:100%" placeholder="请选择Goods Code">
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</el-row>
</el-form>
</template>
</c-list-search>
<!--<c-col :span="12"> <!--<c-col :span="12">
<el-form-item label="display stream" prop="infbut.dspstm"> <el-form-item label="display stream" prop="infbut.dspstm">
<c-input v-model="model.infbut.dspstm" placeholder="请输入display stream"></c-input> <c-input v-model="model.infbut.dspstm" placeholder="请输入display stream"></c-input>
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
Exit Exit
</c-button> </c-button>
</el-col> </el-col>
<c-istream-table :list="this.model.infbut.dspstm" :columns="columns" style="padding: 0 16px;"> <c-istream-table :list="this.model.infbut.dspstm || []" :columns="columns" style="padding: 0 16px;">
<el-table-column <el-table-column
prop="display" prop="display"
label="操作" label="操作"
...@@ -309,7 +309,8 @@ export default { ...@@ -309,7 +309,8 @@ export default {
}, },
async onChoose(code){ async onChoose(code){
//跳转交易 //跳转交易
this.$router.history.push("/business/" + code) this.initdialog = false
this.$router.history.push("/business/" + code)
}, },
handleReset: function () { handleReset: function () {
......
...@@ -23,6 +23,7 @@ import Infsea from "./Infsea" ...@@ -23,6 +23,7 @@ import Infsea from "./Infsea"
export default { export default {
name: 'Inflid',
components:{ components:{
"m-infsea" : Infsea, "m-infsea" : Infsea,
...@@ -35,7 +36,7 @@ export default { ...@@ -35,7 +36,7 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "", tabVal: "infsea",
trnName: "inflid", trnName: "inflid",
model: new Inflid().data, model: new Inflid().data,
checkRules: Check, checkRules: Check,
...@@ -55,7 +56,7 @@ export default { ...@@ -55,7 +56,7 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
} }
else else
{ {
......
...@@ -32,7 +32,10 @@ ...@@ -32,7 +32,10 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<c-form-item label="Open Amount" :prop="`${argadr.trans}.cbs.opn1.cur`"> <c-form-item
label="Open Amount"
:prop="`${argadr.trans}.cbs.opn1.cur`"
>
<c-input <c-input
disabled disabled
v-model="model[argadr.trans].cbs.opn1.cur" v-model="model[argadr.trans].cbs.opn1.cur"
...@@ -57,53 +60,144 @@ ...@@ -57,53 +60,144 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <div v-if="isAdvdat">
<el-form-item label="Received on" :prop="`${argadr.trans}.rec.rcvdat`"> <c-col :span="13">
<c-date-picker <el-form-item
type="date" label="Received on"
disabled :prop="`${argadr.trans}.rec.rcvdat`"
v-model="model[argadr.trans].rec.rcvdat" >
style="width: 100%" <c-date-picker
></c-date-picker> type="date"
</el-form-item> disabled
</c-col> v-model="model[argadr.trans].rec.rcvdat"
style="width: 100%"
<c-col :span="11"> ></c-date-picker>
<el-form-item </el-form-item>
label="Advised on" </c-col>
label-width="90px" <c-col :span="11">
:prop="`${argadr.trans}.rec.advdat`" <el-form-item
> label="Advised on"
<c-date-picker label-width="90px"
type="date" :prop="`${argadr.trans}.rec.advdat`"
disabled >
v-model="model[argadr.trans].rec.advdat" <c-date-picker
style="width: 100%" type="date"
></c-date-picker> disabled
</el-form-item> v-model="model[argadr.trans].rec.advdat"
</c-col> style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
</div>
<div v-else>
<c-col :span="24">
<el-form-item
label="Received on"
:prop="`${argadr.trans}.rec.rcvdat`"
>
<c-date-picker
type="date"
disabled
v-model="model[argadr.trans].rec.rcvdat"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
</div>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Maturity Date" prop="brtp.matp.mattxtlab"> <div v-if="isMattxtlab">
<c-date-picker <c-col :span="13">
type="date" <el-form-item
disabled label="Maturity Date"
v-model="model.brtp.matp.mattxtlab" prop="brtp.matp.mattxtlab"
style="width: 100%" >
></c-date-picker> <c-date-picker
</el-form-item> type="date"
disabled
v-model="model.brtp.matp.mattxtlab"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
label="Start Date"
label-width="90px"
:prop="`${argadr.trans}.rec.advdat`"
>
<c-date-picker
type="date"
disabled
v-model="model[argadr.trans].rec.stadat"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
</div>
<div v-else>
<c-col :span="24">
<el-form-item
label="Maturity Date"
prop="brtp.matp.mattxtlab"
>
<c-date-picker
type="date"
disabled
v-model="model.brtp.matp.mattxtlab"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
</div>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Document Type" :prop="`${argadr.trans}.rec.docflg`"> <div v-if="isTenmaxday">
<c-input <c-col :span="13">
v-model="model[argadr.trans].rec.docflg" <el-form-item
style="width: 100%" label="Document Type"
disabled :prop="`${argadr.trans}.rec.docflg`"
> >
</c-input> <c-input
</el-form-item> v-model="model[argadr.trans].rec.docflg"
style="width: 100%"
disabled
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
label="Tenor"
label-width="90px"
:prop="`${argadr.trans}.rec.tenmaxday`"
>
<c-date-picker
type="date"
disabled
v-model="model[argadr.trans].rec.tenmaxday"
style="width: 100%"
></c-date-picker>
</el-form-item>
</c-col>
</div>
<div v-else>
<c-col :span="24">
<el-form-item
label="Document Type"
:prop="`${argadr.trans}.rec.docflg`"
>
<c-input
v-model="model[argadr.trans].rec.docflg"
style="width: 100%"
disabled
>
</c-input>
</el-form-item>
</c-col>
</div>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -121,71 +215,6 @@ ...@@ -121,71 +215,6 @@
</c-col> </c-col>
</c-col> </c-col>
<!-- <c-col :span="12">
<c-col :span="24">
<c-form-item label="Applicant Ref." :prop="`${argadr.trans}.apl.pts.ref`">
<c-input
disabled
v-model="model[argadr.trans].apl.pts.ref"
maxlength="16"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="Name of Party" :prop="`${argadr.trans}.apl.pts.nam`">
<c-input
disabled
v-model="model[argadr.trans].apl.pts.nam"
maxlength="40"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="Beneficiary Ref." :prop="`${argadr.trans}.ben.pts.ref`">
<c-input
disabled
v-model="model[argadr.trans].ben.pts.ref"
maxlength="16"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="Name of Party" :prop="`${argadr.trans}.ben.pts.nam`">
<c-input
disabled
v-model="model[argadr.trans].ben.pts.nam"
maxlength="40"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item
label="Presenting Bank Ref."
:prop="`${argadr.trans}.prb.pts.ref`"
>
<c-input
disabled
v-model="model[argadr.trans].prb.pts.ref"
maxlength="16"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="Name of Party" :prop="`${argadr.trans}.prb.pts.nam`">
<c-input
disabled
v-model="model[argadr.trans].prb.pts.nam"
maxlength="40"
></c-input>
</c-form-item>
</c-col>
</c-col> -->
<!-- Right --> <!-- Right -->
<c-col :span="12"> <c-col :span="12">
<div v-for="(item, idx) in rol" :key="idx"> <div v-for="(item, idx) in rol" :key="idx">
...@@ -229,7 +258,19 @@ export default { ...@@ -229,7 +258,19 @@ export default {
}, },
rol: { rol: {
type: Array, type: Array,
default: ()=>[] default: () => [],
},
isAdvdat: {
type: Boolean,
default: false,
},
isMattxtlab: {
type: Boolean,
default: false,
},
isTenmaxday: {
type: Boolean,
default: false,
}, },
}, },
data() { data() {
......
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