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
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-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