Commit 0d985758 by liyixun

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 b7f61c9e 420ff6bb
......@@ -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"
}
......
......@@ -21,7 +21,7 @@ export default {
"didgrp.cbs.opn1.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位" }
],
"bdtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......
......@@ -15,6 +15,7 @@ export default class Cctsel {
dspbpd: "", // Display BPE Contract .dspbpd
dspbpdclsdat: "", // Display Closing Date of Advance .dspbpdclsdat
cfgfil: {
btnstm:[],
bitmap: "", // Bitmap for folder .cfgfil.bitmap
regside1: "", // Regside .cfgfil.regside1
regside2: "", // Regside .cfgfil.regside2
......
......@@ -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"}
],
......
......@@ -171,4 +171,44 @@ export default {
}
},
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) {
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
}
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.nam = "";
this.model.infcon.searef = "";
this.model.infcon.pty.extkey = "";
this.model.infcon.pty.nam = "";
this.model.infcon.seapty = "";
this.model.infcon.searol = "";
this.model.infcon.usr.extkey = "";
this.model.infcon.seasta = "";
this.model.infcon.seacur = "";
this.model.infcon.seaamtfr = "";
this.model.infcon.seaamtto = "";
this.model.seadoctypcod = "";
},
}
\ No newline at end of file
......@@ -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
......
......@@ -285,7 +285,7 @@
<c-checkbox v-model="crefinflg" :disabled="model.bddgrp.rec.frepayflg === 'X' || model.paypsb ==='X'">融资</c-checkbox>
</c-col>
<c-col :span="5">
<c-checkbox v-model="clsflg" @change="clsflgDefault">闭卷</c-checkbox>
<c-checkbox v-model="clsflg" @change="clsflgOtherDefault" :disabled="clsflgFlg">闭卷</c-checkbox>
</c-col>
<c-col :span="5">
<c-checkbox v-model="paypsb" :disabled="model.bddgrp.rec.frepayflg === 'X' || model.trtcre.crefinflg ==='X'">垫款</c-checkbox>
......@@ -410,7 +410,7 @@
<el-divider></el-divider>
</c-col>
<c-col :span="24" :offset="0">
<c-istream-table ref="bwxxIst" :list="stmData.data" :columns="stmData.columns" :paginationShow="false" @row-click="clounmSetting"
<c-istream-table ref="bwxxIst" :list="stmData.data" :columns="stmData.columns" :paginationShow="false" v-on:multipleSelect="multipleSelect"
:showSelection="true">
</c-istream-table>
</c-col>
......@@ -578,6 +578,7 @@ export default {
],
data: [],
},
clsflgFlg:false
};
},
computed: {
......@@ -601,10 +602,10 @@ export default {
},
clsflg: {
get() {
return this.model.mtabut.clsflg != ''
return this.model.mtabut.clsflg=='C';
},
set(val) {
this.model.mtabut.clsflg = val ? "X" : ""
this.model.mtabut.clsflg = val ? "C" : "O"
}
},
paypsb: {
......@@ -648,12 +649,61 @@ export default {
},
methods: {
...Event,
clounmSetting(){
this.executeDefault("liaall.tenstmt").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
async multipleSelect(selection) {
if (selection.length > 1) {
this.$notify({
title: "error",
message: "You cannot select more than one tenor",
type: "error",
});
} else {
let chkIds;
if (selection.length === 0) {
chkIds = []
// this.model.liaall.tensetstm.rows = []
this.clsflgFlg= true
} else {
chkIds = [selection[0] + 1]
this.clsflgFlg= false
}
});
//
console.log(this.model.liaall.tensetstm);
let params = { chkDst: "liaall.tenstm", chkIds };
const rtnmsg = await this.executeRule("liaall.tenstm", params);
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
// console.log(selection);
// if (selection) {
// let selIds = selection.map(x=>x+1);
// let params = {selDst:"liaall.tenstm",selIds}
// const rtnmsg = await this.executeRule("liaall.tenstm",params);
// if (rtnmsg.respCode == SUCCESS) {
// this.updateModel(rtnmsg.data)
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
// }else{
// let selIds = selection.map(x=>x+1);
// let params = {selDst:"liaall.tenstm",selIds}
// const rtnmsg = await this.executeRule("liaall.tenstm",params);
// if (rtnmsg.respCode == SUCCESS) {
// this.updateModel(rtnmsg.data)
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
// // this.model.setmod.docamt = "";
// // this.model.setmod.setamt = "";
// // this.model.aamset.utlamt = "";
// }
},
frepayflgDefault(){
this.executeDefault("setmod.redamt").then((res) => {
......@@ -678,7 +728,7 @@ export default {
}
});
},
clsflgDefault(){
clsflgOtherDefault(){
this.executeDefault("mtabut.clsflg").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
......
......@@ -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交易");
......
<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">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000006 -->
<el-tab-pane label="Selection" name="infsea">
<c-content>
<m-infsea :model="model" :codes="codes" ref="infsea" />
</c-content>
<!--PD000006 -->
<!-- <el-tab-pane label="Selection" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000013 -->
<el-tab-pane label="Transactions" name="trnpan">
<!-- <el-tab-pane label="Transactions" name="trnpan">
<m-trnpan :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000019 -->
<el-tab-pane label="CBS Info" name="cbsinfp">
<!-- <el-tab-pane label="CBS Info" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000028 -->
<el-tab-pane label="CBE Info" name="cbeinfp">
<!-- <el-tab-pane label="CBE Info" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000111 -->
<el-tab-pane label="FEP/FCP Info" name="fepinfp">
<!-- <el-tab-pane label="FEP/FCP Info" name="fepinfp">
<m-fepinfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000162 -->
<el-tab-pane label="SEP Info" name="sepinfp">
<!-- <el-tab-pane label="SEP Info" name="sepinfp">
<m-sepinfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="Details of Temporary Settlement" name="sepp0">
<!-- <el-tab-pane label="Details of Temporary Settlement" name="sepp0">
<m-sepp0 :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000177 -->
<el-tab-pane label="GLE Bookings" name="gleinfp">
<!-- <el-tab-pane label="GLE Bookings" name="gleinfp">
<m-gleinfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000119 -->
<el-tab-pane label="SMH Info" name="smhinfp">
<!-- <el-tab-pane label="SMH Info" name="smhinfp">
<m-smhinfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000130 -->
<el-tab-pane label="SPT/DIA Info" name="peninfp">
<!-- <el-tab-pane label="SPT/DIA Info" name="peninfp">
<m-peninfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000147 -->
<el-tab-pane label="Engagement" name="liainfp">
<!-- <el-tab-pane label="Engagement" name="liainfp">
<m-liainfp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000005 -->
<el-tab-pane label="Print" name="prtpan">
<!-- <el-tab-pane label="Print" name="prtpan">
<m-prtpan :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000185 -->
<el-tab-pane label="Order" name="ordpan">
<!-- <el-tab-pane label="Order" name="ordpan">
<m-ordpan :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000029 -->
<el-tab-pane label="Order" name="ordp0">
<!-- <el-tab-pane label="Order" name="ordp0">
<m-ordp0 :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="DTA Fields" name="dtetag">
<!-- <el-tab-pane label="DTA Fields" name="dtetag">
<m-dtetag :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000065 -->
<el-tab-pane label="Settlement Instructions" name="setinsp">
<!-- <el-tab-pane label="Settlement Instructions" name="setinsp">
<m-setinsp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="Fee Conditions" name="fecp">
<!-- <el-tab-pane label="Fee Conditions" name="fecp">
<m-fecp :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000204 -->
<el-tab-pane label="CIPS" name="cips">
<!-- <el-tab-pane label="CIPS" name="cips">
<m-cips :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000449 -->
<el-tab-pane label="CIPS2.0" name="cips2">
<!-- <el-tab-pane label="CIPS2.0" name="cips2">
<m-cips2 :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000450 -->
<el-tab-pane label="CIPS2.0" name="cips3">
<!-- <el-tab-pane label="CIPS2.0" name="cips3">
<m-cips3 :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
</c-tabs>
</el-form>
</div>
......@@ -115,49 +119,49 @@ import Check from "~/model/Infccd/Check"
import Default from "~/model/Infccd/Default"
import Pattern from "~/model/Infccd/Pattern"
import Infsea from "./Infsea"
import Trnpan from "./Trnpan"
import Cbsinfp from "./Cbsinfp"
import Cbeinfp from "./Cbeinfp"
import Fepinfp from "./Fepinfp"
import Sepinfp from "./Sepinfp"
import Sepp0 from "./Sepp0"
import Gleinfp from "./Gleinfp"
import Smhinfp from "./Smhinfp"
import Peninfp from "./Peninfp"
import Liainfp from "./Liainfp"
import Prtpan from "./Prtpan"
import Ordpan from "./Ordpan"
import Ordp0 from "./Ordp0"
import Dtetag from "./Dtetag"
import Setinsp from "./Setinsp"
import Fecp from "./Fecp"
import Cips from "./Cips"
import Cips2 from "./Cips2"
import Cips3 from "./Cips3"
// import Trnpan from "./Trnpan"
// import Cbsinfp from "./Cbsinfp"
// import Cbeinfp from "./Cbeinfp"
// import Fepinfp from "./Fepinfp"
// import Sepinfp from "./Sepinfp"
// import Sepp0 from "./Sepp0"
// import Gleinfp from "./Gleinfp"
// import Smhinfp from "./Smhinfp"
// import Peninfp from "./Peninfp"
// import Liainfp from "./Liainfp"
// import Prtpan from "./Prtpan"
// import Ordpan from "./Ordpan"
// import Ordp0 from "./Ordp0"
// import Dtetag from "./Dtetag"
// import Setinsp from "./Setinsp"
// import Fecp from "./Fecp"
// import Cips from "./Cips"
// import Cips2 from "./Cips2"
// import Cips3 from "./Cips3"
export default {
components:{
"m-infsea" : Infsea,
"m-trnpan" : Trnpan,
"m-cbsinfp" : Cbsinfp,
"m-cbeinfp" : Cbeinfp,
"m-fepinfp" : Fepinfp,
"m-sepinfp" : Sepinfp,
"m-sepp0" : Sepp0,
"m-gleinfp" : Gleinfp,
"m-smhinfp" : Smhinfp,
"m-peninfp" : Peninfp,
"m-liainfp" : Liainfp,
"m-prtpan" : Prtpan,
"m-ordpan" : Ordpan,
"m-ordp0" : Ordp0,
"m-dtetag" : Dtetag,
"m-setinsp" : Setinsp,
"m-fecp" : Fecp,
"m-cips" : Cips,
"m-cips2" : Cips2,
"m-cips3" : Cips3,
// "m-trnpan" : Trnpan,
// "m-cbsinfp" : Cbsinfp,
// "m-cbeinfp" : Cbeinfp,
// "m-fepinfp" : Fepinfp,
// "m-sepinfp" : Sepinfp,
// "m-sepp0" : Sepp0,
// "m-gleinfp" : Gleinfp,
// "m-smhinfp" : Smhinfp,
// "m-peninfp" : Peninfp,
// "m-liainfp" : Liainfp,
// "m-prtpan" : Prtpan,
// "m-ordpan" : Ordpan,
// "m-ordp0" : Ordp0,
// "m-dtetag" : Dtetag,
// "m-setinsp" : Setinsp,
// "m-fecp" : Fecp,
// "m-cips" : Cips,
// "m-cips2" : Cips2,
// "m-cips3" : Cips3,
},
provide() {
return {
......@@ -174,12 +178,17 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable
codes: {
...CodeTable
},
}
},
methods:{
tabClick(){
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
......@@ -187,6 +196,7 @@ export default {
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
......
......@@ -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 处理数据逻辑
}
......
......@@ -127,9 +127,10 @@ export default {
{ inifrm: "clttra", ininam: "打包托收催收", pntmiu: "8" },
{ inifrm: "cltset", ininam: "打包托收解包", pntmiu: "8" },
{ inifrm: "9", ininam: "光票托收", pntmiu: "" },
{ inifrm: "ccttra", ininam: "光票托收催收", pntmiu: "9" },
{ inifrm: "cctdcr", ininam: "光票托收退票", pntmiu: "9" },
{ inifrm: "cctset", ininam: "光票托收收汇", pntmiu: "9" },
{ inifrm: "infccd", ininam: "光票托收查询", pntmiu: "9" },
// { inifrm: "ccttra", ininam: "光票托收催收", pntmiu: "9" },
// { inifrm: "cctdcr", ininam: "光票托收退票", pntmiu: "9" },
// { inifrm: "cctset", ininam: "光票托收收汇", pntmiu: "9" },
//{ inifrm: "cltdav", ininam: "光票托收开立", pntmiu: "10" },
//{ inifrm: "clttra", ininam: "光票托收", pntmiu: "10" },
{ inifrm: "10", ininam: "参数管理", pntmiu: "" },
......
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