Commit b35c4bfd by nanrui

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 173b647c 76827186
......@@ -3875,8 +3875,12 @@ const CodeTable = {
{ label: "按周计息", value: "A" },
],
inttyp: [
{ label: "先收息", value: "1" },
{ label: "后收息", value: "2" },
{label: "从融资本金中扣收", value: "1"},
{label: "从扣息账户中扣收", value: "2"},
],
lprtyp:[
{label: "1YLPR", value: "1"},
{label: "5YLPR", value: "2"},
],
invpea: [
{ label: "非涉农贷款", value: "05" },
......
......@@ -59,5 +59,6 @@ export default {
"mtabut.coninf.oitinf.oit.inflev": Utils.defaultFunction,
"mtabut.coninf.conexedat": Utils.defaultFunction,
"bftp.docgrdm.docgrd": Utils.defaultFunction,
"bfdgrp.blk.prsdoc": Utils.defaultFunction,
}
//你可以添加自动default处理
\ No newline at end of file
......@@ -122,5 +122,46 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleSearch() {
this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom;
if (!opndatfrom || opndatfrom == '') {
this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
return;
}
let opndatto = this.model.infcon.opndatto;
if (!opndatto || opndatto == '') {
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
// this.updateModel(rtnmsg.data);
// this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
//this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset() {
this.model.infcon.seaownref = ""
this.model.infcon.opndatfrom = new Date();
this.model.infcon.opndatto = new Date();
this.model.infcon.searef = "";
this.model.infcon.pty.extkey = "";
this.model.infcon.usr.extkey = "";
this.model.infcon.searol = "";
this.model.infcon.pty.nam = "";
this.model.infcon.seapty = "";
this.model.infcon.curtxt1 = "";
this.model.infcon.nam = "";
this.model.infcon.seaamtfr = "";
this.model.infcon.seaamtto = "";
this.model.infcon.seasta = "";
this.model.infcon.doctypcod = "";
},
}
\ No newline at end of file
......@@ -65,6 +65,7 @@ export default class Inftrd{
diastm:"", // stream for diaries to selected contract .infcon.diastm
liastm:"", // Stream for all engagements to selected contract .infcon.liastm
ordstm:"", // Stream for Orders for Contract .infcon.ordstm
objinr:"",
},
seafintyp:"", // Financing Type .seafintyp
infbut:{
......@@ -90,6 +91,7 @@ export default class Inftrd{
intrat:"", // Margin Spread applied to Interest Rate .trdgrp.rec.intrat
actrat:"", // actural rate .trdgrp.rec.actrat
ffaflg:"", // 外汇贷款专户过账标识 .trdgrp.rec.ffaflg
inr: ""
},
fip:{
pts:new Pts().data,
......
......@@ -60,9 +60,9 @@ export default {
"ltdgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ltdgrp.be1.pts.nam":[
......@@ -190,7 +190,7 @@ export default {
"ledgrp.cbs.nom1.amt":[
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.apl.pts.ref":[
......@@ -204,7 +204,7 @@ export default {
"ledgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.apl.pts.nam":[
......@@ -256,14 +256,14 @@ export default {
{max: 1,message:"长度不能超过1"}
],
"ltdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"lttp.totamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ltdgrp.a2t.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -399,8 +399,8 @@ export default {
],
"ltdgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{type: "string", required: false, message: "必输项"},
{type: "string",max: 999,message:"长度不能超过65"}
],
"ltdgrp.blk.lcrdoc":[
......@@ -417,7 +417,7 @@ export default {
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -509,7 +509,7 @@ export default {
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
......@@ -522,19 +522,19 @@ export default {
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ltdgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"},
......@@ -623,8 +623,8 @@ export default {
{max: 65,message:"长度不能超过65"}
],
"ltdgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
{type: "number", required: false, message: "必输项"},
{type: "number",max: 999,message:"长度不能超过3"}
],
"ltdgrp.rec.porloa":[
{type: "string", required: false, message: "必输项"},
......
......@@ -259,63 +259,63 @@ export default class Lttopn {
dbfadrblkcn: "", // Chinese address .ltdgrp.drw.dbfadrblkcn
},
},
setmod: {
docamttyplab: "", // settled amount description as label .setmod.docamttyplab
retmsg: "", // Label showing Retry overflow condition .setmod.retmsg
ref: "", // our reference .setmod.ref
doccur: "", // document currency .setmod.doccur
docamt: "", // document amount .setmod.docamt
dspflg: "", // Type of settlement .setmod.dspflg
xreflg: "", // Recalculate Rates .setmod.xreflg
setglg: {
labdspflg: "", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab: "", // 主�'�号LABEL .setmod.zmqacclab
zmqacc: "", // 自�'�区主�'�号 .setmod.zmqacc
glemod: {
gleshwstm: "", // Booking stream to Display .setmod.glemod.gleshwstm
},
},
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
},
},
},
trnmod: {
trndoc: {
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
// retmsg: "", // Label showing Retry overflow condition .setmod.retmsg
// ref: "", // our reference .setmod.ref
// doccur: "", // document currency .setmod.doccur
// docamt: "", // document amount .setmod.docamt
// dspflg: "", // Type of settlement .setmod.dspflg
// xreflg: "", // Recalculate Rates .setmod.xreflg
// setglg: {
// labdspflg: "", // Label for Type of Settlement .setmod.setglg.labdspflg
// },
// zmqacclab: "", // 主�'�号LABEL .setmod.zmqacclab
// zmqacc: "", // 自�'�区主�'�号 .setmod.zmqacc
// glemod: {
// gleshwstm: "", // Booking stream to Display .setmod.glemod.gleshwstm
// },
// },
// 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
// },
// },
// },
// trnmod: {
// trndoc: {
// 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
// },
// },
cnybop: {
cnyflg: "", // 是否报送跨境人民币2101表 .cnybop.cnyflg
traflg: "", // 是否报送跨境人民币2107表 .cnybop.traflg
......@@ -323,14 +323,14 @@ export default class Lttopn {
libflg: "", // 是否报送跨境人民币2106表 .cnybop.libflg
vouflg: "", // 是否报送跨境人民币2122表 .cnybop.vouflg
},
liaall: {
misamt: "", // Amount not yet assigned .liaall.misamt
concur: "", // External Booking Amount .liaall.concur
outpct: "", // Sight Amount Percentage .liaall.outpct
outamt: "", // Sight Amount .liaall.outamt
exttotoldamt: "", // Old Amount booked externally .liaall.exttotoldamt
exttotamt: "", // Total booking amount external assinged .liaall.exttotamt
},
// liaall: {
// misamt: "", // Amount not yet assigned .liaall.misamt
// concur: "", // External Booking Amount .liaall.concur
// outpct: "", // Sight Amount Percentage .liaall.outpct
// outamt: "", // Sight Amount .liaall.outamt
// exttotoldamt: "", // Old Amount booked externally .liaall.exttotoldamt
// exttotamt: "", // Total booking amount external assinged .liaall.exttotamt
// },
pageId: "", // ctx的key
trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod,
......
......@@ -9,52 +9,26 @@ let checkObj = {
"liaall.limmod.limpts.oth.pts.extkey" :null,
"trtmod.finmod.flttyp" :null,
"liaall.limmod.ownref" :null,
"cfatrt.recgrp.bas.currence" :null,
"liaall.limmod.ecifno" :null,
"cfatrt.recgrp.bas.debtorname" :null,
"trdgrp.fip.pts.nam" :null,
"cfatrt.recgrp.bas.dofoexlotype" :null,
"cfatrt.cfaflg" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"trtmod.finmod.act1" :null,
"trtmod.finmod.act3" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"trtp0.brdget.sdamod.dadsnd" :null,
"cfatrt.ownextkey" :null,
"trtmod.finmod.ratchgtyp" :null,
"cfatrt.recgrp.bas.maturity" :null,
"cfatrt.recgrp.bas.actiondesc" :null,
"trtp0.bedget.sdamod.dadsnd" :null,
"trtmod.finmod.ratchgprd" :null,
"trtp0.ledget.sdamod.dadsnd" :null,
"cfatrt.cda.useofunds" :null,
"trdgrp.rec.lprtyp" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"trtmod.finmod.dinmod.jzllgz" :null,
"cfatrt.recgrp.bas.dofoexlocode" :null,
"cfatrt.recgrp.bas.valuedate" :null,
"cfatrt.recgrp.bas.lenagree" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"cfatrt.recgrp.bas.actiontype" :null,
"cfatrt.recgrp.bas.contractamount" :null,
"cfatrt.cda.cfeogudamount" :null,
"trtmod.finmod.ovdinttyp" :null,
"mtabut.coninf.conexedat" :null,
"trtmod.finmod.fltval" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"trtp0.recget.sdamod.dadsnd" :null,
"ametyp" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"cfatrt.recgrp.bas.debtorcode" :null,
"cfatrt.recgrp.bas.lenproname" :null,
"cfatrt.cda.cfeogudcurr" :null,
"cfatrt.recgrp.bas.creditorcode" :null,
"setmod.docamt" :null,
"cfatrt.recgrp.bas.anninrate" :null,
"trtmod.finmod.ovdintrat" :null,
"trtmod.finmod.intdat" :null,
"trtp0.bcdget.sdamod.dadsnd" :null,
"trtmod.finmod.ratchgdat" :null,
}
......
......@@ -20,35 +20,30 @@ export default {
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"cfatrt.cdaflg" :Utils.defaultFunction,
"trtmod.finmod.ovdinttyp" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"trtmod.finmod.wjdkfl" :Utils.defaultFunction,
"trdgrp.rec.fintyp" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"trdgrp.cbs.max.cur" :Utils.defaultFunction,
"cfatrt.recgrp.bas.actiontype" :Utils.defaultFunction,
"cfatrt.recp.pubp.acp" :Utils.defaultFunction,
"cfatrt.basflg" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction,
"newmatdat" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"cfatrt.cfaflg" :Utils.defaultFunction,
"trtmod.finmod.ratchgtyp" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"trtmod.finmod.ratchgtyp" :Utils.defaultFunction,
"trdgrp.cbs.max.cur" :Utils.defaultFunction,
"trtmod.finmod.intdat" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"trtmod.finmod.flttyp" :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,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction,
"newmatdat" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"trtmod.finmod.dinmod.jzllgz" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -170,53 +170,5 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSav(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.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: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -330,74 +330,4 @@ export default {
{max: 14,message:"长度不能超过14"}
],
"cfatrt.cda.cfeogudamount":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"cfatrt.cda.cfeogudad":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"cfatrt.recgrp.bas.dofoexlocode":[
{type: "string", required: false, message: "必输项"},
{max: 28,message:"长度不能超过28"}
],
"cfatrt.recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"cfatrt.recgrp.bas.creditorcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"cfatrt.recgrp.bas.contractamount":[
{type: "number", required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"cfatrt.recgrp.bas.anninrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"cfatrt.recgrp.bas.valuedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cfatrt.recgrp.bas.maturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cfatrt.recgrp.bas.debtorcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"cfatrt.recgrp.bas.debtorname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"cfatrt.recgrp.bas.lenproname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"cfatrt.recgrp.bas.lenagree":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"cfatrt.recgrp.bas.remark":[
{type: "string", required: true, message: "必输项"},
{max: 31,message:"长度不能超过31"}
],
}
\ No newline at end of file
......@@ -191,43 +191,6 @@ export default class Trtame{
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
cfatrt:{
cfaflg:"", // 数据采集标志 .cfatrt.cfaflg
basflg:"", // 签约信息 .cfatrt.basflg
ownextkey:"", // 地区机构号 .cfatrt.ownextkey
dclflg:"", // 变动信息 .cfatrt.dclflg
cda:{
cfeogudad:"", // 中资企业境外担保项下贷款业务批准文件号 .cfatrt.cda.cfeogudad
cfeogudamount:"", // 中资企业境外担保项下境内贷款额度金额 .cfatrt.cda.cfeogudamount
useofunds:"", // 资金用途 .cfatrt.cda.useofunds
cfeogudcurr:"", // 中资企业境外担保项下境内贷款额度币种 .cfatrt.cda.cfeogudcurr
},
cdaflg:"", // 是否外保内贷 .cfatrt.cdaflg
recgrp:{
bas:{
actiontype:"", // 操作类型 .cfatrt.recgrp.bas.actiontype
actiondesc:"", // 删除原因 .cfatrt.recgrp.bas.actiondesc
dofoexlocode:"", // 国内外汇贷款编号 .cfatrt.recgrp.bas.dofoexlocode
creditorcode:"", // 债权人代码 .cfatrt.recgrp.bas.creditorcode
debtorname:"", // 债务人中文名称 .cfatrt.recgrp.bas.debtorname
dofoexlotype:"", // 国内外汇贷款类型 .cfatrt.recgrp.bas.dofoexlotype
lenproname:"", // 转贷项目名称 .cfatrt.recgrp.bas.lenproname
lenagree:"", // 转贷协议号 .cfatrt.recgrp.bas.lenagree
valuedate:"", // 起息日 .cfatrt.recgrp.bas.valuedate
maturity:"", // 到期日 .cfatrt.recgrp.bas.maturity
currence:"", // 贷款币种 .cfatrt.recgrp.bas.currence
anninrate:"", // 年化利率值 .cfatrt.recgrp.bas.anninrate
remark:"", // 备注 .cfatrt.recgrp.bas.remark
contractamount:"", // 签约金额 .cfatrt.recgrp.bas.contractamount
debtorcode:"", // 债务人代码 .cfatrt.recgrp.bas.debtorcode
},
},
recp:{
pubp:{
acp:"", // 确认 .cfatrt.recp.pubp.acp
},
},
},
pageId: "" // ctx的key
}
}
......
......@@ -87,6 +87,9 @@ export default {
"trtp.act" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.matdat" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.stttendat" :Utils.defaultFunction,
"trtmod.finmod.dinmod.jzllgz" :Utils.defaultFunction,
"trtmod.finmod.dinmod.jzllgz" :Utils.defaultFunction,
"trdgrp.rec.lprtyp" :Utils.defaultFunction,
"trdgrp.rec.tenday" :Utils.defaultFunction,
"trtmod.finmod.acttyp1" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -285,5 +285,21 @@ export default {
async onExtkey(e) {
},
/**
* 计算两个日期相差的天数
* sDate1和sDate2是2006-12-18格式 
*/
async DateDiff(sDate1, sDate2){
var aDate, oDate1, oDate2, iDays
aDate = sDate1.split("-")
oDate1 = new Date(aDate[0] , aDate[1] ,aDate[2]) //转换为12-18-2006格式  
aDate = sDate2.split("-")
oDate2 = new Date(aDate[0] , aDate[1] , aDate[2])
iDays = parseInt(Math.abs(oDate1 - oDate2) / 1000 / 60 / 60 /24) //把相差的毫秒数转换为天数  
return iDays
},
async OperatePanel(){
},
}
\ No newline at end of file
......@@ -94,15 +94,15 @@ export default {
],
"trdgrp.fip.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 200,message:"长度不能超过200"}
],
"trdgrp.fip.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 200,message:"长度不能超过200"}
],
"trdgrp.fip.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 200,message:"长度不能超过200"}
],
......
......@@ -20,13 +20,13 @@ export default class Trtopn{
actrat:"", // actural rate .trdgrp.rec.actrat
stttendat:"", // Start Date Tenor .trdgrp.rec.stttendat
matdat:"", // Maturity Date .trdgrp.rec.matdat
tenday:"", // Tenor Days .trdgrp.rec.tenday
trntyp:"", // 交易性�'� .trdgrp.rec.trntyp
oppacc:"", // 对方�'�号 .trdgrp.rec.oppacc
tenday:"", // 融资天数 .trdgrp.rec.tenday
trntyp:"", // 交易性 .trdgrp.rec.trntyp
oppacc:"", // 对方号 .trdgrp.rec.oppacc
flowflag:"", // 是否定向收付 .trdgrp.rec.flowflag
invtyp:"", // 发票类型 .trdgrp.rec.invtyp
lprtyp:"", // 市场LPR期限品种 .trdgrp.rec.lprtyp
mycontno:"", // �'�易合同号 .trdgrp.rec.mycontno
mycontno:"", // 易合同号 .trdgrp.rec.mycontno
},
fip:{
pts:new Pts().data,
......@@ -36,7 +36,7 @@ export default class Trtopn{
},
cbs:{
max:{
curtxt1:"", // Currency .trdgrp.cbs.max.cur
cur:"", // Currency .trdgrp.cbs.max.cur
amt:"", // 融资金额 .trdgrp.cbs.max.amt
},
},
......@@ -96,7 +96,7 @@ export default class Trtopn{
},
dfflag:"", // Flag .trtp.dfflag
flowflag:"", // 是否定向收付 .trtp.flowflag
act:"", // 外币�'�款专户清单 .trtp.act
act:"", // 外币款专户清单 .trtp.act
},
trtmod:{
finmod:{
......@@ -104,32 +104,33 @@ export default class Trtopn{
fincod:"", // % .trtmod.finmod.fincod
intprd:"", // 计息周期 .trtmod.finmod.intprd
intdat:"", // 计息日期 .trtmod.finmod.intdat
ratchgtyp:"", // 利率调�'方式 .trtmod.finmod.ratchgtyp
ratchgprd:"", // 利率调�'周期 .trtmod.finmod.ratchgprd
ratchgdat:"", // 利率调�'月日数 .trtmod.finmod.ratchgdat
ratchgtyp:"", // 利率调方式 .trtmod.finmod.ratchgtyp
ratchgprd:"", // 利率调周期 .trtmod.finmod.ratchgprd
ratchgdat:"", // 利率调月日数 .trtmod.finmod.ratchgdat
graday:"", // 宽限期 .trtmod.finmod.graday
flttyp:"", // 浮动方式 .trtmod.finmod.flttyp
fltval:"", // 浮动值 .trtmod.finmod.fltval
ovdinttyp:"", // 呆滞计息方式 .trtmod.finmod.ovdinttyp
ovdintrat:"", // 罚息比率 .trtmod.finmod.ovdintrat
act1:"", // 第一还款�'�号 .trtmod.finmod.act1
accbch:"", // 入�'�机构 .trtmod.finmod.accbch
act1:"", // 第一还款号 .trtmod.finmod.act1
accbch:"", // 入机构 .trtmod.finmod.accbch
acttyp:"", // 第三方还款方式 .trtmod.finmod.acttyp
act3:"", // 第三方还款�'�号 .trtmod.finmod.act3
act3:"", // 第三方还款号 .trtmod.finmod.act3
intamt:"", // 预收息金额 .trtmod.finmod.intamt
intact:"", // 利息付款�'�号 .trtmod.finmod.intact
intact:"", // 利息付款号 .trtmod.finmod.intact
inttyp:"", // 预扣息方式 .trtmod.finmod.inttyp
wjdkfl:"", // 是否到期主动扣收款 .trtmod.finmod.wjdkfl
dinjdm:"", // 定价审批代码 .trtmod.finmod.dinjdm
shuilv:"", // 税率 .trtmod.finmod.shuilv
acttyp1:"", // 第三还款方式 .trtmod.finmod.acttyp1
dinmod:{
jzllgz:"", // 基准利率规则 .trtmod.finmod.dinmod.jzllgz
rmbsbs:"", // 审批流程发起标识 .trtmod.finmod.dinmod.rmbsbs
},
},
},
oppacc:"", // 对方�'�号 .oppacc
trntyp:"", // 交易性�'� .trntyp
oppacc:"", // 对方号 .oppacc
trntyp:"", // 交易性 .trntyp
dftcre:{
dfdgrp:{
rec:{
......@@ -150,7 +151,7 @@ export default class Trtopn{
fltval:"", // 浮动值 .dftcre.dfdgrp.rec.fltval
bankcn:"", // 代付行中文名 .dftcre.dfdgrp.rec.bankcn
bankno:"", // 代付行核心客户号 .dftcre.dfdgrp.rec.bankno
bnkact:"", // 同业代付内部�'�号 .dftcre.dfdgrp.rec.bnkact
bnkact:"", // 同业代付内部号 .dftcre.dfdgrp.rec.bnkact
rescur:"", // 代付利息: .dftcre.dfdgrp.rec.rescur
resamt:"", // 代付利息 .dftcre.dfdgrp.rec.resamt
invtyp:"", // 发票类型 .dftcre.dfdgrp.rec.invtyp
......
......@@ -118,6 +118,7 @@ export default class Trtsel{
subtrn9:"", // Submenu trn 9 .cfgfil.subtrn9
subtrn10:"", // Submenu trn 10 .cfgfil.subtrn10
subtrn11:"", // Submenu trn 11 .cfgfil.subtrn11
btnstm:"",
},
pageId: "" // ctx的key
}
......
import Utils from "~/utils"
/**
* Trtset Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"setamt" :null,
"liaall.limmod.ecifno" :null,
"trdgrp.fip.pts.nam" :null,
"trtmod.finmod.act3" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"setmod.docamt" :null,
"mtabut.clsflg" :null,
"pager.liaall_limmod_limpfp_clmcbe.total" :null,
"pager.liaall_limmod_limpfp_clmpty.total" :null,
"pager.liaall_limmod_limpfp_clmcbb.total" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Trtset Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"trtmod.finmod.cbs.cbe.intamt1" :Utils.defaultFunction,
"trtmod.finmod.cbs.cbe.intamt2" :Utils.defaultFunction,
"trtmod.finmod.cbs.cbe.intamty2" :Utils.defaultFunction,
"trtmod.finmod.cbs.cbe.intamty1" :Utils.defaultFunction,
"trtmod.finmod.intprd" :Utils.defaultFunction,
"trdgrp.rec.ovdflg" :Utils.defaultFunction,
"trtmod.finmod.cbs.cbe.intamt" :Utils.defaultFunction,
"trtmod.finmod.reptyp" :Utils.defaultFunction,
"trtmod.finmod.cbs.cbe.amt" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"trtmod.finmod.acttyp" :Utils.defaultFunction,
"trtmod.finmod.act3" :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,
"trdgrp.rec.actrat" :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.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :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,
"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,
"trdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction,
"trdgrp.cbs.max.cur" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"trtmod.finmod.cbs.cbb.amt" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onFinmodCal(){
let rtnmsg = await this.executeRule("finmod.cal")
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 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"
import Pub from "../Public"
export default class Trtset{
constructor () {
this.data = {
trdgrp:{
rec:{
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
ovdflg:"", // Overdue Flag .trdgrp.rec.ovdflg
actrat:"", // 执行利率 .trdgrp.rec.actrat
},
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,
},
},
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
},
},
},
mtabut: new Pub().data.Mtabut,
trtmod:{
finmod:{
setlab:"", // Settlement Label .trtmod.finmod.setlab
fincod:"", // 借据号 .trtmod.finmod.fincod
reptyp:"", // 还款方式 .trtmod.finmod.reptyp
cbs:{
cbb:{
intamt1:"", // 表外欠息利息 .trtmod.finmod.cbs.cbb.intamt1
intamty1:"", // 表外本年欠息 .trtmod.finmod.cbs.cbb.intamty1
intamt2:"", // 表内欠息利息 .trtmod.finmod.cbs.cbb.intamt2
intamty2:"", // 表内本年欠息 .trtmod.finmod.cbs.cbb.intamty2
intamt:"", // 利息 .trtmod.finmod.cbs.cbb.intamt
amt:"", // 本金 .trtmod.finmod.cbs.cbb.amt
},
cbe:{
intamt1:"", // 偿还表外欠息利息 .trtmod.finmod.cbs.cbe.intamt1
intamty1:"", // 偿还表外欠息 .trtmod.finmod.cbs.cbe.intamty1
intamt2:"", // 偿还表内欠息利息 .trtmod.finmod.cbs.cbe.intamt2
intamty2:"", // 偿还表内欠息 .trtmod.finmod.cbs.cbe.intamty2
intamt:"", // 偿还本金利息 .trtmod.finmod.cbs.cbe.intamt
amt:"", // 偿还本金 .trtmod.finmod.cbs.cbe.amt
},
totint:"", // 偿还利息总额 .trtmod.finmod.cbs.totint
},
acttyp:"", // 第三方还款方式 .trtmod.finmod.acttyp
act3:"", // 第三方还款账号 .trtmod.finmod.act3
intprd:"", // 计息周期 .trtmod.finmod.intprd
},
},
setmod:new Pub().data.Setmod,
setamt:"", // Settlement Amount .setamt
setact:"", // Settlement Account .setact
clsflg:"", // 抹�'� .clsflg
setact1:"", // 我行借记�'�户 .setact1
liaall:new Pub().data.Liaall,
trnmod:new Pub().data.Trnmod,
pageId: "", // ctx的key
// pager:{
// liaall_limmod_limpfp_clmcbe:{
// total:"",
// },
// liaall_limmod_limpfp_clmpty:{
// total:"",
// },
// liaall_limmod_limpfp_clmcbb:{
// total:"",
// }
// },
}
}
}
\ No newline at end of file
......@@ -201,6 +201,12 @@ import Getcan from "./Getcan"
import Gitcan from "./Gitcan"
import Gitcrj from "./Gitcrj"
import Gctcan from "./Gctcan"
// import Trtrcl from "./Trtrcl"
import Trtset from "./Trtset"
import Trtcan from "./Trtcan"
/**
* 带有name的才会被添加进顶部的标签页里
*/
......@@ -310,7 +316,7 @@ const BusRouter = [
{ path: 'litdav', component: Litdav, name: 'Litdav', meta: { title: '进口信用证通知到单 ' } },
{ path: 'litdck', component: Litdck, name: 'Litdck', meta: { title: '进口信用证到单' } },
{ path: 'inflid', component: Inflid, name: 'Inflid', meta: { title: '进口信用证交易查询' } },
{ path: 'inftrd', component: Inftrd, name: 'Inftrd', meta: { title: '进口押汇查询' } },
{ path: 'inftrd', component: Inftrd, name: 'Inftrd', meta: { title: '进口融资查询' } },
{ path: 'trtopn', component: Trtopn, name: 'Trtopn', meta: { title: '进口融资开立' } },
{ path: 'trtame', component: Trtame, name: 'Trtame', meta: { title: '进口融资修改' } },
{ path: 'trtsel', component: Trtsel, name: 'Trtsel', meta: { title: '进口融资入口交易' } },
......@@ -413,5 +419,9 @@ const BusRouter = [
{ path: 'Cptrel', component: Cptrel, name: 'Cptrel', meta: { title: '汇款复核与查询' } },
{ path: 'Cptcan', component: Cptcan, name: 'Cptcan', meta: { title: '汇款注销' } },
{ path: 'Cptrep', component: Cptrep, name: 'Cptrep', 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: '进口融资注销' } },
]
export default BusRouter
\ No newline at end of file
......@@ -189,7 +189,7 @@ export default {
'3 4 "收款人名称" 250',
'4 5 "付款人名称" 250',
'5 6 "业务发生日期" 150 20 30 1',
'6 7 "复核状态" 120 1 0:0 1 RELSTA',
{ index: 6, position: 7, width: 100, pattern: "code", label: "复核状态" ,"code":"relsta"},
],
data: [],
},
......
<template>
<div class="busnavbar">
<div class="busnavbar-items">
<c-button v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Trtsel from "~/model/Trtsel"
import commonProcess from "~/mixin/commonProcess"
export default {
inject: ['root'],
props:["model","codes"],
components:{
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
trnName:'trtsel',
model:new Trtsel().data,
navcode:[
{code:"",label:"",isDis:"",title:""},
],
}
},
methods:{
//各入口按钮请求
async onNarBtnClick(code,i){
this.model.cfgfil.subtrn1= code
let rtnmsg = await this.executeRule("cfgfil.hotsub1")
console.log("cfgfil.code:" + this.model.cfgfil.subtrn1);
if(rtnmsg.respCode == SUCCESS){
this.$emit("onChoose",code.toLowerCase());
}else{
}
},
},
computed:{
codeList(){
//将model中的数据映射成数组
return this.navcode.map(item=>{
let entireItem = {...item}
//TODO 根据数据判断当前的code,是否可以继续
entireItem.enable = true
return entireItem
})
}
},
watch:{
"ownref":async function(n, o){
if(!this.ownref){
console.log("11111")
// onTigger()
return;
}
}
},
mounted(){
this.$nextTick(function(){
this.$on('childmethods',async function(){
//请求按钮数据
this.model.trdgrp.rec.ownref = this.ownref
let rtnmsg = await this.executeRule("trdgrp.rec.ownref")
if(rtnmsg.respCode == SUCCESS){
//重置数组
this.navcode.length = 0
this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
this.model.trdgrp.rec.inr = rtnmsg.data.trdgrp_rec_inr
const idx = this.model.cfgfil.btnstm.length
let btnStr = this.model.cfgfil.btnstm
// console.log("btnstmStr:"+btnStr);
for(let i=0; i < idx; i++){
//获取数组中每行的数据
let arr = btnStr[i].split("\t");
let newList = {
code:arr[0],
label:arr[1],
isDis:arr[2],
title:arr[3]
}
//添加到navcode数组中
this.navcode.splice(i,0,newList)
}
}
})
})
}
}
</script>
<style>
/*TODO完善按钮间隔等样式 */
/* .busnavbar-items{
} */
</style>
......@@ -437,8 +437,7 @@
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
>
@click="getButtons(scope.row['Reference'])">
处理
</c-button>
......@@ -455,7 +454,7 @@
</c-istream-table>
</c-col>
<m-busbtn ref="childs" :ownref="ownref" @onChoose="onChoose">11</m-busbtn>
<m-busbtn ref="childs" :ownref="ownref" :model="TrtselModel" ownrefPath="trdgrp" trnCode="trtsel" @onChoose="onChoose">11</m-busbtn>
</div>
</template>
<script>
......@@ -466,6 +465,8 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infbpd/Event";
import BusNavbar from "~/views/Public/BusNavbar";
import TrtselModel from "~/model/Trtsel"
export default {
inject: ["root"],
props: ["model", "codes"],
......@@ -473,108 +474,39 @@ export default {
components: { "m-busbtn": BusNavbar },
data() {
return {
TrtselModel: new TrtselModel().data,
ownref: "",
dialogTableVisible: false,
searchToggle: true,
initdialog: false,
stmData: {
columns: [
'0 1 "Reference" 150',
'1 2 "Resp. User" 150',
'2 3 "Parent Contract" 150',
'3 4 "执行利率" 150',
'4 5 "融资状态" 150',
'5 6 "融资账号" 150',
'6 7 "Opened" 150',
'7 8 "Expired" 150',
{
index: 8,
position: 9,
width: 100,
pattern: "date",
label: "OPNDAT",
},
{
index: 9,
position: 10,
width: 100,
pattern: "date",
label: "CLSDAT",
},
'10 11 "Closed" 150',
'11 12 "融资天数" 150',
'12 13 "海外代付天数" 150',
'13 14 "VER" 150',
'14 15 "支行名称" 150',
'15 16 "Finance Type" 150',
'16 17 "Goods Code" 150',
'17 18 "Pta .No" 150',
'18 19 "Party Number" 150',
'19 20 "Financed party" 150',
'20 21 "Financed CN" 150',
'21 22 "Pty .No" 150',
'22 23 "Cur" 150',
'23 24 "Amount" 150',
'24 25 "Cur" 150',
'25 26 "Open Amount" 150',
'26 27 "组织机构代码" 150',
'27 28 "海外代付行" 150',
'28 29 "海外代付行" 150',
'29 30 "受益人名称" 150',
'30 31 "交单行SWIFTCODE" 150',
'31 32 "交单银行名称" 150',
// '32 33 "RSKTYP" 150',
// '33 34 "FINACT" 170 ',
// '34 35 "FORTYP" 150',
// '35 36 "LCTYP" 150',
// '36 37 "FINCOD" 150',
// '37 38 "FINBLK" 150',
// '38 39 "ITFBLK" 150',
// '39 40 "OVDDAT" 150',
// '40 41 "OVDFLG" 150',
// '41 42 "FEETYP" 150',
// '42 43 "FEEAMT" 150',
// '43 44 "ACTYLD" 150',
// '44 45 "GUAFLG" 150',
// '45 46 "DINJDM" 150',
// '46 47 "F0102" 150',
// '47 48 "F0103" 150',
// '48 49 "F0104" 150',
// '49 50 "F0105" 150',
// '50 51 "TRNTYP" 150',
// '51 52 "OPPACC" 150',
// '52 53 "FLOWFLAG" 150',
// '53 54 "RECACCOUNT" 150',
// '54 55 "RECNAME" 150',
// '55 56 "RECCOUNTRYCODE" 150',
// '56 57 "RECDISTRICTCODE" 150',
// '57 58 "SHUILV" 150',
// '58 59 "CONRAT" 150',
// '59 60 "INVTYP" 150',
// '60 61 "FFTTYP" 150',
// '61 62 "BMHSWF" 170 ',
// '62 63 "BMHENM" 170 ',
{
index: 32,
position: 33,
width: 100,
pattern: "date",
label: "MCDATE",
},
// {
// index: 64,
// position: 65,
// width: 100,
// pattern: "date",
// label: "BMHRZD",
// },
// '65 66 "BMHAMT" 150',
// '66 67 "BMHRAT" 150',
// '67 68 "YWACCT" 150',
// '68 69 "LPRTYP" 150',
// '69 70 "BENNAM" 150',
// '70 71 "LOANNO" 150',
// '71 72 "BENIDCODE" 150',
// '72 73 "MYCONTNO" 150',
'1 1 \"Reference\" 200',
'2 2 \"Resp. User\" 110',
"13 3 \"Finance Type\" 130 1 0 1 TRD:FINTYP",
"14 4 \"Goods Code\" 120 1 0 1 GODCOD",
"3 5 \"Parent Contract\" 150",
"4 6 \"执行利率\" 110 2",
"15 7 \"Pta .No\" 110",
"16 8 \"Party Number\" 205",
"17 9 \"Financed party\" 300",
"18 10 \"Financed CN\" 205",
"5 11 \"融资状态\" 100 1 0 1 TRD:OVDFLG",
"6 12 \"融资账号\" 100",
"24 13 \"组织机构代码\" 130",
"7 14 \"Opened\" 200 4 7",
"8 15 \"Expired\" 200 4 7",
"19 16 \"Pty .No\" 110",
"9 17 \"Closed\" 100 4 7",
"20 18 \"Cur\" 100",
"22 19 \"Cur\" 100",
"21 20 \"Amount\" 110 2 8 1 20",
"23 21 \"Open Amount\" 200 2 8 1 22",
"25 22 \"海外代付行\" 150",
"26 23 \"海外代付行\" 150",
"10 24 \"融资天数\" 100 2",
"11 25 \"海外代付天数\" 205 0",
"12 26 \"支行名称\" 205",
],
data: [],
},
......@@ -620,7 +552,7 @@ export default {
},
async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"];
this.model.bpdgrp.rec.inr = row["INR"];
this.model.trdgrp.rec.inr = row["INR"];
this.model.infcon.chksubcon = "X";
this.dialogTableVisible = true;
......
......@@ -61,8 +61,7 @@
v-show="showPanel"
style="margin-left: 75%; bottom: 10%; position: sticky"
size="small"
@click="goBack()"
>
@click="goBack()">
<!-- @click="getDitSelInfo(scope.$index, scope.row)" -->
返回
</c-button>
......@@ -93,6 +92,7 @@ import Prtpan from "./Prtpan"
import Ordpan from "./Ordpan"
export default {
name: "Inftrd",
components:{
......@@ -119,7 +119,7 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
tabVal: "infsea",
trnName: "inftrd",
trnType: "",
model: new Inftrd().data,
......@@ -127,6 +127,7 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
showPanel:false,
codes: {...CodeTable},
}
},
......@@ -140,7 +141,7 @@ export default {
},
initPanel(val) {
if (val) {
this.tabVal = "ovwp";
this.tabVal = "infsea";
//
} else {
this.tabVal = "";
......
<template>
<div class="eibs-tab">
<!-- SF000249 : Description of Goods -->
<c-col :span="12">
<c-form-item :label="$t('lttp.SF000249')" prop="ltdgrp.blk.lcrgod">
<c-input type="textarea" v-model="model.ltdgrp.blk.lcrgod" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('lttp.SF000249')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrgodButtxmsel">
<!-- SF000249 : Description of Goods -->
<c-col :span="20">
<c-form-item label="Description of Goods" prop="ltdgrp.blk.lcrgod">
<c-input
type="textarea"
style="width: 100%;"
v-model="model.ltdgrp.blk.lcrgod"
show-word-limit
placeholder="Please input Description of Goods"
></c-input>
</c-form-item>
</c-col>
<c-col :span="4">
<!-- <c-button size="small" type="primary" icon="el-icon-search" @click="onLcrgodButtxmsel">
{{$t('lttp.CF000248')}}
</c-button>
</c-col>
</c-button> -->
<c-button
size="small"
type="primary"
@click="
showGridPromptDialog(
'lttp.lcrgod.buttxmsel',
null,
null,
{ TXT: 'ltdgrp.blk.lcrgod' },
{ TXT: false },
'doxpDialog'
)
"
>
...
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttopn/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttopn/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -236,9 +236,9 @@
></c-ptsmsg>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="cnftxt">
<el-form-item label="" prop="lttp.letp0.cnftxt">
<c-input
v-model="model.cnftxt"
v-model="model.lttp.letp0.cnftxt"
style="width: 100%"
placeholder="Please select Form of L/C"
disabled
......
......@@ -42,7 +42,7 @@
</el-tab-pane>
<!--lttp PD000057 Goods -->
<el-tab-pane label="Goods" name="dogp">
<m-doxp :model="model" :codes="codes" :dtyp="'dogp'" :rec="'led'" />
<m-dogp :model="model" :codes="codes" />
</el-tab-pane>
<!--lttp PD000060 Documents -->
<el-tab-pane label="Documents" name="dorp">
......@@ -139,7 +139,7 @@ import Pattern from "~/model/Lttopn/Pattern";
import Ovwp from "./Ovwp";
import Lttinf from "./Lttinf";
import Ptyp from "./Ptyp";
// import Dogp from "./Dogp";
import Dogp from "./Dogp";
// import Dorp from "./Dorp";
import Cnyp from "./Cnyp";
// import Spcbenp from "./Spcbenp";
......@@ -169,6 +169,7 @@ export default {
"m-engp": Engp,
"m-detp": Detp,
'm-doxp': Doxp,
'm-dogp': Dogp,
},
provide() {
return {
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="数据采集标志" prop="cfatrt.cfaflg">
<c-select v-model="model.cfatrt.cfaflg" style="width:100%" placeholder="请选择数据采集标志">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cfatrt.basflg">签约信息</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cfatrt.dclflg">变动信息</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="地区机构号" prop="cfatrt.ownextkey">
<c-select v-model="model.cfatrt.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="是否外保内贷" prop="cfatrt.cdaflg">
<c-select v-model="model.cfatrt.cdaflg" style="width:100%" placeholder="请选择是否外保内贷">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="资金用途" prop="cfatrt.cda.useofunds">
<c-select v-model="model.cfatrt.cda.useofunds" style="width:100%" placeholder="请选择资金用途">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="中资企业境外担保项下境内贷款额度币种" prop="cfatrt.cda.cfeogudcurr">
<c-select v-model="model.cfatrt.cda.cfeogudcurr" style="width:100%" placeholder="请选择中资企业境外担保项下境内贷款额度币种">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="中资企业境外担保项下境内贷款额度金额" prop="cfatrt.cda.cfeogudamount">
<c-input v-model="model.cfatrt.cda.cfeogudamount" placeholder="请输入中资企业境外担保项下境内贷款额度金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="中资企业境外担保项下贷款业务批准文件号" prop="cfatrt.cda.cfeogudad">
<c-input type="textarea" v-model="model.cfatrt.cda.cfeogudad" maxlength="32" show-word-limit 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/Trtame/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-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/Trtame/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="国内外汇贷款编号" prop="cfatrt.recgrp.bas.dofoexlocode">
<c-input v-model="model.cfatrt.recgrp.bas.dofoexlocode" maxlength="28" placeholder="请输入国内外汇贷款编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="删除原因" prop="cfatrt.recgrp.bas.actiondesc">
<c-input type="textarea" v-model="model.cfatrt.recgrp.bas.actiondesc" maxlength="32" show-word-limit placeholder="请输入删除原因" ></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">
<el-form-item label="操作类型" prop="cfatrt.recgrp.bas.actiontype">
<c-select v-model="model.cfatrt.recgrp.bas.actiontype" style="width:100%" placeholder="请选择操作类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onChk">
&Check
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="债权人代码" prop="cfatrt.recgrp.bas.creditorcode">
<c-input v-model="model.cfatrt.recgrp.bas.creditorcode" maxlength="12" placeholder="请输入债权人代码"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="国内外汇贷款类型" prop="cfatrt.recgrp.bas.dofoexlotype">
<c-select v-model="model.cfatrt.recgrp.bas.dofoexlotype" style="width:100%" placeholder="请选择国内外汇贷款类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cfatrt.recp.pubp.acp">确认</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="贷款币种" prop="cfatrt.recgrp.bas.currence">
<c-select v-model="model.cfatrt.recgrp.bas.currence" style="width:100%" placeholder="请选择贷款币种">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="签约金额" prop="cfatrt.recgrp.bas.contractamount">
<c-input v-model="model.cfatrt.recgrp.bas.contractamount" placeholder="请输入签约金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="年化利率值" prop="cfatrt.recgrp.bas.anninrate">
<c-input v-model="model.cfatrt.recgrp.bas.anninrate" placeholder="请输入年化利率值"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCutpErr">
&Error
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="起息日" prop="cfatrt.recgrp.bas.valuedate">
<c-date-picker type="date" v-model="model.cfatrt.recgrp.bas.valuedate" style="width:100%" placeholder="请选择起息日"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="到期日" prop="cfatrt.recgrp.bas.maturity">
<c-date-picker type="date" v-model="model.cfatrt.recgrp.bas.maturity" style="width:100%" placeholder="请选择到期日"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="债务人代码" prop="cfatrt.recgrp.bas.debtorcode">
<c-input v-model="model.cfatrt.recgrp.bas.debtorcode" maxlength="18" placeholder="请输入债务人代码"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="债务人中文名称" prop="cfatrt.recgrp.bas.debtorname">
<c-input v-model="model.cfatrt.recgrp.bas.debtorname" maxlength="128" placeholder="请输入债务人中文名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="转贷项目名称" prop="cfatrt.recgrp.bas.lenproname">
<c-input v-model="model.cfatrt.recgrp.bas.lenproname" maxlength="128" placeholder="请输入转贷项目名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="转贷协议号" prop="cfatrt.recgrp.bas.lenagree">
<c-input v-model="model.cfatrt.recgrp.bas.lenagree" maxlength="128" placeholder="请输入转贷协议号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="备注" prop="cfatrt.recgrp.bas.remark">
<c-input type="textarea" v-model="model.cfatrt.recgrp.bas.remark" maxlength="31" show-word-limit placeholder="请输入备注" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCan">
E&xit
</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/Trtame/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/Trtame/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="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/Trtame/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/Trtame/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="ECIFNO" prop="liaall.limmod.ecifno">
<c-input v-model="model.liaall.limmod.ecifno" maxlength="22" placeholder="请输入ECIFNO"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.wrklab" data-path=".liaall.limmod.limpts.wrklab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlab" data-path=".liaall.limmod.limpts.othlab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlabss" data-path=".liaall.limmod.limpts.othlabss" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国结业务编号" prop="liaall.limmod.ownref">
<c-input v-model="model.liaall.limmod.ownref" maxlength="16" placeholder="请输入国结业务编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="liaall.limmod.wrkp.ptsget.sdamod.dadsnd">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="liaall.limmod.othp.ptsget.sdamod.dadsnd">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="liaall.limmod.limpts.wrk.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="liaall.limmod.wrkp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onWrkpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="liaall.limmod.limpts.oth.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="liaall.limmod.othp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOthpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input v-model="model.liaall.limmod.comamt" placeholder="请输入业务余额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="liaall.limmod.limpts.wrk.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="liaall.limmod.limpts.oth.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input v-model="model.liaall.limmod.ccvamt" placeholder="请输入保证金余额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg1">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg1" style="width:100%" placeholder="请选择Flag to Mark Non-revolving Limits">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet1">
查询
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg2">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg2" style="width:100%" placeholder="请选择Flag to Mark Non-revolving Limits">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet2">
查询
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.lsh" data-path=".liaall.limmod.limpts.lsh" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod1">
<c-input v-model="model.liaall.limmod.limpts.pfcod1" maxlength="14" placeholder="请输入合同流�'号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod2">
<c-input v-model="model.liaall.limmod.limpts.pfcod2" maxlength="14" placeholder="请输入合同流�'号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimmodTrycal">
试算
</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/Trtame/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/Trtame/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">
<!--PD000020 -->
<el-tab-pane label="Amendment" name="trtamep">
<m-trtamep :model="model" :codes="codes"/>
<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>
<!--PD000027 -->
<!--liaall PD000027 Liability -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="&Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000546 -->
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<!--limmod PD000001 统一授信 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="国内外汇贷款数据采集" name="cfap">
<m-cfap :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="国内外汇贷款-签约信息" name="conp">
<m-conp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
......@@ -66,28 +42,26 @@ import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Trtame/Check"
import Default from "~/model/Trtame/Default"
import Pattern from "~/model/Trtame/Pattern"
import Trtamep from "./Trtame"
import Engp from "./Engp"
import Setpan from "./Setpan"
import Coninfp from "./Coninfp"
import Docpan from "./Docpan"
import Doctre from "./Doctre"
import Limitbody from "./Limitbody"
import Cfap from "./Cfap"
import Conp from "./Conp"
import Ovwp from "./Ovwp"
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Trtame",
components:{
"m-trtamep" : Trtamep,
"m-ovwp" : Ovwp,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-limitbody" : Limitbody,
"m-cfap" : Cfap,
"m-conp" : Conp,
},
provide() {
return {
......@@ -97,18 +71,24 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
tabVal: "ovwp",
trnName: "trtame",
trnType: "",
model: new Trtame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
codes: {...CodeTable
},
}
},
methods:{
tabClick(){
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
......@@ -116,6 +96,7 @@ export default {
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
......
......@@ -13,11 +13,11 @@
</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="myTabClick">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--Ovwp PD000026 Financing Details -->
<el-tab-pane label="Financing Details" name="Ovwp">
<el-tab-pane label="Financing Details" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
......@@ -97,6 +97,7 @@ import Check from "~/model/Trtopn/Check"
import Default from "~/model/Trtopn/Default"
import Pattern from "~/model/Trtopn/Pattern"
import Event from "~/model/Trtopn/Event";
import Ovwp from "./Ovwp"
import Dftcrep from "./Dftcrep"
import Rzkx from "./Rzkx"
......@@ -133,7 +134,6 @@ export default {
return {
tabVal: "ovwp",
trnName: "trtopn",
trnType: "",
model: new Trtopn().data,
checkRules: Check,
defaultRules: Default,
......@@ -172,7 +172,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if(this.isInDisplay){
this.restoreDisplay();
}
}
else
{
......
......@@ -34,7 +34,7 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
tabVal: "sel",
trnName: "trtsel",
trnType: "",
model: new Trtsel().data,
......
<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="1">
</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="1">
</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="1">
</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/Trtset/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">
<!--trtset PD000015 Settle -->
<el-tab-pane label="Settle" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="附言" 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="附件" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--limmod PD001139 试算结果 -->
<el-tab-pane label="试算结果" name="shisuan">
<m-shisuan :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>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Trtset from "~/model/Trtset"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Trtset/Check"
import Default from "~/model/Trtset/Default"
import Pattern from "~/model/Trtset/Pattern"
import Ovwp from "./Ovwp"
import Shisuan from "./Shisuan";
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Trtset",
components:{
"m-ovwp" : Ovwp,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-shisuan" : Shisuan,
"m-limitbody" : Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "ovwp",
trnName: "trtset",
model: new Trtset().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入trtset交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if(this.isInDisplay){
this.restoreDisplay();
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
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