Commit 75b87d46 by wangweidong

wwwd...

parent ba8836a6
const BusRouter = [
{ path: 'inffxd', component: ()=>import("./Inffxd/views") ,name: 'Inffxd', meta: { title: '资结售汇报表交易查询' },module:'Funds'},
// { path: 'infftd', component: Infftd, name: 'Infftd', meta: { keepAlive: true, title: '资金拆借/头寸调拨报表交易查询' } },
{ path: 'fttatt', component: ()=>import("./Fttatt/views"), name: 'Fttatt', meta: { title: 'Fttatt' } ,module:'Funds'},
{ path: 'fttfcm', component: ()=>import("./Fttfcm/views"), name: 'Fttfcm', meta: { title: 'Fttfcm' } ,module:'Funds'},
{ path: 'fttfcn', component: ()=>import("./Fttfcn/views"), name: 'Fttfcn', meta: { title: 'Fttfcn' } ,module:'Funds'},
{ path: 'fttfee', component: ()=>import("./Fttfee/views"), name: 'Fttfee', meta: { title: 'Fttfee' } ,module:'Funds'},
{ path: 'fttfmt', component: ()=>import("./Fttfmt/views"), name: 'Fttfmt', meta: { title: 'Fttfmt' } ,module:'Funds'},
{ path: 'fttfre', component: ()=>import("./Fttfre/views"), name: 'Fttfre', meta: { title: 'Fttfre' } ,module:'Funds'},
{ path: 'fttpcm', component: ()=>import("./Fttpcm/views"), name: 'Fttpcm', meta: { title: 'Fttpcm' } ,module:'Funds'},
{ path: 'fttpcn', component: ()=>import("./Fttpcn/views"), name: 'Fttpcn', meta: { title: 'Fttpcn' } ,module:'Funds'},
{ path: 'fxtatt', component: ()=>import("./Fxtatt/views"), name: 'Fxtatt', meta: { title: 'Fxtatt' } ,module:'Funds'},
{ path: 'fxteop', component: ()=>import("./Fxteop/views"), name: 'Fxteop', meta: { title: '代客外汇买卖录入' } ,module:'Funds'},
{ path: 'fxteqo', component: ()=>import("./Fxteqo/views"), name: 'Fxteqo', meta: { title: '代客外汇买卖报价' } ,module:'Funds'},
{ path: 'fxtfcm', component: ()=>import("./Fxtfcm/views"), name: 'Fxtfcm', meta: { title: 'Fxtfcm' } ,module:'Funds'},
{ path: 'fxtfcn', component: ()=>import("./Fxtfcn/views"), name: 'Fxtfcn', meta: { title: 'Fxtfcn' } ,module:'Funds'},
{ path: 'inffxd', component: () => import("./Inffxd/views"), name: 'Inffxd', meta: { title: '资结售汇报表交易查询' }, module: 'Funds' },
{ path: 'infftd', component: () => import("./Infftd/views"), name: 'Infftd', meta: { title: '资金拆借/头寸调拨报表交易查询' }, module: 'Funds' },
{ path: 'fttatt', component: () => import("./Fttatt/views"), name: 'Fttatt', meta: { title: 'Fttatt' }, module: 'Funds' },
{ path: 'fttfcm', component: () => import("./Fttfcm/views"), name: 'Fttfcm', meta: { title: 'Fttfcm' }, module: 'Funds' },
{ path: 'fttfcn', component: () => import("./Fttfcn/views"), name: 'Fttfcn', meta: { title: 'Fttfcn' }, module: 'Funds' },
{ path: 'fttfee', component: () => import("./Fttfee/views"), name: 'Fttfee', meta: { title: 'Fttfee' }, module: 'Funds' },
{ path: 'fttfmt', component: () => import("./Fttfmt/views"), name: 'Fttfmt', meta: { title: 'Fttfmt' }, module: 'Funds' },
{ path: 'fttfre', component: () => import("./Fttfre/views"), name: 'Fttfre', meta: { title: 'Fttfre' }, module: 'Funds' },
{ path: 'fttpcm', component: () => import("./Fttpcm/views"), name: 'Fttpcm', meta: { title: 'Fttpcm' }, module: 'Funds' },
{ path: 'fttpcn', component: () => import("./Fttpcn/views"), name: 'Fttpcn', meta: { title: 'Fttpcn' }, module: 'Funds' },
{ path: 'fxtatt', component: () => import("./Fxtatt/views"), name: 'Fxtatt', meta: { title: 'Fxtatt' }, module: 'Funds' },
{ path: 'fxteop', component: () => import("./Fxteop/views"), name: 'Fxteop', meta: { title: '代客外汇买卖录入' }, module: 'Funds' },
{ path: 'fxteqo', component: () => import("./Fxteqo/views"), name: 'Fxteqo', meta: { title: '代客外汇买卖报价' }, module: 'Funds' },
{ path: 'fxtfcm', component: () => import("./Fxtfcm/views"), name: 'Fxtfcm', meta: { title: 'Fxtfcm' }, module: 'Funds' },
{ path: 'fxtfcn', component: () => import("./Fxtfcn/views"), name: 'Fxtfcn', meta: { title: 'Fxtfcn' }, module: 'Funds' },
{
path: "fxtfop",
component: () => import("./Fxtfop/views"),
......@@ -21,8 +21,8 @@ const BusRouter = [
meta: { title: "外币兑换平盘登记" },
module: "Funds",
},
{ path: 'fxtlcm', component: ()=>import("./Fxtlcm/views"), name: 'Fxtlcm', meta: { title: 'Fxtlcm' } ,module:'Funds'},
{ path: 'fxtlcn', component: ()=>import("./Fxtlcn/views"), name: 'Fxtlcn', meta: { title: 'Fxtlcn' } ,module:'Funds'},
{ path: 'fxtlcm', component: () => import("./Fxtlcm/views"), name: 'Fxtlcm', meta: { title: 'Fxtlcm' }, module: 'Funds' },
{ path: 'fxtlcn', component: () => import("./Fxtlcn/views"), name: 'Fxtlcn', meta: { title: 'Fxtlcn' }, module: 'Funds' },
{
path: "fxtlop",
component: () => import("./Fxtlop/views"),
......@@ -30,8 +30,8 @@ const BusRouter = [
meta: { title: "结售汇平盘登记" },
module: "Funds",
},
{ path: 'fxtssb', component: ()=>import("./Fxtssb/views"), name: 'Fxtssb', meta: { title: 'Fxtssb' } ,module:'Funds'},
{ path: 'fxtsss', component: ()=>import("./Fxtsss/views"), name: 'Fxtsss', meta: { title: 'Fxtsss' } ,module:'Funds'},
{ path: 'fxtsqo', component: ()=>import("./Fxtsqo/views"), name: 'Fxtsqo', meta: { title: '结售汇报价' } ,module:'Funds'},
{ path: 'fxtssb', component: () => import("./Fxtssb/views"), name: 'Fxtssb', meta: { title: 'Fxtssb' }, module: 'Funds' },
{ path: 'fxtsss', component: () => import("./Fxtsss/views"), name: 'Fxtsss', meta: { title: 'Fxtsss' }, module: 'Funds' },
{ path: 'fxtsqo', component: () => import("./Fxtsqo/views"), name: 'Fxtsqo', meta: { title: '结售汇报价' }, module: 'Funds' },
];
export default BusRouter
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow(){
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutDsp(){
let rtnmsg = await this.executeRule("infbut.dsp")
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 onRecpanButgetref(){
let rtnmsg = await this.executeRule("recpan.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTropDet(){
let rtnmsg = await this.executeRule("trop.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTripDet(){
let rtnmsg = await this.executeRule("trip.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBenpDet(){
let rtnmsg = await this.executeRule("benp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onActpDet(){
let rtnmsg = await this.executeRule("actp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Infftd Check规则
*/
let checkObj = {
"ftdgrp.act.pts.extkey" :null,
"ftdgrp.cbs.max.amt" :null,
"infcon.seaamtto" :null,
"ftdgrp.tri.pts.extkey" :null,
"ftdgrp.tri.pts.adrblk" :null,
"ftdgrp.rec.fttyp" :null,
"ftdgrp.rec.opndat" :null,
"ftdgrp.cbs.max.cur" :null,
"ftdgrp.rec.valdat" :null,
"recpan.usr.extkey" :null,
"ftdgrp.tro.pts.adrblk" :null,
"ftdgrp.ben.pts.extkey" :null,
"ftdgrp.tro.pts.extkey" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Infftd Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"infcon.usr.extkey" :Utils.defaultFunction,
"infcon.seapty" :Utils.defaultFunction,
"infcon.pty.extkey" :Utils.defaultFunction,
"ftdgrp.tri.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.tri.pts.adrblk" :Utils.defaultFunction,
"ftdgrp.rec.ownref" :Utils.defaultFunction,
"ftdgrp.rec.nam" :Utils.defaultFunction,
"ftdgrp.tro.pts.adrblk" :Utils.defaultFunction,
"ftdgrp.tro.pts.extkey" :Utils.defaultFunction,
"ftdgrp.rec.fttyp" :Utils.defaultFunction,
"ftdgrp.tri.pts.extkey" :Utils.defaultFunction,
"infbut.dspstm" :Utils.defaultFunction,
"ftdgrp.tro.dbfadrblkcn" :Utils.defaultFunction,
"ftdgrp.act.pts.extkey" :Utils.defaultFunction,
"recpan.usr.extkey" :Utils.defaultFunction,
"ftdgrp.cbs.max.cur" :Utils.defaultFunction,
"ftdgrp.rec.usr" :Utils.defaultFunction,
"ftdgrp.rec.ownusr" :Utils.defaultFunction,
"ftdgrp.ben.pts.extkey" :Utils.defaultFunction,
"ftdgrp.cbs.max.amt" :Utils.defaultFunction,
}
//你可以添加自动default处理
export default {
"infcon.seaownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"infcon.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"infcon.searef":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"infcon.accmng":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"infcon.pty.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"infcon.pty.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"infcon.seapty":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"infcon.opndatfrom":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.opndatto":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"infcon.seaamtfr":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"infcon.seaamtto":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"infbut.dspstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ftdgrp.tro.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"ftdgrp.rec.ownusr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recpan.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recpan.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recpan.trop.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.tro.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.trop.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.rec.usr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"ftdgrp.tro.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tro.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ftdgrp.rec.valdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ftdgrp.blk.remark":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tri.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recpan.trip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"ftdgrp.tri.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.trip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recpan.benp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.rec.rat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"ftdgrp.tri.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tri.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.ben.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.benp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ftdgrp.cbs.ins.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.cbs.ins.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"recpan.benact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"recpan.actp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.act.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.actp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.act.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"prtpanblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
export default class Infftd{
constructor () {
this.data = {
infcon:{
seaownref:"", // 业务编号 .infcon.seaownref
nam:"", // Name .infcon.nam
searef:"", // 参与方参考号 .infcon.searef
pty:{
extkey:"", // 选择一个参与方 .infcon.pty.extkey ETYEXTKEY
nam:"", // External Visible Name .infcon.pty.nam
},
seapty:"", // 参与方名称/BIC .infcon.seapty
searol:"", // Role .infcon.searol
opndatfrom:"", // 有效日期自 .infcon.opndatfrom
opndatto:"", // Open Date to .infcon.opndatto
usr:{
extkey:"", // User ID .infcon.usr.extkey
},
seasta:"", // Status .infcon.seasta
seacur:"", // 币种 .infcon.seacur
seaamtfr:"", // 金额自 .infcon.seaamtfr
seaamtto:"", // Amount to .infcon.seaamtto
accmng:"", // Account manager .infcon.accmng
},
infbut:{
dspstm:"", // display stream .infbut.dspstm
},
fttyp:"", // Funds Trans. Type .fttyp
ftdgrp:{
rec:{
ownref:"", // 资金调拨业务参考号 .ftdgrp.rec.ownref
nam:"", // 名称 .ftdgrp.rec.nam
opndat:"", // 开立日期 .ftdgrp.rec.opndat
valdat:"", // 起息日 .ftdgrp.rec.valdat
ownusr:"", // 资金部负责人 .ftdgrp.rec.ownusr
usr:"", // 清算中心负责人 .ftdgrp.rec.usr
fttyp:"", // 定存拆借类型 .ftdgrp.rec.fttyp
matdat:"", // 到期日 .ftdgrp.rec.matdat
rat:"", // 年利率 .ftdgrp.rec.rat
cntfra:"", // 计息方式 .ftdgrp.rec.cntfra
bnktyp:"", // Bank Type .ftdgrp.rec.bnktyp
},
tro:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tri.dbfadrblkcn
},
cbs:{
max:{
cur:"", // 定存拆借金额 .ftdgrp.cbs.max.cur
amt:"", // 定存拆借金额 .ftdgrp.cbs.max.amt
},
ins:{
cur:"", // 利息金额 .ftdgrp.cbs.ins.cur
amt:"", // Balance .ftdgrp.cbs.ins.amt
},
},
blk:{
remark:"", // 备注 .ftdgrp.blk.remark
},
ben:{
pts:new Pts().data,
},
act:{
pts:new Pts().data,
},
},
recpan:{
trop:{
ptsget:{
sdamod:{
seainf:"", // .recpan.trop.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.trop.ptsget.sdamod.dadsnd
},
},
},
trip:{
ptsget:{
sdamod:{
seainf:"", // .recpan.trip.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.trip.ptsget.sdamod.dadsnd
},
},
},
troact:"", // Trade-out Account .recpan.troact
triact:"", // 备注 .recpan.triact
usr:{
extkey:"", // User ID .recpan.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .recpan.usrget.sdamod.seainf
},
},
benp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .recpan.benp.ptsget.sdamod.dadsnd
seainf:"", // .recpan.benp.ptsget.sdamod.seainf
},
},
},
msgtyp:"", // 报文类型 .recpan.msgtyp
benact:"", // Ben Trade-in Account .recpan.benact
actp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .recpan.actp.ptsget.sdamod.dadsnd
seainf:"", // .recpan.actp.ptsget.sdamod.seainf
},
},
},
},
prtpanblk:"", // XMLPanel prtpan的内置block .prtpanblk
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- SF000063 : 业务编号 -->
<c-col :span="12">
<c-form-item :label="$t('infcon.SF000063')" prop="infcon.seaownref">
<c-input v-model="model.infcon.seaownref" maxlength="16" :placeholder="$t('other.please_enter')+$t('infcon.SF000063')"></c-input>
</c-form-item>
</c-col>
<!-- SF000062 : 名称 -->
<c-col :span="12">
<c-form-item label="Name" prop="infcon.nam">
<c-input v-model="model.infcon.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutSearow">
{{$t('infbut.CF000010')}}
</c-button>
</c-col>
<!-- SF000190 : 参与方参考号 -->
<c-col :span="12">
<c-form-item :label="$t('infcon.SF000190')" prop="infcon.searef">
<c-input v-model="model.infcon.searef" maxlength="16" :placeholder="$t('other.please_enter')+$t('infcon.SF000190')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutDsp">
{{$t('infbut.CF000011')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="Account manager" prop="infcon.accmng">
<c-input v-model="model.infcon.accmng" maxlength="6" :placeholder="$t('other.please_enter')+'Account manager'"></c-input>
</c-form-item>
</c-col>
<!-- SG001137 : Acc manager -->
<!-- SF000106 : 选择一个参与方 -->
<c-col :span="12">
<c-form-item :label="$t('infcon.SF000106')" prop="infcon.pty.extkey">
<c-input v-model="model.infcon.pty.extkey" maxlength="24" :placeholder="$t('other.please_enter')+$t('infcon.SF000106')"></c-input>
</c-form-item>
</c-col>
<!-- SF000108 : 参与方名称 -->
<c-col :span="12">
<c-form-item label="External Visible Name" prop="infcon.pty.nam">
<c-input v-model="model.infcon.pty.nam" maxlength="40" :placeholder="$t('other.please_enter')+'External Visible Name'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutUserow">
{{$t('infbut.CF000012')}}
</c-button>
</c-col>
<!-- SF000109 : 参与方名称/BIC -->
<c-col :span="12">
<c-form-item :label="$t('infcon.SF000109')" prop="infcon.seapty">
<c-input v-model="model.infcon.seapty" maxlength="24" :placeholder="$t('other.please_enter')+$t('infcon.SF000109')"></c-input>
</c-form-item>
</c-col>
<!-- SF000105 : 角色 -->
<c-col :span="12">
<el-form-item label="Role" prop="infcon.searol">
<c-select v-model="model.infcon.searol" style="width:100%" :placeholder="$t('other.please_enter')+'Role'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutClr">
{{$t('infbut.CF000023')}}
</c-button>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('infcon.SF000064')" prop="infcon.opndatfrom">
<c-date-picker type="date" v-model="model.infcon.opndatfrom" style="width:100%" :placeholder="$t('other.please_enter')+$t('infcon.SF000064')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000065 : 到 -->
<c-col :span="12">
<el-form-item label="Open Date to" prop="infcon.opndatto">
<c-date-picker type="date" v-model="model.infcon.opndatto" style="width:100%" :placeholder="$t('other.please_enter')+'Open Date to'"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000100 : Resp. User -->
<c-col :span="12">
<c-form-item label="User ID" prop="infcon.usr.extkey">
<c-input v-model="model.infcon.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+'User ID'"></c-input>
</c-form-item>
</c-col>
<!-- SF000104 : 状态 -->
<c-col :span="12">
<el-form-item label="Status" prop="infcon.seasta">
<c-select v-model="model.infcon.seasta" style="width:100%" :placeholder="$t('other.please_enter')+'Status'">
</c-select>
</el-form-item>
</c-col>
<!-- SF000064 : 有效日期自 -->
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutButprt">
{{$t('infbut.CG000026')}}
</c-button>
</c-col>
<!-- SF000101 : 币种 -->
<c-col :span="12">
<el-form-item :label="$t('infcon.SF000101')" prop="infcon.seacur">
<c-select v-model="model.infcon.seacur" style="width:100%" :placeholder="$t('other.please_enter')+$t('infcon.SF000101')">
</c-select>
</el-form-item>
</c-col>
<!-- SF000102 : 金额自 -->
<c-col :span="12">
<c-form-item :label="$t('infcon.SF000102')" prop="infcon.seaamtfr">
<c-input v-model="model.infcon.seaamtfr" :placeholder="$t('other.please_enter')+$t('infcon.SF000102')"></c-input>
</c-form-item>
</c-col>
<!-- SF000103 : 到 -->
<c-col :span="12">
<c-form-item label="Amount to" prop="infcon.seaamtto">
<c-input v-model="model.infcon.seaamtto" :placeholder="$t('other.please_enter')+'Amount to'"></c-input>
</c-form-item>
</c-col>
<!-- SF000191 : Funds Trans. Type -->
<c-col :span="12">
<el-form-item :label="$t('infftd.SF000191')" prop="fttyp">
<c-select v-model="model.fttyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('infftd.SF000191')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="display stream" prop="infbut.dspstm">
<c-input v-model="model.infbut.dspstm" :placeholder="$t('other.please_enter')+'display stream'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutExi">
{{$t('infbut.CF000013')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="XMLPanel prtpan的内置block" prop="prtpanblk">
<c-input type="textarea" v-model="model.prtpanblk" maxlength="200" show-word-limit :placeholder="$t('other.please_enter')+'XMLPanel prtpan的内置block'" ></c-input>
</c-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 "../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="myTabClick">
<!--infftd PD000006 Selection -->
<el-tab-pane :label="$t('infftd.PD000006')" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane>
<!--infftd PD000208 Funds Transfer -->
<el-tab-pane :label="$t('infftd.PD000208')" name="fttp">
<m-fttp :model="model" :codes="codes"/>
</el-tab-pane>
<!--infftd PD000005 Print -->
<el-tab-pane :label="$t('infftd.PD000005')" name="prtpan">
<m-prtpan :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 Infftd from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Infsea from "./Infsea"
import Fttp from "./Fttp"
import Prtpan from "./Prtpan"
export default {
name: "Infftd",
components:{
"m-infsea" : Infsea,
"m-fttp" : Fttp,
"m-prtpan" : Prtpan,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "infftd",
trnType: "",
model: new Infftd().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入infftd交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
......@@ -51,12 +51,10 @@ export default {
},
async handleReset() {
this.model.infcon.seaownref = "";
this.model.infcon.opndat = new Date();
this.model.infcon.opndatfrom = new Date();
this.model.infcon.opndatto = new Date();
this.model.infcon.nam = "";
this.model.infcon.seacur = "";
this.model.infcon.eaamtfr = "";
this.model.infcon.eaamtto = "";
......
......@@ -5,19 +5,13 @@ export default class inffxd{
this.data = {
infcon:{
seaownref:"", // 业务编号 .infcon.seaownref
nam:"", // Name .infcon.nam
nam:"", // Name客户名称 .infcon.nam
opndat:"", //
opndatfrom:"", // 有效日期自 .infcon.opndatfrom
opndatto:"", // Open Date to .infcon.opndatto
seacur:"", // 币种 .infcon.seacur
seaamtfr:"", // 金额自 .infcon.seaamtfr
seaamtto:"", // Amount to .infcon.seaamtto
},
infbut:{
dspstm:"", // display stream .infbut.dspstm
......
......@@ -21,7 +21,7 @@
</c-col>
<c-col :span="8">
<el-form-item
label="有效日期"
label="交易有效日期"
prop="opndatfrom"
style="width: 100%"
>
......@@ -30,6 +30,7 @@
type="date"
v-model="model.infcon.opndatfrom"
style="width: 100%"
></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
......@@ -45,7 +46,7 @@
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="参与方名称" prop="nam" style="width: 100%">
<el-form-item label="客户名称" prop="nam" style="width: 100%">
<c-input
v-model="model.infcon.nam"
maxlength="40"
......@@ -93,6 +94,7 @@
</c-col>
</el-form-item>
</c-col>
</c-col>
</el-row>
......@@ -155,11 +157,11 @@ export default {
columns: [
{
label: "业务编号",
prop: "seaownref",
prop: "ownref",
width: "180px",
},
{
label: "名称",
label: "客户名称",
prop: "nam",
width: "180px",
},
......@@ -168,28 +170,58 @@ export default {
prop: "seacur",
width: "120px",
},
{
label: "开始日期",
prop: "opndatfrom",
label: "日期",
prop: "opndat",
width: "120px",
},
{
label: "交易金额",
prop: "seaamt",
width: "120px",
},
{
label: "机构编号",
prop: "bchkeyinr",
width: "120px",
},
{
label: "机构编码",
prop: "branchinr",
width: "120px",
},
{
label: "结束日期",
prop: "opndatto",
label: "平盘类型",
prop: "fxtyp",
width: "120px",
},
{
label: "金额下限",
prop: "seaamtfr",
label: "结售汇类型",
prop: "trdint",
width: "120px",
},
{
label: "金额上限",
prop: "seaamtto",
label: "外币结算账号",
prop: "acc",
width: "120px",
},
{
label: "本币结算账号",
prop: "acc2",
width: "120px",
},
{
label: "资金部经办人",
prop: "ownsur",
width: "120px",
},
{
label: "营运部经办人",
prop: "usr",
width: "120px",
},
],
data: [],
},
......
import Api from "~/service/Api"
export default class Inffxd {
constructor() {
this.data = {
infcon: {
seaownref: "", // 业务编号 .infcon.seaownref
nam: "", // 参与方名称Name .infcon.nam
fxtyp, //平盘类型
trdint, //结售汇类型
fudref, //资金部编号
//searef:"", // 参与方参考号 .infcon.searef
//seapty:"", // 参与方名称/BIC .infcon.seapty
opndatfrom: "", // 成交有效日期自 .infcon.opndatfrom
opndatto: "", // Open Date to .infcon.opndatto
seacur: "", // 币种 .infcon.seacur
seaamtfr: "", // 金额自 .infcon.seaamtfr
seaamtto: "", // Amount to .infcon.seaamtto
//trnman, //交易主体
acc, //外币结算账号
acc2, //本币结算账号
ownusr, //资金部经办人
usr, //营运部经办人
},
infbut: {
dspstm: "", // display stream .infbut.dspstm
},
fttyp: "", // Funds Trans. Type .fttyp
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eContainer-search">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-content>
<m-infsea :model="model" :codes="codes" ref="infsea"/>
</c-content>
</el-form>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Inffxd from "../model";
import event from "../event"
import Infsea from "./Infsea.vue"
export default {
name: "Inffxd",
components:{
"m-infsea" : Infsea,
},
provide() {
return {
root: this
}
},
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "infsea",
trnName: "inffxd",
model: new Inffxd().data,
rules: null,
codes:{...CodeTable},
};
},
methods:{},
created:async function() {},
};
</script>
<style scoped>
</style>
......@@ -24,7 +24,7 @@ export default {
}
this.load = true;
let rtnmsg = await Api.post("/webapi/gjzf/infsea/query", {
let rtnmsg = await Api.post("/funds/ftdsel/query", {
...this.model.infcon,
dir: ">",
pageNum: this.pagination.pageNum,
......@@ -54,17 +54,10 @@ export default {
this.model.infcon.opndatfrom = new Date();
this.model.infcon.opndatto = new Date();
this.model.infcon.nam = "";
this.model.infcon.fxtyp = "";
this.model.infcon.trdint = "";
this.model.infcon.fudref = "";
this.model.infcon.seacur = "";
this.model.infcon.eaamtfr = "";
this.model.infcon.eaamtto = "";
//this.model.infcon.trnman = "";
this.model.infcon.acc = "";
this.model.infcon.acc2 = "";
this.model.infcon.ownusr = "";
this.model.infcon.usr = "";
},
// pageSize改变
handleSizeChange(val) {
......
import Api from "~/service/Api"
export default class inffxd{
constructor () {
this.data = {
infcon:{
seaownref:"", // 业务编号 .infcon.seaownref
nam:"", // Name客户名称 .infcon.nam
opndatfrom:"", // 有效日期自 .infcon.opndatfrom
opndatto:"", // Open Date to .infcon.opndatto
seacur:"", // 币种 .infcon.seacur
seaamtfr:"", // 金额自 .infcon.seaamtfr
seaamtto:"", // Amount to .infcon.seaamtto
},
infbut:{
dspstm:"", // display stream .infbut.dspstm
},
fttyp:"", // Funds Trans. Type .fttyp
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
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