Commit 484a75e7 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 9024b71f 6dba1fda
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -18,13 +18,13 @@
"es6-promise": "^4.2.8",
"js-cookie": "^3.0.1",
"lodash": "^4.17.21",
"moment": "^2.27.0",
"vue": "^2.6.11",
"vue-draggable-resizable": "^2.2.0",
"vue-i18n": "^8.26.7",
"vue-router": "^3.2.0",
"vuedraggable": "^2.24.1",
"vuex": "^3.4.0",
"moment": "^2.27.0",
"vue-draggable-resizable": "^2.2.0"
"vuex": "^3.4.0"
},
"engines": {
"node": ">=8.9",
......
......@@ -307,13 +307,13 @@ export default {
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
......
......@@ -4,18 +4,22 @@ import Utils from "~/utils"
* Bttrcl Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"rmbclm.rmbrmb.pts.extkey" :null,
"rmbclm.acwacw.pts.extkey" :null,
"btdgrp.blk.setinsbt" :null,
"setmod.dspflg" :null,
"bttp0.recget.sdamod.dadsnd" :null,
"bttp0.ltdget.sdamod.dadsnd" :null,
"rmbclm.acwacw.pts.adrblk" :null,
"liaall.tenstm" :null,
"setmod.redamt" :null,
"aamset.utlamt2" :null,
"mtabut.coninf.conexedat" :null,
"rmbclm.bebbeb.adrelc" :null,
"rmbclm.acwacw.namelc" :null,
"rmbclm.clmrmbflg" :null,
"setmod.docamt" :null,
"bttp0.ledget.sdamod.dadsnd" :null,
"rmbclm.bebbeb.namelc" :null,
"rmbclm.rmbrmb.pts.adrblk" :null,
"rmbclm.rmbrmb.adrelc" :null,
"rmbclm.bebbeb.pts.adrblk" :null,
"rmbclm.acwacw.adrelc" :null,
"rmbclm.rmbrmb.namelc" :null,
"rmbclm.bebbeb.pts.extkey" :null,
}
for (const key in checkObj) {
......
......@@ -6,32 +6,33 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.extkey" :Utils.defaultFunction,
"rmbclm.rmbrmb.adrelc" :Utils.defaultFunction,
"rmbclm.rmbrmb.namelc" :Utils.defaultFunction,
"rmbclm.rmbrmb.dbfadrblkcn" :Utils.defaultFunction,
"aamset.utlamt2" :Utils.defaultFunction,
"rmbclm.acwacw.pts.extkey" :Utils.defaultFunction,
"rmbclm.acwacw.adrelc" :Utils.defaultFunction,
"rmbclm.acwacw.namelc" :Utils.defaultFunction,
"rmbclm.acwacw.dbfadrblkcn" :Utils.defaultFunction,
"rmbclm.acwacw.pts.adrblk" :Utils.defaultFunction,
"btdgrp.cbs.max.cur" :Utils.defaultFunction,
"btdgrp.cbs.max.amt" :Utils.defaultFunction,
"rmbclm.bebbeb.pts.extkey" :Utils.defaultFunction,
"rmbclm.bebbeb.adrelc" :Utils.defaultFunction,
"rmbclm.bebbeb.namelc" :Utils.defaultFunction,
"rmbclm.bebbeb.dbfadrblkcn" :Utils.defaultFunction,
"rmbclm.bebbeb.pts.adrblk" :Utils.defaultFunction,
"btdgrp.rec.ownref" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.adrblk" :Utils.defaultFunction,
"btdgrp.be1.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.concur" :Utils.defaultFunction,
"aamset.utlamt2" :Utils.defaultFunction,
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"trnmod.trndoc.nar754" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"aamset.utlamt" :Utils.defaultFunction,
"btdgrp.cbs.opn2.cur" :Utils.defaultFunction,
"btdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"btdgrp.cbs.max.cur" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"trnmod.trndoc.nar754" :Utils.defaultFunction,
"btdgrp.cbs.max.amt" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"rmbclm.rmbrol" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"ledgrp.rec.ownref" :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 onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
async onRmbpDet(){
let rtnmsg = await this.executeRule("rmbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -26,8 +26,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
async onAcwpDet(){
let rtnmsg = await this.executeRule("acwp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -38,104 +38,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMtdbutButapy(){
let rtnmsg = await this.executeRule("mtdbut.butapy")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMtdbutButcan(){
let rtnmsg = await this.executeRule("mtdbut.butcan")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
async onBebpDet(){
let rtnmsg = await this.executeRule("bebp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......
......@@ -118,129 +118,107 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct":[
"rmbclm.rmbrmb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
{max: 16,message:"长度不能超过16"}
],
"liaall.concur":[
"rmbclm.rmbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{max: 16,message:"长度不能超过16"}
],
"setmod.ref":[
"rmbclm.rmbrmb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
"rmbclm.rmbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"setmod.redamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.setamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.redamttxt":[
"rmbclm.rmbrmb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
"rmbclm.rmbrmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
"rmbclm.rmbrmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
{max: 35,message:"长度不能超过35"}
],
"mtabut.coninf.oitset.oit.inftxt":[
"rmbclm.rmbrmb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
{max: 35,message:"长度不能超过35"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
"rmbclm.acwacw.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mtabut.coninf.usr.extkey":[
"rmbclm.acwp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.advnam":[
"rmbclm.acwacw.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
"rmbclm.acwp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
"rmbclm.acwacw.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"trnmod.trndoc.filrecv":[
"rmbclm.acwacw.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
"rmbclm.bebp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.condocstm":[
"rmbclm.bebbeb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.rcvatt.seainf":[
"rmbclm.bebp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.bebbeb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.valdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
}
\ No newline at end of file
......@@ -76,15 +76,53 @@ export default class Bttrcl{
},
liaall:{
tenstm:"", // Tenor Stream .liaall.tenstm
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
},
rmbclm:{
clmrmbflg:"", // Send MT 742 .rmbclm.clmrmbflg
rmbrmb:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.rmbrmb.namelc
adrelc:"", // 地址 .rmbclm.rmbrmb.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.rmbrmb.dbfadrblkcn
},
rmbp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.rmbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.rmbp.ptsget.sdamod.dadsnd
},
},
},
acwacw:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.acwacw.namelc
adrelc:"", // 地址 .rmbclm.acwacw.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.acwacw.dbfadrblkcn
},
acwp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.acwp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.acwp.ptsget.sdamod.dadsnd
},
},
},
bebbeb:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.bebbeb.namelc
adrelc:"", // 地址 .rmbclm.bebbeb.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.bebbeb.dbfadrblkcn
},
bebp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.bebp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.bebp.ptsget.sdamod.dadsnd
},
},
},
rmbrol:"", // 偿付行 .rmbclm.rmbrol
valdat:"", // value date .rmbclm.valdat
},
aamset:{
utlamt2:"", // Add. Amount utilized/settled .aamset.utlamt2
......@@ -93,65 +131,6 @@ export default class Bttrcl{
trnmod:{
trndoc:{
nar754:"", // Narrative :77A: .trnmod.trndoc.nar754
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
redamt:"", // 减少的金额 .setmod.redamt
setamt:"", // 减少后的结算金额 .setmod.setamt
redamttxt:"", // 注释 .setmod.redamttxt
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog: {
setfol: []
},
setfeg: {
setfel: []
},
},
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
pageId: "" // ctx的key
......
......@@ -850,7 +850,7 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"cpdgrp.blk.contag72":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"cpdgrp.rmt.pts.extkey":[
......
......@@ -540,15 +540,7 @@ export default class Gitopn{
guedparecompcode:"", // 被担保人境内母公司代码 .cfagit.recp.pubp.cousel1.guedparecompcode
},
},
dclp:{
exguarancode:"",
actiontype:"",
wabachandate:"",
basere:"",
remarx:"",
actiondesc:"",
acp:"",
},
dclp:[],
zzwjew:"", // 主债务金额提示 .cfagit.recp.zzwjew
thjewating:"", // 资金调回金额提示 .cfagit.recp.thjewating
},
......
......@@ -21,24 +21,28 @@ export default {
}
},*/
async handleReset() {
this.model.infcon.seaownref = "";
this.model.infcon.searef = "";
this.model.infcon.pty.extkey = "";
this.model.infcon.seapty = "";
this.model.infcon.opndatfrom = "";
this.model.infcon.opndatto = "";
this.model.infcon.seaamtfr = "";
this.model.infcon.seaamtto = "";
this.model.infcon.seasta = "";
this.model.infcon.usr.extkey = "";
this.model.infcon.nam = "";
this.model.infcon.hndtyp = "";
this.model.infcon.pty.nam = "";
this.model.infcon.searol = "";
this.model.infcon.seacur = "";
this.stmData.data = "";
// async handleReset() {
// this.model.infcon.seaownref = "";
// this.model.infcon.searef = "";
// this.model.infcon.pty.extkey = "";
// this.model.infcon.seapty = "";
// this.model.infcon.opndatfrom = "";
// this.model.infcon.opndatto = "";
// this.model.infcon.seaamtfr = "";
// this.model.infcon.seaamtto = "";
// this.model.infcon.seasta = "";
// this.model.infcon.usr.extkey = "";
// this.model.infcon.nam = "";
// this.model.infcon.hndtyp = "";
// this.model.infcon.pty.nam = "";
// this.model.infcon.searol = "";
// this.model.infcon.seacur = "";
// this.stmData.data = "";
// },
async handleReset(formName) {
this.$refs[formName].resetFields();
},
async handleSearch() {
......
......@@ -62,5 +62,20 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleSearch() {
let rtnmsg = await this.executeRule("searow")
if(rtnmsg.respCode == SUCCESS)
{
this.stmData.data = rtnmsg.data.trncorco_trnstm.rows;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleReset() {
}
}
\ No newline at end of file
......@@ -43,6 +43,7 @@ let checkObj = {
"trdgrp.rec.stagod" :null,
"dftcre.dfdgrp.rec.intprd" :null,
"dftcre.dfdgrp.dff.pts.extkey" :null,
"dftcre.dfdgrp.dff.pts.ref" :null,
"trtmod.finmod.ratchgprd" :null,
"trtmod.finmod.inttyp" :null,
"cfatrt.cda.useofunds" :null,
......
......@@ -53,6 +53,7 @@ export default {
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"dftcre.dfdgrp.dff.pts.adrblk" :Utils.defaultFunction,
"dftcre.dfdgrp.dff.pts.ref" :Utils.defaultFunction,
"dftcre.dfdgrp.dff.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"cfadft.basflg" :Utils.defaultFunction,
......@@ -91,6 +92,5 @@ export default {
"trdgrp.rec.lprtyp" :Utils.defaultFunction,
"trdgrp.rec.tenday" :Utils.defaultFunction,
"trtmod.finmod.acttyp1" :Utils.defaultFunction,
// "trdgrp.rec.sndto" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -65,7 +65,7 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"trdgrp.fip.pts.ref":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trtp.usr.extkey":[
......@@ -114,7 +114,7 @@ export default {
"trdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "number", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -36,6 +36,12 @@ export default class Trtopn{
adrelc:"", // 地址 .trdgrp.fip.adrelc
dbfadrblkcn:"", // Chinese address .trdgrp.fip.dbfadrblkcn
},
rmb:{
pts:new Pts().data,
namelc:"", // 名称 .trdgrp.rmb.namelc
adrelc:"", // 地址 .trdgrp.rmb.adrelc
dbfadrblkcn:"", // Chinese address .trdgrp.rmb.dbfadrblkcn
},
cbs:{
max:{
cur:"", // Currency .trdgrp.cbs.max.cur
......
import Utils from "~/utils"
/**
* Trtrcl Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"rmbclm.rmbrmb.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"rmbclm.acwacw.pts.extkey" :null,
"liaall.limmod.ecifno" :null,
"trdgrp.fip.pts.nam" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"rmbclm.acwacw.pts.adrblk" :null,
"setmod.dspflg" :null,
"trdgrp.iss.pts.extkey" :null,
"liaall.tenstm" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"trdgrp.iss.pts.adrblk" :null,
"rmbclm.bebbeb.adrelc" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"rmbclm.acwacw.namelc" :null,
"trdgrp.iss.namelc" :null,
"mtabut.coninf.conexedat" :null,
"rmbclm.bebbeb.namelc" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"trdgrp.rmb.pts.extkey" :null,
"trdgrp.rmb.namelc" :null,
"rmbclm.rmbrmb.pts.adrblk" :null,
"trdgrp.iss.adrelc" :null,
"trdgrp.rmb.pts.adrblk" :null,
"setmod.docamt" :null,
"rmbclm.rmbrmb.adrelc" :null,
"rmbclm.bebbeb.pts.adrblk" :null,
"rmbclm.acwacw.adrelc" :null,
"trdgrp.rmb.adrelc" :null,
"rmbclm.rmbrmb.namelc" :null,
"rmbclm.bebbeb.pts.extkey" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Trtrcl Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"trdgrp.rmb.pts.extkey" :Utils.defaultFunction,
"trdgrp.rmb.adrelc" :Utils.defaultFunction,
"trdgrp.rmb.namelc" :Utils.defaultFunction,
"trdgrp.rmb.dbfadrblkcn" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"trdgrp.iss.pts.adrblk" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trdgrp.cbs.max.amt" :Utils.defaultFunction,
"trdgrp.rec.stttendat" :Utils.defaultFunction,
"trdgrp.rec.matdat" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.extkey" :Utils.defaultFunction,
"rmbclm.rmbrmb.adrelc" :Utils.defaultFunction,
"rmbclm.rmbrmb.namelc" :Utils.defaultFunction,
"rmbclm.rmbrmb.dbfadrblkcn" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.concur" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"rmbclm.acwacw.pts.extkey" :Utils.defaultFunction,
"rmbclm.acwacw.adrelc" :Utils.defaultFunction,
"rmbclm.acwacw.namelc" :Utils.defaultFunction,
"rmbclm.acwacw.dbfadrblkcn" :Utils.defaultFunction,
"rmbclm.acwacw.pts.adrblk" :Utils.defaultFunction,
"rmbclm.bebbeb.pts.extkey" :Utils.defaultFunction,
"rmbclm.bebbeb.adrelc" :Utils.defaultFunction,
"rmbclm.bebbeb.namelc" :Utils.defaultFunction,
"rmbclm.bebbeb.dbfadrblkcn" :Utils.defaultFunction,
"rmbclm.bebbeb.pts.adrblk" :Utils.defaultFunction,
"trdgrp.iss.pts.extkey" :Utils.defaultFunction,
"trdgrp.iss.adrelc" :Utils.defaultFunction,
"trdgrp.iss.namelc" :Utils.defaultFunction,
"trdgrp.iss.dbfadrblkcn" :Utils.defaultFunction,
"trdgrp.rec.fintyp" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.adrblk" :Utils.defaultFunction,
"trdgrp.rmb.pts.adrblk" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"trnmod.trndoc.nar754" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"rmbclm.rmbrol" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onRmbp1Det(){
let rtnmsg = await this.executeRule("rmbp1.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onIsspDet(){
let rtnmsg = await this.executeRule("issp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRmbpDet(){
let rtnmsg = await this.executeRule("rmbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAcwpDet(){
let rtnmsg = await this.executeRule("acwp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBebpDet(){
let rtnmsg = await this.executeRule("bebp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Trtrcl{
constructor () {
this.data = {
trdgrp:{
rec:{
inr: '',
pntref:"", // 父交易参考号 .trdgrp.rec.pntref
pntnam:"", // Name .trdgrp.rec.pntnam
ownref:"", // 参考号 .trdgrp.rec.ownref
nam:"", // Name .trdgrp.rec.nam
pctfin:"", // 融资比例 .trdgrp.rec.pctfin
stttendat:"", // 起息日期 .trdgrp.rec.stttendat
matdat:"", // Maturity Date .trdgrp.rec.matdat
fintyp:"", // 融资品种 .trdgrp.rec.fintyp
finact:"", // 融资账号 .trdgrp.rec.finact
},
cbs:{
max:{
cur:"", // 融资金额 .trdgrp.cbs.max.cur
amt:"", // 融资金额 .trdgrp.cbs.max.amt
},
opn1:{
cur:"", // 余额 .trdgrp.cbs.opn1.cur
amt:"", // Balance .trdgrp.cbs.opn1.amt
},
},
fip:{
pts:new Pts().data,
},
rmb:{
pts:new Pts().data,
namelc:"", // 名称 .trdgrp.rmb.namelc
adrelc:"", // 地址 .trdgrp.rmb.adrelc
dbfadrblkcn:"", // Chinese address .trdgrp.rmb.dbfadrblkcn
},
iss:{
pts:new Pts().data,
namelc:"", // 名称 .trdgrp.iss.namelc
adrelc:"", // 地址 .trdgrp.iss.adrelc
dbfadrblkcn:"", // Chinese address .trdgrp.iss.dbfadrblkcn
},
},
trtp0:{
bcdget:{
sdamod:{
seainf:"", // .trtp0.bcdget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.bcdget.sdamod.dadsnd
},
},
ledget:{
sdamod:{
seainf:"", // .trtp0.ledget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.ledget.sdamod.dadsnd
},
},
brdget:{
sdamod:{
seainf:"", // .trtp0.brdget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.brdget.sdamod.dadsnd
},
},
bedget:{
sdamod:{
seainf:"", // .trtp0.bedget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.bedget.sdamod.dadsnd
},
},
recget:{
sdamod:{
seainf:"", // .trtp0.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.recget.sdamod.dadsnd
},
},
rmbp:{
ptsget:{
sdamod:{
seainf:"", // .trtp0.rmbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.rmbp.ptsget.sdamod.dadsnd
},
},
},
issp:{
ptsget:{
sdamod:{
seainf:"", // .trtp0.issp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.issp.ptsget.sdamod.dadsnd
},
},
},
},
liaall: new Pub().data.Liaall,
trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
rmbclm:{
rmbrmb:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.rmbrmb.namelc
adrelc:"", // 地址 .rmbclm.rmbrmb.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.rmbrmb.dbfadrblkcn
},
rmbp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.rmbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.rmbp.ptsget.sdamod.dadsnd
},
},
},
acwacw:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.acwacw.namelc
adrelc:"", // 地址 .rmbclm.acwacw.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.acwacw.dbfadrblkcn
},
acwp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.acwp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.acwp.ptsget.sdamod.dadsnd
},
},
},
bebbeb:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.bebbeb.namelc
adrelc:"", // 地址 .rmbclm.bebbeb.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.bebbeb.dbfadrblkcn
},
bebp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.bebp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.bebp.ptsget.sdamod.dadsnd
},
},
},
rmbrol:"", // 偿付行 .rmbclm.rmbrol
valdat:"", // value date .rmbclm.valdat
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -15,6 +15,7 @@ export default class Trtsel{
labownref:"", // Label of Reference .labownref
trdgrp:{
rec:{
inr: '',
pntref:"", // Parent Reference .trdgrp.rec.pntref
pntnam:"", // Parent Contract Name .trdgrp.rec.pntnam
ownref:"", // Our Reference .trdgrp.rec.ownref
......
......@@ -212,7 +212,7 @@
style="width: 100%"
placeholder="请选择Maturity Date"
value-format="yyyy-MM-dd"
:disabled="true"
:disabled="model.bedgrp.blk.matper!=''||model.bedgrp.rec.docflg=='P'"
></c-date-picker>
</el-form-item>
</c-col>
......@@ -411,6 +411,7 @@
style="width: 100%"
placeholder="请选择Maturity Date"
value-format="yyyy-MM-dd"
:disabled="model.bedgrp.blk.matper!=''||model.bedgrp.rec.docflg=='P'"
></c-date-picker>
</el-form-item>
</c-col>
......@@ -425,7 +426,7 @@
maxlength="65"
show-word-limit
placeholder="请输入Maturity Period"
:disabled="model.bedgrp.rec.matdat!=''||model.bedgrp.rec.doctypcod=='P'"
:disabled="model.bedgrp.rec.matdat!=null&&model.bedgrp.rec.matdat!=''||model.bedgrp.rec.docflg=='P'"
></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/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">
<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">
<el-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit placeholder="请输入修改申请人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" placeholder="请输入国内证通知书"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/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">
<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/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">
<el-form-item :label="$t('rmbclm.SF000021')" prop="rmbclm.rmbrol">
<c-select v-model="model.rmbclm.rmbrol" style="width:100%" :placeholder="$t('other.please_enter')+$t('rmbclm.SF000021')">
</c-select>
</el-form-item>
</c-col>
<!-- SF000021 : 偿付行 -->
<!-- SF000020 : 编号 -->
<c-col :span="12">
<c-form-item label="Reference for Address Optional" prop="rmbclm.rmbrmb.pts.ref">
<c-input v-model="model.rmbclm.rmbrmb.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+'Reference for Address Optional'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="rmbclm.rmbp.ptsget.sdamod.dadsnd">
<c-input v-model="model.rmbclm.rmbp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="rmbclm.rmbrmb.pts.extkey">
<c-input v-model="model.rmbclm.rmbrmb.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="rmbclm.rmbp.ptsget.sdamod.seainf">
<c-input v-model="model.rmbclm.rmbp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRmbpDet">
{{$t('ptsp.CF000081')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="名称" prop="rmbclm.rmbrmb.namelc">
<c-input type="textarea" v-model="model.rmbclm.rmbrmb.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="rmbclm.rmbrmb.pts.adrblk">
<c-input type="textarea" v-model="model.rmbclm.rmbrmb.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="rmbclm.rmbrmb.dbfadrblkcn">
<c-input type="textarea" v-model="model.rmbclm.rmbrmb.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="地址" prop="rmbclm.rmbrmb.adrelc">
<c-input type="textarea" v-model="model.rmbclm.rmbrmb.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item>
</c-col>
<!-- SF000011 : Account with Bank -->
<!-- SF000018 : 编号 -->
<c-col :span="12">
<c-form-item :label="$t('rmbclm.SF000011')" prop="rmbclm.acwacw.pts.ref">
<c-input v-model="model.rmbclm.acwacw.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('rmbclm.SF000011')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="rmbclm.acwp.ptsget.sdamod.dadsnd">
<c-input v-model="model.rmbclm.acwp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="rmbclm.acwacw.pts.extkey">
<c-input v-model="model.rmbclm.acwacw.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="rmbclm.acwp.ptsget.sdamod.seainf">
<c-input v-model="model.rmbclm.acwp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAcwpDet">
{{$t('ptsp.CF000081')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="名称" prop="rmbclm.acwacw.namelc">
<c-input type="textarea" v-model="model.rmbclm.acwacw.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="rmbclm.acwacw.pts.adrblk">
<c-input type="textarea" v-model="model.rmbclm.acwacw.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="rmbclm.acwacw.dbfadrblkcn">
<c-input type="textarea" v-model="model.rmbclm.acwacw.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="地址" prop="rmbclm.acwacw.adrelc">
<c-input type="textarea" v-model="model.rmbclm.acwacw.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item>
</c-col>
<!-- SF000016 : Beneficiary Bank -->
<!-- SF000019 : 编号 -->
<c-col :span="12">
<c-form-item :label="$t('rmbclm.SF000016')" prop="rmbclm.bebbeb.pts.ref">
<c-input v-model="model.rmbclm.bebbeb.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('rmbclm.SF000016')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="rmbclm.bebp.ptsget.sdamod.dadsnd">
<c-input v-model="model.rmbclm.bebp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="rmbclm.bebbeb.pts.extkey">
<c-input v-model="model.rmbclm.bebbeb.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="rmbclm.bebp.ptsget.sdamod.seainf">
<c-input v-model="model.rmbclm.bebp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBebpDet">
{{$t('ptsp.CF000081')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="名称" prop="rmbclm.bebbeb.namelc">
<c-input type="textarea" v-model="model.rmbclm.bebbeb.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="rmbclm.bebbeb.pts.adrblk">
<c-input type="textarea" v-model="model.rmbclm.bebbeb.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="rmbclm.bebbeb.dbfadrblkcn">
<c-input type="textarea" v-model="model.rmbclm.bebbeb.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="地址" prop="rmbclm.bebbeb.adrelc">
<c-input type="textarea" v-model="model.rmbclm.bebbeb.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="value date" prop="rmbclm.valdat">
<c-date-picker type="date" v-model="model.rmbclm.valdat" style="width:100%" :placeholder="$t('other.please_enter')+'value date'"></c-date-picker>
</el-form-item>
</c-col>
<!-- SG000133 : value date -->
</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">
<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/Bttrcl/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="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="Claim Reimb." name="rclp">
<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">
<!--bttrcl PD000034 Claim Reimb. -->
<el-tab-pane :label="$t('bttrcl.PD000034')" name="rclp">
<m-rclp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Engagement" name="engp">
<m-engp :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="Settlement" name="setpan">
<m-setpan :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"/>
<!--rmbclm PD000128 Reimbursement Details -->
<el-tab-pane :label="$t('rmbclm.PD000128')" name="remp">
<m-remp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
......@@ -50,23 +23,14 @@ import Check from "~/model/Bttrcl/Check"
import Default from "~/model/Bttrcl/Default"
import Pattern from "~/model/Bttrcl/Pattern"
import Rclp from "./Rclp"
import Engp from "~/views/Public/Engp"
import Detp from "./Detp"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "./Doctre"
import Remp from "./Remp"
export default {
name: "Bttrcl",
components:{
"m-rclp" : Rclp,
"m-engp" : Engp,
"m-detp" : Detp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-remp" : Remp,
},
provide() {
return {
......@@ -76,8 +40,9 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "rclp",
tabVal: "",
trnName: "bttrcl",
trnType: "",
model: new Bttrcl().data,
checkRules: Check,
defaultRules: Default,
......@@ -88,7 +53,11 @@ export default {
}
},
methods:{
tabClick(){
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
......@@ -96,6 +65,7 @@ export default {
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
......
......@@ -204,8 +204,7 @@ import Gitcan from "./Gitcan"
import Gitcrj from "./Gitcrj"
import Gctcan from "./Gctcan"
// import Trtrcl from "./Trtrcl"
import Trtrcl from "./Trtrcl"
import Trtset from "./Trtset"
import Trtcan from "./Trtcan"
import Dbiusr from "./Dbiusr"
......@@ -427,7 +426,7 @@ const BusRouter = [
{ path: 'Cptbat', component: Cptbat, name: 'Cptbat', meta: { title: '批量汇款' } },
{ path: 'Sptcpt', component: Sptcpt, name: 'Sptcpt', meta: { title: '批量汇款' } },
// { path: 'trtrcl', component: Trtrcl, name: 'Trtrcl', meta: { title: '进口融资索汇' }},
{ path: 'trtrcl', component: Trtrcl, name: 'Trtrcl', meta: { title: '进口融资索汇' }},
{ path: 'trtset', component: Trtset, name: 'Trtset', meta: { title: '进口融资还款' } },
{ path: 'trtcan', component: Trtcan, name: 'Trtcan', meta: { title: '进口融资注销' } },
{ path: 'Dbiusr', component: Dbiusr, name: 'Dbiusr', meta: { title: 'Dbiusr' } },
......
......@@ -99,7 +99,14 @@
<c-col :span="12">
<el-form-item label="汇款语种" prop="cptp.payuil">
<c-input v-model="model.cptp.payuil" disabled></c-input>
<c-select v-model="model.cptp.payuil" disabled>
<el-option
v-for="item in codes.payuil"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
......@@ -390,22 +397,22 @@
<c-col v-show="model.cpdgrp.rec.swftyp == 'BEP'||model.cpdgrp.rec.swftyp == 'BEQ'||model.cpdgrp.rec.swftyp == 'BES'||model.cpdgrp.rec.swftyp == 'CIU'||model.cpdgrp.rec.swftyp == 'CIV'||model.cpdgrp.rec.swftyp == 'CIW'||model.cpdgrp.rec.swftyp == 'CMT'||model.cpdgrp.rec.swftyp == 'CMY'||model.cpdgrp.rec.swftyp == 'CMX'||model.cpdgrp.rec.swftyp == 'FMS'||model.cpdgrp.rec.swftyp == 'HVP'||model.cpdgrp.rec.swftyp == 'HVR'||model.cpdgrp.rec.swftyp == 'HVQ'">
<c-col :span="24">
<el-form-item label="汇款人名称" prop="cptgrp.cptp.orcnam">
<c-input v-model="model.cptp.orcnam"></c-input>
<c-input v-model="model.cptp.orcnam" type="textarea"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="汇款人地址" prop="cptp.orcadr">
<c-input v-model="model.cptp.orcadr"></c-input>
<c-input type="textarea" v-model="model.cptp.orcadr"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人名称" prop="cptp.pyenam">
<c-input v-model="model.cptp.pyenam"></c-input>
<c-input type="textarea" v-model="model.cptp.pyenam"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人地址" prop="cptp.pyeadr">
<c-input v-model="model.cptp.pyeadr"></c-input>
<c-input type="textarea" v-model="model.cptp.pyeadr"></c-input>
</el-form-item>
</c-col>
</c-col>
......
......@@ -5,7 +5,7 @@
<c-col :span="24">
<el-form-item label="对外担保编号" prop="cfagit.recp.dclp.exguarancode">
<c-input
v-model="model.cfagit.recp.dclp.exguarancode"
v-model="model.cfagit.recp.dclp[0].exguarancode"
maxlength="28"
placeholder="请输入对外担保编号"
disabled
......@@ -15,7 +15,7 @@
<c-col :span="24">
<el-form-item label="操作类型" prop="cfagit.recp.dclp.actiontype">
<c-select
v-model="model.cfagit.recp.dclp.actiontype"
v-model="model.cfagit.recp.dclp[0].actiontype"
style="width: 100%"
placeholder="请选择操作类型"
disabled
......@@ -31,7 +31,7 @@
>
<c-date-picker
type="date"
v-model="model.cfagit.recp.dclp.wabachandate"
v-model="model.cfagit.recp.dclp[0].wabachandate"
style="width: 100%"
placeholder="请选择担保责任余额变动日期"
value-format="yyyy-MM-dd"
......@@ -41,7 +41,7 @@
<c-col :span="24">
<el-form-item label="担保责任余额" prop="cfagit.recp.dclp.basere">
<c-input
v-model="model.cfagit.recp.dclp.basere"
v-model="model.cfagit.recp.dclp[0].basere"
placeholder="请输入担保责任余额"
class="m-input-currency"
></c-input>
......@@ -52,7 +52,7 @@
<el-form-item label="备注" prop="cfagit.recp.dclp.remark">
<c-input
type="textarea"
v-model="model.cfagit.recp.dclp.remark"
v-model="model.cfagit.recp.dclp[0].remark"
maxlength="248"
show-word-limit
placeholder="请输入备注"
......@@ -68,7 +68,7 @@
<el-form-item label="删除原因" prop="cfagit.recp.dclp.actiondesc">
<c-input
type="textarea"
v-model="model.cfagit.recp.dclp.actiondesc"
v-model="model.cfagit.recp.dclp[0].actiondesc"
maxlength="248"
show-word-limit
placeholder="请输入删除原因"
......@@ -77,14 +77,8 @@
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onSav"> &Save </c-button>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onChk"> &Check </c-button>
</c-col> -->
<c-col :span="17" :offset="7">
<c-checkbox v-model="model.cfagit.recp.dclp.acp" disabled
<c-checkbox v-model="model.cfagit.recp.dclp[0].acp" disabled
>确认</c-checkbox
>
</c-col>
......@@ -102,10 +96,18 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
return {
};
},
methods: { ...Event },
created: function () {},
watch:{
// "model.cfagit.recp.dclp.wabachandate":function(){
// if(this.model.cfagit.recp.dclp.wabachandate==''){
// this.model.cfagit.recp.dclp.wabachandate=cfagit.recp.dclp.wabachandate[0].data;
// }
// }
}
};
</script>
<style></style>
......@@ -50,7 +50,7 @@
v-model="model.gidgrp.rec.sndto"
style="width: 100%"
placeholder="请选择Undertaking Send to"
:code="codes.gitopn_rolall"
:code="getValues('gidgrp.rec.sndto')"
>
</c-select>
</el-form-item>
......
......@@ -100,6 +100,13 @@
v-model="model.gidgrp.cbs.max.amt"
style="margin: 0 0 0 10px; width: 80%"
placeholder="请输入Guarantee Amount"
@blur="defaultFunction('gidgrp.cbs.opn1.amt')"
@keyup.enter.native="
defaultFunction(
'gidgrp.cbs.opn1.amt',
model.gidgrp.cbs.opn1.amt
)
"
></c-input>
</el-form-item>
</c-col>
......@@ -290,8 +297,8 @@
</c-col>
<c-col :span="24">
<el-form-item label="Applicable Rules" prop="gidgrp.blk.apprul">
<c-fullbox>
<c-col :span="12">
<el-form-item label="Applicable Rules" prop="gidgrp.blk.apprul">
<c-select
v-model="model.gidgrp.blk.apprul"
style="width: 100%"
......@@ -305,23 +312,23 @@
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<template slot="footer">
<el-form-item label-width="5px" prop="gidgrp.blk.apprultxt">
<c-input
:disabled="
model.gidgrp.blk.apprul == 'URDG' ||
model.gidgrp.blk.apprul == 'NONE' ||
model.gidgrp.blk.apprul == 'UCPR'
"
v-model="model.gidgrp.blk.apprultxt"
maxlength="35"
placeholder="请输入Applicable Rules"
></c-input>
</el-form-item>
</template>
</c-fullbox>
</el-form-item>
<c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.blk.apprultxt">
<c-input
:disabled="
model.gidgrp.blk.apprul == 'URDG' ||
model.gidgrp.blk.apprul == 'NONE' ||
model.gidgrp.blk.apprul == 'UCPR'
"
v-model="model.gidgrp.blk.apprultxt"
maxlength="35"
placeholder="请输入Applicable Rules"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item
......@@ -710,8 +717,7 @@
v-show="model.gitp.swiftflg == ''"
class="centerLable"
>
<c-checkbox
v-model="model.gidgrp.rec.liaflg"
<c-checkbox v-model="model.gidgrp.rec.liaflg"
>Unlimited Liability</c-checkbox
>
</c-col>
......@@ -752,8 +758,12 @@
v-if="model.gitp.swiftflg == 'N'"
class="centerLable"
>
<c-checkbox v-model="model.gidgrp.rec.expflg"
:disabled="model.gidgrp.rec.expdat!=''||model.gidgrp.ghd.segtyp=='02'"
<c-checkbox
v-model="model.gidgrp.rec.expflg"
:disabled="
model.gidgrp.rec.expdat != '' ||
model.gidgrp.ghd.segtyp == '02'
"
>Unlimited Guarantee</c-checkbox
>
</c-col>
......@@ -801,7 +811,7 @@
v-model="model.gidgrp.rec.liaflg"
:disabled="
model.gidgrp.rec.hndtyp != 'OC' ||
model.gidgrp.rec.expflg == 'X' ||
model.gidgrp.rec.expflg == 'X' ||
model.gidgrp.rec.liadat != ''
"
>Unlimited Liability</c-checkbox
......@@ -965,7 +975,7 @@
:disabled="
model.gidgrp.ghd.segtyp == '02' ||
model.gidgrp.rec.hndtyp != 'OT' ||
model.gidgrp.apl.pts.adrbkl != ''
model.gidgrp.apl.pts.adrbkl != ''
"
:rows="4"
type="textarea"
......@@ -1139,8 +1149,6 @@
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item
......@@ -1225,20 +1233,35 @@
<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.exptxtmodflg == ''"
label="Expiry Condition/ Evt."
prop="gidgrp.blk.exptxt"
>
<c-input
type="textarea"
rows="4"
:disabled="model.gitp.exptxtmodflg == ''"
disabled
v-model="model.gidgrp.blk.exptxt"
maxlength="780"
show-word-limit
placeholder="请输入Expiry Condition/ Evt."
></c-input>
</el-form-item>
<el-form-item
v-show="model.gitp.swiftflg == 'Y'&&model.gitp.exptxtmodflg == 'X'"
label="Expiry Condition/ Evt."
prop="gidgrp.blk.atxexptxt"
>
<c-input
type="textarea"
rows="4"
v-model="model.gidgrp.blk.atxexptxt"
maxlength="780"
@blur="atxexpBlur"
show-word-limit
placeholder="请输入Expiry Condition/ Evt."
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox
......@@ -1408,13 +1431,18 @@ export default {
},
};
},
computed: {
},
computed: {},
methods: {
...Event,
onSeainf(data) {
this.$emit("onSeainf", data);
},
async atxexpBlur() {
let rtnmsg = await this.executeRule("gidgrp.blk.atxexptxt");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
},
created: function () {},
watch: {
......
......@@ -51,14 +51,8 @@
v-model="model.gidgrp.rec.sndto"
style="width: 100%"
placeholder="请选择Undertaking Send to"
:code="getValues('gidgrp.rec.sndto')"
>
<el-option
v-for="item in codes.rolall"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -240,13 +234,10 @@ import Event from "~/model/Gitpop/Event";
export default {
inject: ["root"],
props: ["model"],
props: ["model","codes"],
mixins: [commonProcess],
data() {
return {
codes: {
...CodeTable,
},
};
},
methods: { ...Event },
......
......@@ -22,6 +22,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.apl.pts.extkey`)
"
@blur="benBlur"
></c-input>
<template slot="footer">
<c-button
......@@ -52,6 +53,9 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
v-if="model.gitp.swiftflg == 'Y'"
......@@ -62,6 +66,7 @@
rol: 'ctr',
}"
@onAplpDet="onConpDet"
@blur="benBlur"
>
</c-ptap>
</c-col>
......@@ -86,17 +91,54 @@
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '受益人',
grp: 'gidgrp',
rol: 'ben',
}"
:disabled="true"
@onAplpDet="onBenpDet"
>
</c-ptap>
<el-form-item label="Beneficiary's Ref." prop="gidgrp.ben.pts.ref">
<c-input
v-model="model.gidgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入Beneficiary's Ref."
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Beneficiary" prop="gidgrp.ben.pts.extkey">
<c-fullbox>
<c-input
v-model="model.gidgrp.ben.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.ben.pts.extkey`)
"
@blur="benBlur"
></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 size="small" type="primary" @click="onBenpDet">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.ben.pts.adrblk">
<c-input
type="textarea"
:rows="4"
v-model="model.gidgrp.ben.pts.adrblk"
maxlength="140"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -176,6 +218,7 @@
rol: 'atb',
}"
@onAplpDet="onConpDet"
@blur="benBlur"
>
</c-ptap>
</c-col>
......@@ -211,6 +254,7 @@ import commonProcess from "~/mixin/commonProcess";
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 },
......@@ -255,6 +299,12 @@ export default {
...Event,
addRow() {},
removeRow() {},
async benBlur() {
let rtnmsg = await this.executeDefault("gidgrp.rec.sndto");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
},
created: function () {},
};
......
......@@ -12,11 +12,11 @@
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick" class="infbedTab">
<!-- <el-tab-pane label="选择" name="infsea"> -->
<!-- <c-content> -->
<el-tab-pane label="出口信用证单据查询" name="infsea">
<c-content>
<m-infsea :model="model" :codes="codes"/>
<!-- </c-content> -->
<!-- </el-tab-pane> -->
</c-content>
</el-tab-pane>
<!-- <el-tab-pane label="内容" name="ovwp">
<c-content>
......
......@@ -44,7 +44,7 @@
style="width: 100%"
placeholder="第二通知行确认指令"
:code="codes.cnfflg1"
disabled
:disabled="model.ledgrp.a2b.pts.extkey==''"
>
</c-select>
</el-form-item>
......
......@@ -41,7 +41,7 @@
style="width: 100%"
placeholder="第二通知行确认指令"
:code="codes.cnfflg1"
disabled
:disabled="model.ledgrp.a2b.pts.extkey==''"
>
</c-select>
</el-form-item>
......
......@@ -42,8 +42,14 @@
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="lidgrp.avb.pts.adrblk">
<c-input type="textarea" v-model="model.lidgrp.avb.pts.adrblk" maxlength="135" :rows="4" show-word-limit placeholder="请输入Address Block"
:disabled="model.lidgrp.avb.pts.extkey !== ''"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<!-- <c-col :span="8">
<el-form-item label="" label-width="15px">
<c-button
size="small"
......@@ -55,7 +61,7 @@
Details
</c-button>
</el-form-item>
</c-col>
</c-col> -->
<!-- <c-col :span="24" v-if="this.flag4">
<el-form-item label="Available in" prop="lidgrp.avb.pts.adrblk">
......
......@@ -156,75 +156,29 @@
<!-- right -->
<c-col :span="11" :offset="1">
<!-- <c-col :span="24">
<el-form-item label="Further Handling" prop="betp.folwupopt">
<c-fullbox>
<c-select
v-model="model.betp.folwupopt"
style="width: 100%"
placeholder="Please select Further Handling"
disabled
@change="defaultFunction()"
>
<el-option
v-for="item in codes.folwupopt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer">
<c-checkbox v-model="docdisflg" style="margin-left: 10px" @change="defaultFunction()"
>Discrepancies modified</c-checkbox
>
</template>
</c-fullbox>
</el-form-item>
</c-col> -->
<!-- <c-col :span="24">
<el-form-item label="Payer" prop="btdgrp.rec.payrol">
<c-select
v-model="model.btdgrp.rec.payrol"
style="width: 100%"
placeholder="Please select Payer"
@change="selectOrCheckboxRule('btdgrp.rec.payrol')"
<c-col :span="4">
<el-form-item label="" style="text-align: left" prop="docdisflg">
<c-checkbox v-model="docdisflg" @change="defaultFunction()"
>Discrepancies modified</c-checkbox
>
<el-option
v-for="item in codes.payrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col> -->
<!-- <c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '',
grp: 'btdgrp',
rol: 'oth',
}"
:noRef="false"
:disabled="!(model.btdgrp.rec.payrol=='OTH')"
:isAdrblk="true"
:disabledRef="payrolFlag"
:disabledExtkey="payrolFlag"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col> -->
</c-col>
</c-col>
<!-- next part -->
<c-docpre
:model="model"
:argadr="{
path: 'btdgrp.blk.prsdocbe1',
grp: 'bttp',
code: 'docpre',
}"
>
</c-docpre>
<c-docpre
:model="model"
:argadr="{
path: 'btdgrp.blk.prsdoc',
path: 'btdgrp.blk.prsdocbe2',
grp: 'bttp',
code: 'docpre',
}"
......
......@@ -28,56 +28,136 @@
</c-col>
</c-row>
<c-col :span="24">
<el-form-item label="Reference" prop="selobj" style="width:100%">
<c-input v-model="model.selobj" style="width:100%"></c-input>
</el-form-item>
<el-form-item label="Name" prop="seltxt">
<c-input v-model="model.seltxt" style="width:100%"></c-input>
</el-form-item>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Reference" prop="selobj" style="width:100%">
<c-input v-model="model.selobj" style="width:100%"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Selection of Users" prop="usfmod.flt">
<c-fullbox>
<c-select v-model="model.usfmod.flt" style="width:100%" placeholder="请输入Selection of User">
<el-option
v-for="item in flt"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
<c-col :span="11" :offset="1">
<el-form-item label="Name" prop="seltxt" style="width:100%">
<c-input v-model="model.seltxt" style="width:100%"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span= "11">
<el-form-item label="Selection of Users" prop="usfmod.flt" style="width:100%">
<c-fullbox>
<c-select v-model="model.usfmod.flt" placeholder="请输入Selection of User" style="width:100%">
<el-option
v-for="item in flt"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
<template slot="footer">
<c-button size="small" type="primary">Show_Set</c-button>
</c-fullbox>
</el-form-item>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<el-form-item label="Between" prop="inidatfro">
<c-date-picker
type="date"
v-model="model.inidatfro"
value-format="yyyy-MM-dd"
style="width:100%"
palceholder="请选择Opening between"
></c-date-picker>
<c-col :span="11" :offset="1">
<el-form-item label="Between" prop="inidatfro" style="width:100%">
<c-date-picker
type="date"
v-model="model.inidatfro"
value-format="yyyy-MM-dd"
style="width:48%"
palceholder="请选择Opening between"
></c-date-picker>
<span>-</span>
<span> - </span>
<c-date-picker
type="date"
v-model="model.inidattil"
value-format="yyyy-MM-dd"
placeholder="请选择Open Date to"
></c-date-picker>
</el-form-item>
<c-date-picker
type="date"
v-model="model.inidattil"
value-format="yyyy-MM-dd"
style="width :48%"
placeholder="请选择Open Date to"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col
:span="24"
style="text-align: right; height: 36.8px"
v-if="true"
>
<el-button size="small" @click="handleReset">重置</el-button>
<el-button
type="primary"
icon="el-icon-search"
size="small"
@click="handleSearch"
>查询</el-button
>
<!-- <el-button type="text" @click="searchToggle = true">
收起
<i class="el-icon-arrow-up"></i>
</el-button> -->
</c-col>
</el-form>
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns" >
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: left"><span>操作</span></c-col>
</template>
<template slot-scope="scope">
<el-popover
placement="top-start"
title="历史信息"
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div style="text-align: right; margin-top: -30px; margin-right: 5px; font-size: 16px;">
<span class="el-icon-close" @click="closeTrn('popover_' + scope.row.IDX)"/>
</div>
<c-istream-table
:list="trnData.data"
:columns="trnData.columns"
>
<el-table-column prop="op" label="操作" width="0">
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row['INR'])"
>
详情
</c-button>
</template>
</el-table-column>
</c-istream-table>
<c-button
style="margin-left: 0"
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>
详情
</c-button>
</el-popover>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
>
处理
</c-button>
</template>
</el-table-column>
</c-istream-table>
</c-col>
<!-- SF000045 : Type of Items
......@@ -264,9 +344,54 @@ export default {
{ label: "All Users", value: "<ALL>" },
{ label: "Selected User", value: "<SELU>" },
],
stmData:{
columns:[
"4 1 \"TRN\" 150 ",
"5 2 \"Reference\" 160",
"6 3 \"Name\" 120",
"7 5 \"Creation\" 101 20 30 1",
"1 6 \"Status\" 160 1 0:0 1 SPT:STA",
"8 7 \"By User\" 166",
"15 8 \"Work User\" 176",
"17 9 \"Work Branch\" 176",
"16 10 \"Last User\" 176",
"3 11 \"Info\" 150 1 20:0 1 FormatINFDSP",
"10 12 \"Infotext\" 200"
],
data:[],
}
}
},
methods:{...Event},
methods:{
...Event,
async getButtons(ownref) {
this.ownref = ownref;
this.$refs.childs.initdialog = true;
console.log("ownref:" + ownref);
},
async onChoose(code) {
//跳转交易
this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false;
},
async getTrnInfo(idx, row) {
this.model.objinr = row["INR"];
this.model.inr = row["INR"];
this.model.infcon.chksubcon = "X";
this.dialogTableVisible = true;
let rtnmsg = await this.executeDefault("infcon.chksubcon");
if ((rtnmsg.respCode = SUCCESS)) {
this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
}
},
closeTrn(refId) {
this.$refs[refId].doClose();
},
},
created:function(){
}
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--trtame PD000020 Amendment -->
<el-tab-pane label="Amendment" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane label="Liability" name="engp">
<m-engp :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>
<!--limmod PD000001 统一授信 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
<c-page title="融资开立">
<div class="eContainer">
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
<el-button size="small">使用模板</el-button>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--trtame PD000020 Amendment -->
<el-tab-pane label="Amendment" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane label="Liability" name="engp">
<m-engp :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>
<!--limmod PD000001 统一授信 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Trtame from "~/model/Trtame"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Trtame/Check"
import Default from "~/model/Trtame/Default"
import Pattern from "~/model/Trtame/Pattern"
......@@ -68,7 +80,7 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "ovwp",
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item :label="$t('rmbclm.SF000021')" prop="rmbclm.rmbrol">
<c-select v-model="model.rmbclm.rmbrol" style="width:100%" :placeholder="$t('other.please_enter')+$t('rmbclm.SF000021')">
</c-select>
</el-form-item>
</c-col>
<!-- SF000021 : 偿付行 -->
<!-- SF000020 : 编号 -->
<c-col :span="12">
<c-form-item label="Reference for Address Optional" prop="rmbclm.rmbrmb.pts.ref">
<c-input v-model="model.rmbclm.rmbrmb.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+'Reference for Address Optional'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="rmbclm.rmbp.ptsget.sdamod.dadsnd">
<c-input v-model="model.rmbclm.rmbp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="rmbclm.rmbrmb.pts.extkey">
<c-input v-model="model.rmbclm.rmbrmb.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="rmbclm.rmbp.ptsget.sdamod.seainf">
<c-input v-model="model.rmbclm.rmbp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRmbpDet">
{{$t('ptsp.CF000081')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="名称" prop="rmbclm.rmbrmb.namelc">
<c-input type="textarea" v-model="model.rmbclm.rmbrmb.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="rmbclm.rmbrmb.pts.adrblk">
<c-input type="textarea" v-model="model.rmbclm.rmbrmb.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="rmbclm.rmbrmb.dbfadrblkcn">
<c-input type="textarea" v-model="model.rmbclm.rmbrmb.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="地址" prop="rmbclm.rmbrmb.adrelc">
<c-input type="textarea" v-model="model.rmbclm.rmbrmb.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item>
</c-col>
<!-- SF000011 : Account with Bank -->
<!-- SF000018 : 编号 -->
<c-col :span="12">
<c-form-item :label="$t('rmbclm.SF000011')" prop="rmbclm.acwacw.pts.ref">
<c-input v-model="model.rmbclm.acwacw.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('rmbclm.SF000011')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="rmbclm.acwp.ptsget.sdamod.dadsnd">
<c-input v-model="model.rmbclm.acwp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="rmbclm.acwacw.pts.extkey">
<c-input v-model="model.rmbclm.acwacw.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="rmbclm.acwp.ptsget.sdamod.seainf">
<c-input v-model="model.rmbclm.acwp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAcwpDet">
{{$t('ptsp.CF000081')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="名称" prop="rmbclm.acwacw.namelc">
<c-input type="textarea" v-model="model.rmbclm.acwacw.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="rmbclm.acwacw.pts.adrblk">
<c-input type="textarea" v-model="model.rmbclm.acwacw.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="rmbclm.acwacw.dbfadrblkcn">
<c-input type="textarea" v-model="model.rmbclm.acwacw.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="地址" prop="rmbclm.acwacw.adrelc">
<c-input type="textarea" v-model="model.rmbclm.acwacw.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item>
</c-col>
<!-- SF000016 : Beneficiary Bank -->
<!-- SF000019 : 编号 -->
<c-col :span="12">
<c-form-item :label="$t('rmbclm.SF000016')" prop="rmbclm.bebbeb.pts.ref">
<c-input v-model="model.rmbclm.bebbeb.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('rmbclm.SF000016')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="rmbclm.bebp.ptsget.sdamod.dadsnd">
<c-input v-model="model.rmbclm.bebp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="rmbclm.bebbeb.pts.extkey">
<c-input v-model="model.rmbclm.bebbeb.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="rmbclm.bebp.ptsget.sdamod.seainf">
<c-input v-model="model.rmbclm.bebp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBebpDet">
{{$t('ptsp.CF000081')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="名称" prop="rmbclm.bebbeb.namelc">
<c-input type="textarea" v-model="model.rmbclm.bebbeb.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="rmbclm.bebbeb.pts.adrblk">
<c-input type="textarea" v-model="model.rmbclm.bebbeb.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="rmbclm.bebbeb.dbfadrblkcn">
<c-input type="textarea" v-model="model.rmbclm.bebbeb.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="地址" prop="rmbclm.bebbeb.adrelc">
<c-input type="textarea" v-model="model.rmbclm.bebbeb.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="value date" prop="rmbclm.valdat">
<c-date-picker type="date" v-model="model.rmbclm.valdat" style="width:100%" :placeholder="$t('other.please_enter')+'value date'"></c-date-picker>
</el-form-item>
</c-col>
<!-- SG000133 : value date -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trtrcl/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-tab-pane label="Claim Reimb" name="rclp">
<m-rclp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="&Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Reimbursement Details" name="remp">
<m-remp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :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 Trtrcl from "~/model/Trtrcl"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Trtrcl/Check"
import Default from "~/model/Trtrcl/Default"
import Pattern from "~/model/Trtrcl/Pattern"
import Rclp from "./Rclp"
import Remp from "./Remp"
import Limitbody from "~/views/Public/Limitbody"
import Doctre from "~/views/Public/Doctre"
import Docpan from "~/views/Public/Docpan"
import Coninfp from "~/views/Public/Coninfp"
import Setpan from "~/views/Public/Setpan"
import Engp from "~/views/Public/Engp";
export default {
name: "Trtrcl",
components:{
"m-rclp" : Rclp,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-remp" : Remp,
"m-limitbody" : Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "rclp",
trnName: "trtrcl",
trnType: "",
model: new Trtrcl().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入trtrcl交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
......@@ -54,7 +54,7 @@
<el-table-column prop="cdtrol" label="Cdt." width="70px">
</el-table-column>
<el-table-column prop="cur" label="Cur" width="55px"> </el-table-column>
<el-table-column prop="oldamt" label="Old Amount" width="150px">
<el-table-column prop="oldamt" label="Old Amount" width="100px">
<!-- <template slot-scope="scope">
{{moneyFormat(scope.row.oldamt)}}
</template> -->
......@@ -64,9 +64,23 @@
{{moneyFormat(scope.row.amt)}}
</template> -->
</el-table-column>
<el-table-column prop="tenpct" label="%" width="80px">
<el-table-column prop="tenpct" label="%" width="60px">
</el-table-column>
<el-table-column prop="acc" label="Account" width="150px">
<el-table-column prop="acc" label="Account" width="290px">
<!-- check,需用el-form-item标签包起来 -->
<template slot-scope="scope">
<el-form-item
label-width="0"
:prop="'liaall.liaallg.' + scope.$index + '.acc'"
>
<!-- <c-input
v-model="scope.row.acc"
style="width: 100%"
placeholder="请输入"
>
</c-input> -->
</el-form-item>
</template>
</el-table-column>
<el-table-column prop="valdat" label="Value Date" width="200px">
<template slot-scope="scope">
......
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