Commit f7038188 by “yanyuxin”

Booking页面添加,trtopn定价系统页面添加

parent 165d8b82
...@@ -30,6 +30,7 @@ let checkObj = { ...@@ -30,6 +30,7 @@ let checkObj = {
"trtmod.finmod.ovdintrat" :null, "trtmod.finmod.ovdintrat" :null,
"trtmod.finmod.intdat" :null, "trtmod.finmod.intdat" :null,
"trtmod.finmod.ratchgdat" :null, "trtmod.finmod.ratchgdat" :null,
"trtfipl1blk" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -31,6 +31,7 @@ export default { ...@@ -31,6 +31,7 @@ export default {
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction, "liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"trtmod.finmod.ratchgtyp" :Utils.defaultFunction, "trtmod.finmod.ratchgtyp" :Utils.defaultFunction,
"trdgrp.cbs.max.cur" :Utils.defaultFunction, "trdgrp.cbs.max.cur" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"trtmod.finmod.intdat" :Utils.defaultFunction, "trtmod.finmod.intdat" :Utils.defaultFunction,
"trtmod.finmod.flttyp" :Utils.defaultFunction, "trtmod.finmod.flttyp" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction, "trdgrp.fip.pts.nam" :Utils.defaultFunction,
...@@ -45,5 +46,6 @@ export default { ...@@ -45,5 +46,6 @@ export default {
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction, "mtabut.coninf.conexedat" :Utils.defaultFunction,
"trtmod.finmod.dinmod.jzllgz" :Utils.defaultFunction, "trtmod.finmod.dinmod.jzllgz" :Utils.defaultFunction,
"trtfipl1blk" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -330,4 +330,8 @@ export default { ...@@ -330,4 +330,8 @@ export default {
{max: 14,message:"长度不能超过14"} {max: 14,message:"长度不能超过14"}
], ],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
} }
\ No newline at end of file
...@@ -96,7 +96,8 @@ export default class Trtame{ ...@@ -96,7 +96,8 @@ export default class Trtame{
setmod:new Pub().data.Setmod, setmod:new Pub().data.Setmod,
mtabut:new Pub().data.Mtabut, mtabut:new Pub().data.Mtabut,
trnmod:new Pub().data.Trnmod, trnmod:new Pub().data.Trnmod,
pageId: "" // ctx的key pageId: "", // ctx的key
trtfipl1blk:"",
} }
} }
} }
\ No newline at end of file
...@@ -23,6 +23,7 @@ export default { ...@@ -23,6 +23,7 @@ export default {
"liaall.limmod.comamt" :Utils.defaultFunction, "liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction, "liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction, "liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction, "trdgrp.fip.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
......
...@@ -252,4 +252,8 @@ export default { ...@@ -252,4 +252,8 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"} {max: 8,message:"长度不能超过8"}
], ],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
} }
\ No newline at end of file
...@@ -71,7 +71,8 @@ export default class Trtcan{ ...@@ -71,7 +71,8 @@ export default class Trtcan{
mtabut: new Pub().data.Mtabut, mtabut: new Pub().data.Mtabut,
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
pageId: "" // ctx的key pageId: "", // ctx的key
trtfipl1blk:"",
} }
} }
} }
\ No newline at end of file
...@@ -8,6 +8,7 @@ let checkObj = { ...@@ -8,6 +8,7 @@ let checkObj = {
"liaall.limmod.limpts.oth.pts.extkey" :null, "liaall.limmod.limpts.oth.pts.extkey" :null,
"trtmod.finmod.flttyp" :null, "trtmod.finmod.flttyp" :null,
"dftcre.dfdgrp.rec.matdat" :null, "dftcre.dfdgrp.rec.matdat" :null,
"trtmod.finmod.dinmod.chapdm" :null,
"liaall.limmod.ownref" :null, "liaall.limmod.ownref" :null,
"dftcre.dfdgrp.rec.dfuflg" :null, "dftcre.dfdgrp.rec.dfuflg" :null,
"dftcre.dfdgrp.rec.resamt" :null, "dftcre.dfdgrp.rec.resamt" :null,
...@@ -15,12 +16,14 @@ let checkObj = { ...@@ -15,12 +16,14 @@ let checkObj = {
"dftcre.dfdgrp.apl.namelc" :null, "dftcre.dfdgrp.apl.namelc" :null,
"trdgrp.rec.stttendat" :null, "trdgrp.rec.stttendat" :null,
"liaall.limmod.ecifno" :null, "liaall.limmod.ecifno" :null,
"trtmod.finmod.dinmod.shpjgh" :null,
"dftcre.dfdgrp.rec.bankcn" :null, "dftcre.dfdgrp.rec.bankcn" :null,
"dftcre.dfdgrp.cbs.max.cur" :null, "dftcre.dfdgrp.cbs.max.cur" :null,
"dftcre.dfdgrp.cbs.max.amt" :null, "dftcre.dfdgrp.cbs.max.amt" :null,
"trdgrp.rec.actrat" :null, "trdgrp.rec.actrat" :null,
"cfatrt.cfaflg" :null, "cfatrt.cfaflg" :null,
"trdgrp.rec.invtyp" :null, "trdgrp.rec.invtyp" :null,
"cfatrt.cfaflg" :null,
"dftcre.dfdgrp.rec.trntyp" :null, "dftcre.dfdgrp.rec.trntyp" :null,
"trtp.usr.extkey" :null, "trtp.usr.extkey" :null,
"cfadft.cfaflg" :null, "cfadft.cfaflg" :null,
...@@ -38,6 +41,7 @@ let checkObj = { ...@@ -38,6 +41,7 @@ let checkObj = {
"trtmod.finmod.dinmod.rmbsbs" :null, "trtmod.finmod.dinmod.rmbsbs" :null,
"trtmod.finmod.dinjdm" :null, "trtmod.finmod.dinjdm" :null,
"trtmod.finmod.ratchgtyp" :null, "trtmod.finmod.ratchgtyp" :null,
"trdgrp.rec.oppacc" :null,
"dftcre.dfdgrp.dff.pts.adrblk" :null, "dftcre.dfdgrp.dff.pts.adrblk" :null,
"trdgrp.rec.oppacc" :null, "trdgrp.rec.oppacc" :null,
"trdgrp.rec.stagod" :null, "trdgrp.rec.stagod" :null,
...@@ -51,6 +55,7 @@ let checkObj = { ...@@ -51,6 +55,7 @@ let checkObj = {
"trdgrp.cbs.max.amt" :null, "trdgrp.cbs.max.amt" :null,
"trdgrp.rec.lprtyp" :null, "trdgrp.rec.lprtyp" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null, "liaall.limmod.limpts.wrk.pts.nam" :null,
"trtmod.finmod.dinmod.ockhdm" :null,
"dftcre.dfdgrp.apl.pts.adrblk" :null, "dftcre.dfdgrp.apl.pts.adrblk" :null,
"trdgrp.fip.pts.adrblk" :null, "trdgrp.fip.pts.adrblk" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null, "liaall.limmod.limpts.wrk.pts.extkey" :null,
...@@ -64,12 +69,15 @@ let checkObj = { ...@@ -64,12 +69,15 @@ let checkObj = {
"trtmod.finmod.ovdinttyp" :null, "trtmod.finmod.ovdinttyp" :null,
"dftcre.dfdgrp.rec.stttendat" :null, "dftcre.dfdgrp.rec.stttendat" :null,
"mtabut.coninf.conexedat" :null, "mtabut.coninf.conexedat" :null,
"trtmod.finmod.dinmod.hxkhdm" :null,
"trtmod.finmod.fltval" :null, "trtmod.finmod.fltval" :null,
"liaall.limmod.limpts.nonrevflg1" :null, "liaall.limmod.limpts.nonrevflg1" :null,
"trdgrp.cbs.max.cur" :null, "trdgrp.cbs.max.cur" :null,
"trdgrp.rec.mycontno" :null, "trdgrp.rec.mycontno" :null,
"trdgrp.cbs.max.cur" :null,
"trdgrp.fip.pts.extkey" :null, "trdgrp.fip.pts.extkey" :null,
"cfadft.ownextkey" :null, "cfadft.ownextkey" :null,
"trtmod.finmod.dinmod.shpijg" :null,
"trdgrp.fip.namelc" :null, "trdgrp.fip.namelc" :null,
"cfatrt.cda.cfeogudcurr" :null, "cfatrt.cda.cfeogudcurr" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
...@@ -79,13 +87,13 @@ let checkObj = { ...@@ -79,13 +87,13 @@ let checkObj = {
"trtp.act" :null, "trtp.act" :null,
"trdgrp.rec.issdat" :null, "trdgrp.rec.issdat" :null,
"trtmod.finmod.intdat" :null, "trtmod.finmod.intdat" :null,
"trdgrp.rec.issdat" :null,
"dftcre.dfdgrp.dff.adrelc" :null, "dftcre.dfdgrp.dff.adrelc" :null,
"trdgrp.rec.tenday" :null, "trdgrp.rec.tenday" :null,
"trtmod.finmod.ratchgdat" :null, "trtmod.finmod.ratchgdat" :null,
"dftcre.dfdgrp.rec.fintyp" :null, "dftcre.dfdgrp.rec.fintyp" :null,
"trdgrp.rec.flowflag" :null, "trdgrp.rec.flowflag" :null,
"trdgrp.rec.fintyp1" :null, "trdgrp.rec.fintyp1" :null,
// "trdgrp.rec.sndto" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -58,6 +58,7 @@ export default { ...@@ -58,6 +58,7 @@ export default {
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction, "liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"cfadft.basflg" :Utils.defaultFunction, "cfadft.basflg" :Utils.defaultFunction,
"trtmod.finmod.ratchgtyp" :Utils.defaultFunction, "trtmod.finmod.ratchgtyp" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"cfatrt.cfaflg" :Utils.defaultFunction, "cfatrt.cfaflg" :Utils.defaultFunction,
"trdgrp.fip.pts.adrblk" :Utils.defaultFunction, "trdgrp.fip.pts.adrblk" :Utils.defaultFunction,
"trtmod.finmod.accbch" :Utils.defaultFunction, "trtmod.finmod.accbch" :Utils.defaultFunction,
......
...@@ -25,7 +25,7 @@ export default class Trtopn{ ...@@ -25,7 +25,7 @@ export default class Trtopn{
trntyp:"", // 交易性质 .trdgrp.rec.trntyp trntyp:"", // 交易性质 .trdgrp.rec.trntyp
oppacc:"", // 对方账号 .trdgrp.rec.oppacc oppacc:"", // 对方账号 .trdgrp.rec.oppacc
flowflag:"", // 是否定向收付 .trdgrp.rec.flowflag flowflag:"", // 是否定向收付 .trdgrp.rec.flowflag
invtyp:"", // 发票类型 .trdgrp.rec.invtyp invtyp:"", // 审批流程发起标识 .trdgrp.rec.invtyp
lprtyp:"", // 市场LPR期限品种 .trdgrp.rec.lprtyp lprtyp:"", // 市场LPR期限品种 .trdgrp.rec.lprtyp
mycontno:"", // 交易合同号 .trdgrp.rec.mycontno mycontno:"", // 交易合同号 .trdgrp.rec.mycontno
branchinr:"", branchinr:"",
...@@ -136,6 +136,34 @@ export default class Trtopn{ ...@@ -136,6 +136,34 @@ export default class Trtopn{
dinmod:{ dinmod:{
jzllgz:"", // 基准利率规则 .trtmod.finmod.dinmod.jzllgz jzllgz:"", // 基准利率规则 .trtmod.finmod.dinmod.jzllgz
rmbsbs:"", // 审批流程发起标识 .trtmod.finmod.dinmod.rmbsbs rmbsbs:"", // 审批流程发起标识 .trtmod.finmod.dinmod.rmbsbs
dinjdm:"", // 定价审批代码 .trtmod.finmod.dinmod.dinjdm
dinjls:"", // 定价流水号 .trtmod.finmod.dinmod.dinjls
ockhdm:"", // OC客户代码 .trtmod.finmod.dinmod.ockhdm
hxkhdm:"", // 核心客户代码 .trtmod.finmod.dinmod.hxkhdm
sxpfdm:"", // 授信批复代码 .trtmod.finmod.dinmod.sxpfdm
djhtno:"", // 合同号 .trtmod.finmod.dinmod.djhtno
sxlexi:"", // 授信类型 .trtmod.finmod.dinmod.sxlexi
spzhta:"", // 审批状态 .trtmod.finmod.dinmod.spzhta
chapdm:"", // 产品代码 .trtmod.finmod.dinmod.chapdm
shpijg:"", // 审批价格(不含税) .trtmod.finmod.dinmod.shpijg
dakaje:"", // 贷款金额 .trtmod.finmod.dinmod.dakaje
bizhog:"", // 币种 .trtmod.finmod.dinmod.bizhog
dakaqx:"", // 贷款期限 .trtmod.finmod.dinmod.dakaqx
qixndw:"", // 期限单位 .trtmod.finmod.dinmod.qixndw
maxqix:"", // 最大贷款期限 .trtmod.finmod.dinmod.maxqix
minqix:"", // 最小贷款期限 .trtmod.finmod.dinmod.minqix
maxdje:"", // 最大贷款金额 .trtmod.finmod.dinmod.maxdje
mindje:"", // 最小贷款金额 .trtmod.finmod.dinmod.mindje
chapmc:"", // 产品名称 .trtmod.finmod.dinmod.chapmc
spjgdc:"", // 审批价格点差(不含税) .trtmod.finmod.dinmod.spjgdc
sheplb:"", // 审批LIBOR .trtmod.finmod.dinmod.sheplb
libor:"", // 最新LIBOR .trtmod.finmod.dinmod.libor
dinjlb:"", // 定价LIBOR .trtmod.finmod.dinmod.dinjlb
ndjgbs:"", // 拟定价格标识 .trtmod.finmod.dinmod.ndjgbs
shpdch:"", // 审批价格点差(含税) .trtmod.finmod.dinmod.shpdch
shpjgh:"", // 审批价格(含税) .trtmod.finmod.dinmod.shpjgh
shuilv:"", // 增值税税率 .trtmod.finmod.dinmod.shuilv
lprtyp:"", // 市场LPR期限品种 .trtmod.finmod.dinmod.lprtyp
}, },
}, },
}, },
...@@ -250,6 +278,7 @@ export default class Trtopn{ ...@@ -250,6 +278,7 @@ export default class Trtopn{
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
pageId: "", // ctx的key pageId: "", // ctx的key
roldsc: "", roldsc: "",
trtfipl1blk:"",
} }
} }
} }
\ No newline at end of file
...@@ -37,6 +37,8 @@ let checkObj = { ...@@ -37,6 +37,8 @@ let checkObj = {
"trdgrp.rmb.adrelc" :null, "trdgrp.rmb.adrelc" :null,
"rmbclm.rmbrmb.namelc" :null, "rmbclm.rmbrmb.namelc" :null,
"rmbclm.bebbeb.pts.extkey" :null, "rmbclm.bebbeb.pts.extkey" :null,
"trtissl1blk" :null,
"trtrmbl1blk" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -49,6 +49,7 @@ export default { ...@@ -49,6 +49,7 @@ export default {
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction, "liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.adrblk" :Utils.defaultFunction, "rmbclm.rmbrmb.pts.adrblk" :Utils.defaultFunction,
"trdgrp.rmb.pts.adrblk" :Utils.defaultFunction, "trdgrp.rmb.pts.adrblk" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction, "trdgrp.fip.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
...@@ -62,5 +63,7 @@ export default { ...@@ -62,5 +63,7 @@ export default {
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction, "mtabut.coninf.conexedat" :Utils.defaultFunction,
"trdgrp.rec.pntnam" :Utils.defaultFunction, "trdgrp.rec.pntnam" :Utils.defaultFunction,
"trtissl1blk" :Utils.defaultFunction,
"trtrmbl1blk" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
{max: 21,message:"长度不能超过21"} {max: 21,message:"长度不能超过21"}
], ],
"trnmod.trndoc.nar754":[ "trnmod.trndoc.nar754":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"liaall.tenstm":[ "liaall.tenstm":[
...@@ -443,4 +443,8 @@ export default { ...@@ -443,4 +443,8 @@ export default {
{max: 14,message:"长度不能超过14"} {max: 14,message:"长度不能超过14"}
], ],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
} }
\ No newline at end of file
...@@ -144,7 +144,9 @@ export default class Trtrcl{ ...@@ -144,7 +144,9 @@ export default class Trtrcl{
rmbrol:"", // 偿付行 .rmbclm.rmbrol rmbrol:"", // 偿付行 .rmbclm.rmbrol
valdat:"", // value date .rmbclm.valdat valdat:"", // value date .rmbclm.valdat
}, },
pageId: "" // ctx的key pageId: "", // ctx的key
trtissl1blk:"",
trtrmbl1blk:"",
} }
} }
} }
\ No newline at end of file
...@@ -21,7 +21,8 @@ let checkObj = { ...@@ -21,7 +21,8 @@ let checkObj = {
"mtabut.clsflg" :null, "mtabut.clsflg" :null,
"pager.liaall_limmod_limpfp_clmcbe.total" :null, "pager.liaall_limmod_limpfp_clmcbe.total" :null,
"pager.liaall_limmod_limpfp_clmpty.total" :null, "pager.liaall_limmod_limpfp_clmpty.total" :null,
"pager.liaall_limmod_limpfp_clmcbb.total" :null, "pager.liaall_limmod_limpfp_clmcbb.total" :null,
"trtfipl1blk" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -35,6 +35,7 @@ export default { ...@@ -35,6 +35,7 @@ export default {
"liaall.limmod.comamt" :Utils.defaultFunction, "liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction, "liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction, "liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction, "trdgrp.fip.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
...@@ -49,5 +50,6 @@ export default { ...@@ -49,5 +50,6 @@ export default {
"trtmod.finmod.cbs.cbb.amt" :Utils.defaultFunction, "trtmod.finmod.cbs.cbb.amt" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction, "mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction, "mtabut.coninf.conexedat" :Utils.defaultFunction,
"trtfipl1blk" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -245,6 +245,10 @@ export default { ...@@ -245,6 +245,10 @@ export default {
], ],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"mtabut.coninf.oitinf.oit.inftxt":[ "mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
......
...@@ -6,7 +6,7 @@ import Pub from "../Public" ...@@ -6,7 +6,7 @@ import Pub from "../Public"
export default class Trtset{ export default class Trtset{
constructor () { constructor () {
this.data = { this.data = {
trdgrp:{ trdgrp:{
rec:{ rec:{
pntref:"", // 父交易参考号 .trdgrp.rec.pntref pntref:"", // 父交易参考号 .trdgrp.rec.pntref
...@@ -105,7 +105,7 @@ export default class Trtset{ ...@@ -105,7 +105,7 @@ export default class Trtset{
liaall:new Pub().data.Liaall, liaall:new Pub().data.Liaall,
trnmod:new Pub().data.Trnmod, trnmod:new Pub().data.Trnmod,
pageId: "", // ctx的key pageId: "", // ctx的key
trtfipl1blk:"",
// pager:{ // pager:{
// liaall_limmod_limpfp_clmcbe:{ // liaall_limmod_limpfp_clmcbe:{
// total:"", // total:"",
......
<template> <template>
<c-page title="融资开立"> <c-page title="融资开立">
<div class="eContainer"> <div class="eContainer">
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash"> <c-function-btn
<el-button size="small">备忘录</el-button> :handleSubmit="handleSubmit"
<el-button size="small">影像信息</el-button> :handleCheck="handleCheck"
<el-button size="small">保存模板</el-button> :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-button size="small">使用模板</el-button>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-button size="small">制裁信息</el-button>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <el-button size="small">拆分报文</el-button>
<!--trtame PD000020 Amendment --> <el-button size="small">提示</el-button>
<el-tab-pane label="Amendment" name="ovwp"> </c-function-btn>
<m-ovwp :model="model" :codes="codes"/> <el-form
</el-tab-pane> :model="model"
<!--liaall PD000027 Liability --> :rules="rules"
<el-tab-pane label="Liability" name="engp"> ref="modelForm"
<m-engp :model="model" :codes="codes"/> label-width="150px"
</el-tab-pane> label-position="right"
<!--setmod PD000000 Settlement --> size="small"
<el-tab-pane label="Settlement" name="setpan"> :validate-on-rule-change="false"
<m-setpan :model="model" :codes="codes"/> >
</el-tab-pane> <c-tabs
<!--coninf PD000000 Completion --> v-model="tabVal"
<el-tab-pane label="Completion" name="coninfp"> ref="elment"
<m-coninfp :model="model" :codes="codes"/> type="card"
</el-tab-pane> @tab-click="myTabClick"
<!--trndoc PD000529 &Messages --> >
<el-tab-pane label="&Messages" name="docpan"> <!--trtame PD000020 Amendment -->
<m-docpan :model="model" :codes="codes"/> <el-tab-pane label="Amendment" name="ovwp">
</el-tab-pane> <c-content>
<!--trndoc PD000546 Attachments --> <m-ovwp :model="model" :codes="codes" />
<el-tab-pane label="Attachments" name="doctre"> </c-content>
<m-doctre :model="model" :codes="codes"/> </el-tab-pane>
</el-tab-pane> <!--liaall PD000027 Liability -->
<!--limmod PD000001 统一授信 --> <el-tab-pane label="Liability" name="engp">
<el-tab-pane label="统一授信" name="limitbody"> <c-content>
<m-limitbody :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes" />
</el-tab-pane> </c-content>
</c-tabs> </el-tab-pane>
</el-form> <!--setmod PD000000 Settlement -->
</div> <el-tab-pane label="Settlement" name="setpan">
</c-page> <c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Booking" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="&Messages" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Trtame from "~/model/Trtame" import Trtame from "~/model/Trtame";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs"; import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Trtame/Check" import Check from "~/model/Trtame/Check";
import Default from "~/model/Trtame/Default" import Default from "~/model/Trtame/Default";
import Pattern from "~/model/Trtame/Pattern" import Pattern from "~/model/Trtame/Pattern";
import Ovwp from "./Ovwp" import Ovwp from "./Ovwp";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
import Glepan from "~/views/Public/Glepan";
export default { export default {
name: "Trtame", name: "Trtame",
components:{ components: {
"m-ovwp" : Ovwp, "m-ovwp": Ovwp,
"m-engp" : Engp, "m-engp": Engp,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-doctre" : Doctre, "m-doctre": Doctre,
"m-limitbody" : Limitbody, "m-limitbody": Limitbody,
}, "m-glepan": Glepan,
provide() { },
return { provide() {
root: this return {
} root: this,
}, };
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 },
data(){ mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
return { data() {
tabVal: "ovwp", return {
trnName: "trtame", tabVal: "ovwp",
trnType: "", trnName: "trtame",
model: new Trtame().data, trnType: "",
checkRules: Check, model: new Trtame().data,
defaultRules: Default, checkRules: Check,
pattern: Pattern, defaultRules: Default,
rules: null, pattern: Pattern,
codes: {...CodeTable rules: null,
}, codes: { ...CodeTable },
} };
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}, },
methods:{ },
myTabClick(tab){ created: async function () {
this.tabClick(tab) console.log("进入trtame交易");
/** let rtnmsg = await this.init({});
* do it yourself if (rtnmsg.respCode == SUCCESS) {
**/ this.updateModel(rtnmsg.data);
} //TODO 处理数据逻辑
}, if (this.isInDisplay) {
created:async function(){ this.restoreDisplay();
console.log("进入trtame交易"); }
let rtnmsg = await this.init({}) } else {
if(rtnmsg.respCode == SUCCESS) this.$notify.error({ title: "错误", message: "服务请求失败!" });
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if(this.isInDisplay){
this.restoreDisplay();
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style></style>
</style>
<template> <template>
<c-page title="融资业务注销"> <c-page title="融资业务注销">
<div class="eContainer"> <div class="eContainer">
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
:handleCheck="handleCheck" :handleCheck="handleCheck"
:handleStash="handleStash" :handleStash="handleStash"
> >
<el-button size="small">备忘录</el-button> <el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button> <el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button> <el-button size="small">保存模板</el-button>
<el-button size="small">使用模板</el-button> <el-button size="small">使用模板</el-button>
<el-button size="small">制裁信息</el-button> <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> </c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :model="model"
:rules="rules"
<el-tab-pane label="Cancelation" name="canp"> ref="modelForm"
<m-canp :model="model" :codes="codes"/> label-width="150px"
</el-tab-pane> label-position="right"
<el-tab-pane label="&Messages" name="docpan"> size="small"
<m-docpan :model="model" :codes="codes"/> :validate-on-rule-change="false"
</el-tab-pane> >
<el-tab-pane label="Attachments" name="doctre"> <c-tabs
<m-doctre :model="model" :codes="codes"/> v-model="tabVal"
</el-tab-pane> ref="elment"
<el-tab-pane label="试算结果" name="shisuan"> type="card"
<m-shisuan :model="model" :codes="codes"/> @tab-click="myTabClick"
</el-tab-pane> >
<el-tab-pane label="统一授信" name="limitbody"> <el-tab-pane label="Cancelation" name="canp">
<m-limitbody :model="model" :codes="codes"/> <c-content>
</el-tab-pane> <m-canp :model="model" :codes="codes" />
<el-tab-pane label="Settlement" name="setpan"> </c-content>
<m-setpan :model="model" :codes="codes"/> </el-tab-pane>
</el-tab-pane> <el-tab-pane label="&Messages" name="docpan">
<el-tab-pane label="Completion" name="coninfp"> <c-content>
<m-coninfp :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </c-content>
</c-tabs> </el-tab-pane>
</el-form> <el-tab-pane label="Attachments" name="doctre">
</div> <c-content>
</c-page> <m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="试算结果" name="shisuan">
<c-content>
<m-shisuan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Booking" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Trtcan from "~/model/Trtcan" import Trtcan from "~/model/Trtcan";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs"; import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Trtcan/Check" import Check from "~/model/Trtcan/Check";
import Default from "~/model/Trtcan/Default" import Default from "~/model/Trtcan/Default";
import Pattern from "~/model/Trtcan/Pattern" import Pattern from "~/model/Trtcan/Pattern";
import Canp from "./Canp" import Canp from "./Canp";
import Shisuan from "./Shisuan" import Shisuan from "./Shisuan";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
import Glepan from "~/views/Public/Glepan";
export default { export default {
name: "Trtcan", name: "Trtcan",
components:{ components: {
"m-canp" : Canp, "m-canp": Canp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-doctre" : Doctre, "m-doctre": Doctre,
"m-shisuan" : Shisuan, "m-shisuan": Shisuan,
"m-limitbody" : Limitbody, "m-limitbody": Limitbody,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
}, "m-glepan": Glepan,
provide() { },
return { provide() {
root: this return {
} root: this,
}, };
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 },
data(){ mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
return { data() {
tabVal: "canp", return {
trnName: "trtcan", tabVal: "canp",
trnType: "", trnName: "trtcan",
model: new Trtcan().data, trnType: "",
checkRules: Check, model: new Trtcan().data,
defaultRules: Default, checkRules: Check,
pattern: Pattern, defaultRules: Default,
rules: null, pattern: Pattern,
codes: {...CodeTable rules: null,
}, codes: { ...CodeTable },
} };
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}, },
methods:{ },
myTabClick(tab){ created: async function () {
this.tabClick(tab) console.log("进入trtcan交易");
/** let rtnmsg = await this.init({});
* do it yourself if (rtnmsg.respCode == SUCCESS) {
**/ this.updateModel(rtnmsg.data);
} //TODO 处理数据逻辑
}, if (this.isInDisplay) {
created:async function(){ this.restoreDisplay();
console.log("进入trtcan交易"); }
let rtnmsg = await this.init({}) } else {
if(rtnmsg.respCode == SUCCESS) this.$notify.error({ title: "错误", message: "服务请求失败!" });
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if(this.isInDisplay){
this.restoreDisplay();
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style></style>
</style>
<template> <template>
<c-page title="融资索汇"> <c-page title="融资索汇">
<div class="eContainer"> <div class="eContainer">
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash"> <c-function-btn
<el-button size="small">备忘录</el-button> :handleSubmit="handleSubmit"
<el-button size="small">影像信息</el-button> :handleCheck="handleCheck"
<el-button size="small">保存模板</el-button> :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-button size="small">使用模板</el-button>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-button size="small">制裁信息</el-button>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <el-button size="small">拆分报文</el-button>
<el-tab-pane label="Claim Reimb" name="rclp"> <el-button size="small">提示</el-button>
<c-content :height="300"> </c-function-btn>
<m-rclp :model="model" :codes="codes"/> <el-form
</c-content> :model="model"
</el-tab-pane> :rules="rules"
<el-tab-pane label="Liability" name="engp"> ref="modelForm"
<m-engp :model="model" :codes="codes"/> label-width="150px"
</el-tab-pane> label-position="right"
<el-tab-pane label="Settlement" name="setpan"> size="small"
<m-setpan :model="model" :codes="codes"/> :validate-on-rule-change="false"
</el-tab-pane> >
<el-tab-pane label="Completion" name="coninfp"> <c-tabs
<m-coninfp :model="model" :codes="codes"/> v-model="tabVal"
</el-tab-pane> ref="elment"
<el-tab-pane label="&Messages" name="docpan"> type="card"
<m-docpan :model="model" :codes="codes"/> @tab-click="myTabClick"
</el-tab-pane> >
<el-tab-pane label="Attachments" name="doctre"> <el-tab-pane label="Claim Reimb" name="rclp">
<m-doctre :model="model" :codes="codes"/> <c-content :height="300">
</el-tab-pane> <m-rclp :model="model" :codes="codes" />
<el-tab-pane label="Reimbursement Details" name="remp"> </c-content>
<c-content :height="300"> </el-tab-pane>
<m-remp :model="model" :codes="codes"/> <el-tab-pane label="Liability" name="engp">
</c-content> <c-content>
</el-tab-pane> <m-engp :model="model" :codes="codes" />
<el-tab-pane label="统一授信" name="limitbody"> </c-content>
<m-limitbody :model="model" :codes="codes"/> </el-tab-pane>
</el-tab-pane> <el-tab-pane label="Settlement" name="setpan">
</c-tabs> <c-content>
<c-grid-ety-prompt-dialog <m-setpan :model="model" :codes="codes" />
ref="etyDialog" </c-content>
:promptData="promptData" </el-tab-pane>
v-on:select-ety="selectEty"> <el-tab-pane label="Booking" name="glepan">
</c-grid-ety-prompt-dialog> <c-content> <m-glepan :model="model" :codes="codes" />. </c-content>
</el-form> </el-tab-pane>
</div> <el-tab-pane label="Completion" name="coninfp">
</c-page> <c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="&Messages" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Reimbursement Details" name="remp">
<c-content :height="300">
<m-remp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</el-form>
</div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Trtrcl from "~/model/Trtrcl" import Trtrcl from "~/model/Trtrcl";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs"; import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Trtrcl/Check" import Check from "~/model/Trtrcl/Check";
import Default from "~/model/Trtrcl/Default" import Default from "~/model/Trtrcl/Default";
import Pattern from "~/model/Trtrcl/Pattern" import Pattern from "~/model/Trtrcl/Pattern";
import Rclp from "./Rclp" import Rclp from "./Rclp";
import Remp from "./Remp" import Remp from "./Remp";
import Limitbody from "~/views/Public/Limitbody" import Limitbody from "~/views/Public/Limitbody";
import Doctre from "~/views/Public/Doctre" import Doctre from "~/views/Public/Doctre";
import Docpan from "~/views/Public/Docpan" import Docpan from "~/views/Public/Docpan";
import Coninfp from "~/views/Public/Coninfp" import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan" import Setpan from "~/views/Public/Setpan";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan";
export default { export default {
name: "Trtrcl", name: "Trtrcl",
components:{ components: {
"m-rclp" : Rclp, "m-rclp": Rclp,
"m-engp" : Engp, "m-engp": Engp,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-doctre" : Doctre, "m-doctre": Doctre,
"m-remp" : Remp, "m-remp": Remp,
"m-limitbody" : Limitbody, "m-limitbody": Limitbody,
}, "m-glepan": Glepan,
provide() { },
return { provide() {
root: this return {
} root: this,
}, };
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 },
data(){ mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
return { data() {
tabVal: "rclp", return {
trnName: "trtrcl", tabVal: "rclp",
trnType: "", trnName: "trtrcl",
model: new Trtrcl().data, trnType: "",
checkRules: Check, model: new Trtrcl().data,
defaultRules: Default, checkRules: Check,
pattern: Pattern, defaultRules: Default,
rules: null, pattern: Pattern,
codes: {...CodeTable}, rules: null,
} codes: { ...CodeTable },
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}, },
methods:{ },
myTabClick(tab){ created: async function () {
this.tabClick(tab) console.log("进入trtrcl交易");
/** let rtnmsg = await this.init({});
* do it yourself if (rtnmsg.respCode == SUCCESS) {
**/ this.updateModel(rtnmsg.data);
} //TODO 处理数据逻辑
}, if (this.isInDisplay) {
created:async function(){ this.restoreDisplay();
console.log("进入trtrcl交易"); }
let rtnmsg = await this.init({}) } else {
if(rtnmsg.respCode == SUCCESS) this.$notify.error({ title: "错误", message: "服务请求失败!" });
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if(this.isInDisplay){
this.restoreDisplay();
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style></style>
</style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-function-btn
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash"> :handleSubmit="handleSubmit"
<el-button size="small">备忘录</el-button> :handleCheck="handleCheck"
<el-button size="small">影像信息</el-button> :handleStash="handleStash"
<el-button size="small">保存模板</el-button> >
<el-button size="small">使用模板</el-button> <el-button size="small">备忘录</el-button>
<el-button size="small">制裁信息</el-button> <el-button size="small">影像信息</el-button>
<el-button size="small">拆分报文</el-button> <el-button size="small">保存模板</el-button>
<el-button size="small">提示</el-button> <el-button size="small">使用模板</el-button>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
</c-function-btn> </c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> :model="model"
<!--trtset PD000015 Settle --> :rules="rules"
<el-tab-pane label="Settle" name="ovwp"> ref="modelForm"
<m-ovwp :model="model" :codes="codes"/> label-width="150px"
</el-tab-pane> label-position="right"
<!--liaall PD000027 Liability --> size="small"
<el-tab-pane label="或有" name="engp"> :validate-on-rule-change="false"
<m-engp :model="model" :codes="codes"/> >
</el-tab-pane> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--setmod PD000000 Settlement --> <!--trtset PD000015 Settle -->
<el-tab-pane label="账务" name="setpan"> <el-tab-pane label="Settle" name="ovwp">
<m-setpan :model="model" :codes="codes"/> <c-content>
</el-tab-pane> <m-ovwp :model="model" :codes="codes" />
<!--coninf PD000000 Completion --> </c-content>
<el-tab-pane label="附言" name="coninfp"> </el-tab-pane>
<m-coninfp :model="model" :codes="codes"/> <!--liaall PD000027 Liability -->
</el-tab-pane> <el-tab-pane label="或有" name="engp">
<!--trndoc PD000529 &Messages --> <c-content>
<el-tab-pane label="&Messages" name="docpan"> <m-engp :model="model" :codes="codes" />
<m-docpan :model="model" :codes="codes"/> </c-content>
</el-tab-pane> </el-tab-pane>
<!--trndoc PD000546 Attachments --> <!--setmod PD000000 Settlement -->
<el-tab-pane label="附件" name="doctre"> <el-tab-pane label="账务" name="setpan">
<m-doctre :model="model" :codes="codes"/> <c-content>
</el-tab-pane> <m-setpan :model="model" :codes="codes" />
<!--limmod PD001139 试算结果 --> </c-content>
<el-tab-pane label="试算结果" name="shisuan"> </el-tab-pane>
<m-shisuan :model="model" :codes="codes"/> <el-tab-pane label="Booking" name="glepan">
</el-tab-pane> <c-content>
<!--limmod PD000001 统一授信 --> <m-glepan :model="model" :codes="codes" />
<el-tab-pane label="统一授信" name="limitbody"> </c-content>
<m-limitbody :model="model" :codes="codes"/> </el-tab-pane>
</el-tab-pane> <!--coninf PD000000 Completion -->
</c-tabs> <el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="&Messages" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="附件" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--limmod PD001139 试算结果 -->
<el-tab-pane label="试算结果" name="shisuan">
<c-content>
<m-shisuan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form> </el-form>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Trtset from "~/model/Trtset" import Trtset from "~/model/Trtset";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs"; import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Trtset/Check" import Check from "~/model/Trtset/Check";
import Default from "~/model/Trtset/Default" import Default from "~/model/Trtset/Default";
import Pattern from "~/model/Trtset/Pattern" import Pattern from "~/model/Trtset/Pattern";
import Ovwp from "./Ovwp" import Ovwp from "./Ovwp";
import Shisuan from "./Shisuan"; import Shisuan from "./Shisuan";
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
...@@ -66,66 +98,60 @@ import Coninfp from "~/views/Public/Coninfp"; ...@@ -66,66 +98,60 @@ import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
import Glepan from "~/views/Public/Glepan";
export default { export default {
name: "Trtset", name: "Trtset",
components:{ components: {
"m-ovwp" : Ovwp, "m-ovwp": Ovwp,
"m-engp" : Engp, "m-engp": Engp,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-doctre" : Doctre, "m-doctre": Doctre,
"m-shisuan" : Shisuan, "m-shisuan": Shisuan,
"m-limitbody" : Limitbody, "m-limitbody": Limitbody,
}, "m-glepan": Glepan,
provide() { },
return { provide() {
root: this 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
**/
}, },
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 },
data(){ created: async function () {
return { console.log("进入trtset交易");
tabVal: "ovwp", let rtnmsg = await this.init({});
trnName: "trtset", if (rtnmsg.respCode == SUCCESS) {
model: new Trtset().data, this.updateModel(rtnmsg.data);
checkRules: Check, //TODO 处理数据逻辑
defaultRules: Default, if (this.isInDisplay) {
pattern: Pattern, this.restoreDisplay();
rules: null, }
codes: {...CodeTable}, } else {
} this.$notify.error({ title: "错误", message: "服务请求失败!" });
},
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> </script>
<style> <style></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