Commit fd1c60b9 by wangna

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

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents a218c0a3 968f5338
......@@ -140,6 +140,9 @@ export default {
if (name === "doctre") {
rulePath = "trnmod.trndoc.doctre"
}
if (name === "cips") {
rulePath = "trnmod.cipmod.cips"
}
if (name === "engp") {
rulePath = "liaall.engp"
}
......
......@@ -228,5 +228,6 @@ export default {
"gidgrp.rec.delto" :Utils.defaultFunction,
"gidgrp.ghd.aplnam" :Utils.defaultFunction,
"gidgrp.rec.orddat" :Utils.defaultFunction,
"setmod.glemod.glepan" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -53,6 +53,9 @@ export default {
"cnybop.outflg" :Utils.defaultFunction,
"gcdgrp.rec.docprbrol" :Utils.defaultFunction,
"setmod.glemod.glepan" :Utils.defaultFunction,
"bopmod.dbdp.basp" :Utils.defaultFunction,
// "bopmod.dbdp.basp" :Utils.defaultFunction,
// "bopmod.dbap.basp" :Utils.defaultFunction,
"bopmod.dbdp.baspp.acp" :Utils.defaultFunction,
"bopmod.dbap.baspp.acp" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -248,5 +248,6 @@ export default {
"gidgrp.ghd.aplnam" :Utils.defaultFunction,
"gitamep.plateflg" :Utils.defaultFunction,
"gidgrp.rec.orddat" :Utils.defaultFunction,
"setmod.glemod.glepan" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -477,10 +477,10 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 780,message:"长度不能超过780"}
],
"gidgrp.blk.atxexptxt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
// "gidgrp.blk.atxexptxt":[
// {type: "string", required: true, message: "必输项"},
// {max: 65,message:"长度不能超过65"}
// ],
"gidgrp.rec.inudat":[
......@@ -523,10 +523,10 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 780,message:"长度不能超过780"}
],
"gidgrp.blk.atxliatxtc":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
// "gidgrp.blk.atxliatxtc":[
// {type: "string", required: true, message: "必输项"},
// {max: 65,message:"长度不能超过65"}
// ],
"gidgrp.ben.adrelc":[
......
......@@ -164,5 +164,6 @@ export default {
"gidgrp.rec.orddat" :Utils.defaultFunction,
"gidgrp.blk.apprulc" :Utils.defaultFunction,
"gidgrp.rec.autrnwflg" :Utils.defaultFunction,
"setmod.glemod.glepan" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -13,11 +13,11 @@ let checkObj = {
"trnmod.cipmod.fufeih" :null,
"trnmod.cipmod.fkrdz5" :null,
"trnmod.cipmod.fkrdz6" :null,
"bopmod.dbfgrp.bas.txamt" :null,
"bopmod.dbcgrp.bas.txamt" :null,
"cnybop.cnyout.sbalancemode" :null,
"cnybop.outflg" :null,
"bopmod.dbfgrp.bas.custnm" :null,
"bopmod.dbfgrp.bas.custype" :null,
"bopmod.dbcgrp.bas.custnm" :null,
"bopmod.dbcgrp.bas.custype" :null,
"gcdgrp.oth.adrelc" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
......@@ -27,51 +27,51 @@ let checkObj = {
"trnmod.cipmod.skkhhm" :null,
"trnmod.cipmod.pyebchnam" :null,
"liaall.liaccv.totcovamt" :null,
"bopmod.dbfgrp.bas.lcyamt" :null,
"bopmod.dbcgrp.bas.lcyamt" :null,
"trnmod.cipmod.fkrkhh" :null,
"trnmod.cipmod.fkhkhh" :null,
"gcdgrp.prb.namelc" :null,
"bopmod.dbfgrp.bas.othacc" :null,
"bopmod.dbcgrp.bas.othacc" :null,
"gcdgrp.prb.pts.adrblk" :null,
"trnmod.cipmod.recsehbchnam" :null,
"trnmod.cipmod.fkhdzh" :null,
"bopmod.dbfgrp.bas.oppuser" :null,
"bopmod.dbcgrp.bas.oppuser" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"cnybop.saddwordout" :null,
"cnybop.cnyflg" :null,
"trnmod.cipmod.pyebchkey" :null,
"trnmod.cipmod.zjg2hh" :null,
"cnybop.cnyout.sswiftbic" :null,
"bopmod.dbfgrp.bas.issdate" :null,
"bopmod.dbcgrp.bas.issdate" :null,
"cnybop.cnyout.sbankorgcode" :null,
"bopmod.dbfgrp.bas.actuccy" :null,
"bopmod.dbcgrp.bas.actuccy" :null,
"trnmod.cipmod.ffeih2" :null,
"cnybop.cnyout.cpayeraccttyp" :null,
"bopmod.dbfgrp.bas.exrate" :null,
"bopmod.dbcgrp.bas.exrate" :null,
"cnybop.spayeename" :null,
"bopmod.dbfgrp.bas.fcyacc" :null,
"bopmod.dbfgrp.bas.txccy" :null,
"bopmod.dbcgrp.bas.fcyacc" :null,
"bopmod.dbcgrp.bas.txccy" :null,
"trnmod.cipmod.fuynh4" :null,
"trnmod.cipmod.fuynh2" :null,
"trnmod.cipmod.fuynh3" :null,
"bopmod.dbfgrp.bas.othamt" :null,
"bopmod.dbcgrp.bas.othamt" :null,
"gcdgrp.oth.pts.extkey" :null,
"bopmod.dbfgrp.bas.outchargeamt" :null,
"bopmod.dbcgrp.bas.outchargeamt" :null,
"trnmod.cipmod.recsehbch" :null,
"bopmod.dbfgrp.bas.custcod" :null,
"bopmod.dbcgrp.bas.custcod" :null,
"trnmod.commen" :null,
"trnmod.cipmod.stasehbchnam" :null,
"cnybop.cnyout.fpayeeamt" :null,
"trnmod.cipmod.zjg1hh" :null,
"trnmod.cipmod.zjg1mc" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"bopmod.dbfgrp.bas.lcyacc" :null,
"bopmod.dbcgrp.bas.lcyacc" :null,
"trnmod.cipmod.skrdz7" :null,
"trnmod.cipmod.skrdz6" :null,
"gcdgrp.prb.adrelc" :null,
"liaall.limmod.ownref" :null,
"bopmod.dbfgrp.bas.tenor" :null,
"bopmod.dbfgrp.bas.actiondesc" :null,
"bopmod.dbcgrp.bas.tenor" :null,
"bopmod.dbcgrp.bas.actiondesc" :null,
"liaall.limmod.ecifno" :null,
"trnmod.cipmod.skrdz3" :null,
"trnmod.cipmod.skrdz2" :null,
......@@ -87,19 +87,19 @@ let checkObj = {
"bopmod.szflg" :null,
"trnmod.cipmod.feecod" :null,
"cnybop.outscale" :null,
"bopmod.dbfgrp.bas.methods" :null,
"bopmod.dbfgrp.bas.actiontype" :null,
"bopmod.dbcgrp.bas.methods" :null,
"bopmod.dbcgrp.bas.actiontype" :null,
"cnybop.traflg" :null,
"cnybop.sbankname" :null,
"bopmod.dbfgrp.bas.lcbgno" :null,
"bopmod.dbcgrp.bas.lcbgno" :null,
"trnmod.cipmod.feiyn2" :null,
"gcdgrp.prb.pts.extkey" :null,
"cnybop.cnyout.dpayeedate" :null,
"gctp.ischktyp" :null,
"gctp.prechkdat" :null,
"bopmod.dbfgrp.bas.rptno" :null,
"bopmod.dbfgrp.bas.idcode" :null,
"bopmod.dbfgrp.bas.fcyamt" :null,
"bopmod.dbcgrp.bas.rptno" :null,
"bopmod.dbcgrp.bas.idcode" :null,
"bopmod.dbcgrp.bas.fcyamt" :null,
"trnmod.reconebchnam" :null,
"cnybop.cnyout.frecordamt" :null,
"trnmod.cipmod.staonebchnam" :null,
......@@ -109,7 +109,7 @@ let checkObj = {
"trnmod.cipmod.stasehbch" :null,
"bopmod.basflg" :null,
"mtabut.coninf.conexedat" :null,
"bopmod.dbfgrp.bas.buscode" :null,
"bopmod.dbcgrp.bas.buscode" :null,
"cnybop.spayername" :null,
"trnmod.cipmod.fkkhmc" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
......@@ -119,9 +119,9 @@ let checkObj = {
"cnybop.cnyout.spayeecny" :null,
"cnybop.cnyout.spayercountrycode" :null,
"setmod.docamt" :null,
"bopmod.dbfgrp.bas.outchargeccy" :null,
"bopmod.dbcgrp.bas.outchargeccy" :null,
"liaall.liaccv.cshpct" :null,
"bopmod.dbfgrp.bas.actuamt" :null,
"bopmod.dbcgrp.bas.actuamt" :null,
"bopmod.acttyp" :null,
"gcdgrp.oth.pts.adrblk" :null,
"cnybop.cnyout.sorilevyno" :null,
......
......@@ -7,7 +7,7 @@ import Utils from "~/utils/index"
export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"bopmod.dbfgrp.bas.rptno" :Utils.defaultFunction,
"bopmod.dbcgrp.bas.rptno" :Utils.defaultFunction,
"trnmod.cipmod.ddbhao" :Utils.defaultFunction,
"gcdgrp.cbs.max2.amt" :Utils.defaultFunction,
"cnybop.libflg" :Utils.defaultFunction,
......@@ -45,7 +45,7 @@ export default {
"trnmod.cipmod.feecod" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction,
"bopmod.dbfgrp.bas.tmpref" :Utils.defaultFunction,
"bopmod.dbcgrp.bas.tmpref" :Utils.defaultFunction,
"trnmod.cmtflg" :Utils.defaultFunction,
"gidgrp.rec.expdat" :Utils.defaultFunction,
"liaall.liaccv.addinf" :Utils.defaultFunction,
......@@ -55,7 +55,7 @@ export default {
"liaall.liaccv.concur" :Utils.defaultFunction,
"gcdgrp.rec.frepayflg" :Utils.defaultFunction,
"cnybop.traflg" :Utils.defaultFunction,
"bopmod.dbfgrp.bas.methods" :Utils.defaultFunction,
"bopmod.dbcgrp.bas.methods" :Utils.defaultFunction,
"cnybop.cnyflg" :Utils.defaultFunction,
"gctp.ischktyp" :Utils.defaultFunction,
"gcdgrp.ben.pts.nam" :Utils.defaultFunction,
......@@ -65,12 +65,12 @@ export default {
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"gcdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"gidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"bopmod.dbfgrp.bas.custype" :Utils.defaultFunction,
"bopmod.dbfgrp.bas.custcod" :Utils.defaultFunction,
"bopmod.dbcgrp.bas.custype" :Utils.defaultFunction,
"bopmod.dbcgrp.bas.custcod" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"trnmod.cipmod.ddmisu" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"bopmod.dbfgrp.bas.buscode" :Utils.defaultFunction,
"bopmod.dbcgrp.bas.buscode" :Utils.defaultFunction,
"trnmod.bustyp" :Utils.defaultFunction,
"cnybop.cnyout.spayercountrycode" :Utils.defaultFunction,
"liaall.liaccv.newamt" :Utils.defaultFunction,
......@@ -81,11 +81,12 @@ export default {
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"cnybop.outflg" :Utils.defaultFunction,
"trnmod.cipmod.covflg" :Utils.defaultFunction,
"bopmod.dbfgrp.bas.ownextkey" :Utils.defaultFunction,
"bopmod.dbcgrp.bas.ownextkey" :Utils.defaultFunction,
"gctp.aplmullab" :Utils.defaultFunction,
"liaall.liaccv.cshpct" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"gcdgrp.rec.docprbrol" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -416,11 +416,11 @@ export default {
"bopmod.dbfgrp.bas.rptno":[
"bopmod.dbcgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbfgrp.bas.tmpref":[
"bopmod.dbcgrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
......@@ -429,81 +429,81 @@ export default {
"bopmod.dbfgrp.bas.actiondesc":[
"bopmod.dbcgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbfgrp.bas.buscode":[
"bopmod.dbcgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"bopmod.dbfgrp.bas.custcod":[
"bopmod.dbcgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"bopmod.dbfgrp.bas.custnm":[
"bopmod.dbcgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbfgrp.bas.oppuser":[
"bopmod.dbcgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"bopmod.dbfgrp.bas.idcode":[
"bopmod.dbcgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbfgrp.bas.exrate":[
"bopmod.dbcgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"bopmod.dbfgrp.bas.lcyamt":[
"bopmod.dbcgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbfgrp.bas.lcyacc":[
"bopmod.dbcgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbfgrp.bas.fcyamt":[
"bopmod.dbcgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbfgrp.bas.fcyacc":[
"bopmod.dbcgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbfgrp.bas.othamt":[
"bopmod.dbcgrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbfgrp.bas.othacc":[
"bopmod.dbcgrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"bopmod.dbfgrp.bas.txamt":[
"bopmod.dbcgrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbfgrp.bas.outchargeamt":[
"bopmod.dbcgrp.bas.outchargeamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbfgrp.bas.actuamt":[
"bopmod.dbcgrp.bas.actuamt":[
{type: "number", required: false, message: "必输项"} ],
"bopmod.dbfgrp.bas.issdate":[
"bopmod.dbcgrp.bas.issdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bopmod.dbfgrp.bas.lcbgno":[
"bopmod.dbcgrp.bas.lcbgno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"bopmod.dbfgrp.bas.tenor":[
"bopmod.dbcgrp.bas.tenor":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
......
......@@ -4,6 +4,7 @@ import Utils from "~/utils"
* Trtopn Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"trtmod.finmod.flttyp" :null,
"dftcre.dfdgrp.rec.matdat" :null,
......@@ -82,6 +83,7 @@ let checkObj = {
"trtmod.finmod.ratchgdat" :null,
"dftcre.dfdgrp.rec.fintyp" :null,
"trdgrp.rec.flowflag" :null,
"trdgrp.rec.fintyp1" :null,
}
for (const key in checkObj) {
......
......@@ -12,7 +12,7 @@ export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"trtmod.finmod.dinjdm" :Utils.defaultFunction,
"trdgrp.cbs.max.amt" :Utils.defaultFunction,
"trdgrp.rec.fintyp" :Utils.defaultFunction,
"trdgrp.rec.fintyp1" :Utils.defaultFunction,
"trdgrp.cbs.max.cur" :Utils.defaultFunction,
"trtmod.finmod.act1" :Utils.defaultFunction,
"trtmod.finmod.acttyp" :Utils.defaultFunction,
......@@ -79,6 +79,7 @@ export default {
"dftcre.dfdgrp.cbs.max.amt" :Utils.defaultFunction,
"trdgrp.rec.pctfin" :Utils.defaultFunction,
"trtmod.finmod.dinmod.rmbsbs" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.resamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
......
......@@ -254,7 +254,36 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onExtkey() {},
onSeainf() {},
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: '服务请求失败!'});
}
},
onSeainf() {
},
async onExtkey(e) {
},
}
\ No newline at end of file
......@@ -558,4 +558,34 @@ export default {
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"liaall.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Dids from "../Public/Dids"
import Pub from "../Public"
export default class Trtopn{
......@@ -13,7 +12,7 @@ export default class Trtopn{
ownref:"", // 融资编号 .trdgrp.rec.ownref
nam:"", // Name of Loan Contract .trdgrp.rec.nam
issdat:"", // 开立日期 .trdgrp.rec.issdat
fintyp:"", // 融资品种 .trdgrp.rec.fintyp
fintyp1:"", // 融资品种 .trdgrp.rec.fintyp
stagod:"", // Good's Code .trdgrp.rec.stagod
guaflg:"", // 货押标识 .trdgrp.rec.guaflg
pctfin:"", // % Financed .trdgrp.rec.pctfin
......@@ -37,7 +36,7 @@ export default class Trtopn{
},
cbs:{
max:{
cur:"", // Currency .trdgrp.cbs.max.cur
curtxt1:"", // Currency .trdgrp.cbs.max.cur
amt:"", // 融资金额 .trdgrp.cbs.max.amt
},
},
......@@ -238,7 +237,6 @@ export default class Trtopn{
trnmod: new Pub().data.Trnmod,
mtabut: new Pub().data.Mtabut,
setmod: new Pub().data.Setmod,
pageId: "" // ctx的key
}
}
......
......@@ -4,8 +4,6 @@ import Utils from "~/utils"
* Trtsel Check规则
*/
let checkObj = {
"recget.sdamod.dadsnd" :null,
"dadsnd" :null,
}
for (const key in checkObj) {
......
......@@ -6,15 +6,19 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"cfgfil.subtrn1" :Utils.defaultFunction,
"selbut.sptpenlab_descr" :Utils.defaultFunction,
"selbut.sptpenlab" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction,
"trdgrp.rec.fintyp" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"selbut.trnpenlab" :Utils.defaultFunction,
"selbut.trnpenlab_descr" :Utils.defaultFunction,
"clsflg" :Utils.defaultFunction,
"trdgrp.rec.fintyp" :Utils.defaultFunction,
"cfgfil.subtxt10" :Utils.defaultFunction,
"cfgfil.subtrn10" :Utils.defaultFunction,
"cfgfil.subtrn11" :Utils.defaultFunction,
"cfgfil.subtxt11" :Utils.defaultFunction,
"cfgfil.subtrn1" :Utils.defaultFunction,
"cfgfil.subtxt1" :Utils.defaultFunction,
"cfgfil.subtrn9" :Utils.defaultFunction,
"cfgfil.subtxt9" :Utils.defaultFunction,
......@@ -32,9 +36,5 @@ export default {
"cfgfil.subtxt3" :Utils.defaultFunction,
"cfgfil.subtrn2" :Utils.defaultFunction,
"cfgfil.subtxt2" :Utils.defaultFunction,
"selbut.sptpenlab" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"clsflg" :Utils.defaultFunction,
"selbut.sptpenlab_descr" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -49,7 +49,6 @@ export default class Trtsel{
clsflg:"", // Show closed Contract .clsflg
cfgfil:{
bitmap:"", // Bitmap for folder .cfgfil.bitmap
btnstm:"", //按钮数据
regside1:"", // Regside .cfgfil.regside1
regside2:"", // Regside .cfgfil.regside2
regside3:"", // Regside .cfgfil.regside3
......
......@@ -29,7 +29,9 @@
</c-form-item>
</c-col>
<c-col :span="12">
<c-input disabled v-if="model.gitp.swiftflg=='N'" v-model="model.oldgidgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
<c-form-item v-if="model.gitp.swiftflg=='N'" label-width="5px" prop="oldgidgrp.cbs.max.amt">
<c-input disabled v-model="model.oldgidgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
</c-form-item>
</c-col>
</c-col>
......@@ -40,7 +42,9 @@
</c-form-item>
</c-col>
<c-col :span="12">
<c-input v-if="model.gitp.swiftflg=='N'" v-model="model.trnmod.swiadd.ameamt" placeholder="请输入Amended Amount"></c-input>
<c-form-item v-if="model.gitp.swiftflg=='N'" label-width="5px" prop="trnmod.swiadd.ameamt">
<c-input v-model="model.trnmod.swiadd.ameamt" placeholder="请输入Amended Amount" @blur="ameamtBlur"></c-input>
</c-form-item>
</c-col>
</c-col>
......@@ -51,7 +55,9 @@
</c-form-item>
</c-col>
<c-col :span="12">
<c-input v-if="model.gitp.swiftflg=='N'" v-model="model.trnmod.swiadd.newamt" placeholder="请输入New amount"></c-input>
<c-form-item v-if="model.gitp.swiftflg=='N'" label-width="5px" prop="trnmod.swiadd.newamt">
<c-input v-model="model.trnmod.swiadd.newamt" placeholder="请输入New amount" @blur="newamtBlur"></c-input>
</c-form-item>
</c-col>
</c-col>
......@@ -63,7 +69,9 @@
</c-col>
<c-col :span="12">
<c-input disabled v-if="model.gitp.swiftflg=='N'" v-model="model.trnmod.swiadd.addamt" placeholder="请输入Additional Amount"></c-input>
<c-form-item v-if="model.gitp.swiftflg=='N'" label-width="5px" prop="trnmod.swiadd.addamt">
<c-input disabled v-model="model.trnmod.swiadd.addamt" placeholder="请输入Additional Amount"></c-input>
</c-form-item>
</c-col>
</c-col>
......@@ -164,7 +172,9 @@
</c-form-item>
</c-col>
<c-col :span="12">
<c-input disabled v-if="model.gitp.swiftflg=='Y'" v-model="model.oldgidgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
<c-form-item v-if="model.gitp.swiftflg=='Y'" label-width="5px" prop="oldgidgrp.cbs.max.amt">
<c-input disabled v-model="model.oldgidgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
......@@ -174,7 +184,9 @@
</c-form-item>
</c-col>
<c-col :span="12">
<c-input v-if="model.gitp.swiftflg=='Y'" v-model="model.trnmod.swiadd.ameamt" placeholder="请输入Amended Amount"></c-input>
<c-form-item v-if="model.gitp.swiftflg=='Y'" label-width="5px" prop="trnmod.swiadd.ameamt">
<c-input v-model="model.trnmod.swiadd.ameamt" placeholder="请输入Amended Amount" @blur="ameamtBlur"></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
......@@ -184,7 +196,9 @@
</c-form-item>
</c-col>
<c-col :span="12">
<c-input v-if="model.gitp.swiftflg=='Y'" v-model="model.trnmod.swiadd.newamt" placeholder="请输入New amount"></c-input>
<c-form-item v-if="model.gitp.swiftflg=='Y'" label-width="5px" prop="trnmod.swiadd.newamt">
<c-input v-model="model.trnmod.swiadd.newamt" placeholder="请输入New amount" @blur="newamtBlur"></c-input>
</c-form-item>
</c-col>
</c-col>
......@@ -359,7 +373,9 @@
</c-form-item>
</c-col>
<c-col :span="12">
<c-input v-if="model.gitp.swiftflg=='Y'" :disabled="model.trnmod.swiadd.addamtflg==''" v-model="model.trnmod.swiadd.addamt" placeholder="请输入Additional Amount"></c-input>
<c-form-item v-if="model.gitp.swiftflg=='Y'" label-width="5px" prop="trnmod.swiadd.addamt">
<c-input :disabled="model.trnmod.swiadd.addamtflg==''" v-model="model.trnmod.swiadd.addamt" placeholder="请输入Additional Amount"></c-input>
</c-form-item>
</c-col>
</c-col>
......@@ -634,7 +650,22 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
}
},
async newamtBlur(){
let rtnmsg = await this.executeRule("trnmod.swiadd.newamt")
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
async ameamtBlur(){
let rtnmsg = await this.executeDefault("trnmod.swiadd.newamt")
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
},
created:function(){
......
......@@ -64,11 +64,11 @@
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Settlement" name="Settlement">
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Bookings" name="Booking">
<el-tab-pane v-if=this.flag label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
......@@ -213,6 +213,7 @@ export default {
codes: {
...CodeTable,
},
flag:false,
}
},
methods:{
......@@ -221,6 +222,18 @@ export default {
/**
* do it yourself
**/
const name = tab.name
let rulePath;
if(name==="setpan"){
this.flag=true;
}
if (!!rulePath) {
this.executeRule(rulePath).then(res => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data)
}
})
}
}
},
created:async function(){
......
......@@ -18,7 +18,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="地区机构号" prop="bopmod.dbagrp.bas.ownextkey">
<c-select disabled :code="codes.ownextkey" v-model="model.bopmod.dbagrp.bas.ownextkey" style="width:100%" placeholder="请选择地区机构号">
<c-select disabled :code="codes.ownextkey1" v-model="model.bopmod.dbagrp.bas.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select>
</el-form-item>
</c-col>
......@@ -141,6 +141,14 @@
<c-input disabled v-model="model.bopmod.dbagrp.bas.othacc" maxlength="32" placeholder="请输入银行卡号"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-col :span="6" :offset="6">
<c-form-item label-width="5px" prop="bopmod.dbap.baspp.acp">
<c-checkbox disabled v-model="model.bopmod.dbap.baspp.acp">确认</c-checkbox>
</c-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
</c-row>
......@@ -276,6 +284,13 @@
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="6" :offset="6">
<c-form-item label-width="5px" prop="bopmod.dbdp.baspp.acp">
<c-checkbox disabled v-model="model.bopmod.dbdp.baspp.acp">确认</c-checkbox>
</c-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
</c-row>
......
......@@ -184,17 +184,23 @@
</c-col>
<c-col :span=24>
<c-col :span="6" :offset="6">
<c-checkbox v-model="model.gcdgrp.rec.cannowflg">Payment under Cancelation of Guarantee</c-checkbox>
<c-form-item label-width="5px" prop="gcdgrp.rec.cannowflg">
<c-checkbox v-model="model.gcdgrp.rec.cannowflg">Payment under Cancelation of Guarantee</c-checkbox>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="6" :offset="6">
<c-checkbox v-model="model.mtabut.clsflg">Close Contract</c-checkbox>
<c-col :span="6" :offset="6" >
<c-form-item label-width="5px" prop="mtabut.clsflg">
<c-checkbox v-model="model.mtabut.clsflg">Close Contract</c-checkbox>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="6" :offset="6">
<c-checkbox v-model="model.gcdgrp.rec.frepayflg">free of payment</c-checkbox>
<c-form-item label-width="5px" prop="gcdgrp.rec.frepayflg">
<c-checkbox v-model="model.gcdgrp.rec.frepayflg">free of payment</c-checkbox>
</c-form-item>
</c-col>
</c-col>
</c-col>
......
......@@ -116,11 +116,11 @@ export default {
methods:{
...Event,
async slChange(){
// this.executeRule("bopmod.szflg").then((res) => {
// if ((res.respCode == SUCCESS)) {
// Utils.updateModel(this.model, res.data);
// }
// });
this.executeRule("bopmod.szflg").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
}
},
created:function(){
......
......@@ -71,7 +71,7 @@
<m-basp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.bopmod.szflg=='2' && model.bopmod.basflg=='X'" label="境内收入申报单-基础信息" name="basp">
<el-tab-pane v-if="model.bopmod.szflg=='2' && model.bopmod.basflg=='X'" label="境内收入申报单-基础信息" name="basp1">
<c-content>
<m-basp :model="model" :codes="codes"/>
</c-content>
......@@ -96,6 +96,7 @@
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Utils from "~/utils";
import Getset from "~/model/Getset"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
......@@ -166,8 +167,12 @@ export default {
**/
const name = tab.name
let rulePath;
let rulePath1;
if (name === "basp") {
rulePath = "bopmod.dbdp.basp";
rulePath = "bopmod.dbap.basp";
}
if(name === "basp1"){
rulePath = "bopmod.dbdp.basp";
}
if(name==="setpan"){
this.flag=true;
......
......@@ -373,7 +373,7 @@
</c-col>
<c-col :span="12">
<c-form-item v-if="model.gitp.swiftflg=='Y'" label-width="5px" prop="trnmod.swiadd.addamt">
<c-input :disabled="model.trnmod.swiadd.addamtflg==''" v-model="model.trnmod.swiadd.addamt" placeholder="请输入Additional Amount"></c-input>
<c-input :disabled="model.trnmod.swiadd.addamtflg==''" v-model="model.trnmod.swiadd.addamt" @blur="addamtBlur" placeholder="请输入Additional Amount"></c-input>
</c-form-item>
</c-col>
</c-col>
......@@ -658,7 +658,14 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
}
},
async addamtBlur(){
let rtnmsg = await this.executeDefault("trnmod.swiadd.addamtcovs20")
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
},
created:function(){
......
......@@ -1254,12 +1254,12 @@
<c-col :span="24">
<c-col :span="20">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gitp.exptxtmodflg==''" label="Expiry Condition/ Evt." prop="gidgrp.blk.exptxt">
<c-form-item v-show="model.gitp.swiftflg=='Y'&&model.gitp.exptxtmodflg==''" label="Expiry Condition/ Evt." prop="gidgrp.blk.exptxt">
<c-input type="textarea" rows="4" :disabled="model.gitp.exptxtmodflg==''" v-model="model.gidgrp.blk.exptxt" maxlength="780" show-word-limit placeholder="请输入Expiry Condition/ Evt." ></c-input>
</el-form-item>
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gitp.exptxtmodflg=='X'" label="Expiry Condition/ Evt." prop="gidgrp.blk.atxexptxt">
<c-input type="textarea" rows="4" :disabled="model.gitp.exptxtmodflg==''" v-model="model.gidgrp.blk.atxexptxt" maxlength="780" show-word-limit placeholder="请输入Expiry Condition/ Evt." ></c-input>
</el-form-item>
</c-form-item>
<c-form-item v-show="model.gitp.swiftflg=='Y'&&model.gitp.exptxtmodflg=='X'" label="Expiry Condition/ Evt." prop="gidgrp.blk.atxexptxt">
<c-input type="textarea" rows="4" :disabled="model.gitp.exptxtmodflg==''" v-model="model.gidgrp.blk.atxexptxt" maxlength="780" @blur="atxexpBlur" show-word-limit placeholder="请输入Expiry Condition/ Evt." ></c-input>
</c-form-item>
</c-col>
<c-col :span="4">
<c-checkbox v-if="model.gitp.swiftflg=='Y'" v-model="model.gitp.exptxtmodflg" :disabled="model.gidgrp.rec.exptyp=='FIXD'||model.gidgrp.rec.exptyp=='OPEN'||model.gidgrp.rec.exptyp==''" style="margin:0 0 0 10px">Modify Text</c-checkbox>
......@@ -1336,6 +1336,7 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitopn/Event"
import Ptap from "~/views/Public/Ptap";
import Utils from "~/utils";
export default {
components: { "c-ptap": Ptap },
......@@ -1362,13 +1363,16 @@ export default {
...Event,
onSeainf(data) {
this.$emit("onSeainf",data);
},
},
valueChange() {
if (this.onlySearch) return;
// this.showGridPromptDialog(
// `${this.argadr.grp}.${this.argadr.rol}.pts.extkey`
// );
},
async atxexpBlur(){
let rtnmsg = await this.executeRule("gidgrp.blk.atxexptxt")
if (rtnmsg.respCode == SUCCESS) {
Utils.updateModel(this.model, rtnmsg.data);
}
},
},
created:function(){
......
......@@ -222,7 +222,7 @@
style="margin: 0px 0 10px 150px"
disabled
v-model="model.bopmod.dbcp.baspp.acp"
checked
:checked="true"
>确认</c-checkbox
>
</c-col>
......
......@@ -254,7 +254,27 @@ export default {
};
},
methods: {
tabClick() {},
mimeTabClick(tab) {
this.tabClick(tab);
const name = tab.name;
let rulePath;
if(name === 'basp'){
rulePath = "bopmod.dbcp.basp"
}
if(name === 'outp'){
rulePath = "cnybop.Outp"
}
if (name === "cips") {
rulePath = "trnmod.cipmod.cips"
}
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
},
},
created: async function () {
console.log("进入gitset交易");
......
......@@ -14,8 +14,9 @@ import commonProcess from "~/mixin/commonProcess"
export default {
props:["ownref"],
components:{
inject: ['root'],
props:["model","codes"],
components:{
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
......@@ -101,7 +102,8 @@ export default {
}
</script>
<style>
.busnavbar-items{
/*TODO完善按钮间隔等样式 */
}
/* .busnavbar-items{
} */
</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">
<!--inftrd PD000024 Selection -->
<el-tab-pane label="Selection" name="infsea">
<c-content>
<m-infsea
v-show="!showPanel"
@updateShowPanel="updateShowPanel($event)"
:model="model"
:codes="codes"
ref="infsea"/>
</c-content>
<!-- <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> -->
<!-- <el-tab-pane label="内容" name="infsea">
<m-infsea :model="model" :codes="codes" />
</el-tab-pane> -->
<!-- <el-tab-pane label="Selection" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane>
<!--inftrd PD000018 Loan -->
<el-tab-pane label="Loan" name="infconp">
</el-tab-pane> -->
<!-- <el-tab-pane label="Loan" name="infconp">
<m-infconp :model="model" :codes="codes"/>
</el-tab-pane>
<!--coninf PD000010 Incoming Tag 72/79 -->
<el-tab-pane label="Incoming Tag" name="coninftag">
<m-coninftag :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000013 Transactions -->
<el-tab-pane label="Transactions" name="trnpan">
<m-trnpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000019 CBS Info -->
<el-tab-pane label="CBS Info" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000028 CBE Info -->
<el-tab-pane label="CBE Info" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000111 FEP/FCP Info -->
<el-tab-pane label="FEP/FCP Info" name="fepinfp">
<m-fepinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000162 SEP Info -->
<el-tab-pane label="SEP Inf" name="sepinfp">
<m-sepinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000177 GLE Bookings -->
<el-tab-pane label="GLE Bookings" name="gleinfp">
<m-gleinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000119 SMH Info -->
<el-tab-pane label="SMH Info" name="smhinfp">
<m-smhinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000130 SPT/DIA Info -->
<el-tab-pane label="SPT/DIA Info" name="peninfp">
<m-peninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000147 Engagement -->
<el-tab-pane label="Engagement" name="liainfp">
<m-liainfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--inftrd PD000023 Print -->
<el-tab-pane label="Print" name="prtpan">
<m-prtpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000185 Order -->
<el-tab-pane label="Order" name="ordpan">
<m-ordpan :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-tab-pane> -->
<!-- </c-tabs> -->
<c-button
v-show="showPanel"
style="margin-left: 75%; bottom: 10%; position: sticky"
size="small"
@click="goBack()"
>
<!-- @click="getDitSelInfo(scope.$index, scope.row)" -->
返回
</c-button>
</el-form>
</div>
</template>
......@@ -120,8 +127,7 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
codes: {...CodeTable},
}
},
methods:{
......@@ -132,6 +138,21 @@ export default {
**/
}
},
initPanel(val) {
if (val) {
this.tabVal = "ovwp";
//
} else {
this.tabVal = "";
}
},
async updateShowPanel(value) {
this.showPanel = value;
this.initPanel(value);
},
goBack() {
this.showPanel = false;
},
created:async function(){
console.log("进入inftrd交易");
let rtnmsg = await this.init({})
......
......@@ -46,8 +46,8 @@
</c-col>
<c-col :span="11" :offset="1">
<c-checkbox v-model="model.cfatrt.basflg">签约信息</c-checkbox>
<c-checkbox v-model="model.cfatrt.dclflg">变动信息</c-checkbox>
<c-checkbox v-model="model.cfadft.basflg">签约信息</c-checkbox>
<c-checkbox v-model="model.cfadft.dclflg">变动信息</c-checkbox>
</c-col>
</c-col>
<c-col :span="8" >
......
......@@ -94,9 +94,9 @@
</el-form-item>
</c-col>
<c-col :span="13">
<el-form-item label="融资金额" prop="trdgrp.cbs.max.cur">
<c-select v-model="model.trdgrp.cbs.max.cur" style="width:100%" placeholder="请选择Currency" @keyup.enter.native="maxCurEvent">
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value"></el-option>
<el-form-item label="融资金额" prop="trdgrp.cbs.max.curtxt1">
<c-select v-model="model.trdgrp.cbs.max.curtxt1" style="width:100%" placeholder="请选择Currency" @keyup.enter.native="maxCurEvent">
<el-option v-for="item in codes.curtxt1" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -352,9 +352,9 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="第三方还款方式" prop="trtmod.finmod.acttyp">
<c-select v-model="model.trtmod.finmod.acttyp" style="width:100%" placeholder="请选择第三方还款方式">
<el-option v-for="item in codes.acttyp" :key="item.value" :label="item.label" :value="item.value"></el-option>
<el-form-item label="第三方还款方式" prop="trtmod.finmod.acttyp1">
<c-select v-model="model.trtmod.finmod.acttyp1" style="width:100%" placeholder="请选择第三方还款方式">
<el-option v-for="item in codes.acttyp1" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -407,8 +407,8 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="外币贷款专户清单" prop="trtp.act">
<c-select v-model="model.trtp.act" style="width:100%" placeholder="请选择外币贷款专户清单">
<el-form-item label="外币贷款专户清单" prop="trtp.act" >
<c-select v-model="model.trtp.act" style="width:100%" placeholder="请选择外币贷款专户清单" :disabled="model.trdgrp.cbs.max.curtxt1==='CNY'">
</c-select>
</el-form-item>
</c-col>
......@@ -419,10 +419,13 @@
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Trtopn/Event";
import Utils from "~/utils";
export default {
onSeainf() {
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
......
......@@ -22,12 +22,21 @@
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dftcre PD000001 同业代付 -->
<el-tab-pane label="同业代付" name="dftcrep">
<el-tab-pane label="同业代付" name="dftcrep" v-if="model.trtp.dfflag">
<c-content>
<m-dftcrep :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="Engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--financ PD000004 融资款项 -->
<el-tab-pane label="融资款项" name="rzkx">
<c-content>
......@@ -68,11 +77,12 @@
</el-tab-pane>
</c-tabs>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty">
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
</el-form>
</div>
</c-page>
</template>
......@@ -86,6 +96,7 @@ import commonFuncs from "~/mixin/commonFuncs";
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"
......@@ -95,6 +106,7 @@ import Doctre from "~/views/Public/Doctre"
import Docpan from "~/views/Public/Docpan"
import Coninfp from "~/views/Public/Coninfp"
import Setpan from "~/views/Public/Setpan"
import Engp from "~/views/Public/Engp";
export default {
......@@ -109,6 +121,7 @@ export default {
"m-docpan" : Docpan,
"m-coninfp" : Coninfp,
"m-setpan" : Setpan,
"m-engp" : Engp,
},
provide() {
return {
......@@ -126,8 +139,7 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
codes: {...CodeTable},
}
},
methods:{
......@@ -138,6 +150,21 @@ export default {
**/
}
},
// initPanel(val) {
// if (val) {
// this.tabVal = "ovwp";
// //
// } else {
// this.tabVal = "";
// }
// },
// async updateShowPanel(value) {
// this.showPanel = value;
// this.initPanel(value);
// },
// goBack() {
// this.showPanel = false;
// },
created:async function(){
console.log("进入trtopn交易");
let rtnmsg = await this.init({})
......
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trtsel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
\ No newline at end of file
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trtsel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="110px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<!--PD000006 -->
<!--
<el-tab-pane label="查詢界面" name="infsea">
<m-infsea :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">
<!--trtsel PD000012 Menu -->
<el-tab-pane :label="$t('trtsel.PD000012')" name="sel">
<m-sel :model="model" :codes="codes"/>
</el-tab-pane>
-->
<c-content>
<m-infsea
v-show="!showPanel"
@updateShowPanel="updateShowPanel($event)"
:model="model"
:codes="codes"
ref="infsea"
/>
</c-content>
<c-tabs
v-model="tabVal"
v-show="showPanel"
ref="elment"
type="card"
@tab-click="tabClick"
>
<!--PD000017 -->
<el-tab-pane label="内容" name="ovwp">
<m-ovwp :model="model" :codes="codes" />
</el-tab-pane>
<!--
<el-tab-pane label="条款" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Transactions" name="trnpan">
<m-trnpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="余额信息" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="发生额信息" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="费用明细" name="fepinfp">
<m-fepinfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="临时账务" name="sepinfp">
<m-sepinfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="账务信息" name="gleinfp">
<m-gleinfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="面函、报文" name="smhinfp">
<m-smhinfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="经办信息" name="peninfp">
<m-peninfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="表外信息" name="liainfp">
<m-liainfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Print" name="prtpan">
<m-prtpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Order" name="ordpan">
<m-ordpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="银行明细" name="detp1">
<m-detp1 :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="明细" name="detp2">
<m-detp2 :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="声明" name="stament">
<m-stament :model="model" :codes="codes"/>
</el-tab-pane>
-->
</c-tabs>
</c-tabs>
</el-form>
<c-button
v-show="showPanel"
style="margin-left: 75%; bottom: 10%; position: sticky"
size="small"
@click="goBack()"
>
<!-- @click="getDitSelInfo(scope.$index, scope.row)" -->
返回
</c-button>
</div>
</template>
<script>
......@@ -138,9 +19,10 @@ import Check from "~/model/Trtsel/Check"
import Default from "~/model/Trtsel/Default"
import Pattern from "~/model/Trtsel/Pattern"
import Sel from "./Sel"
import Infsea from "./Infsea";
export default {
name: "Trtsel",
components:{
"m-sel" : Sel,
},
......@@ -154,6 +36,7 @@ export default {
return {
tabVal: "",
trnName: "trtsel",
trnType: "",
model: new Trtsel().data,
checkRules: Check,
defaultRules: Default,
......@@ -164,7 +47,11 @@ export default {
}
},
methods:{
tabClick(){
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
......@@ -172,6 +59,7 @@ export default {
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
......
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