Commit 0b0ba163 by qx

inffec交易,infptm交易

parent 2b9258e8
import Utils from "~/utils"
/**
* Inffec Check规则
*/
let checkObj = {
"rec.permaxtr3" :null,
"rec.permaxtr4" :null,
"rec.permaxtr2" :null,
"recpan.feeget.sdamod.dadsnd" :null,
"rec.permaxtr7" :null,
"rec.permaxtr5" :null,
"rec.permaxtr6" :null,
"recpan.cty.cod" :null,
"rec.ratcur" :null,
"rec.begdat" :null,
"recpan.etyget.sdamod.dadsnd" :null,
"rec.maxamt" :null,
"recpan.pty.extkey" :null,
"rec.pertyp" :null,
"rec.enddat" :null,
"recpan.reg.cod" :null,
"rec.mincur" :null,
"recpan.recget.sdamod.dadsnd" :null,
"rec.maxcur" :null,
"rec.feepri" :null,
"recpan.fee.cod" :null,
"recpan.ptyget.sdamod.dadsnd" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Inffec Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"rec.feepri" :Utils.defaultFunction,
"rec.enddat" :Utils.defaultFunction,
"rec.perbegtr6" :Utils.defaultFunction,
"rec.calrul" :Utils.defaultFunction,
"rec.tirtyp" :Utils.defaultFunction,
"recpan.reg.cod" :Utils.defaultFunction,
"recpan.cty.cod" :Utils.defaultFunction,
"recpan.buscod" :Utils.defaultFunction,
"recpan.pty.extkey" :Utils.defaultFunction,
"recpan.fee.cod" :Utils.defaultFunction,
"recpan.ety.extkey" :Utils.defaultFunction,
"recpan.fecinf.oit.inftxt" :Utils.defaultFunction,
"recpan.fecinf.oit.inflev" :Utils.defaultFunction,
"rec.higamt" :Utils.defaultFunction,
"rec.lowamt" :Utils.defaultFunction,
"rec.ratirs" :Utils.defaultFunction,
"rec.begdat" :Utils.defaultFunction,
"rec.ratirsinc" :Utils.defaultFunction,
"rec.basamt" :Utils.defaultFunction,
"rec.setperflg" :Utils.defaultFunction,
"rec.amtrattr2" :Utils.defaultFunction,
"rec.minpercnt" :Utils.defaultFunction,
"rec.amtrattr3" :Utils.defaultFunction,
"rec.settyp" :Utils.defaultFunction,
"rec.untamt" :Utils.defaultFunction,
"rec.pertypprv" :Utils.defaultFunction,
"rec.calcbs" :Utils.defaultFunction,
"rec.maxcur" :Utils.defaultFunction,
"rec.permaxtr7" :Utils.defaultFunction,
"rec.amtbegtr2" :Utils.defaultFunction,
"rec.amtbegtr3" :Utils.defaultFunction,
"rec.permaxtr2" :Utils.defaultFunction,
"rec.maxamt" :Utils.defaultFunction,
"rec.permaxtr6" :Utils.defaultFunction,
"rec.calfcc" :Utils.defaultFunction,
"rec.permaxtr5" :Utils.defaultFunction,
"rec.permaxtr4" :Utils.defaultFunction,
"rec.amtsetall" :Utils.defaultFunction,
"rec.permaxtr3" :Utils.defaultFunction,
"rec.perbegtr5" :Utils.defaultFunction,
"rec.minamt" :Utils.defaultFunction,
"rec.perbegtr3" :Utils.defaultFunction,
"rec.perbegtr4" :Utils.defaultFunction,
"rec.perbegtr2" :Utils.defaultFunction,
"rec.setchgflg" :Utils.defaultFunction,
"rec.perbegtr7" :Utils.defaultFunction,
"rec.colltr" :Utils.defaultFunction,
"rec.permintr4" :Utils.defaultFunction,
"rec.ratfcc" :Utils.defaultFunction,
"rec.permintr3" :Utils.defaultFunction,
"rec.pertyp" :Utils.defaultFunction,
"rec.permintr2" :Utils.defaultFunction,
"rec.mincur" :Utils.defaultFunction,
"rec.permintr7" :Utils.defaultFunction,
"rec.permintr6" :Utils.defaultFunction,
"rec.ratcur" :Utils.defaultFunction,
"rec.minfcc" :Utils.defaultFunction,
"rec.permintr5" :Utils.defaultFunction,
"rec.perrattr3" :Utils.defaultFunction,
"rec.perrattr2" :Utils.defaultFunction,
"rec.perrattr5" :Utils.defaultFunction,
"rec.perrattr4" :Utils.defaultFunction,
"rec.perrattr7" :Utils.defaultFunction,
"rec.perrattr6" :Utils.defaultFunction,
"rec.ratcal" :Utils.defaultFunction,
"recpan.namlab" :Utils.defaultFunction,
"recpan.typlab" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow(){
const feepri = this.model.feepri;
const feecod = this.model.selfee.cod;
const ctycod = this.model.ctycod;
const regcod = this.model.regcod;
const buscod = this.model.buscod;
let params = {feepri:feepri,feecod:feecod,ctycod:ctycod,buscod:buscod,regcod:regcod};
let rtnmsg = await this.executeRule("infbut.searow",params)
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.$message({
type: 'success',
message: '获取成功!'
});
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutDsp(){
const pageId = this.model.pageId;
const selrow = this.$refs.table.selection;
let params = {pageId:pageId,selrow:selrow};
let rtnmsg = await this.executeRule("infbut.dsp",params)
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutUserow(){
let rtnmsg = await this.executeRule("infbut.userow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutClr(){
let rtnmsg = await this.executeRule("infbut.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutButprt(){
let rtnmsg = await this.executeRule("infbut.butprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutExi(){
let rtnmsg = await this.executeRule("infbut.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanSplfec(){
let rtnmsg = await this.executeRule("recpan.splfec")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanSplfec1(){
let rtnmsg = await this.executeRule("recpan.splfec1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanButjoiamt(){
let rtnmsg = await this.executeRule("recpan.butjoiamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanButjoiper(){
let rtnmsg = await this.executeRule("recpan.butjoiper")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"recpan.feeget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.fee.cod":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recpan.feeget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recpan.feecod":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recpan.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recpan.ptyget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.etyget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.pty.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"recpan.ety.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recpan.etyget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recpan.ptyget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recpan.pty.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recpan.ctycod":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"recpan.regcod":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"recpan.ety.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"rec.lowamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"rec.higamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"rec.begdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"rec.enddat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"rec.ratcal":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"rec.untamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"rec.minamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"rec.maxamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"rec.permin":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rec.minamttot":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"recpan.calpan.taxrat":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"rec.minpercnt":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rec.permintr2":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"rec.permaxtr2":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"rec.amtsetall":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"rec.maxpercnt":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recpan.calpan.custyp":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"rec.permintr3":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"rec.permaxtr3":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"rec.maxpercov":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rec.perbegtr4":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rec.perrattr4":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"rec.permintr4":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"rec.permaxtr4":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"rec.basamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"rec.perbegtr5":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rec.perrattr5":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"rec.permintr5":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"rec.permaxtr5":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"rec.amtbegtr2":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"rec.perbegtr2":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rec.amtrattr2":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"rec.perrattr2":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"rec.perbegtr6":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rec.perrattr6":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"rec.permintr6":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"rec.permaxtr6":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"rec.amtbegtr3":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"rec.perbegtr3":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rec.amtrattr3":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"rec.perrattr3":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"rec.perbegtr7":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rec.perrattr7":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"rec.permintr7":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"rec.permaxtr7":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"recpan.fecinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"recpan.prtpanblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"infbut.evtstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Inffec{
constructor () {
this.data = {
typlab:"", // Label for type of condition .typlab
namlab:"", // Label for name of condition .namlab
selfee:{
cod:"", // Fee Code .selfee.cod
},
feecod:"", // Fee Text .feecod
feepri:"", // Type of condition .feepri
selreg:{
cod:"", // Code .selreg.cod
},
regcod:"", // Region Code .regcod
selcty:{
cod:"", // Country Code .selcty.cod
},
ctycod:"", // Country Code .ctycod
selpty:{
extkey:"", // Address Number .selpty.extkey
nam:"", // External Visible Name .selpty.nam
},
selety:{
extkey:"", // Entity ID .selety.extkey
nam:"", // Name of the Entity .selety.nam
},
infbut:{
dspstm:"", // display stream .infbut.dspstm
},
feeget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .feeget.sdamod.dadsnd
},
},
ptyget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .ptyget.sdamod.dadsnd
},
},
etyget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .etyget.sdamod.dadsnd
},
},
buscod:"", // Sector Code .buscod
recpan:{
scalab:"", // Label for several conditions .recpan.scalab
namlab:"", // Label for name of condition .recpan.namlab
typlab:"", // Label for type of condition .recpan.typlab
fee:{
cod:"", // Fee Code .recpan.fee.cod
},
feeget:{
sdamod:{
seainf:"", // .recpan.feeget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.feeget.sdamod.dadsnd
},
},
feecod:"", // Fee Text .recpan.feecod
recget:{
sdamod:{
seainf:"", // .recpan.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
},
},
pty:{
extkey:"", // Address Number .recpan.pty.extkey
nam:"", // External Visible Name .recpan.pty.nam
},
ptyget:{
sdamod:{
seainf:"", // .recpan.ptyget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.ptyget.sdamod.dadsnd
},
},
cty:{
cod:"", // Country Code .recpan.cty.cod
},
ctycod:"", // Country Code .recpan.ctycod
reg:{
cod:"", // Code .recpan.reg.cod
},
regcod:"", // Region Code .recpan.regcod
buscod:"", // Bus.Sector Code .recpan.buscod
ety:{
extkey:"", // Entity ID .recpan.ety.extkey
nam:"", // Name of the Entity .recpan.ety.nam
},
etyget:{
sdamod:{
seainf:"", // .recpan.etyget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.etyget.sdamod.dadsnd
},
},
calpan:{
calrullbl:"", // Infotext for calculation rule .recpan.calpan.calrullbl
jnwshx:"", // JNWSHX .recpan.calpan.jnwshx
taxrat:"", // taxrate .recpan.calpan.taxrat
custyp:"", // Customer_type .recpan.calpan.custyp
},
fecinf:{
labinftxt:"", // Label for INFTXT .recpan.fecinf.labinftxt
oit:{
inftxt:"", // Infotext .recpan.fecinf.oit.inftxt
inflev:"", // Infotext Level .recpan.fecinf.oit.inflev
},
},
},
rec:{
feepri:"", // Type of Condition .rec.feepri
lowamt:"", // Low Amount Incl. .rec.lowamt
higamt:"", // High Amount Excl. .rec.higamt
begdat:"", // Begin Date Incl. .rec.begdat
enddat:"", // Date .rec.enddat
calrul:"", // Calculation Rule .rec.calrul
calfcc:"", // Calculation Code .rec.calfcc
setchgflg:"", // Flag, if Amount Can or Must be Changed .rec.setchgflg
colltr:"", // Disposition Defaulting .rec.colltr
ratcal:"", // Rate Calculation .rec.ratcal
mincur:"", // Minimum Currency .rec.mincur
minamt:"", // Minimum .rec.minamt
minfcc:"", // Minimum Code .rec.minfcc
maxcur:"", // Maximum Currency .rec.maxcur
maxamt:"", // Maximum .rec.maxamt
maxfcc:"", // Maximum Code .rec.maxfcc
minamttot:"", // Minimum tot. .rec.minamttot
amtsetall:"", // Min. in Adv. .rec.amtsetall
calcbs:"", // Calculation Base .rec.calcbs
settyp:"", // Type of Settlement .rec.settyp
pertyp:"", // Period Type .rec.pertyp
setperflg:"", // Settl. Period .rec.setperflg
ratirs:"", // Reference Rate .rec.ratirs
ratirsinc:"", // Rate Type for Increase/Decrease .rec.ratirsinc
tirtyp:"", // Type of Tiers .rec.tirtyp
amtbegtr2:"", // Start Amount Tier 2 .rec.amtbegtr2
amtrattr2:"", // Rate by Amount Tier 2 .rec.amtrattr2
amtbegtr3:"", // Start Amount Tier 3 .rec.amtbegtr3
amtrattr3:"", // Rate by Amount Tier 3 .rec.amtrattr3
perbegtr2:"", // Start Period Tier 2 .rec.perbegtr2
perrattr2:"", // 从区间 .rec.perrattr2
perbegtr3:"", // Start Period Tier 3 .rec.perbegtr3
perrattr3:"", // 从区间 .rec.perrattr3
pertypprv:"", // 最小值 .rec.pertypprv
minpercnt:"", // Minimum Period Count .rec.minpercnt
maxpercnt:"", // Maximum Period Count .rec.maxpercnt
maxpercov:"", // Maximum Periods Covered by Condition .rec.maxpercov
basamt:"", // Base Amount .rec.basamt
permintr2:"", // Periods (0-complete period) .rec.permintr2
permaxtr2:"", // Maximum for Period Tier 2 .rec.permaxtr2
permintr3:"", // Periods (0-complete period) .rec.permintr3
permaxtr3:"", // Maximum for Period Tier 3 .rec.permaxtr3
perbegtr4:"", // Start Period Tier 4 .rec.perbegtr4
perrattr4:"", // 从区间 .rec.perrattr4
permintr4:"", // Periods (if restricted) .rec.permintr4
permaxtr4:"", // Maximum for Period Tier 4 .rec.permaxtr4
perbegtr5:"", // Start Period Tier 5 .rec.perbegtr5
perrattr5:"", // 从区间 .rec.perrattr5
permintr5:"", // Minimum for Period Tier 5 .rec.permintr5
permaxtr5:"", // Maximum for Period Tier 5 .rec.permaxtr5
perbegtr6:"", // Start Period Tier 6 .rec.perbegtr6
perrattr6:"", // Rate Tier 6 .rec.perrattr6
permintr6:"", // Minimum for Period Tier 6 .rec.permintr6
permaxtr6:"", // Maximum for Period Tier 6 .rec.permaxtr6
perbegtr7:"", // Start Period Tier 7 .rec.perbegtr7
perrattr7:"", // Rate Tier 7 .rec.perrattr7
permintr7:"", // Minimum for Period Tier 7 .rec.permintr7
permaxtr7:"", // Maximum for Period Tier 7 .rec.permaxtr7
permin:"", // Minimum Periods .rec.permin
amtflg:"", // Amount Flag .rec.amtflg
ratcur:"", // Rate Currency .rec.ratcur
untamt:"", // Amount per Unit .rec.untamt
ratfcc:"", // Rate Code .rec.ratfcc
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Infptm Check规则
*/
let checkObj = {
"rec.coradr" :null,
"recpan.ptagrp.rec.objkey" :null,
"rec.cortyp" :null,
"recpan.recget.sdamod.dadsnd" :null,
"rec.autflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Infptm Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recpan.ptagrp.rec.objkey" :Utils.defaultFunction,
"infbut.dspstm" :Utils.defaultFunction,
"rec.cortyp" :Utils.defaultFunction,
"rec.coradr" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow(){
const seacortyp = this.model.seacortyp;
const seacoradr = this.model.seacoradr;
const seaobjkey = this.model.seaobjkey;
const seanam = this.model.seanam;
let params = {seacortyp:seacortyp,seacoradr:seacoradr,seaobjkey:seaobjkey,seanam:seanam};
let rtnmsg = await this.executeRule("infbut.searow",params)
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutDsp(){
const dspstm = this.model.infbut_dspstm.selrow;
let params = {dspstm:dspstm};
let rtnmsg = await this.executeRule("infbut.dsp",params)
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutUserow(){
let rtnmsg = await this.executeRule("infbut.userow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutClr(){
let rtnmsg = await this.executeRule("infbut.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutButprt(){
let rtnmsg = await this.executeRule("infbut.butprt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutExi(){
let rtnmsg = await this.executeRule("infbut.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"seaobjkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"seanam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"seacoradr":[
{type: "string", required: false, message: "必输项"},
{max: 23,message:"长度不能超过23"}
],
"infbut.dspstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.ptagrp.rec.objkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"recpan.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recpan.ptagrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"rec.coradr":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"rec.autdet":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Infptm{
constructor () {
this.data = {
infbut:{
dspstm:"", // display stream .infbut.dspstm
},
seacortyp:"", // Corr. Type .seacortyp
seacoradr:"", // Address of Message .seacoradr
seanam:"", // Adress Name .seanam
seaobjkey:"", // Addresse No. .seaobjkey
recpan:{
ptagrp:{
rec:{
objkey:"", // Alternate Technical Key of Associated Address .recpan.ptagrp.rec.objkey
nam:"", // Address Name .recpan.ptagrp.rec.nam
},
},
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
seainf:"", // .recpan.recget.sdamod.seainf
},
},
},
rec:{
cortyp:"", // Output Chanel SWT, LET, TLX, TCO .rec.cortyp
coradr:"", // Address of Message BIC, TID, i.e. .rec.coradr
autflg:"", // Authenticator Exchanged Flag .rec.autflg
autdet:"", // Optional Authentication Key Public Key .rec.autdet
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -118,5 +118,7 @@ const BusRouter = [
{ path: 'botame', component: Botame, name: 'Botame', meta: { title: '出口托收修改' } },
{ path: 'botdcr', component: Botdcr, name: 'Botdcr', meta: { title: '出口托收拒付/不符点' } },
{ path: 'botset', component: Botset, name: 'Botset', meta: { title: '出口托收收汇' } },
{ path: 'inffec', component: Botset, name: 'Inffec', meta: { title: '费用条件查询' } },
{ path: 'infptm', component: Botset, name: 'Infptm', meta: { title: '客户BIC查询' } },
]
export default BusRouter
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Fee Code" prop="selfee.cod">
<c-input type="text" v-model="model.selfee.cod" maxlength="6" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Fee Text" prop="feecod">
<c-input type="text" v-model="model.feecod" maxlength="6" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Condition" prop="feepri">
<c-select v-model="model.feepri" style="width:100%" @change="feepriChange">
<el-option
v-for="item in codes.feepri"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" >
<el-form-item label="Amount">
<c-input type="text" style="width:45%" v-model="model.lowamt" maxlength="8" ></c-input>
-
<c-input type="text" style="width:45%" v-model="model.higamt" maxlength="8" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12" >
<el-form-item label="Date">
<el-date-picker type="date" v-model="model.begdat" style="width:45%" ></el-date-picker>
-
<el-date-picker type="date" v-model="model.enddat" style="width:45%" ></el-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Fee Type" prop="rec.calrul">
<c-input v-model="model.calrul" maxlength="6" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12" style="text-align:center" >
<c-checkbox v-model="model.chkypt" >Fee Type different from Default Condition</c-checkbox>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="Changes" prop="rec.setchgflg">
<c-input type="text" v-model="setchgflg" value="Changes allowed" maxlength="6" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Defaulting" prop="rec.colltr">
<c-input type="text" v-model="colltr" maxlength="6" ></c-input>
</el-form-item>
</c-col>
<c-col v-if="fixText">
<el-form-item>
<span>A fixed amount per unit is calculated.This type will,for example,be used for correspondence charges.</span>
</el-form-item>
</c-col>
<c-col v-if="ameText">
<el-form-item>
<span>The fee is only used for amednment of LC!</span>
</el-form-item>
</c-col>
<c-col v-if="perText">
<el-form-item>
<span>Per mille fee depending on duration</span>
</el-form-item>
</c-col>
<c-col v-if="traText">
<el-form-item>
<span>The fee is calculated by tracsaction and not by settlement,only use after consulting development!</span>
</el-form-item>
</c-col>
<c-col :span="12" v-if="amoFlag">
<el-form-item label="Amount">
<c-input style="width:45%" v-model="model.recpan.ety.extkey" maxlength="8" ></c-input>
<c-input style="width:45%" v-model="model.recpan.ety.extkey" maxlength="8" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24" >
<el-form-item label="TaxRate" v-if="taxFlag" prop="recpan.calpan.taxrat">
<c-input v-model="taxrat" style="width:35%" maxlength="8" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Customer" v-if="cusFlag">
<c-input v-model="model.recpan.calpan.custyp" maxlength="10"></c-input>
</el-form-item>
</c-col>
<c-col :span="12" >
<el-form-item label="Rate" v-if="ratFlag" prop="rec.ratcal">
<c-input maxlength="8" v-model="ratcal" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12" v-if="calFlag">
<el-form-item label="Calculation Base" prop="rec.calcbs">
<c-select v-model="model.rec.calcbs" style="width:100%" >
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" v-if="minFlag">
<el-form-item label="Minimum" prop="rec.minamt">
<c-input style="width:20%" v-model="model.rec.minamt" ></c-input>
<c-input style="width:40%" v-model="model.rec.minamt" maxlength="8" ></c-input>
<c-input type="text" style="width:40%" maxlength="8" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24" v-if="abmiFLag">
<el-form-item label="Above MIN for" prop="rec.minpercnt">
<c-input style="width:20%" v-model="model.rec.minpercnt" ></c-input>
<el-form-item>
<span>Periods(0-complete period)</span>
</el-form-item>
</el-form-item>
</c-col>
<c-col :span="24" v-if="avmaFlag">
<el-form-item label="Above MAX for" prop="rec.maxpercnt">
<c-input style="width:20%" v-model="model.rec.maxpercnt" ></c-input>
<el-form-item>
<span>Periods(0-complete period)</span>
</el-form-item>
</el-form-item>
</c-col>
<c-col :span="24" v-if="valFlag">
<el-form-item label="Valid for" prop="rec.maxpercov">
<c-input style="width:20%" v-model="model.rec.maxpercov" ></c-input>
<el-form-item>
<span>Periods(if restricted)</span>
</el-form-item>
</el-form-item>
</c-col>
<c-col :span="24" v-if="peratFlag1">
<c-col :span="12">
<c-col :span="6">
<el-form-item>
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="Periode at Rate">
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="6">
<el-form-item label="Minimum">
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="Maximum">
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24" v-if="peratFlag2">
<c-col :span="12">
<c-col :span="6">
<el-form-item>
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="Periode at Rate">
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="6">
<el-form-item label="Minimum">
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="Maximum">
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24" v-if="peratFlag3">
<c-col :span="12">
<c-col :span="6">
<el-form-item>
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="Periode at Rate">
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="6">
<el-form-item label="Minimum">
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="Maximum">
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24" v-if="peratFlag4">
<c-col :span="12">
<c-col :span="6">
<el-form-item>
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="Periode at Rate">
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="6">
<el-form-item label="Minimum">
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="Maximum">
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24" v-if="peratFlag5">
<c-col :span="12">
<c-col :span="6">
<el-form-item>
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="Periode at Rate">
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="6">
<el-form-item label="Minimum">
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="Maximum">
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24" v-if="peratFlag6">
<c-col :span="12">
<c-col :span="6">
<el-form-item>
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="Periode at Rate">
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="6">
<el-form-item label="Minimum">
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="Maximum">
<c-input style="width:45%" v-model="model.rec.minamt" ></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="12" v-if="ptyFlag">
<el-form-item label="Period Type" prop="rec.pertyp">
<c-select v-model="model.rec.pertyp" style="width:100%" >
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" v-if="basFlag">
<el-form-item label="Base Amount" prop="rec.basamt">
<c-input v-model="model.rec.mincur"></c-input>
<c-input v-model="model.rec.basamt"></c-input>
</el-form-item>
</c-col>
<c-col :span="24" v-if="mintFlag">
<el-form-item label="Minimum tot." prop="rec.minamt">
<c-input style="width:20%" v-model="model.rec.minamt" ></c-input>
<c-input style="width:40%" v-model="model.rec.minamt" maxlength="8" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24" v-if="minaFlag">
<el-form-item label="Min. in Adv." prop="rec.minamt">
<c-input style="width:20%" v-model="model.rec.minamt" ></c-input>
<c-input style="width:40%" v-model="model.rec.minamt" maxlength="8" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12" v-if="jnwFlag">
<el-form-item label="JNWSHX" prop="recpan.calpan.jnwshx">
<c-select v-model="model.recpan.calpan.jnwshx" style="width:100%" placeholder="请选择JNWSHX">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" v-if="tieFlag">
<el-form-item label="Type of Tiers" prop="rec.tirtyp">
<c-select v-model="model.rec.tirtyp" style="width:100%" placeholder="请选择Type of Tiers">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" v-if="settFlag">
<el-form-item label="Type of Settlement" prop="rec.settyp">
<c-select v-model="model.rec.settyp" style="width:100%" placeholder="请选择Type of Settlement">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" v-if="ratpFlag">
<el-form-item label="Rate Type" prop="rec.ratirsinc">
<c-select v-model="model.rec.ratirsinc" style="width:100%" >
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" v-if="incFlag">
<el-form-item label="for Increase" prop="rec.ratirsinc">
<c-select v-model="model.rec.ratirsinc" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" v-if="atieFlag">
<el-form-item label="Amount Tier 2" prop="rec.amtbegtr2">
<c-input v-model="model.rec.amtbegtr2" placeholder="请输入Amount Tier 2"></c-input>
</el-form-item>
</c-col>
<c-col :span="12" v-if="aratFlag">
<el-form-item label="Rate" prop="rec.amtrattr2">
<c-input v-model="model.rec.amtrattr2" placeholder="请输入Rate by Amount Tier 2"></c-input>
</el-form-item>
</c-col>
<c-col :span="12" v-if="aierFlag">
<el-form-item label="Amount Tier 3" prop="rec.amtbegtr3">
<c-input v-model="model.rec.amtbegtr3" placeholder="请输入Start Amount Tier 3"></c-input>
</el-form-item>
</c-col>
<c-col :span="12" v-if="bratFlag">
<el-form-item label="Rate" prop="rec.amtrattr3">
<c-input v-model="model.rec.amtrattr3" placeholder="请输入Rate by Amount Tier 3"></c-input>
</el-form-item>
</c-col>
<c-col :span="24" v-if="maxFlag">
<el-form-item label="Maximum" prop="rec.maxamt">
<c-input style="width:20%" v-model="model.rec.maxamt" ></c-input>
<c-input style="width:40%" v-model="model.rec.maxamt" maxlength="8" ></c-input>
<c-input type="text" style="width:40%" value="Set a new maximum" maxlength="8" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12" style="text-align:center" v-if="cekFlag">
<c-checkbox v-model="model.chkypt1" style="100%">每个计费区间与最大值/最小值比较</c-checkbox>
</c-col>
<c-col :span="12" v-if="ttlFlag">
<el-form-item label="Settl.Period">
<c-input maxlength="8" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12" v-if="caperFlag">
<el-form-item label="Calc.Period">
<c-input maxlength="8" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12" >
<el-form-item label="Min.Periods" v-if="mperFlag">
<c-input maxlength="8" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24" v-if="fromFlag">
<c-col :span="12" >
<el-form-item label="从区间" prop="rec.perrattr4">
<c-input v-model="model.rec.perrattr4" maxlength="8" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12" >
<el-form-item label="开始执行利率" prop="rec.perrattr4">
<c-input v-model="model.rec.perrattr4" maxlength="8" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" v-if="fromFlag">
<c-col :span="12" >
<el-form-item label="从区间" prop="rec.perrattr4">
<c-input v-model="model.rec.perrattr4" maxlength="8" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12" >
<el-form-item label="开始执行利率" prop="rec.perrattr4">
<c-input v-model="model.rec.perrattr4" maxlength="8" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" v-if="fromFlag">
<c-col :span="12" >
<el-form-item label="从区间" prop="rec.perrattr4">
<c-input v-model="model.rec.perrattr4" maxlength="8" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12" >
<el-form-item label="开始执行利率" prop="rec.perrattr4">
<c-input v-model="model.rec.perrattr4" maxlength="8" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" v-if="fromFlag">
<c-col :span="12" >
<el-form-item label="从区间" prop="rec.perrattr4">
<c-input v-model="model.rec.perrattr4" maxlength="8" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12" >
<el-form-item label="开始执行利率" prop="rec.perrattr4">
<c-input v-model="model.rec.perrattr4" maxlength="8" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" v-if="froFlag">
<el-form-item label="from Period" prop="rec.perrattr4">
<c-input style="width:30%" v-model="model.rec.perrattr4" maxlength="8" ></c-input>
<c-input style="width:60%" maxlength="8" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12" v-if="froFlag">
<el-form-item label="from Period" prop="rec.perrattr4">
<c-input style="width:30%" v-model="model.rec.perrattr4" maxlength="8" ></c-input>
<c-input style="width:60%" text="Set a new minimum" maxlength="8" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12" v-if="froFlag">
<el-form-item label="from Period" prop="rec.perrattr4">
<c-input style="width:30%" v-model="model.rec.perrattr4" maxlength="8" ></c-input>
<c-input style="width:60%" text="Set a new minimum" maxlength="8" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12" v-if="froFlag">
<el-form-item label="from Period" prop="rec.perrattr4">
<c-input style="width:30%" v-model="model.rec.perrattr4" maxlength="8" ></c-input>
<c-input style="width:60%" text="Set a new minimum" maxlength="8" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Inffec/Event"
import cPage from '../../../components/c-page.vue';
import TrnpevtVue from '../Trnrel/Trnpevt.vue';
export default {
components: { cPage },
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
texFlag1:true,
amoFlag:true,
taxFlag:true,
cusFlag:true,
fromFlag:true,
froFlag:true,
ameText:false,
fixText:false,
perText:false,
ratFlag:true,
caperFlag:true,
mperFlag:true,
maxFlag:true,
minFlag:true,
cekFlag:true,
traText:false,
calFlag:true,
jnwFlag:true,
mintFlag:true,
minaFlag:true,
tieFlag:true,
settFlag:true,
ratpFlag:true,
incFlag:true,
atieFlag:true,
aratFlag:true,
aierFlag:true,
bratFlag:true,
ttlFlag:true,
peratFlag1:true,
peratFlag2:true,
peratFlag3:true,
peratFlag4:true,
peratFlag5:true,
abmiFlag:true,
abmaFlag:true,
valFlag:true,
}
},
methods:{...Event,
onDlmft(){
if((this.model.recpan.rec.calrul="0") || (this.model.recpan.rec.calrul="F")){//Fix value
this.texFlag1=true;
this.amoFlag=true;
this.taxFlag=true;
this.cusFlag=true;
}else{
this.texFlag1=false;
this.amoFlag=false;
this.taxFlag=false;
this.cusFlag=false;
}
if(this.model.recpan.rec.calrul="M"){//Amendment of LC
this.ameText=true;
this.ratFlag=true;
this.minFlag=true;
this.maxFlag=true;
this.caperFlag=true;
this.mperFlag=true;
this.taxFlag=true;
this.fromFlag=true;
this.cusFlag=true;
}else{
this.ameText=false;
this.ratFlag=false;
this.minFlag=false;
this.maxFlag=false;
this.caperFlag=false;
this.mperFlag=false;
this.taxFlag=false;
this.fromFlag=false;
this.cusFlag=false;
}
if((this.model.recpan.rec.calrul="1") || (this.model.recpan.rec.calrul="%")){//Per mille fee、Percent fee
this.perText=true;
this.ratFlag=true;
this.minFlag=true;
this.maxFlag=true;
this.caperFlag=true;
this.mperFlag=true;
this.taxFlag=true;
this.froFlag=true;
this.cusFlag=true;
this.cekFlag=true;
}else{
this.perText=false;
this.ratFlag=false;
this.minFlag=false;
this.maxFlag=false;
this.caperFlag=false;
this.mperFlag=false;
this.taxFlag=false;
this.froFlag=false;
this.cusFlag=false;
this.cekFlag=false;
}
if((this.model.recpan.rec.calrul="T") || (this.model.recpan.rec.calrul="3")
|| (this.model.recpan.rec.calrul="6") || (this.model.recpan.rec.calrul="B")
){//Transaction calculation、Monthly Interest、BA Discount、Basepoint Fee
this.traText=true;
this.ratFlag=true;
this.calFlag=true;
this.minFlag=true;
this.maxFlag=true;
this.cekFlag=true;
this.taxFlag=true;
this.cusFlag=true;
}else{
this.traText=false;
this.ratFlag=false;
this.calFlag=false;
this.minFlag=false;
this.maxFlag=false;
this.cekFlag=false;
this.taxFlag=false;
this.cusFlag=false;
}
if(this.model.recpan.rec.calrul="C"){//CBS-Based Calculation
this.ratFlag=true;
this.calFlag=true;
this.minFlag=true;
this.settFlag=true;
this.maxFlag=true;
this.ttlFlag=true;
this.mintFlag=true;
this.caperFlag=true;
this.minaFlag=true;
this.ratpFlag=true;
this.taxFlag=true;
this.cusFlag=true;
this.jnwFlag=true;
this.tieFlag=true;
this.aierFlag=true;
this.atieFlag=true;
this.aratFlag=true;
this.bratFlag=true;
}else{
this.ratFlag=false;
this.calFlag=false;
this.minFlag=false;
this.settFlag=false;
this.maxFlag=false;
this.ttlFlag=false;
this.mintFlag=false;
this.caperFlag=false;
this.minaFlag=false;
this.ratpFlag=false;
this.taxFlag=false;
this.cusFlag=false;
this.jnwFlag=false;
this.tieFlag=false;
this.aierFlag=false;
this.atieFlag=false;
this.aratFlag=false;
this.bratFlag=false;
}
if(this.model.recpan.rec.calrul="P"){//Per mille/Previous periods
this.ratFlag=true;
this.calFlag=true;
this.minFlag=true;
this.ptyFlag=true;
this.maxFlag=true;
this.caperFlag=true;
this.abmiFlag=true;
this.abmaFlag=true;
this.valFlag=true;
this.basFlag=true;
this.taxFlag=true;
this.cusFlag=true;
this.peratFlag1=true;
this.peratFlag2=true;
this.peratFlag3=true;
this.peratFlag4=true;
this.peratFlag5=true;
this.peratFlag6=true;
}else{
this.ratFlag=false;
this.calFlag=false;
this.minFlag=false;
this.ptyFlag=false;
this.maxFlag=false;
this.caperFlag=false;
this.abmiFlag=false;
this.abmaFlag=false;
this.valFlag=false;
this.basFlag=false;
this.taxFlag=false;
this.cusFlag=false;
this.peratFlag1=false;
this.peratFlag2=false;
this.peratFlag3=false;
this.peratFlag4=false;
this.peratFlag5=false;
this.peratFlag6=false;
}
if(this.model.recpan.rec.calrul="2"){//Interest p.a.
this.ratFlag=true;
this.calFlag=true;
this.minFlag=true;
this.maxFlag=true;
this.ratpFlag=true;
this.settFlag=true;
this.cekFlag=true;
this.taxFlag=true;
this.cusFlag=true;
}else{
this.ratFlag=false;
this.calFlag=false;
this.minFlag=false;
this.maxFlag=false;
this.ratpFlag=false;
this.settFlag=false;
this.cekFlag=false;
this.taxFlag=false;
this.cusFlag=false;
}
if(this.model.recpan.rec.calrul="4"){//Tiered per mille
this.ratFlag=true;
this.calFlag=true;
this.minFlag=true;
this.caperFlag=true;
this.maxFlag=true;
this.mperFlag=true;
this.cekFlag=true;
this.taxFlag=true;
this.cusFlag=true;
}else{
this.ratFlag=false;
this.calFlag=false;
this.minFlag=false;
this.caperFlag=false;
this.maxFlag=false;
this.mperFlag=false;
this.cekFlag=false;
this.taxFlag=false;
this.cusFlag=false;
}
},
},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="12">
<el-form-item label="Fee Code" prop="selfee.cod">
<c-input v-model="model.selfee.cod" maxlength="6" placeholder="请输入Fee Code"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Fee Text" prop="feecod">
<c-input v-model="model.feecod" maxlength="6" placeholder="请输入Fee Text"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Condition" prop="feepri">
<c-select v-model="model.feepri" style="width:100%" placeholder="请选择Condition" @change="feepriChange">
<el-option
v-for="item in codes.feepri"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" v-if="secFlag">
<el-form-item label="Sector" prop="buscod" >
<c-select v-model="model.buscod" id="buscod" style="width:100%" placeholder="请选择Bus.Sector Code">
<el-option
v-for="item in codes.sector"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" v-if="secFlag">
<el-form-item id="BusinessSec" label="Business Sec" prop="namlab" >
<c-input type="text" v-model="model.namlab" maxlength="6" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12" v-if="entFlag">
<el-form-item label="Entity" prop="typlab">
<c-input v-model="model.typlab" maxlength="8" placeholder="请输入Entity"></c-input>
</el-form-item>
</c-col>
<c-col :span="12" v-if="entFlag">
<el-form-item label="Entity Name" prop="namlab">
<c-input v-model="model.namlab" maxlength="40" placeholder="请输入Entity Name"></c-input>
</el-form-item>
</c-col>
<c-col :span="12" v-if="regFlag">
<el-form-item label="Region" prop="regcod">
<c-select v-model="model.regcod" style="width:100%" placeholder="请选择Region">
<el-option
v-for="item in codes.region"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" v-if="regFlag">
<el-form-item label="Region Name" prop="recpan.namlab">
<c-input type="text" v-model="model.namlab" maxlength="6" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12" v-if="couFlag">
<el-form-item label="Country" prop="ctycod">
<c-select v-model="model.ctycod" style="width:100%" placeholder="请选择Country">
<el-option
v-for="item in codes.bopcty"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" v-if="couFlag">
<el-form-item label="Country Name" prop="ctycod">
<c-input type="text" v-model="model.ctycod" maxlength="6" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12" v-if="maFlag">
<el-form-item label="Main Party" prop="typlab">
<c-input v-model="modeltyplab" maxlength="8" placeholder="请输入Main Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12" v-if="maFlag">
<el-form-item label="Group Name" prop="namlab">
<c-input v-model="model.namlab" maxlength="40" placeholder="请输入Group Name"></c-input>
</el-form-item>
</c-col>
<c-col :span="12" v-if="parFlag">
<el-form-item label="Party" prop="recpan.ety.extkey">
<c-input v-model="model.recpan.ety.extkey" maxlength="8" placeholder="请输入Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12" v-if="parFlag">
<el-form-item label="Party Name" prop="namlab">
<c-input v-model="model.namlab" maxlength="40" placeholder="请输入Party Name"></c-input>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="24">
<div style="margin-top:20px;">
<c-button size="small" type="primary" @click="onInfbutSearow">
Search
</c-button>
<c-button size="small" type="primary" @click="onInfbutDsp">
Display
</c-button>
<c-button size="small" type="primary" @click="onInfbutUserow">
Use
</c-button>
<c-button size="small" type="primary" @click="onInfbutClr">
Clear
</c-button>
<c-button size="small" type="primary" @click="onInfbutButprt">
导Excel
</c-button>
</div>
</c-col>
</c-row>
<el-row>
<c-istream-table :list="stmData.data" :columns="stmData.columns" :id="table">
</c-istream-table>
</el-row>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Inffec/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data(){
return {
secFlag:false,
entFlag:false,
regFlag:false,
couFlag:false,
maFlag:false,
parFlag:false,
stmData: {
columns: [
"11 1 \"fee\" 150 ",
"99 1 \"Description\" 150",
"1 2 \"Cond\" 150",
"2 3 \"Cur\" 150",
"3 4 \"Low Amt\" 150",
"4 5 \"High Amount\" 150 1 tdViewTypeEdit:0 1 SPT:STA",
"5 6 \"Beg Dat\" 150",
"6 7 \"End Dat\" 150",
"99 8 \"Calculation Rule\" 150 1 tdViewTypeEdit:0 1 SPT:STA",
"8 9 \"Fix-Amt\" 150",
"9 10 \"Rate\" 150",
],
data: [
]
}
}
},
methods:{...Event,
feepriChange(selectValue){
if (selectValue == "$") {
this.secFlag = true;
} else {
this.secFlag = false;
}
if (selectValue == "3") {
this.maFlag = true;
} else {
this.maFlag = false;
}
if (selectValue == "*") {
this.entFlag = true;
} else {
this.entFlag = false;
}
if (selectValue == "4") {
this.parFlag = true;
} else {
this.parFlag = false;
}
if (selectValue == "1") {
this.regFlag = true;
} else {
this.regFlag = false;
}
if (selectValue == "2") {
this.couFlag = true;
} else {
this.couFlag = false;
}
},
},
created:function(){
},
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<el-form-item label="General" prop="recpan.prtpanblk">
<c-input type="textarea" v-model="model.recpan.prtpanblk" maxlength="200" show-word-limit ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Display Type" prop="recpan.prtpanblk">
<c-input type="text" v-model="model.recpan.prtpanblk" maxlength="10" show-word-limit ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Inffec/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="200px" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000000 -->
<el-tab-pane label="Search Panel" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000278 -->
<el-tab-pane label="Conditions" name="fecp0">
<m-fecp0 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000700 -->
<el-tab-pane label="Infotext" name="oitpan">
<m-oitpan :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Inffec from "~/model/Inffec"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Inffec/Check"
import Default from "~/model/Inffec/Default"
import Pattern from "~/model/Inffec/Pattern"
import Fecp0 from "./Fecp0"
import Oitpan from "./Oitpan"
import Infsea from "./Infsea"
export default {
components:{
"m-infsea" : Infsea,
"m-fecp0" : Fecp0,
"m-oitpan" : Oitpan,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "inffec",
model: new Inffec().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入inffec交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="12">
<el-form-item label="Addresse No." prop="seaobjkey">
<c-input v-model="model.seaobjkey" maxlength="24" placeholder="请输入Addresse No."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Adress Name" prop="seanam">
<c-input v-model="model.seanam" maxlength="40" placeholder="请输入Adress Name"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Corr. Type" prop="seacortyp">
<c-select v-model="model.seacortyp" style="width:100%" placeholder="请选择Corr. Type">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address of Message" prop="seacoradr">
<c-input v-model="model.seacoradr" maxlength="23" placeholder="请输入Address of Message"></c-input>
</el-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="24">
<div style="margin-top:20px;">
<c-button size="small" type="primary" @click="onInfbutSearow">
Search
</c-button>
<c-button size="small" type="primary" @click="onInfbutDsp">
Display
</c-button>
<c-button size="small" type="primary" @click="onInfbutUserow">
Use
</c-button>
<c-button size="small" type="primary" @click="onInfbutClr">
Clear
</c-button>
<c-button size="small" type="primary" @click="onInfbutButprt">
导Excel
</c-button>
<c-button size="small" type="primary" @click="onInfbutExi">
Exit
</c-button>
</div>
</c-col>
</c-row>
<el-row>
<c-istream-table :list="stmData.data" :columns="stmData.columns" >
</c-istream-table>
</el-row>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infptm/Event"
import cPage from '../../../components/c-page.vue';
export default {
components: { cPage },
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
stmData: {
columns: [
"6 1 \"Address No\" 150 ",
"7 2 \"Name\" 150",
"5 3 \"Corr Type\" 150",
"3 4 \"Corr Adr\" 150",
"4 5 \"Authent\" 150",
"9 6 \"Public Key\" 300",
],
data: [
]
}
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Addresse No." prop="seaobjkey">
<c-input v-model="model.seaobjkey" maxlength="24" placeholder="请输入Addresse No."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Name" prop="recpan.ptagrp.rec.nam">
<c-input v-model="model.recpan.ptagrp.rec.nam" maxlength="40" placeholder="请输入Address Name"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Corresp Type" prop="rec.cortyp">
<c-select v-model="model.rec.cortyp" style="width:100%" placeholder="请选择Output Chanel SWT, LET, TLX, TCO">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Corresp Addr" prop="rec.coradr">
<c-input v-model="model.rec.coradr" maxlength="80" placeholder="请输入Address of Message BIC, TID, i.e."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Authenticator" prop="rec.autflg">
<c-select v-model="model.rec.autflg" style="width:100%" placeholder="请选择Authenticator Exchanged Flag">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Authent Key" prop="rec.autdet">
<c-input v-model="model.rec.autdet" maxlength="40" placeholder="请输入Optional Authentication Key Public Key"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infptm/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000002 -->
<el-tab-pane label="Search Panel" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000029 -->
<el-tab-pane label="Authentication of Address" name="ptmp0">
<m-ptmp0 :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Infptm from "~/model/Infptm"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Infptm/Check"
import Default from "~/model/Infptm/Default"
import Pattern from "~/model/Infptm/Pattern"
import Infsea from "./Infsea"
import Ptmp0 from "./Ptmp0"
export default {
name: "Infptm",
components:{
"m-infsea" : Infsea,
"m-ptmp0" : Ptmp0,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "infptm",
model: new Infptm().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入infptm交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment