Commit e29f3270 by Wuyuqiu

交易Bug修改,lttopn交易检核及提交成功,lttdck交易页面布局

parent 6f5d4f48
...@@ -18,7 +18,8 @@ export default { ...@@ -18,7 +18,8 @@ export default {
"ledgrp.cbs.opn1.amt": [ "ledgrp.cbs.opn1.amt": [
{ type: "string", 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位" }
], ],
"betp.recget.sdamod.dadsnd": [ "betp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
......
...@@ -72,32 +72,11 @@ export default class Betacc { ...@@ -72,32 +72,11 @@ export default class Betacc {
utlamt2: "", // 附加金额 .aamset.utlamt2 utlamt2: "", // 附加金额 .aamset.utlamt2
}, },
snadat: "", // 发送索偿电日期 .snadat snadat: "", // 发送索偿电日期 .snadat
mtabut: {
coninf: {
oitinf: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit: {
inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit: {
inftxt: "", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat: "", // 执行日期 .mtabut.coninf.conexedat
usr: {
extkey: "", // User ID .mtabut.coninf.usr.extkey
},
},
},
pageId: "", // ctx的key pageId: "", // ctx的key
trnmod: new Pub().data.Trnmod, trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
liaall: new Pub().data.Liaall, liaall: new Pub().data.Liaall,
mtabut: new Pub().data.Mtabut
} }
} }
} }
\ No newline at end of file
...@@ -12,29 +12,41 @@ let checkObj = { ...@@ -12,29 +12,41 @@ let checkObj = {
"bopmod.dbagrp.bas.outchargeamt" :null, "bopmod.dbagrp.bas.outchargeamt" :null,
"bopmod.dbdgrp.bas.fcyacc" :null, "bopmod.dbdgrp.bas.fcyacc" :null,
"bopmod.dbagrp.bas.fcyamt" :null, "bopmod.dbagrp.bas.fcyamt" :null,
"cnybop.cnyinc.sbalancemode" :null,
"bopmod.dbdgrp.bas.buscode" :null, "bopmod.dbdgrp.bas.buscode" :null,
"bopmod.dbdgrp.bas.inchargeamt" :null, "bopmod.dbdgrp.bas.inchargeamt" :null,
"bopmod.dbdgrp.bas.idcode" :null, "bopmod.dbdgrp.bas.idcode" :null,
"cnybop.cnyinc.spayercountrycode" :null,
"liaall.limmod.limpts.oth.pts.nam" :null, "liaall.limmod.limpts.oth.pts.nam" :null,
"bopmod.dbdgrp.bas.custnm" :null, "bopmod.dbdgrp.bas.custnm" :null,
"bopmod.dbagrp.bas.exrate" :null, "bopmod.dbagrp.bas.exrate" :null,
"setmod.dspflg" :null, "setmod.dspflg" :null,
"bopmod.dbdgrp.bas.txamt" :null, "bopmod.dbdgrp.bas.txamt" :null,
"bopmod.dbagrp.bas.txccy" :null, "bopmod.dbagrp.bas.txccy" :null,
"cnybop.cnyinc.frecordamt" :null,
"bedgrp.rec.frepayflg" :null, "bedgrp.rec.frepayflg" :null,
"cnybop.cnyinc.dpayeedate" :null,
"cnybop.cnyinc.sbankorgcode" :null,
"bopmod.dbagrp.bas.custcod" :null, "bopmod.dbagrp.bas.custcod" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null, "liaall.limmod.limpts.wrk.pts.nam" :null,
"cnybop.cnyflg" :null, "cnybop.cnyflg" :null,
"cnybop.saddword" :null,
"bopmod.dbdgrp.bas.fcyamt" :null, "bopmod.dbdgrp.bas.fcyamt" :null,
"cnybop.cnyinc.sorilevyno" :null,
"cnybop.cnyinc.sbanktrano" :null,
"bopmod.dbagrp.bas.txamt" :null, "bopmod.dbagrp.bas.txamt" :null,
"bopmod.dbdgrp.bas.methods" :null, "bopmod.dbdgrp.bas.methods" :null,
"bopmod.dbdgrp.bas.exrate" :null, "bopmod.dbdgrp.bas.exrate" :null,
"cnybop.cnyinc.iaccountperiod" :null,
"cnybop.spayeename" :null,
"bopmod.dbagrp.bas.buscode" :null, "bopmod.dbagrp.bas.buscode" :null,
"lendoc.account" :null, "lendoc.account" :null,
"bopmod.dbagrp.bas.othamt" :null, "bopmod.dbagrp.bas.othamt" :null,
"bopmod.dbagrp.bas.actiondesc" :null, "bopmod.dbagrp.bas.actiondesc" :null,
"cnybop.cnyinc.cpayeeattr" :null,
"bopmod.dbdgrp.bas.oppuser" :null, "bopmod.dbdgrp.bas.oppuser" :null,
"bopmod.dbdgrp.bas.othamt" :null, "bopmod.dbdgrp.bas.othamt" :null,
"cnybop.cnyinc.spayeeorgcode" :null,
"bopmod.dbdgrp.bas.custype" :null, "bopmod.dbdgrp.bas.custype" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null, "liaall.limmod.limpts.oth.pts.extkey" :null,
"bopmod.dbagrp.bas.outchargeccy" :null, "bopmod.dbagrp.bas.outchargeccy" :null,
...@@ -42,11 +54,15 @@ let checkObj = { ...@@ -42,11 +54,15 @@ let checkObj = {
"bedgrp.apl.pts.nam" :null, "bedgrp.apl.pts.nam" :null,
"bopmod.dbagrp.bas.actiontype" :null, "bopmod.dbagrp.bas.actiontype" :null,
"liaall.limmod.ecifno" :null, "liaall.limmod.ecifno" :null,
"cnybop.incscale" :null,
"bopmod.dbdgrp.bas.rptno" :null, "bopmod.dbdgrp.bas.rptno" :null,
"cnybop.cnyinc.sswiftbic" :null,
"bopmod.szflg" :null, "bopmod.szflg" :null,
"bopmod.dbdgrp.bas.actiontype" :null, "bopmod.dbdgrp.bas.actiontype" :null,
"cnybop.cnyinc.fpayeeamt" :null,
"bopmod.dbdgrp.bas.lcyamt" :null, "bopmod.dbdgrp.bas.lcyamt" :null,
"cnybop.traflg" :null, "cnybop.traflg" :null,
"cnybop.sbankname" :null,
"bopmod.dbagrp.bas.inchargeccy" :null, "bopmod.dbagrp.bas.inchargeccy" :null,
"bopmod.dbagrp.bas.custnm" :null, "bopmod.dbagrp.bas.custnm" :null,
"bopmod.dbdgrp.bas.othacc" :null, "bopmod.dbdgrp.bas.othacc" :null,
...@@ -56,6 +72,8 @@ let checkObj = { ...@@ -56,6 +72,8 @@ let checkObj = {
"setmod.redamt" :null, "setmod.redamt" :null,
"aamset.utlamt2" :null, "aamset.utlamt2" :null,
"bopmod.dbagrp.bas.custype" :null, "bopmod.dbagrp.bas.custype" :null,
"cnybop.cnyinc.ftotalamt" :null,
"cnybop.cnyinc.spayeecny" :null,
"bopmod.dbdgrp.bas.txccy" :null, "bopmod.dbdgrp.bas.txccy" :null,
"bopmod.dbdgrp.bas.custcod" :null, "bopmod.dbdgrp.bas.custcod" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null, "liaall.limmod.limpts.wrk.pts.extkey" :null,
...@@ -66,6 +84,7 @@ let checkObj = { ...@@ -66,6 +84,7 @@ let checkObj = {
"bopmod.dbagrp.bas.idcode" :null, "bopmod.dbagrp.bas.idcode" :null,
"bopmod.dbagrp.bas.othacc" :null, "bopmod.dbagrp.bas.othacc" :null,
"mtabut.coninf.conexedat" :null, "mtabut.coninf.conexedat" :null,
"cnybop.spayername" :null,
"bopmod.dbagrp.bas.lcyamt" :null, "bopmod.dbagrp.bas.lcyamt" :null,
"bopmod.dbagrp.bas.inchargeamt" :null, "bopmod.dbagrp.bas.inchargeamt" :null,
"liaall.limmod.limpts.nonrevflg1" :null, "liaall.limmod.limpts.nonrevflg1" :null,
...@@ -73,6 +92,7 @@ let checkObj = { ...@@ -73,6 +92,7 @@ let checkObj = {
"bopmod.ownextkey" :null, "bopmod.ownextkey" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
"bopmod.acttyp" :null, "bopmod.acttyp" :null,
"cnybop.cnyinc.cpayeraccttyp" :null,
"bedgrp.iss.pts.nam" :null, "bedgrp.iss.pts.nam" :null,
"bopmod.dbdgrp.bas.actiondesc" :null, "bopmod.dbdgrp.bas.actiondesc" :null,
"mtabut.clsflg" :null, "mtabut.clsflg" :null,
......
...@@ -27,17 +27,23 @@ export default { ...@@ -27,17 +27,23 @@ export default {
"cnybop.vouflg" :Utils.defaultFunction, "cnybop.vouflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.buscode" :Utils.defaultFunction, "bopmod.dbdgrp.bas.buscode" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction, "bopmod.vrfflg" :Utils.defaultFunction,
"bopmod.dbagrp.bas.custype" :Utils.defaultFunction,
"bopmod.dbagrp.bas.custcod" :Utils.defaultFunction,
"setmod.redamt" :Utils.defaultFunction, "setmod.redamt" :Utils.defaultFunction,
"cnybop.traflg" :Utils.defaultFunction, "cnybop.traflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.custype" :Utils.defaultFunction, "bopmod.dbdgrp.bas.custype" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction, "liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction, "liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction, "liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"bopmod.dbagrp.bas.tmpref" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction, "setmod.glemod.gleshwstm" :Utils.defaultFunction,
"cnybop.cnyinc.spayercountrycode" :Utils.defaultFunction,
"lendoc.actflg" :Utils.defaultFunction, "lendoc.actflg" :Utils.defaultFunction,
"bopmod.dbagrp.bas.rptno" :Utils.defaultFunction,
"bedgrp.iss.pts.nam" :Utils.defaultFunction, "bedgrp.iss.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bopmod.dbagrp.bas.ownextkey" :Utils.defaultFunction,
"bedgrp.prb.pts.nam" :Utils.defaultFunction, "bedgrp.prb.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction, "mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction, "bopmod.dclflg" :Utils.defaultFunction,
...@@ -50,6 +56,7 @@ export default { ...@@ -50,6 +56,7 @@ export default {
"bedgrp.cbs.max.amt" :Utils.defaultFunction, "bedgrp.cbs.max.amt" :Utils.defaultFunction,
"bedgrp.rec.rcvdat" :Utils.defaultFunction, "bedgrp.rec.rcvdat" :Utils.defaultFunction,
"bedgrp.rec.docsta" :Utils.defaultFunction, "bedgrp.rec.docsta" :Utils.defaultFunction,
"bopmod.dbagrp.bas.buscode" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.ownextkey" :Utils.defaultFunction, "bopmod.dbdgrp.bas.ownextkey" :Utils.defaultFunction,
"aamset.utlamt" :Utils.defaultFunction, "aamset.utlamt" :Utils.defaultFunction,
"bedgrp.cbs.opn2.cur" :Utils.defaultFunction, "bedgrp.cbs.opn2.cur" :Utils.defaultFunction,
......
...@@ -194,6 +194,90 @@ export default { ...@@ -194,6 +194,90 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onBaspp1Getreftmp(){
let rtnmsg = await this.executeRule("baspp1.getreftmp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBaspp1Getref(){
let rtnmsg = await this.executeRule("baspp1.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSav(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetreftmp(){ async onBasppGetreftmp(){
let rtnmsg = await this.executeRule("baspp.getreftmp") let rtnmsg = await this.executeRule("baspp.getreftmp")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
...@@ -206,6 +290,18 @@ export default { ...@@ -206,6 +290,18 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetref(){ async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref") let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
...@@ -230,6 +326,18 @@ export default { ...@@ -230,6 +326,18 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpErr(){ async onButpErr(){
let rtnmsg = await this.executeRule("butp.err") let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
...@@ -242,8 +350,8 @@ export default { ...@@ -242,8 +350,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onBaspp1Getreftmp(){ async onCan(){
let rtnmsg = await this.executeRule("baspp1.getreftmp") let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -254,8 +362,8 @@ export default { ...@@ -254,8 +362,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onBaspp1Getref(){ async onIncctySelbut1(){
let rtnmsg = await this.executeRule("baspp1.getref") let rtnmsg = await this.executeRule("inccty.selbut1")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
......
...@@ -486,7 +486,118 @@ export default { ...@@ -486,7 +486,118 @@ export default {
"bopmod.dbagrp.bas.outchargeamt":[ "bopmod.dbagrp.bas.outchargeamt":[
{type: "number", required: false, message: "必输项"} ], {type: "number", required: false, message: "必输项"} ],
"cnybop.cnyinc.spk":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"cnybop.cnyinc.sbanktrano":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"cnybop.sbankname":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnyinc.sbankorgcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"cnybop.cnyinc.spayeeacct":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"cnybop.cnyinc.spayeeorgcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"cnybop.spayeename":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnyinc.spayercountrycode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cnybop.spayername":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"cnybop.cnyinc.sswiftbic":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"cnybop.cnyinc.smidtransbank":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"cnybop.cnyinc.spayeracct":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"cnybop.incscale":[
{type: "string", required: false, message: "必输项"},
{max: 4,message:"长度不能超过4"}
],
"cnybop.cnyinc.dpayeedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cnybop.cnyinc.fprepayeeamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.iaccountperiod":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cnybop.cnyinc.ftotalamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.sorilevyno":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"cnybop.cnyinc.fpayeeamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.fonshoreamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.fcustomsamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.foffshoreamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.frecordamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.cnyinc.fnogoodsamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cnybop.saddword":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
......
...@@ -174,6 +174,37 @@ export default class Betset { ...@@ -174,6 +174,37 @@ export default class Betset {
outflg: "", // 是否报送跨境人民币2111表 .cnybop.outflg outflg: "", // 是否报送跨境人民币2111表 .cnybop.outflg
libflg: "", // 是否报送跨境人民币2106表 .cnybop.libflg libflg: "", // 是否报送跨境人民币2106表 .cnybop.libflg
vouflg: "", // 是否报送跨境人民币2122表 .cnybop.vouflg vouflg: "", // 是否报送跨境人民币2122表 .cnybop.vouflg
cnyinc:{
spk:"", // 业务主键 .cnybop.cnyinc.spk
sbankorgcode:"", // 银行机构代码 .cnybop.cnyinc.sbankorgcode
spayeeorgcode:"", // 收款人机构代码 .cnybop.cnyinc.spayeeorgcode
sswiftbic:"", // 付款行SWIFT BIC .cnybop.cnyinc.sswiftbic
spayeracct:"", // 清算(结算)账户账号 .cnybop.cnyinc.spayeracct
smidtransbank:"", // 中�'转汇行 .cnybop.cnyinc.smidtransbank
dpayeedate:"", // 收款日期 .cnybop.cnyinc.dpayeedate
sbalancemode:"", // 结算方式 .cnybop.cnyinc.sbalancemode
sorilevyno:"", // 原申报号码 .cnybop.cnyinc.sorilevyno
sbanktrano:"", // 银行业务编号 .cnybop.cnyinc.sbanktrano
fpayeeamt:"", // 货物贸易收款金额 .cnybop.cnyinc.fpayeeamt
fcustomsamt:"", // 已报关收款金额 .cnybop.cnyinc.fcustomsamt
frecordamt:"", // 已备案收款金额 .cnybop.cnyinc.frecordamt
fprepayeeamt:"", // 预收款金额 .cnybop.cnyinc.fprepayeeamt
iaccountperiod:"", // 结�'�期 .cnybop.cnyinc.iaccountperiod
fonshoreamt:"", // 无货物报关进出境物流货物金额 .cnybop.cnyinc.fonshoreamt
foffshoreamt:"", // 无货物报关离岸转手买卖金额 .cnybop.cnyinc.foffshoreamt
fnogoodsamt:"", // 无货物报关其他金额 .cnybop.cnyinc.fnogoodsamt
cpayeeattr:"", // 收款人属性 .cnybop.cnyinc.cpayeeattr
cpayeraccttyp:"", // 清算(结算)帐户类型 .cnybop.cnyinc.cpayeraccttyp
spayercountrycode:"", // 付款人常驻国家(地区)代码 .cnybop.cnyinc.spayercountrycode
spayeecny:"", // 收款币种 .cnybop.cnyinc.spayeecny
spayeeacct:"", // 收款人账号 .cnybop.cnyinc.spayeeacct
ftotalamt:"", // 原币金额 .cnybop.cnyinc.ftotalamt
},
spayeename:"", // 收款人名称 .cnybop.spayeename
spayername:"", // 付款人名称 .cnybop.spayername
saddword:"", // 交易附言 .cnybop.saddword
sbankname:"", // 银行机构名称 .cnybop.sbankname
incscale:"", // INCSCALE .cnybop.incscale
}, },
bpdgrp: { bpdgrp: {
bas:{ bas:{
......
...@@ -19,14 +19,10 @@ let checkObj = { ...@@ -19,14 +19,10 @@ let checkObj = {
"btdgrp.prb.pts.extkey" :null, "btdgrp.prb.pts.extkey" :null,
"btdgrp.be1.pts.nam" :null, "btdgrp.be1.pts.nam" :null,
"btdgrp.blk.intdis" :null, "btdgrp.blk.intdis" :null,
"setmod.redamt" :null,
"bttp.prbp.ptsget.sdamod.dadsnd" :null,
"btdgrp.rec.orddatbe2" :null, "btdgrp.rec.orddatbe2" :null,
"bttp.futhndflg" :null, "bttp.futhndflg" :null,
"bttp.ltdget.sdamod.dadsnd" :null,
"mtabut.coninf.conexedat" :null, "mtabut.coninf.conexedat" :null,
"btdgrp.rec.doctypcod" :null, "btdgrp.rec.doctypcod" :null,
"bttp.recget.sdamod.dadsnd" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
"btdgrp.cbs.max.amt" :null, "btdgrp.cbs.max.amt" :null,
"btdgrp.be2.pts.nam" :null, "btdgrp.be2.pts.nam" :null,
......
...@@ -7,47 +7,46 @@ import Utils from "~/utils/index" ...@@ -7,47 +7,46 @@ import Utils from "~/utils/index"
export default { export default {
"btdgrp.blk.docdis" :Utils.defaultFunction, "btdgrp.blk.docdis" :Utils.defaultFunction,
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"btdgrp.prb.pts.nam" :Utils.defaultFunction,
"btdgrp.blk.matper" :Utils.defaultFunction,
"btdgrp.cbs.max.cur" :Utils.defaultFunction,
"btdgrp.rec.matdat" :Utils.defaultFunction,
"btdgrp.rec.doctypcod" :Utils.defaultFunction,
"btdgrp.prb.pts.extkey" :Utils.defaultFunction,
"btdgrp.prb.adrelc" :Utils.defaultFunction,
"btdgrp.prb.namelc" :Utils.defaultFunction,
"btdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"setmod.setamt" :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,
"btdgrp.prb.pts.adrblk" :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,
"btdgrp.cbs.max2.amt" :Utils.defaultFunction, "btdgrp.cbs.max2.amt" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction, "btdgrp.prb.pts.extkey" :Utils.defaultFunction,
"btdgrp.prb.adrelc" :Utils.defaultFunction,
"btdgrp.prb.namelc" :Utils.defaultFunction,
"btdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"btdgrp.cbs.max.cur" :Utils.defaultFunction,
"btdgrp.cbs.max.amt" :Utils.defaultFunction,
"btdgrp.blk.matper" :Utils.defaultFunction,
"btdgrp.rec.matdat" :Utils.defaultFunction,
"btdgrp.rec.doctypcod" :Utils.defaultFunction,
"btdgrp.prb.pts.nam" :Utils.defaultFunction,
"ltdgrp.rec.avbby" :Utils.defaultFunction, "ltdgrp.rec.avbby" :Utils.defaultFunction,
"btdgrp.be1.pts.nam" :Utils.defaultFunction, "btdgrp.be1.pts.nam" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"btdgrp.rec.docprbrol" :Utils.defaultFunction,
"btdgrp.rec.dscinsflg" :Utils.defaultFunction,
"btdgrp.rec.rcvdatbe2" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction, "mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"btdgrp.blk.docdisflg" :Utils.defaultFunction,
"ltdgrp.rec.shpdat" :Utils.defaultFunction, "ltdgrp.rec.shpdat" :Utils.defaultFunction,
"ltdgrp.rec.expdat" :Utils.defaultFunction, "ltdgrp.rec.expdat" :Utils.defaultFunction,
"ltdgrp.rec.utlnbr" :Utils.defaultFunction, "ltdgrp.rec.utlnbr" :Utils.defaultFunction,
"btdgrp.rec.shpdat" :Utils.defaultFunction, "btdgrp.rec.shpdat" :Utils.defaultFunction,
"btdgrp.rec.rcvdatbe2" :Utils.defaultFunction,
"btdgrp.cbs.max.amt" :Utils.defaultFunction,
"ltdgrp.cbs.opn1.amt" :Utils.defaultFunction, "ltdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"btdgrp.blk.docdisflg" :Utils.defaultFunction,
"btdgrp.rec.ownref" :Utils.defaultFunction, "btdgrp.rec.ownref" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction, "liaall.misamt" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"btdgrp.rec.dscinsflg" :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,
"mtabut.coninf.conexedat" :Utils.defaultFunction, "mtabut.coninf.conexedat" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction, "ledgrp.rec.ownref" :Utils.defaultFunction,
"btdgrp.rec.docprbrol" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -98,30 +98,6 @@ export default { ...@@ -98,30 +98,6 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onMtdbutButapy(){
let rtnmsg = await this.executeRule("mtdbut.butapy")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMtdbutButcan(){
let rtnmsg = await this.executeRule("mtdbut.butcan")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){ async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det") let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
......
...@@ -243,22 +243,6 @@ export default { ...@@ -243,22 +243,6 @@ export default {
"setmod.redamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.setamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.redamttxt":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"setmod.zmqacc":[ "setmod.zmqacc":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -128,31 +128,17 @@ export default class Lttdck{ ...@@ -128,31 +128,17 @@ export default class Lttdck{
}, },
setmod:{ setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg xreflg:"", // Recalculate Rates .setmod.xreflg
redamt:"", // 减少的金额 .setmod.redamt
setamt:"", // 减少后的结算金额 .setmod.setamt
redamttxt:"", // 注释 .setmod.redamttxt
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
setglg:{ setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
}, },
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog: {
setfol: []
},
setfeg: {
setfel: []
},
}, },
mtabut:{ mtabut:{
coninf:{ coninf:{
......
...@@ -693,7 +693,7 @@ export default { ...@@ -693,7 +693,7 @@ export default {
], ],
"cnybop.cnylib.sforeigncountrycode":[ "cnybop.cnylib.sforeigncountrycode":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {type: "string",max: 999,message:"长度不能超过3"}
], ],
"cnybop.cnylib.doccurdate":[ "cnybop.cnylib.doccurdate":[
......
...@@ -206,7 +206,7 @@ ...@@ -206,7 +206,7 @@
style="width: 100%" style="width: 100%"
placeholder="Please select Document Status" placeholder="Please select Document Status"
disabled disabled
:code="codes.docsta1" :code="codes.docsta"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
v-model="model.cnybop.cnyflg" v-model="model.cnybop.cnyflg"
style="width: 100%" style="width: 100%"
placeholder="请选择是否报送跨境人民币2101表" placeholder="请选择是否报送跨境人民币2101表"
disabled
> >
<el-option <el-option
v-for="item in codes.cnyflg" v-for="item in codes.cnyflg"
......
<template>
<div class="eibs-tab">
<!--===============左 =================== -->
<el-col :span="11">
<c-col :span="24">
<el-form-item label="业务主键" prop="cnybop.cnylic.spk">
<c-input
disabled
v-model="model.cnybop.cnyinc.spk"
maxlength="20"
placeholder="请输入业务主键"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行机构代码" prop="cnybop.cnyinc.sbankorgcode">
<c-input
disabled
v-model="model.cnybop.cnyinc.sbankorgcode"
maxlength="12"
placeholder="请输入银行机构代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务属性" prop="cnybop.cnyinc.stransattr">
<c-select
v-model="model.cnybop.cnyinc.stransattr"
style="width: 100%"
placeholder="请选择业务属性"
:code="codes.stransattr"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="境外对手行代码"
prop="cnybop.cnyinc.sforbankswiftbic"
>
<c-input
v-model="model.cnybop.cnyinc.sforbankswiftbic"
maxlength="11"
placeholder="请输入境外对手行代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="境内企业机构代码" prop="cnybop.cnyinc.sorgcode">
<c-input
v-model="model.cnybop.cnyinc.sorgcode"
maxlength="18"
placeholder="请输入境内企业机构代码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="境外企业国别地区代码"
prop="cnybop.cnyinc.sforeigncountrycode"
>
<c-fullbox>
<c-input
v-model="model.cnybop.cnyinc.sforeigncountrycode"
maxlength="3"
placeholder="请输入境外企业国别地区代码"
@keyup.enter.native="eventFunction('cnybop.cnyinc.sforeigncountrycode')"
></c-input>
<template slot="footer">
<!-- @click="showGridPromptDialog('cnybop.libcty.selbut1',null,null,{TXT:'cnybop.cnyinc.sforeigncountrycode'},{TXT:false},'doxpDialog')" -->
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="showGridPromptDialog('cnybop.libcty.selbut1', null, null,{TXT:
'cnybop.cnyinc.sforeigncountrycode'}, {TXT: false},'doxpDialog')"
>
?
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务到期日" prop="cnybop.cnyinc.denddate">
<c-date-picker
type="date"
v-model="model.cnybop.cnyinc.denddate"
style="width: 100%"
placeholder="请选择业务到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="币种" prop="cnybop.cnyinc.currencycode">
<c-select
v-model="model.cnybop.cnyinc.currencycode"
style="width: 100%"
placeholder="请选择币种"
:code="codes.currencycode"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="期限条件" prop="cnybop.cnyinc.stermtype">
<c-select
v-model="model.cnybop.cnyinc.stermtype"
style="width: 100%"
placeholder="请选择期限条件"
:code="codes.stermtype"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="承兑日期" prop="cnybop.cnyinc.dexchangedate">
<c-date-picker
type="date"
v-model="model.cnybop.cnyinc.dexchangedate"
style="width: 100%"
placeholder="请选择承兑日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="承兑到期日" prop="cnybop.cnyinc.dexchangeenddate">
<c-date-picker
type="date"
v-model="model.cnybop.cnyinc.dexchangeenddate"
style="width: 100%"
placeholder="请选择承兑到期日"
></c-date-picker>
</el-form-item>
</c-col>
</el-col>
<!-- ===============右 ===========================-->
<el-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="银行业务编号" prop="cnybop.cnyinc.sbanktrano">
<c-input
disabled
v-model="model.cnybop.cnyinc.sbanktrano"
maxlength="22"
placeholder="请输入银行业务编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行机构名称" prop="cnybop.sbankname">
<c-input
disabled
v-model="model.cnybop.sbankname"
maxlength="80"
placeholder="请输入银行机构名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务类型" prop="cnybop.cnyinc.stranstype">
<c-select
v-model="model.cnybop.cnyinc.stranstype"
style="width: 100%"
placeholder="请选择业务类型"
:code="codes.stranstype"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="境内企业名称" prop="cnybop.sorgname">
<c-input
v-model="model.cnybop.sorgname"
maxlength="80"
placeholder="请输入境内企业名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="境外企业名称" prop="cnybop.sforeignorgname">
<c-input
v-model="model.cnybop.sforeignorgname"
maxlength="80"
placeholder="请输入境外企业名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务发生日期" prop="cnybop.cnyinc.doccurdate">
<c-date-picker
type="date"
v-model="model.cnybop.cnyinc.doccurdate"
style="width: 100%"
placeholder="请选择业务发生日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="信用证到期日" prop="cnybop.cnyinc.dcreditenddate">
<c-date-picker
type="date"
v-model="model.cnybop.cnyinc.dcreditenddate"
style="width: 100%"
placeholder="请选择信用证到期日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="金额" prop="cnybop.cnyinc.famt">
<c-input
v-model="model.cnybop.cnyinc.famt"
placeholder="请输入金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="承兑金额" prop="cnybop.fexchangeamt">
<c-input
v-model="model.cnybop.fexchangeamt"
maxlength="20"
placeholder="请输入承兑金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易附言" prop="cnybop.saddwordlib">
<c-input
v-model="model.cnybop.saddwordlib"
maxlength="80"
placeholder="请输入交易附言"
></c-input>
</el-form-item>
</c-col>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betset/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
...@@ -397,11 +397,11 @@ ...@@ -397,11 +397,11 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="福费转卖类型" prop="bpdgrp.rec.ffttyp"> <el-form-item label="福费转卖类型" prop="bpdgrp.rec.ffttyp">
<c-input <c-input
v-model="model.bpdgrp.rec.ffttyp" v-model="model.bpdgrp.rec.ffttyp"
maxlength="40" maxlength="40"
placeholder="请输入福费转卖类型" placeholder="请输入福费转卖类型"
disabled disabled
> >
<el-option <el-option
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
:disabled="!(this.model.bopmod.szflg == '1')" :disabled="!(this.model.bopmod.szflg == '1')"
> >
<el-option <el-option
v-for="item in codes.acttyp0" v-for="item in codes.acttyp"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
style="width: 100%" style="width: 100%"
placeholder="请选择地区机构号" placeholder="请选择地区机构号"
:code="codes.ownextkey1" :code="codes.ownextkey1"
:disabled="this.model.bopmod.szflg == '3'" :disabled="!(this.model.bopmod.szflg == '1'||this.model.bopmod.szflg == '2')"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -76,6 +76,7 @@ ...@@ -76,6 +76,7 @@
placeholder="请选择国外银行扣费(涉外收入申报专用)" placeholder="请选择国外银行扣费(涉外收入申报专用)"
disabled disabled
style="width: 100%" style="width: 100%"
> >
<el-option <el-option
v-for="item in codes.curtxt1" v-for="item in codes.curtxt1"
...@@ -91,6 +92,7 @@ ...@@ -91,6 +92,7 @@
<el-form-item label="" label-width="5px" prop="bopmod.outchargeamt"> <el-form-item label="" label-width="5px" prop="bopmod.outchargeamt">
<c-input <c-input
v-model="model.bopmod.outchargeamt" v-model="model.bopmod.outchargeamt"
class="m-input-currency"
placeholder="请输入国外银行扣费(涉外收入申报专用)" placeholder="请输入国外银行扣费(涉外收入申报专用)"
:disabled=" :disabled="
!( !(
......
...@@ -82,6 +82,11 @@ ...@@ -82,6 +82,11 @@
<m-cnyp :model="model" :codes="codes"/> <m-cnyp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--cnybop PD000001 2101跨境收入信息 -->
<el-tab-pane label="2101跨境收入信息" name="incp" v-if="model.cnybop.cnyflg=='1'">
<m-incp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/> <m-limitbody :model="model" :codes="codes"/>
...@@ -106,6 +111,7 @@ import Wg from "./Wg" ...@@ -106,6 +111,7 @@ import Wg from "./Wg"
import Cnyp from "./Cnyp" import Cnyp from "./Cnyp"
import Basp from "./Basp" import Basp from "./Basp"
import Basp1 from "./Basp1" import Basp1 from "./Basp1"
import Incp from "./Incp"
import Glepan from "~/views/Public/Glepan"; import Glepan from "~/views/Public/Glepan";
import Doctre from "~/views/Public/Doctre" import Doctre from "~/views/Public/Doctre"
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
...@@ -131,6 +137,7 @@ export default { ...@@ -131,6 +137,7 @@ export default {
"m-cnyp" : Cnyp, "m-cnyp" : Cnyp,
"m-basp" : Basp, "m-basp" : Basp,
"m-basp1" : Basp1, "m-basp1" : Basp1,
"m-incp" : Incp,
}, },
provide() { provide() {
return { return {
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Litsel from "~/model/Ditsel" import Litsel from "~/model/Litsel"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
...@@ -20,7 +20,7 @@ export default { ...@@ -20,7 +20,7 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
trnName:'ditsel', trnName:'litsel',
model:new Litsel().data, model:new Litsel().data,
navcode:[ navcode:[
// {code:"",label:"",isDis:"",title:""}, // {code:"",label:"",isDis:"",title:""},
......
...@@ -476,7 +476,7 @@ ...@@ -476,7 +476,7 @@
ref="childs" ref="childs"
:ownref="ownref" :ownref="ownref"
trnCode="letsel" trnCode="letsel"
ownrefPath="ledgrp" ownrefPath="ltdgrp"
tabIndex="9" tabIndex="9"
:model="letselModel" :model="letselModel"
@onChoose="onChoose" @onChoose="onChoose"
...@@ -662,7 +662,7 @@ export default { ...@@ -662,7 +662,7 @@ export default {
this.$router.history.push("/business/" + code); this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false; this.$refs.childs.initdialog = false;
}, },
async getDitSelInfo(code) { async getLetSelInfo(code) {
//跳转交易 //跳转交易
this.$router.history.push("/business/" + code); this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false; this.$refs.childs.initdialog = false;
...@@ -684,11 +684,11 @@ export default { ...@@ -684,11 +684,11 @@ export default {
this.$refs[refId].doClose(); this.$refs[refId].doClose();
}, },
toLetnot() { // toLttnot() {
this.$router.history.push("/business/letnot"); // this.$router.history.push("/business/lttnot");
}, // },
toLetopn() { toLttopn() {
this.$router.history.push("/business/letopn"); this.$router.history.push("/business/lttopn");
}, },
// handleReset: function () { // handleReset: function () {
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttdck/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" placeholder="请输入our reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onMtdbutButapy">
确定
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="减少的金额" prop="setmod.redamt">
<c-input v-model="model.setmod.redamt" placeholder="请输入减少的金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="减少后的结算金额" prop="setmod.setamt">
<c-input v-model="model.setmod.setamt" placeholder="请输入减少后的结算金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="注释" prop="setmod.redamttxt">
<c-input type="textarea" v-model="model.setmod.redamttxt" maxlength="35" show-word-limit placeholder="请输入注释" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onMtdbutButcan">
取消
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttdck/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit placeholder="请输入修改申请人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" placeholder="请输入国内证通知书"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttdck/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="14">
<c-col :span="24">
<div style="height: 300px; width: 100%; border: 1px #ebeef5 solid">
<el-tree
:data="data"
:props="defaultProps"
@node-click="handleNodeClick"
></el-tree>
</div>
</c-col>
<c-col :span="24" style="margin-top: 10px">
<c-col :span="4">
<el-form-item
label="关联单据"
v-show="isShow1 || isShow2"
></el-form-item>
<el-form-item
label=""
v-show="!(isShow1 || isShow2)"
></el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="">
<c-checkbox v-model="isShow1">显示收到的信息</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="8" :offset="2">
<el-form-item label="">
<c-checkbox v-model="isShow2">显示以前发出的信息</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="22" :offset="1">
<c-table
:border="true"
:list="data1"
style="width:80%,text-align:center"
v-show="isShow1 || isShow2"
>
<el-table-column label="类型" width="auto"></el-table-column>
<el-table-column label="单据" width="auto"></el-table-column>
<el-table-column label="Cre.TRN" width="auto"></el-table-column>
<el-table-column label="日期" width="auto"></el-table-column>
<el-table-column label="" width="auto"></el-table-column>
<el-table-column label="" width="auto"></el-table-column>
</c-table>
</c-col>
</c-col>
<c-col :span="6" :offset="1">
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onTrndocButshw"
style="width: 100px"
>
Show
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onTrndocButadd"
style="width: 100px"
>
Details
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onTrndocButnew"
style="width: 100px"
>
Add New
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onTrndocButattto"
style="width: 100px"
>
Attach to
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
icon="el-icon-delete"
@click="onTrndocButdel"
style="width: 100px"
>
Delete
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onTrndocButatt"
style="width: 100px"
>
Attach
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button
size="small"
type="primary"
@click="onSeainf"
style="width: 100px"
>
i
</c-button>
</c-col>
</c-col>
</c-col>
<!--c-col :span="12">
<el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" placeholder="请输入File Receiver"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input
v-model="model.trnmod.trndoc.doctrestm"
placeholder="请输入Document tree"
></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary" @click="onTrndocButshw">
Sho&w
</c-button>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary" @click="onTrndocButadd">
D&etails
</c-button>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary" @click="onTrndocButnew">
&Add New
</c-button>
</c-col>
<c-col :span="3">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
Delete
</c-button>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.trnmod.trndoc.shwinc"
>Show Incoming Messages</c-checkbox
>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.trnmod.trndoc.shwout"
>Show Outgoing Messages</c-checkbox
>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.trnmod.trndoc.shwoutint">
Outgoing
</c-checkbox>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input
v-model="model.trnmod.trndoc.condocstm"
placeholder="请输入Connected Documents"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
Attach
</c-button>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" @click="onTrndocButattto">
Attach to
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input
v-model="model.trnmod.trndoc.rcvatt.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col-->
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttdck/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
data1: [],
isShow1: false,
isShow2: false,
data: [
{
label: "Internal",
children: [{ label: "'Free Message' via Letter" }],
},
],
};
},
methods: { ...Event },
handleNodeClick() {},
defaultProps() {},
created: function () {},
};
</script>
<style>
</style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row> <!-- left -->
<c-col :span="11"> <c-col :span="11">
<c-col :span="15"> <c-col :span="24">
<el-form-item label="Discrepancies" prop="btdgrp.blk.docdis"> <el-form-item
label="Discrepancies"
prop="btdgrp.blk.docdis"
style="width: 100%"
>
<c-fullbox>
<c-input <c-input
type="textarea" type="textarea"
v-model="model.btdgrp.blk.docdis" v-model="model.btdgrp.blk.docdis"
maxlength="50" maxlength="50"
show-word-limit show-word-limit
placeholder="请输入Discrepancies" placeholder="Please input Discrepancies"
@change="defaultFunction()"
:disabled="!docdisflg"
></c-input> ></c-input>
</el-form-item> <template slot="footer">
</c-col>
<c-col :span="3">
<c-button <c-button
style="margin-left: 10px; padding: 0 10px"
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" :disabled="!docdisflg"
@click="onDocdisButtxmsel" @click="
showGridPromptDialog(
'bttp.docdis.buttxmsel',
null,
null,
{ TXT: 'btdgrp.blk.docdis' },
{ TXT: false },
'doxpDialog'
)
"
> >
... ...
</c-button> </c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
<c-col :span="6">
<c-checkbox v-model="model.btdgrp.blk.docdisflg" <c-col :span="24">
>discrepancies modified</c-checkbox <el-form-item
label="Internal Discrepancies"
prop="btdgrp.blk.intdis"
style="width: 100%"
> >
</c-col> <c-fullbox>
<c-col :span="21">
<el-form-item label="Internal Discrepancies" prop="btdgrp.blk.intdis">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.btdgrp.blk.intdis" v-model="model.btdgrp.blk.intdis"
maxlength="65" maxlength="65"
show-word-limit show-word-limit
placeholder="请输入Internal Discrepancies" placeholder="Please input Internal Discrepancies"
></c-input> ></c-input>
</el-form-item> <template slot="footer">
</c-col>
<c-col :span="3">
<c-button <c-button
style="margin-left: 10px; padding: 0 10px"
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" @click="
@click="onIntdisButtxmsel" showGridPromptDialog(
'bttp.intdis.buttxmsel',
null,
null,
{ TXT: 'btdgrp.blk.intdis' },
{ TXT: false },
'doxpDialog'
)
"
> >
... ...
</c-button> </c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
<c-col :span="21">
<c-col :span="24">
<el-form-item <el-form-item
label="Comments and Conclusions" label="Comments and Conclusions"
prop="btdgrp.blk.comcon" prop="btdgrp.blk.comcon"
style="width: 100%"
> >
<c-fullbox>
<c-input <c-input
type="textarea" type="textarea"
v-model="model.btdgrp.blk.comcon" v-model="model.btdgrp.blk.comcon"
maxlength="65" maxlength="65"
show-word-limit show-word-limit
placeholder="请输入Comments and Conclusions" placeholder="Please input Comments and Conclusions"
></c-input> ></c-input>
</el-form-item> <template slot="footer">
</c-col>
<c-col :span="3">
<c-button <c-button
style="margin-left: 10px; padding: 0 10px"
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" @click="
@click="onComconButtxmsel" showGridPromptDialog(
'bttp.comcon.buttxmsel',
null,
null,
{ TXT: 'btdgrp.blk.comcon' },
{ TXT: false },
'doxpDialog'
)
"
> >
... ...
</c-button> </c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
<c-col :span="21">
<c-col :span="24">
<el-form-item <el-form-item
label="Settlement Instructions transaction field" label="Settlement Instructions for this Document Set"
prop="btdgrp.blk.setinsbt" prop="btdgrp.blk.setinsbt"
style="width: 100%"
> >
<c-fullbox>
<c-input <c-input
type="textarea" type="textarea"
v-model="model.btdgrp.blk.setinsbt" v-model="model.btdgrp.blk.setinsbt"
maxlength="65" maxlength="65"
show-word-limit show-word-limit
placeholder="请输入Settlement Instructions transaction field" placeholder="Please input Settlement Instructions for this Document Set"
></c-input> ></c-input>
</el-form-item> <template slot="footer">
</c-col>
<c-col :span="3">
<c-button <c-button
style="margin-left: 10px; padding: 0 10px"
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" @click="
@click="onSetinsButtxmsel" showGridPromptDialog(
'bttp.setins.buttxmsel',
null,
null,
{ TXT: 'btdgrp.blk.setinsbe' },
{ TXT: false },
'doxpDialog'
)
"
> >
... ...
</c-button> </c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
<c-col :span="21">
<span
v-text="model.bttp.docgrdmbe2.docdsclab"
data-path=".bttp.docgrdmbe2.docdsclab"
>
</span>
</c-col> </c-col>
<!-- right -->
<c-col :span="21"> <c-col :span="11" :offset="1">
<span <!-- <c-col :span="24">
v-text="model.bttp.docgrdmbe1.docdsclab" <el-form-item label="Further Handling" prop="betp.folwupopt">
data-path=".bttp.docgrdmbe1.docdsclab" <c-fullbox>
<c-select
v-model="model.betp.folwupopt"
style="width: 100%"
placeholder="Please select Further Handling"
disabled
@change="defaultFunction()"
> >
</span> <el-option
</c-col> v-for="item in codes.folwupopt1"
:key="item.value"
<c-col :span="24"></c-col> :label="item.label"
<c-col :span="24"></c-col> :value="item.value"
<c-col :span="24"></c-col>
<c-col :span="24"></c-col>
</c-col>
<c-col :span="12" :offset="1">
<c-col :span="24">
<el-form-item
label="Discrepancies First Beneficiary"
prop="btdgrp.blk.docdisbe1"
> >
<c-input </el-option>
type="textarea" </c-select>
v-model="model.btdgrp.blk.docdisbe1" <template slot="footer">
maxlength="50" <c-checkbox v-model="docdisflg" style="margin-left: 10px" @change="defaultFunction()"
show-word-limit >Discrepancies modified</c-checkbox
placeholder="请输入Discrepancies" >
></c-input> </template>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="further handling" prop="bttp.futhndflg"> <el-form-item label="Payer" prop="btdgrp.rec.payrol">
<c-select <c-select
v-model="model.bttp.futhndflg" v-model="model.btdgrp.rec.payrol"
style="width: 100%" style="width: 100%"
placeholder="请选择further handling" placeholder="Please select Payer"
@change="selectOrCheckboxRule('btdgrp.rec.payrol')"
>
<el-option
v-for="item in codes.payrol"
: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 :span="24">
<c-ptap
:model="model"
:argadr="{
title: '',
grp: 'btdgrp',
rol: 'oth',
}"
:noRef="false"
:disabled="!(model.btdgrp.rec.payrol=='OTH')"
:isAdrblk="true"
:disabledRef="payrolFlag"
:disabledExtkey="payrolFlag"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col> -->
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="Document Set Status" prop="btdgrp.rec.docsta">
<c-input
v-model="model.btdgrp.rec.docsta"
maxlength="40"
placeholder="请输入Document Set Status"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24"></c-col>
<c-col :span="24"></c-col>
<c-col :span="24"></c-col>
<c-col :span="24"></c-col>
</c-row>
<!-- next part -->
<c-docpre
:model="model"
:argadr="{
path: 'btdgrp.blk.prsdoc',
grp: 'bttp',
code: 'docpre',
}"
>
</c-docpre>
</div> </div>
</template> </template>
<script> <script>
...@@ -179,14 +237,36 @@ import Api from "~/service/Api"; ...@@ -179,14 +237,36 @@ 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/Lttdck/Event"; import Event from "~/model/Lttdck/Event";
import Ptap from "~/views/Public/Ptap";
import Docpre from "~/views/Public/Docpre";
export default { export default {
name: "Docpre",
components: { "c-ptap": Ptap, "c-docpre": Docpre },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return {}; return {};
}, },
computed: {
docdisflg: {
get() {
return this.model.btdgrp.blk.docdisflg != "";
},
set(val) {
this.model.btdgrp.blk.docdisflg = val ? "X" : "";
},
},
payrolFlag: {
get() {
return (
this.model.btdgrp.rec.payrol == "AVB" ||
this.model.btdgrp.rec.payrol == "ISS"
);
},
},
},
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
}; };
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Sight Amount" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" placeholder="请输入Sight Amount Percentage"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Booking Amount" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount not yet assigned" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
Add to Sight Amount
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Old Amount booked externally" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" placeholder="请输入Old Amount booked externally"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttdck/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自�'�区主�'�号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttdck/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row> <!-- left -->
<!-- 左边 shift+Alt+F 格式化代码 -->
<c-col :span="11"> <c-col :span="11">
<c-col :span="24">
<c-col :span="20"> <c-col :span="20">
<el-form-item label="L/C Reference" prop="ledgrp.rec.ownref"> <el-form-item
label="L/C Reference"
prop="ledgrp.rec.ownref"
style="width: 100%"
>
<c-input <c-input
v-model="model.ledgrp.rec.ownref" v-model="model.ledgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入L/C Reference" placeholder="请输入L/C Reference"
style="width: 100%"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="1">
<el-form-item label="" label-width="15px">
<c-button <c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small" size="small"
type="primary;width:10%" type="primary"
@click="onSeainf" @click="onSeainf"
>i</c-button
> >
<!--c-button <span
size="small" style="font-size: 15px; font-family: '宋体'; font-weight: bold"
type="primary" >i</span
:disabled="this.flag"
@click="onLttpButgetref"
> >
获取 </c-button>
</c-button--> </c-col>
</el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="20"> <c-col :span="20">
<el-form-item label="Transfer Reference" prop="ltdgrp.rec.ownref"> <el-form-item
label="Transfer Reference"
prop="ltdgrp.rec.ownref"
style="width: 100%"
>
<c-input <c-input
v-model="model.ltdgrp.rec.ownref" v-model="model.ltdgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入Transfer Reference" placeholder="请输入Transfer Reference"
style="width: 100%"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="1">
<el-form-item label="" label-width="15px">
<c-button <c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small" size="small"
type="primary;width:10%" type="primary"
@click="onSeainf" @click="onSeainf"
>i</c-button
> >
<!--c-button <span
size="small" style="font-size: 15px; font-family: '宋体'; font-weight: bold"
type="primary" >i</span
:disabled="this.flag"
@click="onLttpButgetref"
> >
获取 </c-button>
</c-button-->
</el-form-item>
</c-col> </c-col>
<c-col :span="8"> </c-col>
<c-col :span="24">
<el-form-item label="L/C Amount" prop="ltdgrp.cbs.nom1.cur"> <el-form-item label="L/C Amount" prop="ltdgrp.cbs.nom1.cur">
<c-select <c-fullbox>
<c-input
v-model="model.ltdgrp.cbs.nom1.cur" v-model="model.ltdgrp.cbs.nom1.cur"
maxlength="3" maxlength="3"
placeholder="CUR" style="width: 50%"
></c-select> placeholder="请输入L/C Amount"
</el-form-item> disabled
</c-col> ></c-input>
<c-col :span="12">
<el-form-item prop="ltdgrp.cbs.nom1.amt">
<c-input <c-input
v-model="model.ltdgrp.cbs.nom1.amt" v-model="model.ltdgrp.cbs.nom1.amt"
placeholder="0.000" style="width: 50%"
></c-input> placeholder="请输入Balance"
</el-form-item> disabled
</c-col> ></c-input>
<c-col :span="4"> <template slot="footer">
<c-checkbox v-model="model.bttp.aammod.addamtflg" <c-checkbox
v-model="model.bttp.aammod.addamtflg"
style="margin-left: 10px"
disabled
>Add. Amount</c-checkbox >Add. Amount</c-checkbox
> >
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
<c-col :span="8">
<c-col :span="24">
<el-form-item label="Open Amount" prop="ltdgrp.cbs.opn1.cur"> <el-form-item label="Open Amount" prop="ltdgrp.cbs.opn1.cur">
<c-select <c-fullbox>
<c-input
v-model="model.ltdgrp.cbs.opn1.cur" v-model="model.ltdgrp.cbs.opn1.cur"
maxlength="3" maxlength="3"
placeholder="CUR" style="width: 50%"
></c-select> placeholder="请输入Open Amount"
</el-form-item> disabled
</c-col> ></c-input>
<c-col :span="12">
<el-form-item prop="ltdgrp.cbs.opn1.amt">
<c-input <c-input
v-model="model.ltdgrp.cbs.opn1.amt" v-model="model.ltdgrp.cbs.opn1.amt"
placeholder="0.000" style="width: 50%"
placeholder="请输入Balance"
disabled
></c-input> ></c-input>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Available with" prop="ltdgrp.avbnam"> <c-form-item label="Available with" prop="ltdgrp.avbnam">
<c-input <c-input
v-model="model.ltdgrp.avbnam" v-model="model.ltdgrp.avbnam"
maxlength="40" maxlength="40"
placeholder="请输入Available with" placeholder="Please input Available with"
disabled
></c-input> ></c-input>
</el-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="15">
<el-form-item label="Available by" prop="ltdgrp.rec.avbby"> <c-col :span="24">
<c-col :span="12">
<el-form-item label="by" prop="ltdgrp.rec.avbby">
<c-fullbox>
<c-select <c-select
v-model="model.ltdgrp.rec.avbby" v-model="model.ltdgrp.rec.avbby"
maxlength="3"
style="width: 100%" style="width: 100%"
placeholder="请选择Available by" placeholder="Please input Open Amount"
> disabled
</c-select> :code="codes.avbby"
></c-select>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="9"> <c-col :span="12">
<el-form-item label="Shipment Date" prop="ltdgrp.rec.shpdat"> <el-form-item label="Shipment Date" prop="ltdgrp.rec.shpdat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.ltdgrp.rec.shpdat" v-model="model.ltdgrp.rec.shpdat"
style="width: 100%" style="width: 100%"
placeholder="请选择Shipment Date" placeholder="Please select Shipment Date"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="9"> </c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Date Issued/Form" prop="ltdgrp.rec.opndat"> <el-form-item label="Date Issued/Form" prop="ltdgrp.rec.opndat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.ltdgrp.rec.opndat" v-model="model.ltdgrp.rec.opndat"
style="width: 100%" style="width: 100%"
placeholder="请选择Date Issued/Form" placeholder="Please select Date Issued/Form"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="15"> <c-col :span="12">
<el-form-item label="" prop="ltdgrp.rec.lcrtyp"> <c-input
<c-select
v-model="model.ltdgrp.rec.lcrtyp" v-model="model.ltdgrp.rec.lcrtyp"
style="width: 100%" maxlength="40"
placeholder="请选择Date Issued/Form" placeholder="Please input Available with"
> disabled
</c-select> :code="codes.lcrtyp1"
</el-form-item> ></c-input>
</c-col>
</c-col> </c-col>
<c-col :span="9">
<el-form-item label="Date / Place of Expiry" prop="ltdgrp.rec.expdat"> <c-col :span="24">
<c-col :span="12">
<el-form-item label="Date/Place of Expiry" prop="ltdgrp.rec.expdat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.ltdgrp.rec.expdat" v-model="model.ltdgrp.rec.expdat"
style="width: 100%" style="width: 100%"
placeholder="请选择Date / Place of Expiry" placeholder="Please select Shipment Date"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="15"> <c-col :span="12">
<el-form-item label="" prop="ltdgrp.rec.expplc">
<c-input <c-input
v-model="model.ltdgrp.rec.expplc" v-model="model.ltdgrp.rec.expplc"
maxlength="29" maxlength="40"
placeholder="请输入Date / Place of Expiry" placeholder="Please input Available with"
disabled
></c-input>
</c-col>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Name" prop="ledgrp.rec.nam">
<c-input
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="请输入Externally Displayed Name to Identify the Contract"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Document Set Ref." prop="btdgrp.rec.ownref"> <el-form-item label="Name" prop="ltdgrp.rec.nam">
<c-input
v-model="model.ltdgrp.rec.nam"
maxlength="40"
placeholder="请输入Externally Displayed Name to Identify the Contract"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: '1st Beneficiary',
grp: 'btdgrp',
rol: 'be1',
}"
:enRef="true"
:enNam="true"
:disabled="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: '2nd Beneficiary',
grp: 'btdgrp',
rol: 'be2',
}"
:enRef="true"
:enNam="true"
:disabled="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: 'Presenting Bank',
grp: 'btdgrp',
rol: 'prb',
}"
:enRef="true"
:enNam="true"
:disabled="true"
></c-ptsmsg>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item style="margin-left: -150px">
<el-divider />
</el-form-item>
</c-col>
<!-- next part -->
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="20">
<el-form-item
label="Document Set Ref."
prop="btdgrp.rec.ownref"
style="width: 100%"
>
<c-input <c-input
v-model="model.btdgrp.rec.ownref" v-model="model.btdgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入Document Set Ref." placeholder="请输入Reference"
style="width: 95%"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="1">
<el-form-item label="" label-width="15px">
<c-button <c-button
style="margin: 0 10px 0 0; padding: 0 12px"
size="small" size="small"
type="primary;width:10%" type="primary"
@click="onSeainf" @click="onSeainf"
>i</c-button
> >
</el-form-item> <span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
</c-col> </c-col>
<!--c-col :span="1"> <c-col :span="2" :offset="1" style="text-align: right">
<el-form-item label="i" prop="bttp.recget.sdamod.seainf"> <c-button
<c-input style="margin: 0 0"
v-model="model.bttp.recget.sdamod.seainf" size="small"
placeholder="请输入" type="primary"
></c-input> @click="onBttmodButgetref"
</el-form-item> :disabled="
</c-col--> model.ltdgrp.rec.inr && !model.btdgrp.rec.ownref ? false : true
<c-col :span="6"> "
<c-button size="small" type="primary" @click="onBttmodButgetref"> >
Get Ref Get
</c-button> </c-button>
</c-col> </c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Document Type" prop="btdgrp.rec.doctypcod"> <el-form-item
label="Document Type"
prop="btdgrp.rec.doctypcod"
style="width: 100%"
>
<c-select <c-select
v-model="model.btdgrp.rec.doctypcod" v-model="model.btdgrp.rec.doctypcod"
style="width: 100%" style="width: 100%"
placeholder="请选择Document Type" placeholder="Please select Document Type"
disabled
> >
<el-option
v-for="item in codes.doctypcod1"
: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>
<c-col :span="9">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur"> <el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
<c-select <c-input
v-model="model.btdgrp.cbs.max.cur" v-model="model.btdgrp.cbs.max.cur"
style="width: 100%" maxlength="3"
placeholder="CUR" placeholder="Please input Document Amount"
> disabled
</c-select> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="15"> <c-col :span="12">
<el-form-item label="" prop="btdgrp.cbs.max.amt"> <el-form-item label="" label-width="5px" prop="btdgrp.cbs.max.amt">
<c-input <c-input
v-model="model.btdgrp.cbs.max.amt" v-model="model.btdgrp.cbs.max.amt"
placeholder="0.000" placeholder="Please input Balance"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="9"> </c-col>
<el-form-item label="附加金额" prop="btdgrp.cbs.opn2.cur">
<c-select <c-col :span="24">
<c-col :span="12">
<el-form-item label="Drawn Add. Amount" prop="btdgrp.cbs.opn2.cur">
<c-input
v-model="model.btdgrp.cbs.opn2.cur" v-model="model.btdgrp.cbs.opn2.cur"
style="width: 100%" maxlength="3"
placeholder="CUR" placeholder="Please input Drawn Add. Amount"
> disabled
</c-select> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-col :span="15"> <el-form-item label="" label-width="5px" prop="btdgrp.cbs.max2.amt">
<el-form-item label="" prop="btdgrp.cbs.max2.amt">
<c-input <c-input
v-model="model.btdgrp.cbs.max2.amt" v-model="model.btdgrp.cbs.max2.amt"
placeholder="0.000" placeholder="Please input Balance"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item <el-form-item
label="Received on (2nd Ben)" label="Received on(2nd Ben)"
prop="btdgrp.rec.rcvdatbe2" prop="btdgrp.rec.rcvdatbe2"
> >
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.btdgrp.rec.rcvdatbe2" v-model="model.btdgrp.rec.rcvdatbe2"
style="width: 100%" style="width: 100%"
placeholder="请选择Received on (2nd Ben)" placeholder="Please select Received on(2nd Ben)"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item <el-form-item label="Order Date" prop="btdgrp.rec.orddatbe2">
label="Order Date (2nd Ben)"
prop="btdgrp.rec.orddatbe2"
>
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.btdgrp.rec.orddatbe2" v-model="model.btdgrp.rec.orddatbe2"
style="width: 100%" style="width: 100%"
placeholder="请选择Order Date 2nd Beneficiary" placeholder="Please select Order Date"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Maturity Date" prop="btdgrp.rec.matdat"> <el-form-item label="Maturity Date" prop="btdgrp.rec.matdat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.btdgrp.rec.matdat" v-model="model.btdgrp.rec.matdat"
style="width: 100%" style="width: 100%"
placeholder="请选择Maturity Date" placeholder="Please select Maturity Date"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Date of Shipment" prop="btdgrp.rec.shpdat"> <el-form-item label="Shipped on" prop="btdgrp.rec.shpdat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.btdgrp.rec.shpdat" v-model="model.btdgrp.rec.shpdat"
style="width: 100%" style="width: 100%"
placeholder="请选择Date of Shipment" placeholder="Please select Shipped on"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Maturity Period" prop="btdgrp.blk.matper"> <el-form-item label="Maturity Period" prop="btdgrp.blk.matper">
<c-input <c-input
...@@ -297,114 +430,34 @@ ...@@ -297,114 +430,34 @@
v-model="model.btdgrp.blk.matper" v-model="model.btdgrp.blk.matper"
maxlength="65" maxlength="65"
show-word-limit show-word-limit
placeholder="请输入Maturity Period" placeholder="Please input Maturity Period"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.btdgrp.rec.dscinsflg" <el-form-item
>Enter Docs, Discrep. and Instructions</c-checkbox label="Previous Drawings under this L/C"
prop="ltdgrp.rec.utlnbr"
> >
</c-col>
<c-col :span="12">
<el-form-item label="Number of Utilizations" prop="ltdgrp.rec.utlnbr">
<c-input <c-input
v-model="model.ltdgrp.rec.utlnbr" v-model.number="model.ltdgrp.rec.utlnbr"
placeholder="请输入Number of Utilizations" placeholder="Please input Previous Drawings under this L/C"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"></c-col>
</c-col> </c-col>
<!-- 右边 -->
<!-- right -->
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Name" prop="ledgrp.rec.nam">
<c-input
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="请输入Name"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Name" prop="ltdgrp.rec.nam">
<c-input
v-model="model.ltdgrp.rec.nam"
maxlength="40"
placeholder="请输入Name"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="1st Beneficiary" prop="btdgrp.be1.pts.ref">
<c-input
v-model="model.btdgrp.be1.pts.ref"
maxlength="16"
placeholder="请输入1st Beneficiary"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.be1.pts.nam">
<c-input
v-model="model.btdgrp.be1.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="2nd Beneficiary" prop="btdgrp.be2.pts.ref">
<c-input
v-model="model.btdgrp.be2.pts.ref"
maxlength="16"
placeholder="请输入2nd Beneficiary"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.be2.pts.nam">
<c-input
v-model="model.btdgrp.be2.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Presenting Bank" prop="btdgrp.prb.pts.ref">
<c-input
v-model="model.btdgrp.prb.pts.ref"
maxlength="16"
placeholder="请输入Presenting Bank"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.prb.pts.nam">
<c-input
v-model="model.btdgrp.prb.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
<!--c-col :span="12">
<el-form-item label="Description" prop="bttp.ltdget.sdamod.seainf">
<c-input
v-model="model.bttp.ltdget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col-->
<c-col :span="24">
<el-form-item label="Description" prop="btdgrp.rec.nam"> <el-form-item label="Description" prop="btdgrp.rec.nam">
<c-input <c-input
v-model="model.btdgrp.rec.nam" v-model="model.btdgrp.rec.nam"
maxlength="40" maxlength="40"
placeholder="请输入Description" placeholder="Please input Description"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -413,129 +466,59 @@ ...@@ -413,129 +466,59 @@
<c-select <c-select
v-model="model.btdgrp.rec.docprbrol" v-model="model.btdgrp.rec.docprbrol"
style="width: 100%" style="width: 100%"
placeholder="请选择Presented by" placeholder="Please select Presented by"
@change="selectOrCheckboxRule('btdgrp.rec.docprbrol')"
> >
</c-select> <el-option
</el-form-item> v-for="item in codes.docprbrol0"
</c-col> :key="item.value"
<c-col :span="12"> :label="item.label"
<el-form-item :value="item.value"
label="External Key of Address"
prop="btdgrp.prb.pts.extkey"
> >
<c-input </el-option>
v-model="model.btdgrp.prb.pts.extkey" </c-select>
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onPrbpDet">
Details
</c-button>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Address Block" prop="btdgrp.prb.pts.adrblk"> <c-ptap
<c-input :model="model"
type="textarea" :argadr="{
v-model="model.btdgrp.prb.pts.adrblk" title: '',
maxlength="35" grp: 'btdgrp',
show-word-limit rol: 'prb',
placeholder="请输入Address Block" }"
></c-input> :noRef="true"
</el-form-item> :disabled="!(model.btdgrp.rec.docprbrol == 'PRB')"
</c-col> :disabledExtkey="model.btdgrp.rec.docprbrol == 'BEN'"
<!--c-col :span="24"> @onSeainf="onSeainf"
<el-form-item label="名称" prop="btdgrp.prb.namelc"> @onAplpDet="onBenpDet"
<c-input
type="textarea"
v-model="model.btdgrp.prb.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col-->
<!--c-col :span="12">
<el-form-item label="" prop="bttp.prbp.ptsget.sdamod.seainf">
<c-input
v-model="model.bttp.prbp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col-->
<c-col :span="12">
<c-checkbox v-model="model.ltdgrp.rec.docsubflg"
>Documents to be Substituted</c-checkbox
> >
</c-ptap>
</c-col> </c-col>
<c-col :span="24"></c-col>
</c-col>
</c-row>
<!--c-col :span="12"> <!-- <c-col :span="24">
<el-form-item label="Drag Drop Sender" prop="bttp.recget.sdamod.dadsnd">
<c-input
v-model="model.bttp.recget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col-->
<!--c-col :span="12">
<el-form-item label="" prop="bttp.ledget.sdamod.seainf">
<c-input
v-model="model.bttp.ledget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col-->
<!--c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bttp.ltdget.sdamod.dadsnd">
<c-input
v-model="model.bttp.ltdget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col-->
<!--c-col :span="12">
<el-form-item <el-form-item
label="Drag Drop Sender" label="发票类型"
prop="bttp.prbp.ptsget.sdamod.dadsnd" prop="btdgrp.rec.invtyp"
style="width: 100%"
> >
<c-input <c-select
v-model="model.bttp.prbp.ptsget.sdamod.dadsnd" v-model="model.btdgrp.rec.invtyp"
placeholder="请输入Drag Drop Sender" style="width: 100%"
></c-input> placeholder="请选择发票类型"
</el-form-item> >
</c-col--> <el-option
v-for="item in codes.invtyp1"
<!--c-col :span="12"> :key="item.value"
<el-form-item label="Chinese address" prop="btdgrp.prb.dbfadrblkcn"> :label="item.label"
<c-input :value="item.value"
type="textarea" >
v-model="model.btdgrp.prb.dbfadrblkcn" </el-option>
maxlength="35" </c-select>
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item> </el-form-item>
</c-col> -->
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="地址" prop="btdgrp.prb.adrelc">
<c-input
type="textarea"
v-model="model.btdgrp.prb.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col-->
</div> </div>
</template> </template>
<script> <script>
...@@ -543,8 +526,11 @@ import Api from "~/service/Api"; ...@@ -543,8 +526,11 @@ 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/Lttdck/Event"; import Event from "~/model/Lttdck/Event";
import Ptsmsg from "~/views/Public/Ptsmsg";
import Ptap from "~/views/Public/Ptap";
export default { export default {
components: { "c-ptsmsg": Ptsmsg, "c-ptap": Ptap },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
...@@ -552,6 +538,11 @@ export default { ...@@ -552,6 +538,11 @@ export default {
return {}; return {};
}, },
methods: { ...Event }, methods: { ...Event },
computed: {
flag() {
return this.model.mtabut.coninf.usr.extkey == "";
},
},
created: function () {}, created: function () {},
}; };
</script> </script>
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false"> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-function-btn
:handleSubmit="handleSubmit"
<!--PD000049 --> :handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--lttdck PD000049 Documents Received -->
<el-tab-pane label="Documents Received" name="utlp1"> <el-tab-pane label="Documents Received" name="utlp1">
<m-utlp1 :model="model" :codes="codes"/> <c-content>
</el-tab-pane> <m-utlp1 :model="model" :codes="codes" />
</c-content>
<!--PD000296 -->
<el-tab-pane label="Discr./Instr" name="dscinsp">
<m-dscinsp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--bttp PD000296 Discr./Instr. -->
<!--PD000027 --> <el-tab-pane label="Discr./Instr." name="dscinsp">
<el-tab-pane label="Engagement" name="engp"> <m-dscinsp :model="model" :codes="codes" />
<m-engp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--liaall PD000027 Liability -->
<!--PD000020 --> <el-tab-pane label="Liability" name="engp">
<el-tab-pane label="Settlement Details" name="detp"> <m-engp :model="model" :codes="codes" />
<m-detp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--setmod PD000000 Settlement -->
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan"> <el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--coninf PD000000 Completion -->
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--trndoc PD000529 &Messages -->
<!--PD000529 --> <el-tab-pane label="Messages" name="docpan">
<el-tab-pane label="Message" name="docpan"> <m-docpan :model="model" :codes="codes" />
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--trndoc PD000546 Attachments -->
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre"> <el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Lttdck from "~/model/Lttdck" import Lttdck from "~/model/Lttdck";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Lttdck/Check" import commonFuncs from "~/mixin/commonFuncs";
import Default from "~/model/Lttdck/Default" import Check from "~/model/Lttdck/Check";
import Pattern from "~/model/Lttdck/Pattern" import Default from "~/model/Lttdck/Default";
import Utlp1 from "./Utlp1" import Pattern from "~/model/Lttdck/Pattern";
import Dscinsp from "./Dscinsp" import Utlp1 from "./Utlp1";
import Engp from "~/views/Public/Engp" import Dscinsp from "./Dscinsp";
import Detp from "./Detp" import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan" import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp" import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan" import Docpan from "~/views/Public/Docpan";
import Doctre from "./Doctre" import Doctre from "~/views/Public/Doctre";
export default { export default {
components:{ name: "Lttdck",
"m-utlp1" : Utlp1, components: {
"m-dscinsp" : Dscinsp, "m-utlp1": Utlp1,
"m-engp" : Engp, "m-dscinsp": Dscinsp,
"m-detp" : Detp, "m-engp": Engp,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-doctre" : Doctre, "m-doctre": Doctre,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "utlp1", tabVal: "utlp1",
trnName: "lttdck", trnName: "lttdck",
trnType: "",
model: new Lttdck().data, model: new Lttdck().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
...CodeTable,
}, },
} };
}, },
methods:{ methods: {
tabClick(){ myTabClick(tab) {
} this.tabClick(tab);
/**
* do it yourself
**/
}, },
created:async function(){ },
created: async function () {
console.log("进入lttdck交易"); console.log("进入lttdck交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({});
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑 if (this.isInDisplay) {
this.restoreDisplay();
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="showGridPromptDialog('cnybop.libcty.selbut1', null, null,{TXT: @click="showGridPromptDialog('cnybop.libcty.selbut1', null, null,{COD:
'cnybop.cnylib.sforeigncountrycode'}, {TXT: false},'doxpDialog')" 'cnybop.cnylib.sforeigncountrycode'}, {TXT: false},'doxpDialog')"
> >
? ?
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
v-model="model.cnybop.cnylib.currencycode" v-model="model.cnybop.cnylib.currencycode"
style="width: 100%" style="width: 100%"
placeholder="请选择币种" placeholder="请选择币种"
:code="codes.currencycode" :code="codes.gitopn_cur"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
......
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