Commit f6133ae0 by wangna

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 5904f5c9 5b7f1d33
......@@ -4248,6 +4248,10 @@ const CodeTable = {
{ label: "NPAY", value: "NPAY" },
{ label: "NACC", value: "NACC" },
],
advtyp2:[
{ label: "Advice of Discrepancy (MT750)", value: "750" },
{ label: "Advice of Payment (MT754)", value: "754" },
],
limittype: [
{ label: "余额限额", value: "12" },
......
......@@ -50,7 +50,7 @@ export default {
],
"bodgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bodgrp.rec.matpercnt":[
{type: "string", required: false, message: "必输项"},
......@@ -67,10 +67,10 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"bodgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bodgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"setmod.docamt":[
......@@ -283,7 +283,7 @@ export default {
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
......
......@@ -76,9 +76,6 @@ export default class Bttrcl{
setinsbt:"", // Settlement Instructions transaction field .btdgrp.blk.setinsbt
},
},
liaall:{
tenstm:"", // Tenor Stream .liaall.tenstm
},
rmbclm:{
clmrmbflg:"", // Send MT 742 .rmbclm.clmrmbflg
rmbrmb:{
......@@ -130,11 +127,11 @@ export default class Bttrcl{
utlamt2:"", // Add. Amount utilized/settled .aamset.utlamt2
utlamt:"", // Doc. Amount utilized/settled .aamset.utlamt
},
trnmod:{
trndoc:{
nar754:"", // Narrative :77A: .trnmod.trndoc.nar754
},
},
// trnmod:{
// trndoc:{
// nar754:"", // Narrative :77A: .trnmod.trndoc.nar754
// },
// },
setmod:new Pub().data.Setmod,
mtabut:new Pub().data.Mtabut,
trnmod:new Pub().data.Trnmod,
......
......@@ -4,18 +4,86 @@ import Utils from "~/utils"
* Bttset Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"setmod.dspflg" :null,
"bttp0.recget.sdamod.dadsnd" :null,
"bopmod.dbagrp.bas.methods" :null,
"bopmod.dbagrp.bas.lcyacc" :null,
"cnybop.outflg" :null,
"bopmod.dbagrp.bas.outchargeamt" :null,
"bopmod.dbdgrp.bas.fcyacc" :null,
"bopmod.dbagrp.bas.fcyamt" :null,
"cnybop.cnyinc.sbalancemode" :null,
"bopmod.dbdgrp.bas.buscode" :null,
"bopmod.dbdgrp.bas.inchargeamt" :null,
"bopmod.dbdgrp.bas.idcode" :null,
"cnybop.cnyinc.spayercountrycode" :null,
"bopmod.dbdgrp.bas.custnm" :null,
"bopmod.dbagrp.bas.exrate" :null,
"bopmod.dbdgrp.bas.txamt" :null,
"bopmod.dbagrp.bas.txccy" :null,
"cnybop.cnyinc.frecordamt" :null,
"cnybop.cnyinc.dpayeedate" :null,
"cnybop.cnyinc.sbankorgcode" :null,
"bopmod.dbagrp.bas.custcod" :null,
"cnybop.cnyflg" :null,
"cnybop.saddword" :null,
"bopmod.dbdgrp.bas.fcyamt" :null,
"cnybop.cnyinc.sorilevyno" :null,
"cnybop.cnyinc.sbanktrano" :null,
"bopmod.dbagrp.bas.txamt" :null,
"bopmod.dbdgrp.bas.methods" :null,
"bopmod.dbdgrp.bas.exrate" :null,
"cnybop.cnyinc.iaccountperiod" :null,
"cnybop.spayeename" :null,
"btdgrp.rec.frepayflg" :null,
"bttp0.ltdget.sdamod.dadsnd" :null,
"bopmod.dbagrp.bas.buscode" :null,
"lendoc.account" :null,
"bopmod.dbagrp.bas.othamt" :null,
"bopmod.dbagrp.bas.actiondesc" :null,
"cnybop.cnyinc.cpayeeattr" :null,
"bopmod.dbdgrp.bas.oppuser" :null,
"bopmod.dbdgrp.bas.othamt" :null,
"cnybop.cnyinc.spayeeorgcode" :null,
"bopmod.dbdgrp.bas.custype" :null,
"bopmod.dbagrp.bas.outchargeccy" :null,
"bopmod.dbagrp.bas.actiontype" :null,
"cnybop.incscale" :null,
"bopmod.dbdgrp.bas.rptno" :null,
"cnybop.cnyinc.sswiftbic" :null,
"bopmod.szflg" :null,
"bopmod.dbdgrp.bas.actiontype" :null,
"cnybop.cnyinc.fpayeeamt" :null,
"bopmod.dbdgrp.bas.lcyamt" :null,
"cnybop.traflg" :null,
"cnybop.sbankname" :null,
"bopmod.dbagrp.bas.inchargeccy" :null,
"bopmod.dbagrp.bas.custnm" :null,
"bopmod.dbdgrp.bas.othacc" :null,
"bopmod.dbagrp.bas.fcyacc" :null,
"bopmod.dbdgrp.bas.inchargeccy" :null,
"liaall.tenstm" :null,
"setmod.redamt" :null,
"aamset.utlamt2" :null,
"mtabut.coninf.conexedat" :null,
"bttp0.ledget.sdamod.dadsnd" :null,
"bopmod.dbagrp.bas.custype" :null,
"cnybop.cnyinc.ftotalamt" :null,
"cnybop.cnyinc.spayeecny" :null,
"bopmod.dbdgrp.bas.txccy" :null,
"bopmod.dbdgrp.bas.custcod" :null,
"bopmod.dbagrp.bas.rptno" :null,
"bopmod.dbagrp.bas.oppuser" :null,
"bopmod.basflg" :null,
"bopmod.dbdgrp.bas.lcyacc" :null,
"bopmod.dbagrp.bas.idcode" :null,
"bopmod.dbagrp.bas.othacc" :null,
"cnybop.spayername" :null,
"bopmod.dbagrp.bas.lcyamt" :null,
"bopmod.dbagrp.bas.inchargeamt" :null,
"cnybop.libflg" :null,
"bopmod.ownextkey" :null,
"setmod.docamt" :null,
"bopmod.acttyp" :null,
"cnybop.cnyinc.cpayeraccttyp" :null,
"bopmod.dbdgrp.bas.actiondesc" :null,
"mtabut.clsflg" :null,
"cnybop.vouflg" :null,
}
for (const key in checkObj) {
......
......@@ -6,36 +6,48 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"trtcre.crefinflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.rptno" :Utils.defaultFunction,
"cnybop.libflg" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bopmod.szflg" :Utils.defaultFunction,
"bopmod.basflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.tmpref" :Utils.defaultFunction,
"btdgrp.rec.frepayflg" :Utils.defaultFunction,
"btdgrp.cbs.max.cur" :Utils.defaultFunction,
"trnmod.trndoc.nar754" :Utils.defaultFunction,
"btdgrp.cbs.max.amt" :Utils.defaultFunction,
"btdgrp.rec.ownref" :Utils.defaultFunction,
"cnybop.vouflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.buscode" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction,
"bopmod.dbagrp.bas.custype" :Utils.defaultFunction,
"bopmod.dbagrp.bas.custcod" :Utils.defaultFunction,
"trtcre.crefinflg" :Utils.defaultFunction,
"setmod.redamt" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"cnybop.traflg" :Utils.defaultFunction,
"btdgrp.rec.ownref" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.custype" :Utils.defaultFunction,
"bopmod.dbagrp.bas.tmpref" :Utils.defaultFunction,
"btdgrp.be1.pts.nam" :Utils.defaultFunction,
"aamset.utlamt2" :Utils.defaultFunction,
"cnybop.cnyinc.spayercountrycode" :Utils.defaultFunction,
"lendoc.actflg" :Utils.defaultFunction,
"bopmod.dbagrp.bas.rptno" :Utils.defaultFunction,
"bopmod.dbagrp.bas.ownextkey" :Utils.defaultFunction,
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.custcod" :Utils.defaultFunction,
"trnmod.trndoc.nar754" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"cnybop.cnyflg" :Utils.defaultFunction,
"bopmod.dbagrp.bas.buscode" :Utils.defaultFunction,
"bopmod.dbdgrp.bas.ownextkey" :Utils.defaultFunction,
"aamset.utlamt" :Utils.defaultFunction,
"btdgrp.cbs.opn2.cur" :Utils.defaultFunction,
"aamset.utlamt2" :Utils.defaultFunction,
"btdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"cnybop.outflg" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"be1amt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -2,8 +2,8 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
async onSav(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -14,8 +14,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -26,8 +26,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
async onBaspp1Getreftmp(){
let rtnmsg = await this.executeRule("baspp1.getreftmp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -38,8 +38,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMtdbutButapy(){
let rtnmsg = await this.executeRule("mtdbut.butapy")
async onBaspp1Getref(){
let rtnmsg = await this.executeRule("baspp1.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -50,8 +50,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMtdbutButcan(){
let rtnmsg = await this.executeRule("mtdbut.butcan")
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -62,8 +62,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -74,8 +74,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -86,8 +86,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -98,8 +98,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
async onSav(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -110,8 +110,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
async onBasppGetreftmp(){
let rtnmsg = await this.executeRule("baspp.getreftmp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -122,8 +122,80 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onIncctySelbut1(){
let rtnmsg = await this.executeRule("inccty.selbut1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......
......@@ -44,7 +44,7 @@ export default {
let rtnmsg = await this.executeRule("cltp.butgetref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.cldgrp.rec.ownref= rtnmsg.data.cldgrp_rec_ownref;
this.model.cldgrp.rec.ownref = rtnmsg.data.cldgrp_rec_ownref;
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
......@@ -144,6 +144,7 @@ export default {
let rtnmsg = await this.executeRule("setins.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.showGridPromptDialog(cldgrp.blk.setins);
}
else {
......
export default {
"cldgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
......@@ -152,6 +152,6 @@ export default {
"cldgrp.blk.setins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 300,message:"长度不能超过300"}
],
}
\ No newline at end of file
......@@ -36,7 +36,7 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"cldgrp.rec.credat":[
{type: "date", required: false, message: "输入正确的日期"}
// {type: "date", required: false, message: "输入正确的日期"}
],
"cldgrp.rec.count":[
{type: "number", required: false, message: "必输项"},
......@@ -149,7 +149,7 @@ export default {
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
// {type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
......
......@@ -36,7 +36,7 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"cldgrp.rec.credat":[
{type: "date", required: false, message: "输入正确的日期"}
// {type: "date", required: false, message: "输入正确的日期"}
],
"cldgrp.rec.count":[
{type: "string", required: false, message: "必输项"},
......
......@@ -297,7 +297,9 @@ export default {
],
"bopmod.szflg":[
{type: "string", required: true, message: "必输项"},
],
......
......@@ -4,25 +4,31 @@ import Utils from "~/utils"
* Lttdav Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"btdgrp.blk.comcon" :null,
"btdgrp.prb.pts.adrblk" :null,
"btdgrp.rmt.pts.extkey" :null,
"btdgrp.rmt.namelc" :null,
"btdgrp.prb.namelc" :null,
"btdgrp.acb.pts.extkey" :null,
"btdgrp.blk.setinsbt" :null,
"btdgrp.blk.docdis" :null,
"btdgrp.rmt.pts.adrblk" :null,
"btdgrp.prb.pts.nam" :null,
"btdgrp.prb.adrelc" :null,
"btdgrp.rmt.adrelc" :null,
"setmod.dspflg" :null,
"btdgrp.prb.pts.extkey" :null,
"btdgrp.be1.pts.nam" :null,
"btdgrp.blk.intdis" :null,
"btdgrp.rec.totamt" :null,
"btdgrp.rec.advtyp" :null,
"bttp.prbp.ptsget.sdamod.dadsnd" :null,
"btdgrp.acb.pts.adrblk" :null,
"btdgrp.rec.disdat" :null,
"bttp.ltdget.sdamod.dadsnd" :null,
"btdgrp.acb.adrelc" :null,
"mtabut.coninf.conexedat" :null,
"bttp.recget.sdamod.dadsnd" :null,
"btdgrp.acb.namelc" :null,
"setmod.docamt" :null,
"btdgrp.cbs.max.amt" :null,
"btdgrp.be2.pts.nam" :null,
"btdgrp.rec.advdat" :null,
}
......
......@@ -6,38 +6,52 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"btdgrp.prb.pts.nam" :Utils.defaultFunction,
"btdgrp.prb.pts.extkey" :Utils.defaultFunction,
"btdgrp.prb.adrelc" :Utils.defaultFunction,
"btdgrp.prb.namelc" :Utils.defaultFunction,
"btdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.rec.advtyp" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"btdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"btdgrp.cbs.max2.amt" :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.rmt.pts.extkey" :Utils.defaultFunction,
"btdgrp.rmt.pts.adrblk" :Utils.defaultFunction,
"btdgrp.acb.pts.extkey" :Utils.defaultFunction,
"btdgrp.acb.adrelc" :Utils.defaultFunction,
"btdgrp.acb.namelc" :Utils.defaultFunction,
"btdgrp.acb.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.acb.pts.adrblk" :Utils.defaultFunction,
"btdgrp.rec.totcur" :Utils.defaultFunction,
"btdgrp.cbs.max.cur" :Utils.defaultFunction,
"btdgrp.cbs.max.amt" :Utils.defaultFunction,
"btdgrp.prb.pts.nam" :Utils.defaultFunction,
"btdgrp.be1.pts.nam" :Utils.defaultFunction,
"btdgrp.blk.chaadd" :Utils.defaultFunction,
"btdgrp.blk.chaded" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"btdgrp.rmt.adrelc" :Utils.defaultFunction,
"btdgrp.rmt.namelc" :Utils.defaultFunction,
"btdgrp.rmt.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.rec.docprbrol" :Utils.defaultFunction,
"btdgrp.rec.disdat" :Utils.defaultFunction,
"btdgrp.rec.dscinsflg" :Utils.defaultFunction,
"btdgrp.blk.docdis" :Utils.defaultFunction,
"btdgrp.rec.advdat" :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,
"btdgrp.blk.docdisflg" :Utils.defaultFunction,
"btdgrp.blk.docdis" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"btdgrp.rec.ownref" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"btdgrp.rec.dscinsflg" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"btdgrp.rec.docprbrol" :Utils.defaultFunction,
"btdgrp.rec.disdat" :Utils.defaultFunction,
"btdgrp.rec.advdat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -14,8 +14,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis.buttxmsel")
async onAcbpDet(){
let rtnmsg = await this.executeRule("acbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -26,8 +26,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onIntdisButtxmsel(){
let rtnmsg = await this.executeRule("intdis.buttxmsel")
async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -38,8 +38,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onComconButtxmsel(){
let rtnmsg = await this.executeRule("comcon.buttxmsel")
async onIntdisButtxmsel(){
let rtnmsg = await this.executeRule("intdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -50,8 +50,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetinsButtxmsel(){
let rtnmsg = await this.executeRule("setins.buttxmsel")
async onComconButtxmsel(){
let rtnmsg = await this.executeRule("comcon.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -62,8 +62,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
async onSetinsButtxmsel(){
let rtnmsg = await this.executeRule("setins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -74,8 +74,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
async onRmtpDet(){
let rtnmsg = await this.executeRule("rmtp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......
......@@ -144,12 +144,74 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"btdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"btdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"btdgrp.blk.chaded":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.blk.chaadd":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.rec.totcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"btdgrp.rec.totamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bttp.acbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"btdgrp.acb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bttp.acbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"btdgrp.acb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.acb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.acb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.acb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"btdgrp.blk.intdis":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
......@@ -167,42 +229,45 @@ export default {
"btdgrp.rec.docsta":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
"btdgrp.blk.nartxt77a":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"liaall.outpct":[
"bttp.rmtp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
{max: 16,message:"长度不能超过16"}
],
"liaall.concur":[
"btdgrp.rmt.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{max: 16,message:"长度不能超过16"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
"bttp.rmtp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 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位" }
"btdgrp.rmt.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
"btdgrp.rmt.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.rmt.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.rmt.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.rec.totdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -225,10 +290,6 @@ export default {
],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "~/model/Public";
export default class Lttdav{
constructor () {
this.data = {
btdgrp:{
rec:{
ownref:"", // Document Reference .btdgrp.rec.ownref
advdat:"", // Payment advised on .btdgrp.rec.advdat
disdat:"", // Discrep. advised on .btdgrp.rec.disdat
dscinsflg:"", // Enter Docs, Discrep. and Instructions .btdgrp.rec.dscinsflg
docprbrol:"", // Presented by .btdgrp.rec.docprbrol
nam:"", // Name .btdgrp.rec.nam
advtyp:"", // Type of Advice .btdgrp.rec.advtyp
docsta:"", // Document Set Status .btdgrp.rec.docsta
},
prb:{
pts:new Pts().data,
namelc:"", // 名称 .btdgrp.prb.namelc
adrelc:"", // 地址 .btdgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .btdgrp.prb.dbfadrblkcn
},
prp:{
pts:new Pts().data,
namelc:"", // 名称 .btdgrp.prb.namelc
adrelc:"", // 地址 .btdgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .btdgrp.prb.dbfadrblkcn
},
be1:{
pts:new Pts().data,
},
be2:{
pts:new Pts().data,
},
blk:{
intdis:"", // Internal Discrepancies .btdgrp.blk.intdis
comcon:"", // Comments and Conclusions .btdgrp.blk.comcon
setinsbt:"", // Settlement Instructions transaction field .btdgrp.blk.setinsbt
docdis:"", // Discrepancies .btdgrp.blk.docdis
docdisflg:"", // discrepancies modified .btdgrp.blk.docdisflg
},
import Pub from "../Public"
export default class Lttdav {
constructor() {
this.data = {
btdgrp: {
rec: {
ownref: "", // Document Reference .btdgrp.rec.ownref
advdat: "", // Payment advised on .btdgrp.rec.advdat
disdat: "", // Discrep. advised on .btdgrp.rec.disdat
dscinsflg: "", // Enter Docs, Discrep. and Instructions .btdgrp.rec.dscinsflg
docprbrol: "", // Presented by .btdgrp.rec.docprbrol
nam: "", // Name .btdgrp.rec.nam
advtyp: "", // Type of Advice .btdgrp.rec.advtyp
totcur: "", // Total Amount Claimed .btdgrp.rec.totcur
totamt: "", // Total Amount to be Paid .btdgrp.rec.totamt
docsta: "", // Document Set Status .btdgrp.rec.docsta
totdat: "", // Date to be Paid .btdgrp.rec.totdat
},
prb: {
pts: new Pts().data,
namelc: "", // 名称 .btdgrp.prb.namelc
adrelc: "", // 地址 .btdgrp.prb.adrelc
dbfadrblkcn: "", // Chinese address .btdgrp.prb.dbfadrblkcn
},
be1: {
pts: new Pts().data,
},
be2: {
pts: new Pts().data,
},
cbs: {
max: {
cur: "", // Document Amount .btdgrp.cbs.max.cur
amt: "", // Balance .btdgrp.cbs.max.amt
},
opn2: {
cur: "", // 附加金额 .btdgrp.cbs.opn2.cur
},
max2: {
amt: "", // 附加金额 .btdgrp.cbs.max2.amt
},
},
blk: {
chaded: "", // Charges Deducted .btdgrp.blk.chaded
chaadd: "", // Charges Added .btdgrp.blk.chaadd
docdis: "", // Discrepancies .btdgrp.blk.docdis
docdisflg: "", // discrepancies modified .btdgrp.blk.docdisflg
intdis: "", // Internal Discrepancies .btdgrp.blk.intdis
comcon: "", // Comments and Conclusions .btdgrp.blk.comcon
setinsbt: "", // Settlement Instructions transaction field .btdgrp.blk.setinsbt
nartxt77a: "", // Narrative Tag77A of MT754 .btdgrp.blk.nartxt77a
},
acb: {
pts: new Pts().data,
namelc: "", // 名称 .btdgrp.acb.namelc
adrelc: "", // 地址 .btdgrp.acb.adrelc
dbfadrblkcn: "", // Chinese address .btdgrp.acb.dbfadrblkcn
},
rmt: {
pts: new Pts().data,
namelc: "", // 名称 .btdgrp.rmt.namelc
adrelc: "", // 地址 .btdgrp.rmt.adrelc
dbfadrblkcn: "", // Chinese address .btdgrp.rmt.dbfadrblkcn
},
},
bttp: {
recget: {
sdamod: {
seainf: "", // .bttp.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bttp.recget.sdamod.dadsnd
},
},
setnowflg: "", // setttle now .bttp.setnowflg
prbp: {
ptsget: {
sdamod: {
seainf: "", // .bttp.prbp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bttp.prbp.ptsget.sdamod.dadsnd
},
bttp:{
recget:{
sdamod:{
seainf:"", // .bttp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bttp.recget.sdamod.dadsnd
},
},
setnowflg:"", // setttle now .bttp.setnowflg
prbp:{
ptsget:{
sdamod:{
seainf:"", // .bttp.prbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bttp.prbp.ptsget.sdamod.dadsnd
},
},
},
ledget:{
sdamod:{
seainf:"", // .bttp.ledget.sdamod.seainf
},
},
ltdget:{
sdamod:{
seainf:"", // .bttp.ltdget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bttp.ltdget.sdamod.dadsnd
},
},
aammod:{
addamtflg:"", // Add. Amount .bttp.aammod.addamtflg
},
docgrdmbe1:{
docdsclab:"", // Label of document description .bttp.docgrdmbe1.docdsclab
docgrd:[], // .bttp.docgrdmbe1.docgrd
},
docgrdmbe2:{
docdsclab:"", // Label of document description .bttp.docgrdmbe2.docdsclab
docgrd:[], // .bttp.docgrdmbe2.docgrd
},
futhndflg:"", // further handling .bttp.futhndflg
},
},
ledget: {
sdamod: {
seainf: "", // .bttp.ledget.sdamod.seainf
},
},
ltdget: {
sdamod: {
seainf: "", // .bttp.ltdget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bttp.ltdget.sdamod.dadsnd
},
},
aammod: {
addamtflg: "", // Add. Amount .bttp.aammod.addamtflg
},
acbp: {
ptsget: {
sdamod: {
seainf: "", // .bttp.acbp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bttp.acbp.ptsget.sdamod.dadsnd
},
ledgrp:{
rec:{
ownref:"", // L/C Reference .ledgrp.rec.ownref
nam:"", // Name .ledgrp.rec.nam
},
},
},
docgrdmbe1: {
docdsclab: "", // Label of document description .bttp.docgrdmbe1.docdsclab
},
docgrdmbe2: {
docdsclab: "", // Label of document description .bttp.docgrdmbe2.docdsclab
},
futhndflg: "", // further handling .bttp.futhndflg
rmtp: {
ptsget: {
sdamod: {
seainf: "", // .bttp.rmtp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .bttp.rmtp.ptsget.sdamod.dadsnd
},
ltdgrp:{
rec:{
ownref:"", // Transfer Reference .ltdgrp.rec.ownref
nam:"", // Name .ltdgrp.rec.nam
avbby:"", // Available by .ltdgrp.rec.avbby
opndat:"", // Date Issued/Form .ltdgrp.rec.opndat
lcrtyp:"", // Date Issued/Form .ltdgrp.rec.lcrtyp
expdat:"", // Date / Place of Expiry .ltdgrp.rec.expdat
expplc:"", // Date / Place of Expiry .ltdgrp.rec.expplc
shpdat:"", // Shipment Date .ltdgrp.rec.shpdat
},
cbs:{
nom1:{
cur:"", // L/C Amount .ltdgrp.cbs.nom1.cur
amt:"", // Balance .ltdgrp.cbs.nom1.amt
},
opn1:{
cur:"", // Open Amount .ltdgrp.cbs.opn1.cur
amt:"", // Balance .ltdgrp.cbs.opn1.amt
},
},
avbnam:"", // Available with .ltdgrp.avbnam
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
pageId: "" // ctx的key
}
}
},
},
},
ledgrp: {
rec: {
ownref: "", // L/C Reference .ledgrp.rec.ownref
nam: "", // Name .ledgrp.rec.nam
},
},
ltdgrp: {
rec: {
ownref: "", // Transfer Reference .ltdgrp.rec.ownref
nam: "", // Name .ltdgrp.rec.nam
avbby: "", // Available by .ltdgrp.rec.avbby
opndat: "", // Date Issued/Form .ltdgrp.rec.opndat
lcrtyp: "", // Date Issued/Form .ltdgrp.rec.lcrtyp
expdat: "", // Date / Place of Expiry .ltdgrp.rec.expdat
expplc: "", // Date / Place of Expiry .ltdgrp.rec.expplc
shpdat: "", // Shipment Date .ltdgrp.rec.shpdat
},
cbs: {
nom1: {
cur: "", // L/C Amount .ltdgrp.cbs.nom1.cur
amt: "", // Balance .ltdgrp.cbs.nom1.amt
},
opn1: {
cur: "", // Open Amount .ltdgrp.cbs.opn1.cur
amt: "", // Balance .ltdgrp.cbs.opn1.amt
},
},
avbnam: "", // Available with .ltdgrp.avbnam
},
pageId: "", // ctx的key
trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod,
liaall: new Pub().data.Liaall,
mtabut: new Pub().data.Mtabut,
}
}
}
\ No newline at end of file
......@@ -246,7 +246,7 @@
</c-col>
<c-col :span="12">
<el-form-item label-width="0" prop="setmod.redamt">
<el-form-item label-width="0" >
<c-input
:disabled="model.bcdgrp.rec.focflg=='X'"
v-model="model.setmod.redamt"
......
......@@ -162,10 +162,13 @@
</c-col>
<c-col :span="24">
<c-checkbox v-model="rejpenins" style="margin-left: 150px"
>Rejection Pending Instructions</c-checkbox
>
<el-form-item label="" prop="rejpenins">
<c-checkbox v-model="rejpenins"
>Rejection Pending Instructions</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
<!-- next part -->
......@@ -173,11 +176,10 @@
<c-docpre
:model="model"
:argadr="{
path:'bedgrp.blk.prsdoc',
grp:'betp',
code:'docpre'
path: 'bedgrp.blk.prsdoc',
grp: 'betp',
code: 'docpre',
}"
>
</c-docpre>
</c-col>
......@@ -307,21 +309,19 @@ import Utils from "~/utils";
import Docpre from "~/views/Public/Docpre";
export default {
components:{"c-docpre":Docpre},
components: { "c-docpre": Docpre },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
};
return {};
},
computed: {
docdisflg: {
get() {
if(this.model.bedgrp.blk.docdis==""){
if (this.model.bedgrp.blk.docdis == "") {
return this.model.bedgrp.blk.docdisflg != "";
}else{
} else {
return this.model.bedgrp.blk.docdisflg != "X";
}
},
......
......@@ -301,32 +301,39 @@
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<c-checkbox v-model="advrefflg" style="margin-left: 150px"
>Receive advice of refusal</c-checkbox
>
<el-form-item label="" prop="advrefflg">
<c-checkbox v-model="advrefflg"
>Receive advice of refusal</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="clsflgp"
style="margin-left: 150px"
@change="clsflgpChange"
>Receive returned ducuments</c-checkbox
>
<el-form-item label="" prop="bedgrp.rec.advdocflg">
<c-checkbox
v-model="model.bedgrp.rec.advdocflg"
@change="clsflgpChange"
>Receive returned ducuments</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="clsflgp" style="margin-left: 150px" disabled
>Close Contract</c-checkbox
>
<el-form-item label="" prop="mtabut.clsflgp">
<c-checkbox v-model="clsflgp" disabled
>Close Contract</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="advdisflg"
style="margin-left: 150px; margin-top: 100px; margin-bottom: 10px"
>Send Advice of Discrepancy(MT750)</c-checkbox
>
<el-form-item label="" prop="advdisflg">
<c-checkbox
v-model="advdisflg"
style=" margin-top: 100px; margin-bottom: 10px"
>Send Advice of Discrepancy(MT750)</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -351,9 +358,7 @@
style="width: 100%"
placeholder="Please select Payer"
disabled
@change="eventFunction(
'bedgrp.rec.payrol'
)"
@change="eventFunction('bedgrp.rec.payrol')"
>
<el-option
v-for="item in codes.payrol"
......@@ -389,9 +394,7 @@
style="width: 100%"
placeholder="Please input Presented by"
disabled
@change="eventFunction(
'bedgrp.rec.docprbrol'
)"
@change="eventFunction('bedgrp.rec.docprbrol')"
>
<el-option
v-for="item in codes.docprbrol"
......@@ -744,10 +747,9 @@ export default {
// },
clsflgp: {
get() {
return this.model.bedgrp.rec.advdocflg != "";
return this.model.mtabut.clsflgp == "";
},
set(val) {
this.model.bedgrp.rec.advdocflg = val ? "X" : "";
this.model.mtabut.clsflgp = val ? "C" : "O";
},
},
......@@ -765,7 +767,7 @@ export default {
clsflgpChange(v) {
if (v == "X") {
this.model.bedgrp.rec.docsta = "R";
}else{
} else {
this.model.bedgrp.rec.docsta = "E";
}
},
......
......@@ -259,33 +259,6 @@
</c-istream-table>
</c-col>
</c-col>
<!-- <c-col :span="24">
<div class="e-table-wrapper">
<el-table :data="model.bptbck.bptbckg" style="width: 100%">
<el-table-column prop="ownref" label="" sortable width="100">
</el-table-column>
<el-table-column prop="opncur" 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> -->
<!-- <el-pagination
layout="prev, pager, next"
:total="pager.bptbck_bptbckg.total">
</el-pagination> -->
<!-- </div>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="Tenor Stream" prop="liaall.tenstm">
<c-input v-model="model.liaall.tenstm" placeholder="请输入Tenor Stream"></c-input>
</el-form-item>
</c-col> -->
</div>
</template>
<script>
......
......@@ -117,12 +117,14 @@
</c-col>
<c-col :span="24">
<c-form-item label="Document Type" prop="btdgrp.rec.doctypcod">
<c-input
<c-select
v-model="model.btdgrp.rec.doctypcod"
maxlength="16"
placeholder="请输入Document Type"
style="width:100%"
:code="codes.brdtyp"
disabled
></c-input>
></c-select>
</c-form-item>
</c-col>
<c-col :span="24">
......@@ -168,12 +170,14 @@
</c-col>
<c-col :span="24">
<c-form-item label="Document Set status" prop="btdgrp.rec.docsta">
<c-input
<c-select
v-model="model.btdgrp.rec.docsta"
maxlength="40"
style="width:100%"
placeholder="请输入Document Set status"
disabled
></c-input>
:code="codes.docsta2"
></c-select>
</c-form-item>
</c-col>
</c-col>
......@@ -282,7 +286,7 @@
icon="el-icon-search"
@click="
showGridPromptDialog(
'bttrcl.setins.buttxmsel',
'setins.buttxmsel',
null,
null,
{ TXT: 'btdgrp.blk.setinsbt' },
......
......@@ -9,6 +9,7 @@
v-model="model.rmbclm.rmbrol"
style="width: 100%"
placeholder="请选择Reimbursement Bank"
:code="getValues('rmbclm.rmbrol')"
>
</c-select>
</el-form-item>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="XMLPanel bttbe1l1的内置block" prop="bttbe1l1blk">
<c-input type="textarea" v-model="model.bttbe1l1blk" maxlength="200" show-word-limit placeholder="请输入XMLPanel bttbe1l1的内置block" ></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/Bttset/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="XMLPanel bttpayl1的内置block" prop="bttpayl1blk">
<c-input type="textarea" v-model="model.bttpayl1blk" maxlength="200" show-word-limit placeholder="请输入XMLPanel bttpayl1的内置block" ></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/Bttset/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="XMLPanel bttprbl1的内置block" prop="bttprbl1blk">
<c-input type="textarea" v-model="model.bttprbl1blk" maxlength="200" show-word-limit placeholder="请输入XMLPanel bttprbl1的内置block" ></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/Bttset/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>
<!-- S0000042 : 是否报送跨境人民币2101表 -->
<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 :label="$t('cnybop.S0000042')" prop="cnybop.cnyflg">
<c-select v-model="model.cnybop.cnyflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000042')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000045 : 是否报送跨境人民币2107表 -->
<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 :label="$t('cnybop.S0000045')" prop="cnybop.traflg">
<c-select v-model="model.cnybop.traflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000045')">
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- S0000077 : 是否报送跨境人民币2111表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000077')" prop="cnybop.outflg">
<c-select v-model="model.cnybop.outflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000077')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000113 : 是否报送跨境人民币2106表 -->
<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="$t('cnybop.S0000113')" prop="cnybop.libflg">
<c-select v-model="model.cnybop.libflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000113')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000142 : 是否报送跨境人民币2122表 -->
<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 :label="$t('cnybop.S0000142')" prop="cnybop.vouflg">
<c-select v-model="model.cnybop.vouflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000142')">
</c-select>
</el-form-item>
</c-col>
</div>
......@@ -32,7 +46,7 @@
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttdav/Event"
import Event from "~/model/Bttset/Event"
export default {
inject: ['root'],
......
<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/Bttrcl/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">
<c-form-item label="ACT" prop="lendoc.account">
<c-input type="textarea" v-model="model.lendoc.account" maxlength="25" show-word-limit :placeholder="$t('other.please_enter')+'ACT'" ></c-input>
</c-form-item>
</c-col>
<!-- S0000005 : Verification Certificate Number -->
<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-checkbox v-model="model.lendoc.actflg">{{$t('lendoc.C0000003')}}</c-checkbox>
</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-form-item label="Verification Certificate Number" prop="lendoc.vercerref">
<c-input type="textarea" v-model="model.lendoc.vercerref" maxlength="20" show-word-limit :placeholder="$t('other.please_enter')+'Verification Certificate Number'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<!-- S0000006 : Declaration Number -->
<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-form-item label="Declaration Number" prop="lendoc.decnum">
<c-input v-model="model.lendoc.decnum" maxlength="22" :placeholder="$t('other.please_enter')+'Declaration Number'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
......
<template>
<div class="eibs-tab">
<!--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 {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<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/Bttset/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="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="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/Bttset/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">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.limmod.limpfp.clmcbe"
style="width: 100%"
>
<el-table-column
prop="limtyp"
label="Limit Type"
sortable
width="150">
</el-table-column>
<el-table-column
prop="cur"
label="业务币种"
sortable
width="80">
</el-table-column>
<el-table-column
prop="cbeamt"
label="业务发生额"
sortable
width="90">
</el-table-column>
<el-table-column
prop="reqtyp1"
label="Req.Typel"
sortable
width="100">
</el-table-column>
<el-table-column
prop="limcbeamt"
label="额度发生额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="reqtyp2"
label="Req.Type2"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ckcbeamt"
label="敞口发生额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="credat"
label="额度日期"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ptyextkey"
label="客户编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ptynam"
label="客户名称"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ownref"
label="业务编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ccvbl"
label="合同保证金比例"
sortable
width="100">
</el-table-column>
<el-table-column
prop="limvar"
label="额度类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmcbe.total">
</el-pagination>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.limmod.limpfp.clmcbb"
style="width: 100%"
>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhamt"
label="调整后业务余额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhccv"
label="调整后保证金比例"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhlimamt"
label="调整后拟占用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhlimck"
label="调整后拟占用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqamt"
label="调整前业务余额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqccv"
label="调整后保证金比例"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqlimamt"
label="调整前已占用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqlimck"
label="调整前已占用敞口"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmcbb.total">
</el-pagination>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.limmod.limpfp.clmpty"
style="width: 100%"
>
<el-table-column
prop="limvar"
label="额度类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dglimcur"
label="额度币种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgsxlimamt"
label="授信额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgyylimamt"
label="已用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgkylimamt"
label="可用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgcklimamt"
label="授信敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgyylimck"
label="已用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgkylimck"
label="可用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dghfxh"
label="恢复序号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzyliminfref"
label="额度明细编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgccvbl"
label="保证金比例"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmpty.total">
</el-pagination>
</div>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttset/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.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-checkbox v-model="model.bopmod.basflg">{{$t('bopgat.CH000016')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopmod.dclflg">{{$t('bopgat.CH000017')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopmod.vrfflg">{{$t('bopgat.CH000018')}}</c-checkbox>
</c-col>
<!-- S0000020 : 申报类型 -->
<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">
<el-form-item label="申报类型" prop="bopmod.szflg">
<c-select v-model="model.bopmod.szflg" style="width:100%" :placeholder="$t('other.please_enter')+'申报类型'">
</c-select>
</el-form-item>
</c-col>
<!-- SH000027 : 款项来源 -->
<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 label="款项来源" prop="bopmod.acttyp">
<c-select v-model="model.bopmod.acttyp" style="width:100%" :placeholder="$t('other.please_enter')+'款项来源'">
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- SH000021 : 地区机构号 -->
<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">
<el-form-item label="地区机构号" prop="bopmod.ownextkey">
<c-select v-model="model.bopmod.ownextkey" style="width:100%" :placeholder="$t('other.please_enter')+'地区机构号'">
</c-select>
</el-form-item>
</c-col>
<!-- SH000024 : 国外银行扣费(涉外收入申报专用) -->
<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 :label="$t('bopgat.SH000024')" prop="bopmod.outchargeccy">
<c-select v-model="model.bopmod.outchargeccy" style="width:100%" :placeholder="$t('other.please_enter')+$t('bopgat.SH000024')">
</c-select>
</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-form-item :label="$t('bopgat.SH000024')" prop="bopmod.outchargeamt">
<c-input v-model="model.bopmod.outchargeamt" :placeholder="$t('other.please_enter')+$t('bopgat.SH000024')"></c-input>
</c-form-item>
</c-col>
</div>
</template>
......
<template>
<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-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000034 -->
<el-tab-pane label="Funds Settlement" name="setp">
<m-setp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000069 >
<el-tab-pane label="bttbe1l1" name="bttbe1l1">
<m-bttbe1l1 :model="model" :codes="codes"/>
</el-tab-pane-->
<!--PD000049 >
<el-tab-pane label="bttpayl1" name="bttpayl1">
<m-bttpayl1 :model="model" :codes="codes"/>
</el-tab-pane-->
<!--PD000050 >
<el-tab-pane label="bttprbl1" name="bttprbl1">
<m-bttprbl1 :model="model" :codes="codes"/>
</el-tab-pane-->
<!--PD000027 -->
<el-tab-pane label="Engagement" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000020 -->
<el-tab-pane label="Settlement Details" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Message" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <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">
<!--bttset PD000034 Funds Settlement -->
<el-tab-pane label="Funds Settlement" name="setp">
<c-content>
<m-setp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--lendoc PD000001 收账通知 -->
<el-tab-pane label="$t('lendoc.PD000001')" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--bopgat PD000006 外管信息 -->
<el-tab-pane label="$t('bopgat.PD000006')" name="wg">
<m-wg :model="model" :codes="codes" />
</el-tab-pane>
<!--dbdp PD000000 境内收入申报单-基础信息 -->
<el-tab-pane label="$t('dbdp.PD000000')" name="basp">
<m-basp :model="model" :codes="codes" />
</el-tab-pane>
<!--dbap PD000000 涉外收入申报单-基础信息 -->
<!-- <el-tab-pane label="$t('dbap.PD000000')" name="basp">
<m-basp :model="model" :codes="codes" />
</el-tab-pane> -->
<!--cnybop PD000002 跨境人民币申报 -->
<el-tab-pane label="$t('cnybop.PD000002')" name="cnyp">
<m-cnyp :model="model" :codes="codes" />
</el-tab-pane>
<!--cnybop PD000001 2101跨境收入信息 -->
<el-tab-pane label="$t('cnybop.PD000001')" name="incp">
<m-incp :model="model" :codes="codes" />
</el-tab-pane>
<!--limmod PD001139 试算结果 -->
<el-tab-pane label="$t('limmod.PD001139')" name="shisuan">
<m-shisuan :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Bttset from "~/model/Bttset"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Bttset/Check"
import Default from "~/model/Bttset/Default"
import Pattern from "~/model/Bttset/Pattern"
import Setp from "./Setp"
import Bttbe1l1 from "./Bttbe1l1"
import Bttpayl1 from "./Bttpayl1"
import Bttprbl1 from "./Bttprbl1"
import Engp from "~/views/Public/Engp"
import Setpan from "~/views/Public/Setpan"
import Detp from "./Detp"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "./Doctre"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Bttset from "~/model/Bttset";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bttset/Check";
import Default from "~/model/Bttset/Default";
import Pattern from "~/model/Bttset/Pattern";
import Setp from "./Setp";
import Docpan from "./Docpan";
import Wg from "./Wg";
import Basp from "./Basp";
import Cnyp from "./Cnyp";
import Incp from "./Incp";
import Shisuan from "./Shisuan";
export default {
components:{
"m-setp" : Setp,
"m-bttbe1l1" : Bttbe1l1,
"m-bttpayl1" : Bttpayl1,
"m-bttprbl1" : Bttprbl1,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-detp" : Detp,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "setp",
trnName: "bttset",
model: new Bttset().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
name: "Bttset",
components: {
"m-setp": Setp,
"m-docpan": Docpan,
"m-wg": Wg,
"m-basp": Basp,
"m-cnyp": Cnyp,
"m-incp": Incp,
"m-shisuan": Shisuan,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "setp",
trnName: "bttset",
trnType: "",
model: new Bttset().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入bttset交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
created: async function () {
console.log("进入bttset交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
......@@ -2,30 +2,32 @@
<div class="eibs-tab">
<c-col :span="11">
<el-form-item label="Credit to Account" prop="cldgrp.rec.creact">
<el-form-item label="Credit to Account" prop="cldgrp.rec.creact" style="width: 100%">
<c-select v-model="model.cldgrp.rec.creact" style="width: 100%" placeholder="请选择Credit to Account"
:code="codes.creact">
:code="codes.creact" :disabled="model.modflg === 'X'" id="toughH">
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="A/C NO." prop="cldgrp.rec.acno">
<c-input v-model="model.cldgrp.rec.acno" maxlength="20" placeholder="请输入A/C NO.">
<c-input v-model="model.cldgrp.rec.acno" maxlength="20" placeholder="请输入A/C NO."
:disabled="model.modflg === 'X'">
</c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="Settlement Instructions" prop="cldgrp.blk.setins">
<c-input type="textarea" v-model="model.cldgrp.blk.setins" maxlength="65" show-word-limit
placeholder="请输入Settlement Instructions"></c-input>
<c-input type="textarea" v-model="model.cldgrp.blk.setins" maxlength="300" show-word-limit rows="5"
placeholder="请输入Settlement Instructions" :disabled="model.modflg !== 'X'"></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="">
<c-checkbox v-model="model.modflg" disabled>修改</c-checkbox>
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel">
<c-checkbox v-model="model.modflg">修改</c-checkbox>
<c-button size="small" type="primary" icon="el-icon-search" :disabled="model.modflg !== 'X'"
@click="showGridPromptDialog('cltp.setins.buttxmsel', null, null,{TXT: 'cldgrp.blk.setins'}, {TXT: false},'doxpDialog')">
...
</c-button>
</el-form-item>
......@@ -58,9 +60,20 @@ export default {
methods: { ...Event },
created: function () {
},
watch: {
"model.modflg": {
async handler(newVal, oldVal) {
if (newVal !== 'X') {
this.model.cldgrp.blk.setins = '';
}
}
}
}
}
</script>
<style>
#toughH{
height: 24px !important;
}
</style>
......@@ -13,7 +13,7 @@
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left"
size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000002 -->
<el-tab-pane label="内容" name="sel">
......@@ -22,17 +22,23 @@
<!--PD000529 -->
<el-tab-pane label="面函及报文" name="docpan">
<m-docpan :model="model" :codes="codes" />
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="交易附件" name="doctre">
<m-doctre :model="model" :codes="codes" />
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="费用及账务" name="setpan">
......@@ -62,13 +68,15 @@
</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>
</c-page>
</template>
<script>
import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import Cltdav from "~/model/Cltdav";
import commonProcess from "~/mixin/commonProcess";
......@@ -76,6 +84,7 @@ import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Cltdav/Check";
import Default from "~/model/Cltdav/Default";
import Pattern from "~/model/Cltdav/Pattern";
import Sel from "./Sel";
import Account from "./Account";
......@@ -120,7 +129,8 @@ export default {
}
},
methods: {
tabClick() {
myTabClick(tab) {
this.tabClick(tab)
}
},
created: async function () {
......
......@@ -125,6 +125,9 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
this.model.bptbck.bptbckg = rtnmsg.data.ccdbatg;
console.log(this.model.bptbck.bptbckg);
......
......@@ -9,7 +9,7 @@
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Type of Draft" prop="cldgrp.rec.chktyp">
<c-select v-model="model.cldgrp.rec.chktyp" style="width: 100%" placeholder="请输入Type of Draft">
<c-select v-model="model.cldgrp.rec.chktyp" style="width: 100%" placeholder="请输入Type of Draft" disabled>
<el-option v-for="item in codes.chktyp" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
......@@ -36,7 +36,7 @@
<c-col :span="11" :offset="1">
<el-form-item label="Payemnt Disposition" prop="cldgrp.rec.colflg">
<c-select v-model="model.cldgrp.rec.colflg" style="width: 100%"
placeholder="请输入Payemnt Disposition">
placeholder="请输入Payemnt Disposition" disabled>
<el-option v-for="item in codes.colflg" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
......
......@@ -12,7 +12,7 @@
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left"
size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000002 -->
<el-tab-pane label="内容" name="Sel">
......@@ -108,7 +108,8 @@ export default {
}
},
methods: {
tabClick() {
myTabClick(tab) {
this.tabClick(tab)
}
},
created: async function () {
......@@ -116,6 +117,9 @@ export default {
let rtnmsg = await this.init(this.$route.query)
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
this.updateModel(rtnmsg.data);
this.model.bptbck.bptbckg = rtnmsg.data.ccdbatg;
console.log(this.model.bptbck.bptbckg);
......
......@@ -117,6 +117,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
......
......@@ -131,7 +131,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
......
......@@ -165,6 +165,9 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
......@@ -117,7 +117,7 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
codes: {...CodeTable
},
}
},
......@@ -136,7 +136,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
......
......@@ -139,6 +139,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
......
......@@ -215,7 +215,27 @@
</c-col>
<c-col :span="24">
<el-form-item label="Handling Type" prop="gidgrp.rec.hndtyp">
<el-form-item
v-if="model.gitp.swiftflg == ''"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择Handling Type"
:code="codes.hndtyp2"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'N'"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
......@@ -233,6 +253,78 @@
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gitp.swiftflg == 'Y' && model.gidgrp.rec.purpos == ''"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择Handling Type"
>
<el-option
v-for="item in codes.hndtyp2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' && model.gidgrp.rec.purpos == 'ISSU'
"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择Handling Type"
>
<el-option
v-for="item in codes.hndtyp3"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'Y' &&
(model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO')
"
label="Handling Type"
prop="gidgrp.rec.hndtyp"
>
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择Handling Type"
>
<el-option
v-for="item in codes.hndtyp4"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Type of Undertaking" prop="gidgrp.rec.gartyp">
<c-select
v-model="model.gidgrp.rec.gartyp"
......@@ -1233,7 +1325,9 @@
<c-col :span="24">
<c-col :span="20">
<el-form-item
v-show="model.gitp.swiftflg == 'Y'&&model.gitp.exptxtmodflg == ''"
v-show="
model.gitp.swiftflg == 'Y' && model.gitp.exptxtmodflg == ''
"
label="Expiry Condition/ Evt."
prop="gidgrp.blk.exptxt"
>
......@@ -1248,7 +1342,9 @@
></c-input>
</el-form-item>
<el-form-item
v-show="model.gitp.swiftflg == 'Y'&&model.gitp.exptxtmodflg == 'X'"
v-show="
model.gitp.swiftflg == 'Y' && model.gitp.exptxtmodflg == 'X'
"
label="Expiry Condition/ Evt."
prop="gidgrp.blk.atxexptxt"
>
......@@ -1357,13 +1453,13 @@
<c-col :span="24">
<c-col :span="20">
<el-form-item
v-show="model.gitp.swiftflg == 'Y'"
v-show="model.gitp.swiftflg == 'Y'&&model.gitp.liatxtcmodflg == ''"
label="Liability Condition"
prop="gidgrp.blk.liatxtc"
>
<c-input
type="textarea"
:disabled="model.gitp.liatxtcmodflg == ''"
disabled
rows="4"
v-model="model.gidgrp.blk.liatxtc"
maxlength="780"
......@@ -1371,6 +1467,20 @@
placeholder="请输入Liability Condition"
></c-input>
</el-form-item>
<el-form-item
v-show="model.gitp.swiftflg == 'Y'&&model.gitp.liatxtcmodflg == 'X'"
label="Liability Condition"
prop="gidgrp.blk.atxliatxtc"
>
<c-input
type="textarea"
rows="4"
v-model="model.gidgrp.blk.atxliatxtc"
maxlength="780"
show-word-limit
placeholder="请输入Liability Condition"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox
......
......@@ -46,17 +46,60 @@
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: 'Issuing Bank',
grp: 'gidgrp',
rol: 'iss',
}"
:disabled="true"
@onAplpDet="onCtcpDet"
>
</c-ptap>
<el-form-item label="Issuing Bnak's Ref." prop="gidgrp.iss.pts.ref">
<c-input
v-model="model.gidgrp.iss.pts.ref"
maxlength="16"
placeholder="请输入Issuing Bnak's Ref."
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Issuing Bank" prop="gidgrp.iss.pts.extkey">
<c-fullbox>
<c-input
v-model="model.gidgrp.iss.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.iss.pts.extkey`)
"
@blur="issBlur"
></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
:disabled="model.gidgrp.iss.pts.adrblk == ''"
size="small"
type="primary"
@click="onIsspDet"
>
Details
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.iss.pts.adrblk">
<c-input
:disabled="model.gidgrp.iss.pts.adrblk != ''"
rows="4"
type="textarea"
v-model="model.gidgrp.iss.pts.adrblk"
maxlength="140"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -137,6 +180,7 @@ import commonFuncs from "~/mixin/commonFuncs";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitpop/Event";
import Ptap from "~/views/Public/Ptap";
import Utils from "~/utils";
export default {
components: { "c-ptap": Ptap },
......@@ -148,6 +192,12 @@ export default {
},
methods: {
...Event,
async issBlur() {
let rtnmsg = await this.executeDefault("gidgrp.rec.sndto");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
},
created: function () {},
};
......
......@@ -319,9 +319,18 @@ export default {
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
let name = tab.name;
let rulePath;
if (name === "ptypc"){
rulePath = "gitp.ptypc"
}
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
},
},
......
......@@ -2,7 +2,7 @@
<div class="eibs-tab">
<el-col :span="11">
<c-col :span="24">
<el-form-item label="Cover Message MT 202" label-width="400px" style="margin-left:-120px">
<el-form-item label="Cover Message MT 202" label-width="200px" >
</el-form-item>
</c-col>
......
......@@ -2,7 +2,7 @@
<div class="eibs-tab">
<el-col :span="11">
<c-col :span="24">
<el-form-item label="Details for Message MT 756" label-width="400px" style="margin-left:-120px">
<el-form-item label="Details for Message MT 756" label-width="200px" >
</el-form-item>
</c-col>
<c-col :span="24">
......
......@@ -3,7 +3,7 @@
<!-- S0000012 : 申报类型 -->
<c-col :span="12" style="margin-top: 20px">
<c-col :span="20">
<el-form-item label="申报类型">
<el-form-item label="申报类型" prop="bopmod.szflg">
<c-select
v-model="model.bopmod.szflg"
style="width: 100%"
......
......@@ -312,6 +312,9 @@ export default {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
this.model.mtabut.clsflg="X";
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
<template>
<el-dialog
:visible.sync="initdialog"
:title="'交易列表'"
append-to-body
:before-close="beforeClose"
@opened="opened"
>
<div class="m-list-btns">
<div class="busnavbar">
<div class="busnavbar-items">
<c-button
style="margin-left: 7px"
size="medium"
type="primary"
class="medium_bcs"
v-for="(item, index) in navcode"
v-bind:key="index"
@click.native="onNarBtnClick(item.code, item.index)"
:title="item.title"
:disabled="item.isDis === 'N'"
>{{ item.label }}</c-button
>
</div>
</div>
</div>
</el-dialog>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import _ from "~/utils/Lodash"
export default {
props: {
ownref: {
required: true,
},
trnCode: {
required: true,
},
model: {
required: true,
},
ownrefPath: {
required: false,
default: "didgrp",
},
tabIndex: {
required: false,
default: 1,
},
amt: {
required: false,
default: 0,
}
},
components: {},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
initdialog: false,
navcode: [
// {code:"",label:"",isDis:"",title:""},
],
};
},
methods: {
//各入口按钮请求
async onNarBtnClick(code, i) {
this.model.cfgfil[`subtrn${i}`] = code;
let rtnmsg = await this.executeRule(`cfgfil.hotsub${i}`);
if (rtnmsg.respCode == SUCCESS) {
this.navcode = [];
this.$emit("onChoose", code.toLowerCase());
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
getIndex(module) {
for (let i = 1; i <= 12; i++) {
var temp = this.model.cfgfil[`subtxt${i}`];
if (module == temp) {
return i;
}
}
return 1;
},
opened() {
this.$emit("childmethods");
},
beforeClose() {
this.navcode = [];
this.initdialog = false;
},
},
mounted() {
this.trnName = this.trnCode;
this.$nextTick(function () {
this.$on("childmethods", async function () {
this.model.cldgrp.cbs.opn1.amt = this.amt;
let res = await this.executeRule(`cfgfil.hotreg${this.tabIndex}`);
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
} else {
this.$notify.error({
title: "错误",
message: "服务请求失败!",
});
}
this.navcode = [];
//请求按钮数据
let rulePath
if (this.ownrefPath.endsWith(".ownref")) {
_.set(this.model, this.ownrefPath, this.ownref);
rulePath = this.ownrefPath
} else {
this.model[this.ownrefPath].rec.ownref = this.ownref;
rulePath = this.ownrefPath + ".rec.ownref"
}
let rtnmsg = await this.executeRule(rulePath); //didgrp_rec_ownref
if (rtnmsg.respCode == SUCCESS) {
//重置数组
this.navcode = [];
this.updateModel(rtnmsg.data);
//this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
//this.model.didgrp.rec.inr = rtnmsg.data.didgrp_rec_inr
const length = this.model.cfgfil.btnstm.rows.length;
let btnStr = this.model.cfgfil.btnstm.rows;
for (let i = 0; i < length; i++) {
let arr = btnStr[i].split("\t");
var index = this.getIndex(arr[1]);
let newList = {
code: arr[0],
label: arr[1],
isDis: arr[2],
title: arr[3],
index: index,
};
this.navcode.push(newList);
}
} else {
this.navcode = [];
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
});
});
},
};
</script>
<style>
</style>
\ No newline at end of file
......@@ -165,14 +165,14 @@
slot="reference">详情</c-button>
</el-popover>
<c-button style="margin-left: 0" size="small" type="primary"
@click="getButtons(scope.row['Reference'])">处理
@click="getButtons(scope.row['Reference'],scope.row['Open Amount'])">处理
</c-button>
</template>
</el-table-column>
</c-istream-table>
</c-col>
<m-busbtn ref="childs" :ownref="ownref" :model="CltselModel" ownrefPath="cldgrp" trnCode="cltsel"
<m-busbtn ref="childs" :ownref="ownref" :amt="amt" :model="CltselModel" ownrefPath="cldgrp" trnCode="cltsel"
@onChoose="onChoose">11</m-busbtn>
......@@ -187,7 +187,7 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infcld/Event"
import CltselModel from "~/model/Cltsel"
import BusNavbar from "~/views/Public/BusNavbar";
import BusNavbar from "./BusNavbar";
export default {
inject: ['root'],
......@@ -196,6 +196,7 @@ export default {
components: { "m-busbtn": BusNavbar },
data() {
return {
amt: '',
CltselModel: new CltselModel().data,
ownref: "",
initdialog: false,
......@@ -240,10 +241,13 @@ export default {
},
methods: {
...Event,
async getButtons(ownref) {
async getButtons(ownref,amt) {
this.$refs.childs.initdialog = true
this.executeDefault('executeNotify');
this.ownref = ownref
this.amt = amt;
console.log("ownref:" + ownref);
console.log(amt);
},
async onChoose(code) {
//跳转交易
......
......@@ -63,6 +63,7 @@
maxlength="35"
show-word-limit
placeholder="请输入Covered"
@change="defaultFunction()"
></c-input>
</el-form-item>
</c-col>
......
<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/Lttdav/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="12">
<c-button size="small" type="primary" @click="onTrndocButshw">
Sho&w
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd">
D&etails
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew">
&Add New
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto">
Attach to
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
Delete
</c-button>
</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">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">Show Incoming Messages</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">Show Outgoing Messages</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
Attach
</c-button>
</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">
<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/Lttdav/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() {},
};
</script>
<style>
</style>
<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/Lttdav/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="Booking stream to Display" prop="setmod.glemod.gleshwstm">
<c-input v-model="model.setmod.glemod.gleshwstm" placeholder="请输入Booking stream to Display"></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/Lttdav/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="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/Lttdav/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="200px" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000045 -->
<el-tab-pane label="davp" name="davp">
<m-davp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000296 -->
<el-tab-pane label="Discr./Instr" name="dscinsp">
<m-dscinsp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Engagement" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="GLE Booking" name="glepan">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Message" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
<!-- <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">交易历史</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">
<!--lttdav PD000045 Advice Received -->
<el-tab-pane label="Advice Received" name="davp">
<m-davp :model="model" :codes="codes" />
</el-tab-pane>
<!--bttp PD000282 Advice of Discrepancy -->
<el-tab-pane label="Advice of Discrepancy" name="mt750p" v-if="model.btdgrp.rec.advtyp=='750'">
<m-mt750p :model="model" :codes="codes" />
</el-tab-pane>
<!--bttp PD000296 Discr./Instr. -->
<el-tab-pane label="Discr./Instr." name="dscinsp" v-if="model.btdgrp.rec.advtyp=='750'">
<m-dscinsp :model="model" :codes="codes" />
</el-tab-pane>
<!--bttp PD000268 Advice of Payment -->
<el-tab-pane label="Advice of Payment" name="mt754p" v-if="model.btdgrp.rec.advtyp=='754'">
<m-mt754p :model="model" :codes="codes" />
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
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>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Lttdav from "~/model/Lttdav"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Lttdav/Check"
import Default from "~/model/Lttdav/Default"
import Pattern from "~/model/Lttdav/Pattern"
import Davp from "./Davp"
import Dscinsp from "./Dscinsp"
import Engp from "./Engp"
import Setpan from "./Setpan"
import Glepan from "./Glepan"
import Coninfp from "./Coninfp"
import Docpan from "./Docpan"
import Doctre from "./Doctre"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Lttdav from "~/model/Lttdav";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Lttdav/Check";
import Default from "~/model/Lttdav/Default";
import Pattern from "~/model/Lttdav/Pattern";
import Davp from "./Davp";
import Mt750p from "./Mt750p";
import Dscinsp from "./Dscinsp";
import Mt754p from "./Mt754p";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
export default {
components:{
"m-davp" : Davp,
"m-dscinsp" : Dscinsp,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-glepan" : Glepan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "lttdav",
model: new Lttdav().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
name: "Lttdav",
components: {
"m-davp": Davp,
"m-mt750p": Mt750p,
"m-dscinsp": Dscinsp,
"m-mt754p": Mt754p,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "davp",
trnName: "lttdav",
trnType: "",
model: new Lttdav().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入lttdav交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
created: async function () {
console.log("进入lttdav交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
......@@ -218,7 +218,7 @@
width="60%"
center
>
<el-form label-width="100px" :model="dialog">
<el-form label-width="100px" :model="dialog" :disabled="suppress">
<c-row>
<c-col :span="12">
<c-col>
......@@ -423,12 +423,12 @@
</el-date-picker
></el-form-item>
</c-col>
<c-col
<c-col v-if="this.suppress!=true"
><el-form-item label="Contact"
><el-input v-model="dialog.ptcnam"
/></el-form-item>
</c-col>
<c-col :span="22"
<c-col :span="22" v-if="this.suppress!=true"
><el-form-item
:label="
title == 'MT799'
......@@ -453,7 +453,7 @@
</div>
</el-form-item>
</c-col>
<c-col :span="2">
<c-col :span="2" v-if="this.suppress!=true">
<c-button size="mini" icon="el-icon-more"> </c-button>
</c-col>
</c-row>
......@@ -463,6 +463,15 @@
<c-button type="primary" @click="saveDialog"
>确 定</c-button
>
<c-button type="primary" @click="activateDialog" v-if="dialog.delflg=='D'"
>应用</c-button
>
<c-button type="primary" @click="suppressDialog" v-else-if="dialog.lev=='1'||dialog.mliflg!=''"
>禁用</c-button
>
<c-button type="primary" @click="activateDialog" v-else
>删除</c-button
>
<c-button @click="centerDialogVisible = false"
>取 消</c-button
>
......@@ -505,6 +514,7 @@ export default {
],
data: [],
},
suppress:false,
};
},
watch: {
......@@ -535,6 +545,26 @@ export default {
}
})
},
activateDialog() {
this.executeRule("trnmod.trndoc.doccur.butdel").then(res => {
if(res.respCode==SUCCESS){
//TODO
}else{
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
suppressDialog() {
this.executeRule("trnmod.trndoc.doccur.butdel").then(res => {
if(res.respCode==SUCCESS){
//TODO
this.suppress=true;
}else{
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
})
},
async handleDisplay(index, row,doceot){
//后续要根据快照模式切换请求方式
let cortyp = row.cortyp
......
<template>
<ReviewWrapper>
<Cltset></Cltset>
</ReviewWrapper>
</template>
<script>
import Cltset from "~/views/Business/Cltset";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewCltset",
components: { ReviewWrapper, Cltset },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Clttra></Clttra>
</ReviewWrapper>
</template>
<script>
import Clttra from "~/views/Business/Clttra";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewClttra",
components: { ReviewWrapper, Clttra },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
......@@ -90,6 +90,8 @@ import ReviewBetamc from "./Business/ReviewBetamc.vue";
import ReviewCptcan from "./Business/ReviewCptcan.vue";
import ReviewCptrep from "./Business/ReviewCptrep.vue";
import ReviewCltdav from "./Business/ReviewCltdav.vue";
import ReviewCltset from "./Business/ReviewCltset.vue";
import ReviewClttra from "./Business/ReviewClttra.vue";
import ReviewTrtopn from "./Business/ReviewTrtopn.vue";
import ReviewTrtame from "./Business/ReviewTrtame.vue";
......@@ -214,6 +216,9 @@ const ReviewRouter = [
{ path: "ccttra", component: ReviewCcttra, name: "ReviewCcttra", meta: { title: "复核-Ccttra" } },
{ path: "lttopn", component: ReviewLttopn, name: "ReviewLttopn", meta: { title: "复核-Lttopn" } },
{ path: "cltdav", component: ReviewCltdav, name: "ReviewCltdav", meta: { title: "复核-Cltdav" } },
{ path: "cltset", component: ReviewCltset, name: "ReviewCltset", meta: { title: "复核-Cltset" } },
{ path: "clttra", component: ReviewClttra, name: "ReviewClttra", meta: { title: "复核-Clttra" } },
{ path: "lttdck", component: ReviewLttdck, name: "ReviewLttdck", meta: { title: "复核-Lttdck" } },
{ path: "Cptati", component: ReviewCptati, name: "ReviewCptati", meta: { title: "复核-Cptati" } },
{ path: "Cptato", component: ReviewCptato, name: "ReviewCptato", meta: { title: "复核-Cptato" } },
......@@ -227,13 +232,13 @@ const ReviewRouter = [
{ path: "Trtrcl", component: ReviewTrtrcl, name: "ReviewTrtrcl", meta: { title: "复核-Trtrcl" } },
{ path: "Trtcan", component: ReviewTrtcan, name: "ReviewTrtcan", meta: { title: "复核-Trtcan" } },
{ path: "getcrq", component: ReviewBctacc, name: "ReviewGetcrq", meta: { title: "复核-Getcrq" } },
{ path: "getcan", component: ReviewBctame, name: "ReviewGetcan", meta: { title: "复核-Getcan" } },
{ path: "gitcrq", component: ReviewBctcan, name: "ReviewGitcrq", meta: { title: "复核-Gitcrq" } },
{ path: "gitcan", component: ReviewBctdav, name: "ReviewGitcan", meta: { title: "复核-Gitcan" } },
{ path: "gitset", component: ReviewBctdor, name: "ReviewGitset", meta: { title: "复核-Gitset" } },
{ path: "gitcrj", component: ReviewBctrad, name: "ReviewGitcrj", meta: { title: "复核-Gitcrj" } },
{ path: "gctcan", component: ReviewBctsel, name: "ReviewGctcan", meta: { title: "复核-Gctcan" } },
{ path: "getcrq", component: ReviewGetcrq, name: "ReviewGetcrq", meta: { title: "复核-Getcrq" } },
{ path: "getcan", component: ReviewGetcan, name: "ReviewGetcan", meta: { title: "复核-Getcan" } },
{ path: "gitcrq", component: ReviewGitcrq, name: "ReviewGitcrq", meta: { title: "复核-Gitcrq" } },
{ path: "gitcan", component: ReviewGitcan, name: "ReviewGitcan", meta: { title: "复核-Gitcan" } },
{ path: "gitset", component: ReviewGitset, name: "ReviewGitset", meta: { title: "复核-Gitset" } },
{ path: "gitcrj", component: ReviewGitcrj, name: "ReviewGitcrj", meta: { title: "复核-Gitcrj" } },
{ path: "gctcan", component: ReviewGctcan, name: "ReviewGctcan", meta: { title: "复核-Gctcan" } },
{ path: "bttrcl", component: ReviewBttrcl, name: "ReviewBttrcl", meta: { title: "复核-Bttrcl" } },
......
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