Commit 145c3f43 by nanrui

Merge remote-tracking branch 'origin/development-202206' into development-202206

parents eef3bdae 9c26a83b
...@@ -1910,6 +1910,13 @@ const CodeTable = { ...@@ -1910,6 +1910,13 @@ const CodeTable = {
{ label: "Generate Files ( PS/PDF )", value: "S" }, { label: "Generate Files ( PS/PDF )", value: "S" },
{ label: "Windows Server Printing", value: "X" }, { label: "Windows Server Printing", value: "X" },
], ],
cmtflg: [
{ label: "代理行模式", value: "C" },
{ label: "Other", value: "O" },
{ label: "CIPS系统", value: "P" },
],
cmpflg: [ cmpflg: [
{ label: "不计复息", value: "0" }, { label: "不计复息", value: "0" },
{ label: "计复息", value: "1" }, { label: "计复息", value: "1" },
...@@ -4424,6 +4431,7 @@ const CodeTable = { ...@@ -4424,6 +4431,7 @@ const CodeTable = {
{ label: "票汇", value: "D" }, { label: "票汇", value: "D" },
{ label: "电汇", value: "T" }, { label: "电汇", value: "T" },
{ label: "信汇", value: "M" }, { label: "信汇", value: "M" },
{ label: "保函", value: "G" },
], ],
methods1: [ methods1: [
{ label: "票汇", value: "D" }, { label: "票汇", value: "D" },
......
...@@ -21,7 +21,7 @@ export default { ...@@ -21,7 +21,7 @@ export default {
"didgrp.cbs.opn1.amt":[ "didgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {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":[ "bdtp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -354,7 +354,7 @@ export default { ...@@ -354,7 +354,7 @@ export default {
{max: 80,message:"长度不能超过80"} {max: 80,message:"长度不能超过80"}
], ],
"bodgrp.srm.djudat":[ "bodgrp.srm.djudat":[
{type: "date", required: false, message: "输入正确的日期"} //{type: "date", required: false, message: "输入正确的日期"}
], ],
"bodgrp.srm.djuref":[ "bodgrp.srm.djuref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -15,6 +15,7 @@ export default class Cctsel { ...@@ -15,6 +15,7 @@ export default class Cctsel {
dspbpd: "", // Display BPE Contract .dspbpd dspbpd: "", // Display BPE Contract .dspbpd
dspbpdclsdat: "", // Display Closing Date of Advance .dspbpdclsdat dspbpdclsdat: "", // Display Closing Date of Advance .dspbpdclsdat
cfgfil: { cfgfil: {
btnstm:[],
bitmap: "", // Bitmap for folder .cfgfil.bitmap bitmap: "", // Bitmap for folder .cfgfil.bitmap
regside1: "", // Regside .cfgfil.regside1 regside1: "", // Regside .cfgfil.regside1
regside2: "", // Regside .cfgfil.regside2 regside2: "", // Regside .cfgfil.regside2
......
...@@ -4,7 +4,7 @@ export default { ...@@ -4,7 +4,7 @@ export default {
], ],
"decreatxt":[ "decreatxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 32500,message:"长度不能超过32500"}
], ],
...@@ -33,11 +33,11 @@ export default { ...@@ -33,11 +33,11 @@ export default {
], ],
"gidgrp.blk.covgodsrv":[ "gidgrp.blk.covgodsrv":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 350,message:"长度不能超过350"}
], ],
"gidgrp.blk.atxcovgodsrv":[ "gidgrp.blk.atxcovgodsrv":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 650,message:"长度不能超过650"}
], ],
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
], ],
"gidgrp.ghd.remark":[ "gidgrp.ghd.remark":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 245,message:"长度不能超过245"}
], ],
"gidgrp.rec.mannum":[ "gidgrp.rec.mannum":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -99,7 +99,7 @@ export default { ...@@ -99,7 +99,7 @@ export default {
], ],
"gidgrp.blk.addinf":[ "gidgrp.blk.addinf":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 700,message:"长度不能超过700"}
], ],
...@@ -123,11 +123,11 @@ export default { ...@@ -123,11 +123,11 @@ export default {
], ],
"gidgrp.blk.covgodsrvc":[ "gidgrp.blk.covgodsrvc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 32500,message:"长度不能超过32500"}
], ],
"gidgrp.blk.atxcovgodsrvc":[ "gidgrp.blk.atxcovgodsrvc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 32500,message:"长度不能超过32500"}
], ],
...@@ -172,7 +172,7 @@ export default { ...@@ -172,7 +172,7 @@ export default {
], ],
"gidgrp.blk.addinfc":[ "gidgrp.blk.addinfc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 700,message:"长度不能超过700"}
], ],
"gidgrp.ghd.zsjzts":[ "gidgrp.ghd.zsjzts":[
...@@ -248,11 +248,11 @@ export default { ...@@ -248,11 +248,11 @@ export default {
"gidgrp.blk.gidtxt":[ "gidgrp.blk.gidtxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 32500,message:"长度不能超过32500"}
], ],
"gidgrp.blk.gtxgidtxt":[ "gidgrp.blk.gtxgidtxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 32500,message:"长度不能超过32500"}
], ],
...@@ -266,7 +266,7 @@ export default { ...@@ -266,7 +266,7 @@ export default {
"gidgrp.blk.gidtxtc":[ "gidgrp.blk.gidtxtc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 32500,message:"长度不能超过32500"}
], ],
"gidgrp.blk.gtxgidtxtc":[ "gidgrp.blk.gtxgidtxtc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -315,11 +315,11 @@ export default { ...@@ -315,11 +315,11 @@ export default {
], ],
"gidgrp.blk.exptxt":[ "gidgrp.blk.exptxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 780,message:"长度不能超过780"}
], ],
"gidgrp.blk.atxexptxt":[ "gidgrp.blk.atxexptxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 780,message:"长度不能超过780"}
], ],
...@@ -335,20 +335,20 @@ export default { ...@@ -335,20 +335,20 @@ export default {
"gidgrp.blk.deltoadr":[ "gidgrp.blk.deltoadr":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 210,message:"长度不能超过210"}
], ],
"gidgrp.blk.feetxt":[ "gidgrp.blk.feetxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 210,message:"长度不能超过210"}
], ],
"gidgrp.blk.preper":[ "gidgrp.blk.preper":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 6500,message:"长度不能超过6500"}
], ],
"gidgrp.blk.atxpreper":[ "gidgrp.blk.atxpreper":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 6500,message:"长度不能超过6500"}
], ],
...@@ -357,7 +357,7 @@ export default { ...@@ -357,7 +357,7 @@ export default {
"gidgrp.blk.trfcond":[ "gidgrp.blk.trfcond":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 780,message:"长度不能超过780"}
], ],
"gidgrp.rec.deloritxtc":[ "gidgrp.rec.deloritxtc":[
...@@ -366,13 +366,13 @@ export default { ...@@ -366,13 +366,13 @@ export default {
], ],
"gidgrp.blk.feetxtc":[ "gidgrp.blk.feetxtc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 210,message:"长度不能超过210"}
], ],
"gidgrp.blk.deltoadrc":[ "gidgrp.blk.deltoadrc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 210,message:"长度不能超过210"}
], ],
"gidgrp.blk.preperc":[ "gidgrp.blk.preperc":[
...@@ -381,7 +381,7 @@ export default { ...@@ -381,7 +381,7 @@ export default {
], ],
"gidgrp.blk.atxpreperc":[ "gidgrp.blk.atxpreperc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 6500,message:"长度不能超过6500"}
], ],
...@@ -390,7 +390,7 @@ export default { ...@@ -390,7 +390,7 @@ export default {
"gidgrp.blk.trfcondc":[ "gidgrp.blk.trfcondc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 780,message:"长度不能超过780"}
], ],
"gidgrp.apc.pts.ref":[ "gidgrp.apc.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -436,7 +436,7 @@ export default { ...@@ -436,7 +436,7 @@ export default {
], ],
"gidgrp.apc.pts.adrblk":[ "gidgrp.apc.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"gidgrp.apc.dbfadrblkcn":[ "gidgrp.apc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -444,7 +444,7 @@ export default { ...@@ -444,7 +444,7 @@ export default {
], ],
"gidgrp.iss.pts.adrblk":[ "gidgrp.iss.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"gidgrp.iss.dbfadrblkcn":[ "gidgrp.iss.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -503,7 +503,7 @@ export default { ...@@ -503,7 +503,7 @@ export default {
], ],
"gidgrp.ctc.pts.adrblk":[ "gidgrp.ctc.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"gidgrp.ctc.dbfadrblkcn":[ "gidgrp.ctc.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -511,7 +511,7 @@ export default { ...@@ -511,7 +511,7 @@ export default {
], ],
"gidgrp.ben.pts.adrblk":[ "gidgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"gidgrp.ben.dbfadrblkcn":[ "gidgrp.ben.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -548,7 +548,7 @@ export default { ...@@ -548,7 +548,7 @@ export default {
], ],
"gidgrp.bec.pts.adrblk":[ "gidgrp.bec.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"gidgrp.bec.dbfadrblkcn":[ "gidgrp.bec.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -609,7 +609,7 @@ export default { ...@@ -609,7 +609,7 @@ export default {
"gidgrp.apl.pts.adrblk":[ "gidgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"gidgrp.apl.dbfadrblkcn":[ "gidgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -706,7 +706,7 @@ export default { ...@@ -706,7 +706,7 @@ export default {
], ],
"gidgrp.con.pts.adrblk":[ "gidgrp.con.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"gidgrp.con.dbfadrblkcn":[ "gidgrp.con.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -714,7 +714,7 @@ export default { ...@@ -714,7 +714,7 @@ export default {
], ],
"gidgrp.bdb.pts.adrblk":[ "gidgrp.bdb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"gidgrp.bdb.dbfadrblkcn":[ "gidgrp.bdb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -722,7 +722,7 @@ export default { ...@@ -722,7 +722,7 @@ export default {
], ],
"gidgrp.ctr.pts.adrblk":[ "gidgrp.ctr.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"gidgrp.ctr.dbfadrblkcn":[ "gidgrp.ctr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -734,7 +734,7 @@ export default { ...@@ -734,7 +734,7 @@ export default {
], ],
"gidgrp.atb.pts.adrblk":[ "gidgrp.atb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"gidgrp.atb.dbfadrblkcn":[ "gidgrp.atb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -861,7 +861,7 @@ export default { ...@@ -861,7 +861,7 @@ export default {
], ],
"gidgrp.adv.pts.adrblk":[ "gidgrp.adv.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"gidgrp.adv.dbfadrblkcn":[ "gidgrp.adv.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -898,11 +898,11 @@ export default { ...@@ -898,11 +898,11 @@ export default {
"gidgrp.blk.liatxtc":[ "gidgrp.blk.liatxtc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 780,message:"长度不能超过780"}
], ],
"gidgrp.blk.atxliatxtc":[ "gidgrp.blk.atxliatxtc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 780,message:"长度不能超过780"}
], ],
......
...@@ -171,4 +171,44 @@ export default { ...@@ -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
...@@ -250,6 +250,9 @@ export default class Infccd{ ...@@ -250,6 +250,9 @@ export default class Infccd{
}, },
}, },
ccdgrp:{ ccdgrp:{
rec:{
inr:"",
},
blk:{ blk:{
setins:"", // Settlement Instructions .ccdgrp.blk.setins setins:"", // Settlement Instructions .ccdgrp.blk.setins
}, },
......
...@@ -4,6 +4,7 @@ import Utils from "~/utils" ...@@ -4,6 +4,7 @@ import Utils from "~/utils"
* Trtopn Check规则 * Trtopn Check规则
*/ */
let checkObj = { let checkObj = {
"liaall.misamt" :null,
"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,
...@@ -82,6 +83,7 @@ let checkObj = { ...@@ -82,6 +83,7 @@ let checkObj = {
"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,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -12,7 +12,7 @@ export default { ...@@ -12,7 +12,7 @@ export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction, "liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"trtmod.finmod.dinjdm" :Utils.defaultFunction, "trtmod.finmod.dinjdm" :Utils.defaultFunction,
"trdgrp.cbs.max.amt" :Utils.defaultFunction, "trdgrp.cbs.max.amt" :Utils.defaultFunction,
"trdgrp.rec.fintyp" :Utils.defaultFunction, "trdgrp.rec.fintyp1" :Utils.defaultFunction,
"trdgrp.cbs.max.cur" :Utils.defaultFunction, "trdgrp.cbs.max.cur" :Utils.defaultFunction,
"trtmod.finmod.act1" :Utils.defaultFunction, "trtmod.finmod.act1" :Utils.defaultFunction,
"trtmod.finmod.acttyp" :Utils.defaultFunction, "trtmod.finmod.acttyp" :Utils.defaultFunction,
...@@ -79,6 +79,7 @@ export default { ...@@ -79,6 +79,7 @@ export default {
"dftcre.dfdgrp.cbs.max.amt" :Utils.defaultFunction, "dftcre.dfdgrp.cbs.max.amt" :Utils.defaultFunction,
"trdgrp.rec.pctfin" :Utils.defaultFunction, "trdgrp.rec.pctfin" :Utils.defaultFunction,
"trtmod.finmod.dinmod.rmbsbs" :Utils.defaultFunction, "trtmod.finmod.dinmod.rmbsbs" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"dftcre.dfdgrp.rec.resamt" :Utils.defaultFunction, "dftcre.dfdgrp.rec.resamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
......
...@@ -254,7 +254,36 @@ export default { ...@@ -254,7 +254,36 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
onExtkey() {}, async onLiaallButmisamt(){
onSeainf() {}, 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 { ...@@ -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 Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Dids from "../Public/Dids"
import Pub from "../Public" import Pub from "../Public"
export default class Trtopn{ export default class Trtopn{
...@@ -13,7 +12,7 @@ export default class Trtopn{ ...@@ -13,7 +12,7 @@ export default class Trtopn{
ownref:"", // 融资编号 .trdgrp.rec.ownref ownref:"", // 融资编号 .trdgrp.rec.ownref
nam:"", // Name of Loan Contract .trdgrp.rec.nam nam:"", // Name of Loan Contract .trdgrp.rec.nam
issdat:"", // 开立日期 .trdgrp.rec.issdat issdat:"", // 开立日期 .trdgrp.rec.issdat
fintyp:"", // 融资品种 .trdgrp.rec.fintyp fintyp1:"", // 融资品种 .trdgrp.rec.fintyp
stagod:"", // Good's Code .trdgrp.rec.stagod stagod:"", // Good's Code .trdgrp.rec.stagod
guaflg:"", // 货押标识 .trdgrp.rec.guaflg guaflg:"", // 货押标识 .trdgrp.rec.guaflg
pctfin:"", // % Financed .trdgrp.rec.pctfin pctfin:"", // % Financed .trdgrp.rec.pctfin
...@@ -37,7 +36,7 @@ export default class Trtopn{ ...@@ -37,7 +36,7 @@ export default class Trtopn{
}, },
cbs:{ cbs:{
max:{ max:{
cur:"", // Currency .trdgrp.cbs.max.cur curtxt1:"", // Currency .trdgrp.cbs.max.cur
amt:"", // 融资金额 .trdgrp.cbs.max.amt amt:"", // 融资金额 .trdgrp.cbs.max.amt
}, },
}, },
...@@ -238,7 +237,6 @@ export default class Trtopn{ ...@@ -238,7 +237,6 @@ export default class Trtopn{
trnmod: new Pub().data.Trnmod, trnmod: new Pub().data.Trnmod,
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
} }
} }
......
...@@ -4,8 +4,6 @@ import Utils from "~/utils" ...@@ -4,8 +4,6 @@ import Utils from "~/utils"
* Trtsel Check规则 * Trtsel Check规则
*/ */
let checkObj = { let checkObj = {
"recget.sdamod.dadsnd" :null,
"dadsnd" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -6,15 +6,19 @@ import Api from "~/service/Api"; ...@@ -6,15 +6,19 @@ import Api from "~/service/Api";
import Utils from "~/utils/index" import Utils from "~/utils/index"
export default { export default {
"cfgfil.subtrn1" :Utils.defaultFunction,
"selbut.sptpenlab_descr" :Utils.defaultFunction,
"selbut.sptpenlab" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction, "trdgrp.rec.ownref" :Utils.defaultFunction,
"trdgrp.rec.fintyp" :Utils.defaultFunction, "trdgrp.fip.pts.nam" :Utils.defaultFunction,
"selbut.trnpenlab" :Utils.defaultFunction, "selbut.trnpenlab" :Utils.defaultFunction,
"selbut.trnpenlab_descr" :Utils.defaultFunction, "selbut.trnpenlab_descr" :Utils.defaultFunction,
"clsflg" :Utils.defaultFunction,
"trdgrp.rec.fintyp" :Utils.defaultFunction,
"cfgfil.subtxt10" :Utils.defaultFunction, "cfgfil.subtxt10" :Utils.defaultFunction,
"cfgfil.subtrn10" :Utils.defaultFunction, "cfgfil.subtrn10" :Utils.defaultFunction,
"cfgfil.subtrn11" :Utils.defaultFunction, "cfgfil.subtrn11" :Utils.defaultFunction,
"cfgfil.subtxt11" :Utils.defaultFunction, "cfgfil.subtxt11" :Utils.defaultFunction,
"cfgfil.subtrn1" :Utils.defaultFunction,
"cfgfil.subtxt1" :Utils.defaultFunction, "cfgfil.subtxt1" :Utils.defaultFunction,
"cfgfil.subtrn9" :Utils.defaultFunction, "cfgfil.subtrn9" :Utils.defaultFunction,
"cfgfil.subtxt9" :Utils.defaultFunction, "cfgfil.subtxt9" :Utils.defaultFunction,
...@@ -32,9 +36,5 @@ export default { ...@@ -32,9 +36,5 @@ export default {
"cfgfil.subtxt3" :Utils.defaultFunction, "cfgfil.subtxt3" :Utils.defaultFunction,
"cfgfil.subtrn2" :Utils.defaultFunction, "cfgfil.subtrn2" :Utils.defaultFunction,
"cfgfil.subtxt2" :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处理 //你可以添加自动default处理
...@@ -49,7 +49,6 @@ export default class Trtsel{ ...@@ -49,7 +49,6 @@ export default class Trtsel{
clsflg:"", // Show closed Contract .clsflg clsflg:"", // Show closed Contract .clsflg
cfgfil:{ cfgfil:{
bitmap:"", // Bitmap for folder .cfgfil.bitmap bitmap:"", // Bitmap for folder .cfgfil.bitmap
btnstm:"", //按钮数据
regside1:"", // Regside .cfgfil.regside1 regside1:"", // Regside .cfgfil.regside1
regside2:"", // Regside .cfgfil.regside2 regside2:"", // Regside .cfgfil.regside2
regside3:"", // Regside .cfgfil.regside3 regside3:"", // Regside .cfgfil.regside3
......
...@@ -285,7 +285,7 @@ ...@@ -285,7 +285,7 @@
<c-checkbox v-model="crefinflg" :disabled="model.bddgrp.rec.frepayflg === 'X' || model.paypsb ==='X'">融资</c-checkbox> <c-checkbox v-model="crefinflg" :disabled="model.bddgrp.rec.frepayflg === 'X' || model.paypsb ==='X'">融资</c-checkbox>
</c-col> </c-col>
<c-col :span="5"> <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>
<c-col :span="5"> <c-col :span="5">
<c-checkbox v-model="paypsb" :disabled="model.bddgrp.rec.frepayflg === 'X' || model.trtcre.crefinflg ==='X'">垫款</c-checkbox> <c-checkbox v-model="paypsb" :disabled="model.bddgrp.rec.frepayflg === 'X' || model.trtcre.crefinflg ==='X'">垫款</c-checkbox>
...@@ -410,7 +410,7 @@ ...@@ -410,7 +410,7 @@
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
<c-col :span="24" :offset="0"> <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"> :showSelection="true">
</c-istream-table> </c-istream-table>
</c-col> </c-col>
...@@ -578,6 +578,7 @@ export default { ...@@ -578,6 +578,7 @@ export default {
], ],
data: [], data: [],
}, },
clsflgFlg:false
}; };
}, },
computed: { computed: {
...@@ -601,10 +602,10 @@ export default { ...@@ -601,10 +602,10 @@ export default {
}, },
clsflg: { clsflg: {
get() { get() {
return this.model.mtabut.clsflg != '' return this.model.mtabut.clsflg=='C';
}, },
set(val) { set(val) {
this.model.mtabut.clsflg = val ? "X" : "" this.model.mtabut.clsflg = val ? "C" : "O"
} }
}, },
paypsb: { paypsb: {
...@@ -648,12 +649,61 @@ export default { ...@@ -648,12 +649,61 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
clounmSetting(){ async multipleSelect(selection) {
this.executeDefault("liaall.tenstmt").then((res) => { if (selection.length > 1) {
if ((res.respCode == SUCCESS)) { this.$notify({
Utils.copyValueFromVO(this.model, res.data); 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(){ frepayflgDefault(){
this.executeDefault("setmod.redamt").then((res) => { this.executeDefault("setmod.redamt").then((res) => {
...@@ -678,7 +728,7 @@ export default { ...@@ -678,7 +728,7 @@ export default {
} }
}); });
}, },
clsflgDefault(){ clsflgOtherDefault(){
this.executeDefault("mtabut.clsflg").then((res) => { this.executeDefault("mtabut.clsflg").then((res) => {
if ((res.respCode == SUCCESS)) { if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data); Utils.copyValueFromVO(this.model, res.data);
......
...@@ -127,6 +127,7 @@ import Engp from "~/views/Public/Engp" ...@@ -127,6 +127,7 @@ import Engp from "~/views/Public/Engp"
export default { export default {
name: "botame",
components:{ components:{
"m-amep" : Amep, "m-amep" : Amep,
"m-ovwp" : Ovwp, "m-ovwp" : Ovwp,
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<c-col :span="1"> <c-col :span="1">
</c-col> </c-col>
<c-col :span="3" style="text-align: right"> <c-col :span="3" style="text-align: right">
<c-button style="margin:0 0" size="small" type="primary" :disabled="this.flag" @click="onBotpButgetref"> <c-button style="margin:0 0" size="small" type="primary" :disabled="this.model.bodgrp.drr.pts.extkey==''" @click="onBotpButgetref">
获取 获取
</c-button> </c-button>
</c-col> </c-col>
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
<c-col :span="24"> <c-col :span="24">
<c-table max-height="300px" style="text-align: center;" stripe :list="this.model.botp.ptsaddp.ptsaddg || []" <c-table max-height="300px" style="text-align: center;" stripe :list="this.model.botp.ptsaddp.ptsaddg || []"
:paginationShow="false" :border="true"> :paginationShow="false" :border="true">
<el-table-column label="Additional Parties">
<el-table-column label="角色" width="auto" prop="rol"> <el-table-column label="角色" width="auto" prop="rol">
<template slot-scope="scope"> <template slot-scope="scope">
<c-select v-model="scope.row.rol" :code="ptyp2"> <c-select v-model="scope.row.rol" :code="ptyp2">
...@@ -71,6 +72,7 @@ ...@@ -71,6 +72,7 @@
</el-button> </el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table-column>
</c-table> </c-table>
</c-col> </c-col>
......
...@@ -81,19 +81,19 @@ ...@@ -81,19 +81,19 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="结汇金额" prop="bopmod.dbdgrp.bas.lcyamt"> <el-form-item label="结汇金额" prop="bopmod.dbdgrp.bas.lcyamt">
<c-input v-model="model.bopmod.dbdgrp.bas.lcyamt" placeholder="请输入结汇金额"></c-input> <c-input-currency v-model="model.bopmod.dbdgrp.bas.lcyamt" placeholder="请输入结汇金额"></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="现汇金额" prop="bopmod.dbdgrp.bas.fcyamt"> <el-form-item label="现汇金额" prop="bopmod.dbdgrp.bas.fcyamt">
<c-input v-model="model.bopmod.dbdgrp.bas.fcyamt" placeholder="请输入现汇金额"></c-input> <c-input-currency v-model="model.bopmod.dbdgrp.bas.fcyamt" placeholder="请输入现汇金额"></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="其它金额" prop="bopmod.dbdgrp.bas.othamt"> <el-form-item label="其它金额" prop="bopmod.dbdgrp.bas.othamt">
<c-input v-model="model.bopmod.dbdgrp.bas.othamt" placeholder="请输入其它金额"></c-input> <c-input-currency v-model="model.bopmod.dbdgrp.bas.othamt" placeholder="请输入其它金额"></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
<c-col :span="14"> <c-col :span="14">
<el-form-item label="" prop="bopmod.dbdgrp.bas.txamt" label-width="5px"> <el-form-item label="" prop="bopmod.dbdgrp.bas.txamt" label-width="5px">
<c-input disabled v-model="model.bopmod.dbdgrp.bas.txamt" placeholder="请输入收入款币种及金额"></c-input> <c-input-currency disabled v-model="model.bopmod.dbdgrp.bas.txamt" placeholder="请输入收入款币种及金额"></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -239,7 +239,7 @@ ...@@ -239,7 +239,7 @@
<c-col :span="14"> <c-col :span="14">
<el-form-item label="" prop="bopmod.dbdgrp.bas.inchargeamt" label-width="5px"> <el-form-item label="" prop="bopmod.dbdgrp.bas.inchargeamt" label-width="5px">
<c-input disabled v-model="model.bopmod.dbdgrp.bas.inchargeamt" placeholder="请输入国内银行扣费"></c-input> <c-input-currency disabled v-model="model.bopmod.dbdgrp.bas.inchargeamt" placeholder="请输入国内银行扣费"></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-col> </el-col>
......
...@@ -295,9 +295,10 @@ ...@@ -295,9 +295,10 @@
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<c-checkbox v-model="model.bodgrp.rec.focflg" @change="change" <el-form-item label="" prop="bodgrp.rec.focflg">
>Free of Payment</c-checkbox <c-checkbox v-model="model.bodgrp.rec.focflg"
> >Free of Payment</c-checkbox>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Reduction Amt." prop="setmod.doccur"> <el-form-item label="Reduction Amt." prop="setmod.doccur">
...@@ -333,11 +334,12 @@ ...@@ -333,11 +334,12 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="mtabut.clsflg">
<c-checkbox <c-checkbox
:disabled="this.flag1" :disabled="this.flag1"
v-model="model.mtabut.clsflg" v-model="model.mtabut.clsflg"
>Close Contract</c-checkbox >Close Contract</c-checkbox>
> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
...@@ -436,20 +438,13 @@ export default { ...@@ -436,20 +438,13 @@ export default {
computed: { computed: {
clsflg: { clsflg: {
get() { get() {
return this.model.mtabut.clsflg === "X"; return this.model.mtabut.clsflg === "O";
},
set(val) {
this.model.mtabut.clsflg = val ? "x" : "";
},
},
focflg: {
get() {
return this.model.bedgrp.rec.focflg === "X";
}, },
set(val) { set(val) {
this.model.bedgrp.rec.focflg = val ? "X" : ""; this.model.mtabut.clsflg = val ? "C" : "O";
}, },
}, },
flag() { flag() {
return this.model.mtabut.coninf.usr.extkey == ""; return this.model.mtabut.coninf.usr.extkey == "";
}, },
...@@ -458,34 +453,24 @@ export default { ...@@ -458,34 +453,24 @@ export default {
this.$nextTick(() => {}); this.$nextTick(() => {});
}, },
// watch:{
// "model.setmod.docamt":function(){
// if(this.model.bodgrp.cbs.opn1.amt==this.model.setmod.docamt){
// this.model.mtabut.clsflg = "X";
// }
// },
// },
methods: { methods: {
...Event, ...Event,
async change1(){ async change1(){
if(this.model.bodgrp.cbs.opn1.amt<=this.model.setmod.docamt){ if(this.model.bodgrp.cbs.opn1.amt<=this.model.setmod.docamt){
this.model.mtabut.clsflg = "X"; this.flag1=false;
this.flag1=false;} this.model.mtabut.clsflg = "O";
}
else if(this.model.bodgrp.cbs.opn1.amt>this.model.setmod.docamt){ else if(this.model.bodgrp.cbs.opn1.amt>this.model.setmod.docamt){
this.model.mtabut.clsflg = "";
this.flag1=true; this.flag1=true;
this.model.mtabut.clsflg = "C";
}}, }},
async change() { // async change() {
if (this.model.bodgrp.rec.focflg === "X") { // if (this.model.bodgrp.rec.focflg === "X") {
this.model.setmod.redamt = this.model.setmod.docamt; // this.model.setmod.redamt = this.model.setmod.docamt;
// let rtnmsg = await this.executeDefault("setmod.redamt"); // } else {
// this.model.bodgrp.rec.docsta ="D" // this.model.setmod.redamt = "0.00";
} else { // }
this.model.setmod.redamt = "0.00"; // },
// let rtnmsg = await this.executeDefault("setmod.redamt");
// this.model.bodgrp.rec.docsta = rtnmsg.data.bodgrp_rec_docsta;
}
},
async multipleSelect(selection) { async multipleSelect(selection) {
if (selection.length > 1) { if (selection.length > 1) {
this.$notify({ this.$notify({
...@@ -497,10 +482,8 @@ export default { ...@@ -497,10 +482,8 @@ export default {
let chkIds; let chkIds;
if (selection.length === 0) { if (selection.length === 0) {
chkIds = []; chkIds = [];
this.$nextTick(async () => {
this.model.setmod.docamt = "0.00";
})
this.model.liaall.tensetstm.rows = []; this.model.liaall.tensetstm.rows = [];
this.flag1=true;
} else { } else {
chkIds = [selection[0] + 1]; chkIds = [selection[0] + 1];
} }
......
...@@ -298,7 +298,11 @@ export default { ...@@ -298,7 +298,11 @@ export default {
}, },
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
this.executeRule("bopmod.dbcp.basp").then((res) => {
if (res.respCode == SUCCESS) {
this.copyValueFromVO(res.data);
}
});
} }
} }
</script> </script>
......
...@@ -298,7 +298,11 @@ export default { ...@@ -298,7 +298,11 @@ export default {
}, },
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
this.executeRule("bopmod.dbfp.basp").then((res) => {
if (res.respCode == SUCCESS) {
this.copyValueFromVO(res.data);
}
});
} }
} }
</script> </script>
......
...@@ -325,7 +325,11 @@ export default { ...@@ -325,7 +325,11 @@ export default {
}, },
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
this.executeRule("bopmod.dbdp.basp").then((res) => {
if (res.respCode == SUCCESS) {
this.copyValueFromVO(res.data);
}
});
} }
} }
</script> </script>
......
...@@ -341,7 +341,11 @@ export default { ...@@ -341,7 +341,11 @@ export default {
}, },
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
this.executeRule("bopmod.dbap.basp").then((res) => {
if (res.respCode == SUCCESS) {
this.copyValueFromVO(res.data);
}
});
} }
} }
</script> </script>
......
...@@ -239,11 +239,11 @@ export default { ...@@ -239,11 +239,11 @@ export default {
this.basflgEnable = true; this.basflgEnable = true;
this.model.bopmod.acttyp =""; this.model.bopmod.acttyp ="";
this.model.bopmod.ownextkey =""; this.model.bopmod.ownextkey ="";
}else if(this.model.bopmod.szflg == '2'){ }else if(this.model.bopmod.szflg == '2'){
this.model.bopmod.acttyp =""; this.model.bopmod.acttyp ="";
this.model.bopmod.outchargeamt="0.00"; this.model.bopmod.outchargeamt="0.00";
} }
}, },
}, },
watch:{ watch:{
......
...@@ -304,7 +304,11 @@ export default { ...@@ -304,7 +304,11 @@ export default {
}, },
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
this.executeRule("bopmod.dbbp.basp").then((res) => {
if (res.respCode == SUCCESS) {
this.copyValueFromVO(res.data);
}
});
} }
} }
</script> </script>
......
...@@ -304,7 +304,11 @@ export default { ...@@ -304,7 +304,11 @@ export default {
}, },
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
this.executeRule("bopmod.dbep.basp").then((res) => {
if (res.respCode == SUCCESS) {
this.copyValueFromVO(res.data);
}
});
} }
} }
</script> </script>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<c-col :span="14"> <c-col :span="14">
<el-form-item label="Additional Amount" prop="gidgrp.cbs.mac2.cur"> <el-form-item
<c-input disabled v-model="model.gidgrp.cbs.mac2.cur" maxlength="3" placeholder="请输入Additional Amount"></c-input> label="Additional Amount"
</el-form-item> prop="gidgrp.cbs.mac2.cur"
</c-col> >
<c-col :span="10"> <c-input
<c-input v-model="model.gidgrp.cbs.mac2.amt" placeholder="请输入Balance"></c-input> disabled
</c-col> v-model="model.gidgrp.cbs.mac2.cur"
</c-col> maxlength="3"
placeholder="请输入Additional Amount"
></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label-width="5px" prop="gidgrp.cbs.mac2.amt">
<c-input
v-model="model.gidgrp.cbs.mac2.amt"
placeholder="请输入Balance"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="14"> <c-col :span="14">
<el-form-item label="Open Add. Amount" prop="gidgrp.cbs.opc2.cur"> <el-form-item label="Open Add. Amount" prop="gidgrp.cbs.opc2.cur">
<c-input disabled v-model="model.gidgrp.cbs.opc2.cur" maxlength="3" placeholder="请输入Open Add. Amount"></c-input> <c-input
</el-form-item> disabled
</c-col> v-model="model.gidgrp.cbs.opc2.cur"
<c-col :span="10"> maxlength="3"
<c-input disabled v-model="model.gidgrp.cbs.opc2.amt" placeholder="请输入Balance"></c-input> placeholder="请输入Open Add. Amount"
</c-col> ></c-input>
</c-col> </el-form-item>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="10">
<c-col :span="24"> <el-form-item label-width="5px" prop="gidgrp.cbs.opc2.amt">
<el-form-item label="Covered" prop="gidgrp.blk.addamtcovc"> <c-input
<c-input type="textarea" :rows="4" v-model="model.gidgrp.blk.addamtcovc" maxlength="65" show-word-limit placeholder="请输入Covered" ></c-input> disabled
</el-form-item> v-model="model.gidgrp.cbs.opc2.amt"
</c-col> placeholder="请输入Balance"
></c-input>
</el-form-item>
</c-col> </c-col>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Covered" prop="gidgrp.blk.addamtcovc">
<c-input
type="textarea"
:rows="4"
v-model="model.gidgrp.blk.addamtcovc"
maxlength="65"
show-word-limit
placeholder="请输入Covered"
></c-input>
</el-form-item>
</c-col>
</c-col> </c-col>
</c-col>
</c-row> </c-row>
<!-- <c-col :span="12">
<el-form-item label="Additional Amount" prop="gidgrp.cbs.mac2.cur">
<c-input v-model="model.gidgrp.cbs.mac2.cur" maxlength="3" placeholder="请输入Additional Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="gidgrp.cbs.mac2.amt">
<c-input v-model="model.gidgrp.cbs.mac2.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Add. Amount" prop="gidgrp.cbs.opc2.cur">
<c-input v-model="model.gidgrp.cbs.opc2.cur" maxlength="3" placeholder="请输入Open Add. Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="gidgrp.cbs.opc2.amt">
<c-input v-model="model.gidgrp.cbs.opc2.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Covered" prop="gidgrp.blk.addamtcovc">
<c-input type="textarea" v-model="model.gidgrp.blk.addamtcovc" maxlength="65" show-word-limit placeholder="请输入Covered" ></c-input>
</el-form-item>
</c-col> -->
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitpop/Event" import Event from "~/model/Gitpop/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
},
} methods: { ...Event },
}, created: function () {},
methods:{...Event}, };
created:function(){
}
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row>
<c-row> <c-col :span="24">
<c-col :span="24"> <c-col :span="11">
<c-col :span="11"> <c-col :span="24">
<c-col :span="24"> <el-form-item
<el-form-item label="Validity for Declaration of Readiness" prop="decreadat"> label="Validity for Declaration of Readiness"
<c-date-picker type="date" v-model="model.decreadat" style="width:100%" placeholder="请选择Validity for Declaration of Readiness"></c-date-picker> prop="decreadat"
</el-form-item> >
</c-col> <c-date-picker
</c-col> type="date"
v-model="model.decreadat"
style="width: 100%"
placeholder="请选择Validity for Declaration of Readiness"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Declaration of Readiness Text" prop="decreatxt"> <el-form-item
<c-fullbox> label="Declaration of Readiness Text"
<c-input type="textarea" rows="5s" v-model="model.decreatxt" maxlength="65" show-word-limit placeholder="请输入Declaration of Readiness Text" ></c-input> prop="decreatxt"
<template slot="footer"> >
<c-button size="small" type="primary" icon="el-icon-search" @click="onDecblkButtxmsel"> <c-fullbox>
... <c-input
</c-button> type="textarea"
</template> rows="5s"
</c-fullbox> v-model="model.decreatxt"
</el-form-item> maxlength="32500"
</c-col> show-word-limit
</c-col> placeholder="请输入Declaration of Readiness Text"
</c-col> ></c-input>
</c-row> <template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onDecblkButtxmsel"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitpop/Event" import Event from "~/model/Gitpop/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
},
} methods: { ...Event },
}, created: function () {},
methods:{...Event}, };
created:function(){
}
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="16"> <c-col :span="16">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Guarantee Text with Variables" prop="gidgrp.blk.gidtxt"> <el-form-item
<i-stream-input :disabled="model.gitp.gidtxtmodflg == ''" type="textarea" rows="15" :model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables"></i-stream-input> label="Guarantee Text with Variables"
<!-- <c-input :disabled="model.gitp.gidtxtmodflg == ''" type="textarea" rows="15" v-model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></c-input> --> prop="gidgrp.blk.gidtxt"
</el-form-item> >
</c-col> <i-stream-input
</c-col> :disabled="model.gitp.gidtxtmodflg == ''"
<c-col :span="6"> type="textarea"
<c-col :span="24"> rows="15"
<c-checkbox v-model="model.gitp.gidtxtmodflg" style="margin:0 0 0 10px">Modify Guarantee Text</c-checkbox> :model="model.gidgrp.blk.gidtxt"
</c-col> maxlength="32500"
<c-col :span="24"> show-word-limit
<c-checkbox v-model="model.gitp.chkgidtxt" style="margin:0 0 0 10px">Allow *</c-checkbox> placeholder="请输入Guarantee Text with Variables"
</c-col> ></i-stream-input>
<!-- <c-input :disabled="model.gitp.gidtxtmodflg == ''" type="textarea" rows="15" v-model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></c-input> -->
<c-col :span="24"> </el-form-item>
<c-button :disabled="model.gitp.gidtxtmodflg == ''" size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdif"> </c-col>
vs. &System </c-col>
</c-button> <c-col :span="6">
</c-col> <c-col :span="24">
<c-checkbox
v-model="model.gitp.gidtxtmodflg"
style="margin: 0 0 0 10px"
>Modify Guarantee Text</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="model.gitp.chkgidtxt"
style="margin: 0 0 0 10px"
>Allow *</c-checkbox
>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifhis"> <c-button
vs. &History :disabled="model.gitp.gidtxtmodflg == ''"
</c-button> size="small"
</c-col> type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpButdif"
>
vs. &System
</c-button>
</c-col>
<template v-if="model.gitp.gidtxtmodflg=='X'"> <c-col :span="24">
<c-col :span="24"> <c-button
<c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpShwgidtxt"> size="small"
Show&Text type="primary"
</c-button> style="margin: 5px 0 0 10px; width: 50%"
</c-col> @click="onGitpButdifhis"
</template> >
vs. &History
<c-col :span="24"> </c-button>
<c-input </c-col>
style="margin:5px 0 0 10px;width:50%"
v-model="model.gidgrp.rec.ownref" <template v-if="model.gitp.gidtxtmodflg == 'X'">
maxlength="16" <c-col :span="24">
placeholder="请输入Reference" <c-button
></c-input> size="small"
</c-col> type="primary"
<c-col :span="24"> style="margin: 5px 0 0 10px; width: 50%"
<c-button @click="onGitpShwgidtxt"
disabled >
style="margin:5px 0 0 10px" Show&Text
size="small" </c-button>
type="primary"
@click="onGitpButgetref"
>
获取
</c-button>
</c-col>
<c-col :span="24">
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpGidtxtmod">
修改中文保函文本
</c-button>
</c-col>
</c-col> </c-col>
</template>
<c-col :span="24">
<c-input
style="margin: 5px 0 0 10px; width: 50%"
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
></c-input>
</c-col>
<c-col :span="24">
<c-button
disabled
style="margin: 5px 0 0 10px"
size="small"
type="primary"
@click="onGitpButgetref"
>
获取
</c-button>
</c-col>
<c-col :span="24">
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpGidtxtmod"
>
修改中文保函文本
</c-button>
</c-col>
</c-col> </c-col>
</c-col>
</c-row> </c-row>
<!-- <c-col :span="12">
<c-checkbox v-model="model.gitp.gidtxtmodflg">Modify Guarantee Text</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Guarantee Text" prop="gidgrp.blk.gidtxt">
<c-input type="textarea" v-model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt">
<c-input type="textarea" v-model="model.gidgrp.blk.gtxgidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.chkgidtxt">Allow *</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdif">
vs. S&ystem
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifhis">
vs. &History
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpShwgidtxt">
Sho&w Text
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpGidtxtmod">
修改中文保函文本
</c-button>
</c-col> -->
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import IStreamInput from '~/components/IStreamInput' import IStreamInput from "~/components/IStreamInput";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitpop/Event" import Event from "~/model/Gitpop/Event";
export default { export default {
components: {IStreamInput}, components: { IStreamInput },
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
} },
}, methods: { ...Event },
methods:{...Event}, created: function () {},
created:function(){ };
}
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="16"> <c-col :span="16">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt"> <el-form-item
<c-input :disabled="model.gitp.gidtxtmodflgc == ''" type="textarea" rows="15" v-model="model.gidgrp.blk.gtxgidtxtc" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></c-input> label="Guarantee Text with Variables"
</el-form-item> prop="gidgrp.blk.gtxgidtxt"
</c-col> >
</c-col> <c-input
<c-col :span="6"> :disabled="model.gitp.gidtxtmodflgc == ''"
<c-col :span="24"> type="textarea"
<c-input rows="15"
style="margin:5px 0 0 10px;width:50%" v-model="model.gidgrp.blk.gtxgidtxtc"
v-model="model.gidgrp.rec.ownref" maxlength="32500"
maxlength="16" show-word-limit
placeholder="请输入Reference" placeholder="请输入Guarantee Text with Variables"
></c-input> ></c-input>
</c-col> </el-form-item>
<c-col :span="24"> </c-col>
<c-button </c-col>
style="margin:5px 0 0 10px" <c-col :span="6">
size="small" <c-col :span="24">
type="primary" <c-input
@click="onGitpButgetref" style="margin: 5px 0 0 10px; width: 50%"
> v-model="model.gidgrp.rec.ownref"
获取 maxlength="16"
</c-button> placeholder="请输入Reference"
</c-col> ></c-input>
<c-col :span="24"> </c-col>
<c-checkbox v-model="model.gitp.gidtxtmodflgc" style="margin:0 0 0 10px">Modify Guarantee Text</c-checkbox> <c-col :span="24">
</c-col> <c-button
<c-col :span="24"> style="margin: 5px 0 0 10px"
<c-checkbox v-model="model.gitp.chkgidtxtc" style="margin:0 0 0 10px">Allow *</c-checkbox> size="small"
</c-col> type="primary"
@click="onGitpButgetref"
<c-col :span="24"> >
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifc"> 获取
vs. &System </c-button>
</c-button> </c-col>
</c-col> <c-col :span="24">
<c-checkbox
v-model="model.gitp.gidtxtmodflgc"
style="margin: 0 0 0 10px"
>Modify Guarantee Text</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="model.gitp.chkgidtxtc"
style="margin: 0 0 0 10px"
>Allow *</c-checkbox
>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpButdifhisc"> <c-button
vs. &History disabled
</c-button> size="small"
</c-col> type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpButdifc"
>
vs. &System
</c-button>
</c-col>
<template v-if="model.gitp.gidtxtmodflgc=='X'"> <c-col :span="24">
<c-col :span="24"> <c-button
<c-button size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpShwgidtxtc"> disabled
Show&Text size="small"
</c-button> type="primary"
</c-col> style="margin: 5px 0 0 10px; width: 50%"
</template> @click="onGitpButdifhisc"
>
vs. &History
</c-button>
</c-col>
<c-col :span="24"> <template v-if="model.gitp.gidtxtmodflgc == 'X'">
<c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:50%" @click="onGitpGidtxtmodc"> <c-col :span="24">
修改中文保函文本 <c-button
</c-button> size="small"
</c-col> type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpShwgidtxtc"
>
Show&Text
</c-button>
</c-col> </c-col>
</template>
<c-col :span="24">
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpGidtxtmodc"
>
修改中文保函文本
</c-button>
</c-col>
</c-col> </c-col>
</c-col>
</c-row> </c-row>
<!-- <c-col :span="12">
<el-form-item label="Guarantee Text local undertaking" prop="gidgrp.blk.gidtxtc">
<c-input type="textarea" v-model="model.gidgrp.blk.gidtxtc" maxlength="65" show-word-limit placeholder="请输入Guarantee Text local undertaking" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Guarantee Text with Variables - Counter Undertaking" prop="gidgrp.blk.gtxgidtxtc">
<c-input type="textarea" v-model="model.gidgrp.blk.gtxgidtxtc" maxlength="1" show-word-limit placeholder="请输入Guarantee Text with Variables - Counter Undertaking" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButgetrefc">
Get &Ref.
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.gidtxtmodflgc">Modify Guarantee Text - Local Undertaking Seq. C</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.chkgidtxtc">Allow *</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifc">
vs. S&ystem
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpButdifhisc">
vs. &History
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpShwgidtxtc">
Sho&w Text
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onGitpGidtxtmodc">
修改中文保函文本
</c-button>
</c-col> -->
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitpop/Event" import Event from "~/model/Gitpop/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
},
} methods: { ...Event },
}, created: function () {},
methods:{...Event}, };
created:function(){
}
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="是否SWIFT格式" prop="gitp.swiftflg"> <el-form-item label="是否SWIFT格式" prop="gitp.swiftflg">
<c-select v-model="model.gitp.swiftflg" style="width:100%" placeholder="请选择是否SWIFT格式"> <c-select
<el-option v-model="model.gitp.swiftflg"
v-for="item in codes.swiftflg" style="width: 100%"
:key="item.value" placeholder="请选择是否SWIFT格式"
:label="item.label" >
:value="item.value" <el-option
> v-for="item in codes.swiftflg"
</el-option> :key="item.value"
</c-select> :label="item.label"
</el-form-item> :value="item.value"
</c-col> >
</el-option>
<c-col :span="12"> </c-select>
<el-form-item label="是否对外担保" prop="gidgrp.rec.fingua"> </el-form-item>
<c-select disabled v-model="model.gidgrp.rec.fingua" style="width:100%" placeholder="请选择是否对外担保"> </c-col>
<el-option
v-for="item in codes.fingua" <c-col :span="12">
:key="item.value" <el-form-item label="是否对外担保" prop="gidgrp.rec.fingua">
:label="item.label" <c-select
:value="item.value" disabled
> v-model="model.gidgrp.rec.fingua"
</el-option> style="width: 100%"
</c-select> placeholder="请选择是否对外担保"
>
<el-option
v-for="item in codes.fingua"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select
disabled
v-model="model.gidgrp.rec.cfaguatyp"
style="width: 100%"
placeholder="请选择对外担保类型"
>
<el-option
v-for="item in codes.cfaguatyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="4" class="centerLable">
<c-col :span="12">
<c-col :span="24">
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select disabled v-model="model.gidgrp.rec.cfaguatyp" style="width:100%" placeholder="请选择对外担保类型">
<el-option
v-for="item in codes.cfaguatyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="4" class="centerLable">
<c-checkbox disabled v-model="model.gidgrp.rec.cmtflg">跨境人民币保函</c-checkbox> <c-checkbox disabled v-model="model.gidgrp.rec.cmtflg">跨境人民币保函</c-checkbox>
</c-col> --> </c-col> -->
</c-col> </c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<c-checkbox v-model="model.gidgrp.rec.cmtflg">跨境人民币保函</c-checkbox> <c-checkbox v-model="model.gidgrp.rec.cmtflg">跨境人民币保函</c-checkbox>
</c-col> --> </c-col> -->
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitpop/Event" import Event from "~/model/Gitpop/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model"], props: ["model"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
codes: { codes: {
...CodeTable, ...CodeTable,
}, },
} };
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
...@@ -450,7 +450,7 @@ ...@@ -450,7 +450,7 @@
:disabled="model.gcdgrp.rec.frepaylg=='X'" :disabled="model.gcdgrp.rec.frepaylg=='X'"
> >
<el-option <el-option
v-for="item in cmtflg" v-for="item in codes.cmtflg"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -733,13 +733,7 @@ export default { ...@@ -733,13 +733,7 @@ export default {
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {};
cmtflg: [
{ label: "代理行模式", value: "C" },
{ label: "Other", value: "O" },
{ label: "CIPS系统", value: "P" },
],
};
}, },
watch:{ watch:{
......
...@@ -49,6 +49,9 @@ ...@@ -49,6 +49,9 @@
v-model="model.cnybop.cnyout.spayercountrycode" v-model="model.cnybop.cnyout.spayercountrycode"
maxlength="3" maxlength="3"
placeholder="" placeholder=""
@keyup.enter.native="
showGridPromptDialog('cnybop.cnyout.spayercountrycode')
"
></c-input> ></c-input>
</c-col> </c-col>
<c-col :span="4" style="text-align: right"> <c-col :span="4" style="text-align: right">
...@@ -56,6 +59,16 @@ ...@@ -56,6 +59,16 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="
showGridPromptDialog(
'cnybop.outcty',
null,
null,
{ TXT: 'cnybop.cnyout.spayercountrycode' },
{ TXT: false },
'doxpDialog'
)
"
></c-button> ></c-button>
</c-col> </c-col>
</el-form-item> </el-form-item>
......
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
</el-tab-pane> </el-tab-pane>
<el-tab-pane <el-tab-pane
label="外付款/承兑通知书-基础信息" label="外付款/承兑通知书-基础信息"
name="basp" name="basp"
v-if="model.bopmod.basflg && model.bopmod.szflg == '1'" v-if="model.bopmod.basflg && model.bopmod.szflg == '1'"
> >
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
</el-tab-pane> </el-tab-pane>
<!--PD000130 --> <!--PD000130 -->
<el-tab-pane label="Payment 756 BEN USD 330.00" name="det756"> <el-tab-pane :label=this.det756Name name="det756">
<c-content> <c-content>
<m-det756 :model="model" :codes="codes" /> <m-det756 :model="model" :codes="codes" />
</c-content> </c-content>
...@@ -145,10 +145,10 @@ ...@@ -145,10 +145,10 @@
<!--PD000131 --> <!--PD000131 -->
<el-tab-pane <el-tab-pane
label="Payment 202 BEN USD 330.00" :label=this.det202cvName
name="det202cv" name="det202cv"
v-if=" v-if="
model.trnmod.cmtflg == '1' || model.trnmod.cmtflg == 'C' ||
model.gcdgrp.cbs.max.cur != 'CNY' model.gcdgrp.cbs.max.cur != 'CNY'
" "
> >
...@@ -243,6 +243,8 @@ export default { ...@@ -243,6 +243,8 @@ export default {
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
det202cvName:"Payment 202 PRB",
det756Name:"Payment 756 PRB" ,
tabVal: "gitsetp1", tabVal: "gitsetp1",
trnName: "gitset", trnName: "gitset",
model: new Gitset().data, model: new Gitset().data,
...@@ -253,6 +255,28 @@ export default { ...@@ -253,6 +255,28 @@ export default {
codes: { ...CodeTable }, codes: { ...CodeTable },
}; };
}, },
watch:{
"model.setmod.doccur":{
immediate:true,
handler(){
let cur = this.model.setmod.doccur;
let amt = this.model.setmod.docamt;
let doc = this.model.gcdgrp.rec.docprbrol
this.det202cvName= "Payment 202 "+doc+" "+cur+" "+ amt;
this.det756Name = "Payment 756 "+doc+" "+cur+" "+ amt;
}
},
"model.mtabut.clsflg":{
immediate:true,
handler(){
let cur = this.model.setmod.doccur;
let amt = this.model.setmod.docamt;
let doc = this.model.gcdgrp.rec.docprbrol
this.det202cvName= "Payment 202 "+doc+" "+cur+" "+ amt;
this.det756Name = "Payment 756 "+doc+" "+cur+" "+ amt;
}
},
},
methods: { methods: {
mimeTabClick(tab) { mimeTabClick(tab) {
this.tabClick(tab); this.tabClick(tab);
...@@ -282,6 +306,7 @@ export default { ...@@ -282,6 +306,7 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
this.model.mtabut.clsflg="X";
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false"> <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 --> <c-content>
<el-tab-pane label="Selection" name="infsea"> <m-infsea :model="model" :codes="codes" ref="infsea" />
</c-content>
<!--PD000006 -->
<!-- <el-tab-pane label="Selection" name="infsea">
<m-infsea :model="model" :codes="codes"/> <m-infsea :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000013 --> <!--PD000013 -->
<el-tab-pane label="Transactions" name="trnpan"> <!-- <el-tab-pane label="Transactions" name="trnpan">
<m-trnpan :model="model" :codes="codes"/> <m-trnpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000019 --> <!--PD000019 -->
<el-tab-pane label="CBS Info" name="cbsinfp"> <!-- <el-tab-pane label="CBS Info" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes"/> <m-cbsinfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000028 --> <!--PD000028 -->
<el-tab-pane label="CBE Info" name="cbeinfp"> <!-- <el-tab-pane label="CBE Info" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes"/> <m-cbeinfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000111 --> <!--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"/> <m-fepinfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000162 --> <!--PD000162 -->
<el-tab-pane label="SEP Info" name="sepinfp"> <!-- <el-tab-pane label="SEP Info" name="sepinfp">
<m-sepinfp :model="model" :codes="codes"/> <m-sepinfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000001 --> <!--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"/> <m-sepp0 :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000177 --> <!--PD000177 -->
<el-tab-pane label="GLE Bookings" name="gleinfp"> <!-- <el-tab-pane label="GLE Bookings" name="gleinfp">
<m-gleinfp :model="model" :codes="codes"/> <m-gleinfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000119 --> <!--PD000119 -->
<el-tab-pane label="SMH Info" name="smhinfp"> <!-- <el-tab-pane label="SMH Info" name="smhinfp">
<m-smhinfp :model="model" :codes="codes"/> <m-smhinfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000130 --> <!--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"/> <m-peninfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000147 --> <!--PD000147 -->
<el-tab-pane label="Engagement" name="liainfp"> <!-- <el-tab-pane label="Engagement" name="liainfp">
<m-liainfp :model="model" :codes="codes"/> <m-liainfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000005 --> <!--PD000005 -->
<el-tab-pane label="Print" name="prtpan"> <!-- <el-tab-pane label="Print" name="prtpan">
<m-prtpan :model="model" :codes="codes"/> <m-prtpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000185 --> <!--PD000185 -->
<el-tab-pane label="Order" name="ordpan"> <!-- <el-tab-pane label="Order" name="ordpan">
<m-ordpan :model="model" :codes="codes"/> <m-ordpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000029 --> <!--PD000029 -->
<el-tab-pane label="Order" name="ordp0"> <!-- <el-tab-pane label="Order" name="ordp0">
<m-ordp0 :model="model" :codes="codes"/> <m-ordp0 :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="DTA Fields" name="dtetag"> <!-- <el-tab-pane label="DTA Fields" name="dtetag">
<m-dtetag :model="model" :codes="codes"/> <m-dtetag :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000065 --> <!--PD000065 -->
<el-tab-pane label="Settlement Instructions" name="setinsp"> <!-- <el-tab-pane label="Settlement Instructions" name="setinsp">
<m-setinsp :model="model" :codes="codes"/> <m-setinsp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="Fee Conditions" name="fecp"> <!-- <el-tab-pane label="Fee Conditions" name="fecp">
<m-fecp :model="model" :codes="codes"/> <m-fecp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000204 --> <!--PD000204 -->
<el-tab-pane label="CIPS" name="cips"> <!-- <el-tab-pane label="CIPS" name="cips">
<m-cips :model="model" :codes="codes"/> <m-cips :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000449 --> <!--PD000449 -->
<el-tab-pane label="CIPS2.0" name="cips2"> <!-- <el-tab-pane label="CIPS2.0" name="cips2">
<m-cips2 :model="model" :codes="codes"/> <m-cips2 :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--PD000450 --> <!--PD000450 -->
<el-tab-pane label="CIPS2.0" name="cips3"> <!-- <el-tab-pane label="CIPS2.0" name="cips3">
<m-cips3 :model="model" :codes="codes"/> <m-cips3 :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
...@@ -115,49 +119,49 @@ import Check from "~/model/Infccd/Check" ...@@ -115,49 +119,49 @@ import Check from "~/model/Infccd/Check"
import Default from "~/model/Infccd/Default" import Default from "~/model/Infccd/Default"
import Pattern from "~/model/Infccd/Pattern" import Pattern from "~/model/Infccd/Pattern"
import Infsea from "./Infsea" import Infsea from "./Infsea"
import Trnpan from "./Trnpan" // import Trnpan from "./Trnpan"
import Cbsinfp from "./Cbsinfp" // import Cbsinfp from "./Cbsinfp"
import Cbeinfp from "./Cbeinfp" // import Cbeinfp from "./Cbeinfp"
import Fepinfp from "./Fepinfp" // import Fepinfp from "./Fepinfp"
import Sepinfp from "./Sepinfp" // import Sepinfp from "./Sepinfp"
import Sepp0 from "./Sepp0" // import Sepp0 from "./Sepp0"
import Gleinfp from "./Gleinfp" // import Gleinfp from "./Gleinfp"
import Smhinfp from "./Smhinfp" // import Smhinfp from "./Smhinfp"
import Peninfp from "./Peninfp" // import Peninfp from "./Peninfp"
import Liainfp from "./Liainfp" // import Liainfp from "./Liainfp"
import Prtpan from "./Prtpan" // import Prtpan from "./Prtpan"
import Ordpan from "./Ordpan" // import Ordpan from "./Ordpan"
import Ordp0 from "./Ordp0" // import Ordp0 from "./Ordp0"
import Dtetag from "./Dtetag" // import Dtetag from "./Dtetag"
import Setinsp from "./Setinsp" // import Setinsp from "./Setinsp"
import Fecp from "./Fecp" // import Fecp from "./Fecp"
import Cips from "./Cips" // import Cips from "./Cips"
import Cips2 from "./Cips2" // import Cips2 from "./Cips2"
import Cips3 from "./Cips3" // import Cips3 from "./Cips3"
export default { export default {
components:{ components:{
"m-infsea" : Infsea, "m-infsea" : Infsea,
"m-trnpan" : Trnpan, // "m-trnpan" : Trnpan,
"m-cbsinfp" : Cbsinfp, // "m-cbsinfp" : Cbsinfp,
"m-cbeinfp" : Cbeinfp, // "m-cbeinfp" : Cbeinfp,
"m-fepinfp" : Fepinfp, // "m-fepinfp" : Fepinfp,
"m-sepinfp" : Sepinfp, // "m-sepinfp" : Sepinfp,
"m-sepp0" : Sepp0, // "m-sepp0" : Sepp0,
"m-gleinfp" : Gleinfp, // "m-gleinfp" : Gleinfp,
"m-smhinfp" : Smhinfp, // "m-smhinfp" : Smhinfp,
"m-peninfp" : Peninfp, // "m-peninfp" : Peninfp,
"m-liainfp" : Liainfp, // "m-liainfp" : Liainfp,
"m-prtpan" : Prtpan, // "m-prtpan" : Prtpan,
"m-ordpan" : Ordpan, // "m-ordpan" : Ordpan,
"m-ordp0" : Ordp0, // "m-ordp0" : Ordp0,
"m-dtetag" : Dtetag, // "m-dtetag" : Dtetag,
"m-setinsp" : Setinsp, // "m-setinsp" : Setinsp,
"m-fecp" : Fecp, // "m-fecp" : Fecp,
"m-cips" : Cips, // "m-cips" : Cips,
"m-cips2" : Cips2, // "m-cips2" : Cips2,
"m-cips3" : Cips3, // "m-cips3" : Cips3,
}, },
provide() { provide() {
return { return {
...@@ -174,12 +178,17 @@ export default { ...@@ -174,12 +178,17 @@ export default {
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: {...CodeTable codes: {
...CodeTable
}, },
} }
}, },
methods:{ methods:{
tabClick(){ myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
} }
}, },
created:async function(){ created:async function(){
...@@ -187,6 +196,7 @@ export default { ...@@ -187,6 +196,7 @@ export default {
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
......
...@@ -14,8 +14,9 @@ import commonProcess from "~/mixin/commonProcess" ...@@ -14,8 +14,9 @@ import commonProcess from "~/mixin/commonProcess"
export default { export default {
props:["ownref"], inject: ['root'],
components:{ props:["model","codes"],
components:{
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
...@@ -101,7 +102,8 @@ export default { ...@@ -101,7 +102,8 @@ export default {
} }
</script> </script>
<style> <style>
.busnavbar-items{
/*TODO完善按钮间隔等样式 */ /*TODO完善按钮间隔等样式 */
} /* .busnavbar-items{
} */
</style> </style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <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"> <c-content>
<!--inftrd PD000024 Selection --> <m-infsea
<el-tab-pane label="Selection" name="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"/> <m-infsea :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<!--inftrd PD000018 Loan --> <!-- <el-tab-pane label="Loan" name="infconp">
<el-tab-pane label="Loan" name="infconp">
<m-infconp :model="model" :codes="codes"/> <m-infconp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--coninf PD000010 Incoming Tag 72/79 -->
<el-tab-pane label="Incoming Tag" name="coninftag"> <el-tab-pane label="Incoming Tag" name="coninftag">
<m-coninftag :model="model" :codes="codes"/> <m-coninftag :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--infcon PD000013 Transactions -->
<el-tab-pane label="Transactions" name="trnpan"> <el-tab-pane label="Transactions" name="trnpan">
<m-trnpan :model="model" :codes="codes"/> <m-trnpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--infcon PD000019 CBS Info -->
<el-tab-pane label="CBS Info" name="cbsinfp"> <el-tab-pane label="CBS Info" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes"/> <m-cbsinfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--infcon PD000028 CBE Info -->
<el-tab-pane label="CBE Info" name="cbeinfp"> <el-tab-pane label="CBE Info" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes"/> <m-cbeinfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--infcon PD000111 FEP/FCP Info -->
<el-tab-pane label="FEP/FCP Info" name="fepinfp"> <el-tab-pane label="FEP/FCP Info" name="fepinfp">
<m-fepinfp :model="model" :codes="codes"/> <m-fepinfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--infcon PD000162 SEP Info -->
<el-tab-pane label="SEP Inf" name="sepinfp"> <el-tab-pane label="SEP Inf" name="sepinfp">
<m-sepinfp :model="model" :codes="codes"/> <m-sepinfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--infcon PD000177 GLE Bookings -->
<el-tab-pane label="GLE Bookings" name="gleinfp"> <el-tab-pane label="GLE Bookings" name="gleinfp">
<m-gleinfp :model="model" :codes="codes"/> <m-gleinfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--infcon PD000119 SMH Info -->
<el-tab-pane label="SMH Info" name="smhinfp"> <el-tab-pane label="SMH Info" name="smhinfp">
<m-smhinfp :model="model" :codes="codes"/> <m-smhinfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--infcon PD000130 SPT/DIA Info -->
<el-tab-pane label="SPT/DIA Info" name="peninfp"> <el-tab-pane label="SPT/DIA Info" name="peninfp">
<m-peninfp :model="model" :codes="codes"/> <m-peninfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--infcon PD000147 Engagement -->
<el-tab-pane label="Engagement" name="liainfp"> <el-tab-pane label="Engagement" name="liainfp">
<m-liainfp :model="model" :codes="codes"/> <m-liainfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--inftrd PD000023 Print -->
<el-tab-pane label="Print" name="prtpan"> <el-tab-pane label="Print" name="prtpan">
<m-prtpan :model="model" :codes="codes"/> <m-prtpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--infcon PD000185 Order -->
<el-tab-pane label="Order" name="ordpan"> <el-tab-pane label="Order" name="ordpan">
<m-ordpan :model="model" :codes="codes"/> <m-ordpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
</c-tabs> <!-- </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> </el-form>
</div> </div>
</template> </template>
...@@ -120,8 +127,7 @@ export default { ...@@ -120,8 +127,7 @@ export default {
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {...CodeTable},
},
} }
}, },
methods:{ methods:{
...@@ -132,6 +138,21 @@ export default { ...@@ -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(){ created:async function(){
console.log("进入inftrd交易"); console.log("进入inftrd交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
......
...@@ -46,8 +46,8 @@ ...@@ -46,8 +46,8 @@
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-checkbox v-model="model.cfatrt.basflg">签约信息</c-checkbox> <c-checkbox v-model="model.cfadft.basflg">签约信息</c-checkbox>
<c-checkbox v-model="model.cfatrt.dclflg">变动信息</c-checkbox> <c-checkbox v-model="model.cfadft.dclflg">变动信息</c-checkbox>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="8" > <c-col :span="8" >
......
...@@ -94,9 +94,9 @@ ...@@ -94,9 +94,9 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="13"> <c-col :span="13">
<el-form-item label="融资金额" prop="trdgrp.cbs.max.cur"> <el-form-item label="融资金额" prop="trdgrp.cbs.max.curtxt1">
<c-select v-model="model.trdgrp.cbs.max.cur" style="width:100%" placeholder="请选择Currency" @keyup.enter.native="maxCurEvent"> <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.cur" :key="item.value" :label="item.label" :value="item.value"></el-option> <el-option v-for="item in codes.curtxt1" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -352,9 +352,9 @@ ...@@ -352,9 +352,9 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="第三方还款方式" prop="trtmod.finmod.acttyp"> <el-form-item label="第三方还款方式" prop="trtmod.finmod.acttyp1">
<c-select v-model="model.trtmod.finmod.acttyp" style="width:100%" placeholder="请选择第三方还款方式"> <c-select v-model="model.trtmod.finmod.acttyp1" style="width:100%" placeholder="请选择第三方还款方式">
<el-option v-for="item in codes.acttyp" :key="item.value" :label="item.label" :value="item.value"></el-option> <el-option v-for="item in codes.acttyp1" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -407,8 +407,8 @@ ...@@ -407,8 +407,8 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="外币贷款专户清单" prop="trtp.act"> <el-form-item label="外币贷款专户清单" prop="trtp.act" >
<c-select v-model="model.trtp.act" style="width:100%" placeholder="请选择外币贷款专户清单"> <c-select v-model="model.trtp.act" style="width:100%" placeholder="请选择外币贷款专户清单" :disabled="model.trdgrp.cbs.max.curtxt1==='CNY'">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -419,10 +419,13 @@ ...@@ -419,10 +419,13 @@
import Api from "~/service/Api"; import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Trtopn/Event";
import Utils from "~/utils"; import Utils from "~/utils";
export default { export default {
onSeainf() {
},
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
......
...@@ -22,12 +22,21 @@ ...@@ -22,12 +22,21 @@
<m-ovwp :model="model" :codes="codes" /> <m-ovwp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--dftcre PD000001 同业代付 --> <!--dftcre PD000001 同业代付 -->
<el-tab-pane label="同业代付" name="dftcrep"> <el-tab-pane label="同业代付" name="dftcrep" v-if="model.trtp.dfflag">
<c-content> <c-content>
<m-dftcrep :model="model" :codes="codes"/> <m-dftcrep :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </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 融资款项 --> <!--financ PD000004 融资款项 -->
<el-tab-pane label="融资款项" name="rzkx"> <el-tab-pane label="融资款项" name="rzkx">
<c-content> <c-content>
...@@ -68,11 +77,12 @@ ...@@ -68,11 +77,12 @@
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
<c-grid-ety-prompt-dialog <c-grid-ety-prompt-dialog
ref="etyDialog" ref="etyDialog"
:promptData="promptData" :promptData="promptData"
v-on:select-ety="selectEty"> v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
</el-form> </el-form>
</div> </div>
</c-page> </c-page>
</template> </template>
...@@ -86,6 +96,7 @@ import commonFuncs from "~/mixin/commonFuncs"; ...@@ -86,6 +96,7 @@ import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Trtopn/Check" import Check from "~/model/Trtopn/Check"
import Default from "~/model/Trtopn/Default" import Default from "~/model/Trtopn/Default"
import Pattern from "~/model/Trtopn/Pattern" import Pattern from "~/model/Trtopn/Pattern"
import Event from "~/model/Trtopn/Event";
import Ovwp from "./Ovwp" import Ovwp from "./Ovwp"
import Dftcrep from "./Dftcrep" import Dftcrep from "./Dftcrep"
import Rzkx from "./Rzkx" import Rzkx from "./Rzkx"
...@@ -95,6 +106,7 @@ import Doctre from "~/views/Public/Doctre" ...@@ -95,6 +106,7 @@ 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";
export default { export default {
...@@ -109,6 +121,7 @@ export default { ...@@ -109,6 +121,7 @@ export default {
"m-docpan" : Docpan, "m-docpan" : Docpan,
"m-coninfp" : Coninfp, "m-coninfp" : Coninfp,
"m-setpan" : Setpan, "m-setpan" : Setpan,
"m-engp" : Engp,
}, },
provide() { provide() {
return { return {
...@@ -126,8 +139,7 @@ export default { ...@@ -126,8 +139,7 @@ export default {
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {...CodeTable},
},
} }
}, },
methods:{ methods:{
...@@ -138,6 +150,21 @@ export default { ...@@ -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(){ created:async function(){
console.log("进入trtopn交易"); console.log("进入trtopn交易");
let rtnmsg = await this.init({}) 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> <template>
<div class="eContainer"> <div class="eContainer">
<el-form <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
:model="model" <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
:rules="rules" <!--trtsel PD000012 Menu -->
ref="modelForm" <el-tab-pane :label="$t('trtsel.PD000012')" name="sel">
label-width="110px" <m-sel :model="model" :codes="codes"/>
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<!--PD000006 -->
<!--
<el-tab-pane label="查詢界面" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
--> </c-tabs>
<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>
</el-form> </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> </div>
</template> </template>
<script> <script>
...@@ -138,9 +19,10 @@ import Check from "~/model/Trtsel/Check" ...@@ -138,9 +19,10 @@ import Check from "~/model/Trtsel/Check"
import Default from "~/model/Trtsel/Default" import Default from "~/model/Trtsel/Default"
import Pattern from "~/model/Trtsel/Pattern" import Pattern from "~/model/Trtsel/Pattern"
import Sel from "./Sel" import Sel from "./Sel"
import Infsea from "./Infsea";
export default { export default {
name: "Trtsel",
components:{ components:{
"m-sel" : Sel, "m-sel" : Sel,
}, },
...@@ -154,6 +36,7 @@ export default { ...@@ -154,6 +36,7 @@ export default {
return { return {
tabVal: "", tabVal: "",
trnName: "trtsel", trnName: "trtsel",
trnType: "",
model: new Trtsel().data, model: new Trtsel().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
...@@ -164,7 +47,11 @@ export default { ...@@ -164,7 +47,11 @@ export default {
} }
}, },
methods:{ methods:{
tabClick(){ myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
} }
}, },
created:async function(){ created:async function(){
...@@ -172,6 +59,7 @@ export default { ...@@ -172,6 +59,7 @@ export default {
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
......
...@@ -127,9 +127,10 @@ export default { ...@@ -127,9 +127,10 @@ export default {
{ inifrm: "clttra", ininam: "打包托收催收", pntmiu: "8" }, { inifrm: "clttra", ininam: "打包托收催收", pntmiu: "8" },
{ inifrm: "cltset", ininam: "打包托收解包", pntmiu: "8" }, { inifrm: "cltset", ininam: "打包托收解包", pntmiu: "8" },
{ inifrm: "9", ininam: "光票托收", pntmiu: "" }, { inifrm: "9", ininam: "光票托收", pntmiu: "" },
{ inifrm: "ccttra", ininam: "光票托收催收", pntmiu: "9" }, { inifrm: "infccd", ininam: "光票托收查询", pntmiu: "9" },
{ inifrm: "cctdcr", ininam: "光票托收退票", pntmiu: "9" }, // { inifrm: "ccttra", ininam: "光票托收催收", pntmiu: "9" },
{ inifrm: "cctset", ininam: "光票托收收汇", pntmiu: "9" }, // { inifrm: "cctdcr", ininam: "光票托收退票", pntmiu: "9" },
// { inifrm: "cctset", ininam: "光票托收收汇", pntmiu: "9" },
//{ inifrm: "cltdav", ininam: "光票托收开立", pntmiu: "10" }, //{ inifrm: "cltdav", ininam: "光票托收开立", pntmiu: "10" },
//{ inifrm: "clttra", ininam: "光票托收", pntmiu: "10" }, //{ inifrm: "clttra", ininam: "光票托收", pntmiu: "10" },
{ inifrm: "10", ininam: "参数管理", pntmiu: "" }, { 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