Commit 09c06c4b by 吴佳

结售汇报价、结售汇平盘-平盘登记、平盘确认 页面布局调整

parent a79657db
import Utils from "~/utils";
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
return {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts,
};
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.fxdgrp, this.buildPtspta);
return {
rec: {
objtyp: "FXD",
objinr: model.fxdgrp.rec.inr,
ownref: model.fxdgrp.rec.ownref,
},
cbsMap: {
MAX: model.fxdgrp.cbs.max,
NOM1: model.fxdgrp.cbs.nom1,
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : "ZL",
};
},
},
};
import commonFunctions from '~/mixin/commonFunctions.js';
import Api from '~/service/Api';
export default {
mixins: [commonFunctions],
methods: {
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Fxtlcm Check规则
*/
let checkObj = {
"fxdgrp.apl.pts.adrblk" :null,
"mt30m.a53.pts.extkey" :null,
"mt30m.comcur" :null,
"fxdgrp.act.pts.extkey" :null,
"fxdgrp.cbs.max.cur" :null,
"mt30m.ini.pts.extkey" :null,
"mt30m.b58.pts.extkey" :null,
"mt30m.c88.pts.extkey" :null,
"fxtp.cnychk" :null,
"aplacc.pts.extkey" :null,
"mt30m.b53.pts.extkey" :null,
"mt30m.b56.pts.extkey" :null,
"fxdgrp.apl.pts.ref" :null,
"fxdgrp.apl.pts.extkey" :null,
"fxtp.usr.extkey" :null,
"mt30m.owc.pts.extkey" :null,
"mt30m.enttyp" :null,
"mt30m.comamt" :null,
"mt30m.c85.pts.extkey" :null,
"mt30m.c84.pts.extkey" :null,
"mt30m.rbc.pts.extkey" :null,
}
export default {
"fxdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
"fxdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fxdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fxdgrp.rec.ownusr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"fxtp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"fxtp.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fxtp.aplp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fxdgrp.apl.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fxtp.aplp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fxdgrp.rec.usr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"fxdgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fxdgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fxdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"fxdgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"fxdgrp.rec.rat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"aplaccp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"aplacc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"aplaccp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fxdgrp.rec.midrat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"aplacc.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fxdgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fxdgrp.rec.valdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fxdgrp.act.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fxtp.actp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fxdgrp.act.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fxtp.actp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fxdgrp.blk.remark":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fxdgrp.act.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mt30m.a53act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"mt30m.b53act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"mt30m.a53p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.b53p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.a53.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.a53p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mt30m.b53.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.b53p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mt30m.conref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.a53.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mt30m.b53.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mt30m.iniact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"mt30m.b56act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"mt30m.inip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.b56p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.ini.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.inip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mt30m.b56.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.b56p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mt30m.coninf":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"mt30m.ini.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mt30m.b56.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mt30m.rbcact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"mt30m.owcact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"mt30m.rbcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.owcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.rbc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.rbcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mt30m.owc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.owcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mt30m.deamettxt":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"mt30m.rbc.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mt30m.owc.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mt30m.comamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"mt30m.c84p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.b58act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"mt30m.c84.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.c84p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mt30m.ctpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.b58p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.b58.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.b58p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mt30m.c84.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mt30m.c88ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.b58.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mt30m.str300":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"mt30m.c88p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.c88.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.c88p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mt30m.c85p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.c85.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.c85p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mt30m.c88.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mt30m.c85.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fxt300l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"mt30m.sndref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.unlref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.plsdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mt30m.plsamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"mt30m.ousamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
}
\ No newline at end of file
/**
* Fxtlcm Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"mt30m.c85.pts.extkey" :Utils.defaultFunction,
"mt30m.deamet" :Utils.defaultFunction,
"fxtp.cnychk" :Utils.defaultFunction,
"fxtp.frgchk" :Utils.defaultFunction,
"fxdgrp.rec.ownusr" :Utils.defaultFunction,
"fxdgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"swtflg" :Utils.defaultFunction,
"fxtp.usr.extkey" :Utils.defaultFunction,
"fxdgrp.rec.usr" :Utils.defaultFunction,
"fxdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"fxdgrp.cbs.max.cur" :Utils.defaultFunction,
"fxdgrp.rec.rat" :Utils.defaultFunction,
"fxdgrp.cbs.nom1.amt" :Utils.defaultFunction,
"fxdgrp.cbs.max.amt" :Utils.defaultFunction,
"mt30m.c84.pts.extkey" :Utils.defaultFunction,
"fxdgrp.apl.pts.adrblk" :Utils.defaultFunction,
"mt30m.deamettxt" :Utils.defaultFunction,
"mt30m.b58.pts.extkey" :Utils.defaultFunction,
"fxdgrp.act.pts.extkey" :Utils.defaultFunction,
"fxdgrp.rec.fxtyp" :Utils.defaultFunction,
"fxdgrp.apl.pts.extkey" :Utils.defaultFunction,
"mt30m.a53.pts.extkey" :Utils.defaultFunction,
"aplacc.pts.extkey" :Utils.defaultFunction,
"mt30m.b53.pts.extkey" :Utils.defaultFunction,
"mt30m.b56.pts.extkey" :Utils.defaultFunction,
"fxdgrp.rec.ownref" :Utils.defaultFunction,
"mt30m.rbc.pts.extkey" :Utils.defaultFunction,
"mt30m.ini.pts.extkey" :Utils.defaultFunction,
"mt30m.s94a" :Utils.defaultFunction,
"mt30m.owc.pts.extkey" :Utils.defaultFunction,
"mt30m.c88.pts.extkey" :Utils.defaultFunction,
"mt30m.s22a" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onFxtpButgetref(){
let rtnmsg = await this.executeRule("fxtp.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAplpDet(){
let rtnmsg = await this.executeRule("aplp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAplaccpDet(){
let rtnmsg = await this.executeRule("aplaccp.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: '服务请求失败!'});
}
},
async onA53pDet(){
let rtnmsg = await this.executeRule("a53p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onB53pDet(){
let rtnmsg = await this.executeRule("b53p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInipDet(){
let rtnmsg = await this.executeRule("inip.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onB56pDet(){
let rtnmsg = await this.executeRule("b56p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRbcpDet(){
let rtnmsg = await this.executeRule("rbcp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOwcpDet(){
let rtnmsg = await this.executeRule("owcp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onC84pDet(){
let rtnmsg = await this.executeRule("c84p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onB58pDet(){
let rtnmsg = await this.executeRule("b58p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onC88pDet(){
let rtnmsg = await this.executeRule("c88p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onC85pDet(){
let rtnmsg = await this.executeRule("c85p.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"fxdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fxdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fxdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fxdgrp.rec.ownusr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"fxtp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"fxtp.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fxtp.aplp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fxdgrp.apl.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fxtp.aplp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fxdgrp.rec.usr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"fxdgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fxdgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fxdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"fxdgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"fxdgrp.rec.rat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"aplaccp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"aplacc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"aplaccp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fxdgrp.rec.midrat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"aplacc.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fxdgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fxdgrp.rec.valdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fxdgrp.act.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fxtp.actp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fxdgrp.act.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fxtp.actp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fxdgrp.blk.remark":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fxdgrp.act.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mt30m.a53act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"mt30m.b53act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"mt30m.a53p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.b53p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.a53.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.a53p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mt30m.b53.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.b53p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mt30m.conref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.a53.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mt30m.b53.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mt30m.iniact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"mt30m.b56act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"mt30m.inip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.b56p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.ini.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.inip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mt30m.b56.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.b56p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mt30m.coninf":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"mt30m.ini.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mt30m.b56.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mt30m.rbcact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"mt30m.owcact":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"mt30m.rbcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.owcp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.rbc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.rbcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mt30m.owc.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.owcp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mt30m.deamettxt":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"mt30m.rbc.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mt30m.owc.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mt30m.comamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"mt30m.c84p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.b58act":[
{type: "string", required: false, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"mt30m.c84.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.c84p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mt30m.ctpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.b58p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.b58.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.b58p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mt30m.c84.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mt30m.c88ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.b58.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mt30m.str300":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"mt30m.c88p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.c88.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.c88p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mt30m.c85p.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.c85.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.c85p.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"mt30m.c88.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"mt30m.c85.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fxt300l1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"mt30m.sndref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.unlref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"mt30m.plsdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mt30m.plsamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"mt30m.ousamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
import Pub from "../../../../components/business/commonModel/index.js";
export default class Fxtlcm{
constructor () {
......@@ -222,7 +223,11 @@ export default class Fxtlcm{
ousamt:"", // Outstanding Settlement Amount .mt30m.ousamt
},
fxt300l1blk:"", // XMLPanel fxt300l1的内置block .fxt300l1blk
pageId: "" // ctx的key
pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
liaccv: new Pub().data.Liaccv,
trndia: new Pub().data.Trndia,
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- S0000002 : 平盘业务参考号 -->
<c-col :span="12">
<c-form-item :label="$t('fxtlcm.S0000002')" prop="fxdgrp.rec.ownref">
<c-input v-model="model.fxdgrp.rec.ownref" maxlength="16" :placeholder="$t('other.please_enter')+$t('fxtlcm.S0000002')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onFxtpButgetref">
{{$t('fxtlcm.C0000016')}}
</c-button>
</c-col>
<!-- S0000003 : 名称 -->
<c-col :span="12">
<c-form-item :label="$t('fxtlcm.S0000003')" prop="fxdgrp.rec.nam">
<c-input v-model="model.fxdgrp.rec.nam" maxlength="40" :placeholder="$t('other.please_enter')+$t('fxtlcm.S0000003')"></c-input>
</c-form-item>
</c-col>
<!-- S0000006 : 平盘对手 -->
<c-col :span="12">
<c-form-item :label="$t('fxtlcm.S0000006')" prop="fxdgrp.apl.pts.ref">
<c-input v-model="model.fxdgrp.apl.pts.ref" maxlength="20" :placeholder="$t('other.please_enter')+$t('fxtlcm.S0000006')"></c-input>
</c-form-item>
</c-col>
<!-- S0000004 : 资金部负责人 -->
<c-col :span="12">
<c-form-item :label="$t('fxtlcm.S0000004')" prop="fxdgrp.rec.ownusr">
<c-input v-model="model.fxdgrp.rec.ownusr" maxlength="8" :placeholder="$t('other.please_enter')+$t('fxtlcm.S0000004')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="User ID" prop="fxtp.usr.extkey">
<c-input v-model="model.fxtp.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+'User ID'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="fxtp.usrget.sdamod.seainf">
<c-input v-model="model.fxtp.usrget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="fxtp.aplp.ptsget.sdamod.dadsnd">
<c-input v-model="model.fxtp.aplp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="fxdgrp.apl.pts.extkey">
<c-input v-model="model.fxdgrp.apl.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="fxtp.aplp.ptsget.sdamod.seainf">
<c-input v-model="model.fxtp.aplp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAplpDet">
{{$t('ptsp.CF000081')}}
<!-- ==============================左边============================== -->
<c-col :span="12" style="padding-right: 20px;">
<!-- 业务参考号 -->
<c-col :span="24">
<c-form-item :label="$t('fxtlcm.业务参考号')" prop="fxdgrp.rec.ownref">
<c-fullbox>
<c-input
v-model="model.fxdgrp.rec.ownref"
maxlength="16"
placeholder="请输入业务编号"
disabled
>
</c-input>
<template slot="footer">
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="model.fxdgrp.apl.pts.ptainr === ''"
@click="getOwnref"
>
获取
</c-button>
</c-col>
<!-- S0000021 : 清算中心负责人 -->
<c-col :span="12">
<c-form-item :label="$t('fxtlcm.S0000021')" prop="fxdgrp.rec.usr">
<c-input v-model="model.fxdgrp.rec.usr" maxlength="8" :placeholder="$t('other.please_enter')+$t('fxtlcm.S0000021')"></c-input>
</template>
</c-fullbox>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="fxdgrp.apl.pts.adrblk">
<c-input type="textarea" v-model="model.fxdgrp.apl.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
<!-- 资金部负责人 -->
<c-col :span="24">
<c-form-item :label="$t('fxtlcm.资金部负责人')" prop="fxdgrp.rec.ownusr">
<c-input v-model="model.fxdgrp.rec.ownusr" maxlength="8"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="fxdgrp.apl.dbfadrblkcn">
<c-input type="textarea" v-model="model.fxdgrp.apl.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
<!-- 清算中心负责人 -->
<c-col :span="24">
<c-form-item :label="$t('fxtlcm.清算中心负责人')" prop="fxdgrp.rec.usr">
<c-input v-model="model.fxdgrp.rec.usr" maxlength="8"></c-input>
</c-form-item>
</c-col>
<!-- S0000005 : 平盘类型 -->
<c-col :span="12">
<el-form-item :label="$t('fxtlcm.S0000005')" prop="fxdgrp.rec.fxtyp">
<c-select v-model="model.fxdgrp.rec.fxtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('fxtlcm.S0000005')">
<!-- 平盘类型 -->
<c-col :span="24">
<el-form-item :label="$t('fxtlcm.平盘类型')" prop="fxdgrp.rec.fxtyp">
<c-select v-model="model.fxdgrp.rec.fxtyp" style="width:100%" >
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.fxtp.amtlab" data-path=".fxtp.amtlab" > </span>
</c-col>
</c-col>
<!-- 卖出金额 -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Currency" prop="fxdgrp.cbs.max.cur">
<c-select v-model="model.fxdgrp.cbs.max.cur" style="width:100%" :placeholder="$t('other.please_enter')+'Currency'">
<el-form-item :label="$t('fxtsqo.卖出金额')" prop="fxdgrp.cbs.max.cur">
<c-select v-model="model.fxdgrp.cbs.max.cur" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Balance" prop="fxdgrp.cbs.max.amt">
<c-input v-model="model.fxdgrp.cbs.max.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
<c-form-item label-width="5px" prop="fxdgrp.cbs.max.amt">
<c-input v-model="model.fxdgrp.cbs.max.amt"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.fxtp.frgchk">{{$t('fxtp.C0000100')}}</c-checkbox>
</c-col>
<c-col :span="12">
<span v-text="model.fxtp.cnylab" data-path=".fxtp.cnylab" > </span>
</c-col>
<!-- 买入金额 -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Currency" prop="fxdgrp.cbs.nom1.cur">
<c-select v-model="model.fxdgrp.cbs.nom1.cur" style="width:100%" :placeholder="$t('other.please_enter')+'Currency'">
<el-form-item :label="$t('fxtsqo.买入金额')" prop="fxdgrp.cbs.nom1.cur">
<c-select v-model="model.fxdgrp.cbs.nom1.cur" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Balance" prop="fxdgrp.cbs.nom1.amt">
<c-input v-model="model.fxdgrp.cbs.nom1.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
<c-form-item label-width="5px" prop="fxdgrp.cbs.nom1.amt">
<c-input v-model="model.fxdgrp.cbs.nom1.amt"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.fxtp.cnychk">{{$t('fxtp.C0000101')}}</c-checkbox>
</c-col>
<!-- S0000017 : 平盘对手账户行 -->
<!-- S0000013 : 平盘牌价 -->
<c-col :span="12">
<c-form-item :label="$t('fxtlcm.S0000013')" prop="fxdgrp.rec.rat">
<c-input v-model="model.fxdgrp.rec.rat" :placeholder="$t('other.please_enter')+$t('fxtlcm.S0000013')"></c-input>
<!-- 平盘牌价 -->
<c-col :span="24">
<c-form-item :label="$t('fxtlcm.平盘牌价')" prop="fxdgrp.rec.rat">
<c-input v-model="model.fxdgrp.rec.rat" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="aplaccp.ptsget.sdamod.dadsnd">
<c-input v-model="model.aplaccp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
<!-- 中间价 -->
<c-col :span="24">
<c-form-item :label="$t('fxtlcm.中间价')" prop="fxdgrp.rec.midrat">
<c-input v-model="model.fxdgrp.rec.midrat" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="aplacc.pts.extkey">
<c-input v-model="model.aplacc.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="aplaccp.ptsget.sdamod.seainf">
<c-input v-model="model.aplaccp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAplaccpDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<!-- S0000014 : 中间价 -->
<c-col :span="12">
<c-form-item :label="$t('fxtlcm.S0000014')" prop="fxdgrp.rec.midrat">
<c-input v-model="model.fxdgrp.rec.midrat" :placeholder="$t('other.please_enter')+$t('fxtlcm.S0000014')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="aplacc.pts.nam">
<c-input v-model="model.aplacc.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<!-- S0000007 : 平盘日期 -->
<c-col :span="12">
<el-form-item :label="$t('fxtlcm.S0000007')" prop="fxdgrp.rec.opndat">
<c-date-picker type="date" v-model="model.fxdgrp.rec.opndat" style="width:100%" :placeholder="$t('other.please_enter')+$t('fxtlcm.S0000007')"></c-date-picker>
<!-- 平盘日期 -->
<c-col :span="24">
<el-form-item :label="$t('fxtsqo.登记日期')" prop="fxdgrp.rec.opndat">
<c-date-picker type="date" v-model="model.fxdgrp.rec.opndat" style="width:100%"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="APLACC's Account" prop="acc2">
<c-select v-model="model.acc2" style="width:100%" :placeholder="$t('other.please_enter')+'APLACC\'s Account'">
</c-select>
<!-- 起息日 -->
<c-col :span="24">
<el-form-item :label="$t('fxtsqo.起息日')" prop="fxdgrp.rec.valdat">
<c-date-picker type="date" v-model="model.fxdgrp.rec.valdat" style="width:100%"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000008 : 起息日 -->
<c-col :span="12">
<el-form-item :label="$t('fxtlcm.S0000008')" prop="fxdgrp.rec.valdat">
<c-date-picker type="date" v-model="model.fxdgrp.rec.valdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('fxtlcm.S0000008')"></c-date-picker>
</el-form-item>
<!-- 备注 -->
<c-col :span="24">
<c-form-item :label="$t('fxtsqo.备注')" prop="fxdgrp.blk.remark">
<c-input type="textarea" v-model="model.fxdgrp.blk.remark" maxlength="35" show-word-limit></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- ==============================右边============================== -->
<c-col :span="12" style="padding-right: 20px;">
<!-- 名称 -->
<c-col :span="24">
<c-form-item :label="$t('fxtsqo.名称')" prop="fxdgrp.rec.nam">
<c-input v-model="model.fxdgrp.rec.nam" maxlength="40"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-card class="box-card">
<c-ptap
:model="model"
:requiredExtkey="true"
:disabledExtkey="false"
:disabled="true"
:isAdrblk="true"
:haveAdrLabel="true"
:argadr="{ title: '平盘对手', grp: 'fxdgrp', rol: 'apl' }"
:label="{
labelExtkey: '平盘对手',
labelNam: '名称',
labelAdrblk: '地址',
}"
ptytyp="C"
>
</c-ptap>
</el-card>
</c-col>
<!-- 平盘对手账号 对应model下面的aplacc ,优化时需要修改grp 和rol -->
<c-col :span="24">
<el-card class="box-card">
<c-ptap
:model="model"
:requiredExtkey="true"
:disabled="false"
:isAdrblk="true"
:haveAdrLabel="true"
:isShowCard="false"
:argadr="{ title: '平盘对手账号', grp: 'fxdgrp', rol: 'act' }"
ptytyp="C"
>
</c-ptap>
</el-card>
</c-col>
<c-col :span="24">
<el-card class="box-card">
<c-ptap
:model="model"
:requiredExtkey="true"
:disabled="false"
:isAdrblk="true"
:haveAdrLabel="true"
:isShowCard="false"
:argadr="{ title: '我行账户行', grp: 'fxdgrp', rol: 'act' }"
ptytyp="B"
>
</c-ptap>
</el-card>
</c-col>
<!-- S0000019 : 我行账户行 -->
<c-col :span="12">
<c-form-item :label="$t('fxtlcm.S0000019')" prop="fxdgrp.act.pts.ref">
<c-input v-model="model.fxdgrp.act.pts.ref" maxlength="20" :placeholder="$t('other.please_enter')+$t('fxtlcm.S0000019')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="fxtp.actp.ptsget.sdamod.dadsnd">
<c-input v-model="model.fxtp.actp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="fxdgrp.act.pts.extkey">
<c-input v-model="model.fxdgrp.act.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="fxtp.actp.ptsget.sdamod.seainf">
<c-input v-model="model.fxtp.actp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onActpDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<!-- S0000009 : 备注 -->
<c-col :span="12">
<c-form-item :label="$t('fxtlcm.S0000009')" prop="fxdgrp.blk.remark">
<c-input type="textarea" v-model="model.fxdgrp.blk.remark" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('fxtlcm.S0000009')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="fxdgrp.act.pts.nam">
<c-input v-model="model.fxdgrp.act.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="OWNACC's Account" prop="acc1">
<c-select v-model="model.acc1" style="width:100%" :placeholder="$t('other.please_enter')+'OWNACC\'s Account'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.swtflg">{{$t('fxtlcm.C0000022')}}</c-checkbox>
</c-col>
</div>
</template>
......@@ -266,21 +176,17 @@
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
return {}
},
methods:{...Event},
created:function(){
}
methods:{},
created:function(){}
}
</script>
<style>
......
......@@ -3,88 +3,81 @@
<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">
<!--fxtlcm PD000001 Confirmation -->
<el-tab-pane :label="$t('fxtlcm.PD000001')" name="cnfp">
<el-tab-pane :label="$t('fxtlcm.Confirmation')" name="cnfp">
<m-cnfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--fxtlcm PD000023 MT300 -->
<el-tab-pane :label="$t('fxtlcm.PD000023')" name="mt300">
<m-mt300 :model="model" :codes="codes"/>
</el-tab-pane>
<!--fxtlcm PD000065 MT300 -->
<el-tab-pane :label="$t('fxtlcm.PD000065')" name="fxt300l1">
<m-fxt300l1 :model="model" :codes="codes"/>
<el-tab-pane :label="$t('commonModels.费用/账务')" name="setpan">
<c-content>
<m-setmod :model="model" :codes="codes"></m-setmod>
</c-content>
</el-tab-pane>
<!--fxtlcm PD000084 MT300(1) -->
<el-tab-pane :label="$t('fxtlcm.PD000084')" name="mt3001">
<m-mt3001 :model="model" :codes="codes"/>
<el-tab-pane :label="$t('commonModels.报文/面函')" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"></m-docpan>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn">
</c-function-btn>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Fxtlcm from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import operationFunc from "~/mixin/operationFunc"
import Cnfp from "./Cnfp"
import Mt300 from "./Mt300"
import Fxt300l1 from "./Fxt300l1"
import Mt3001 from "./Mt3001"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import event from "../event";
import commonDepend from "~/mixin/commonDepend";
import buildFn from "../event/buildCommons.js";
export default {
name: "Fxtlcm",
components:{
"m-cnfp" : Cnfp,
"m-mt300" : Mt300,
"m-fxt300l1" : Fxt300l1,
"m-mt3001" : Mt3001,
"m-setpan": Setpan,
"m-docpan": Docpan
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [operationFunc, event, commonDepend, buildFn],
data(){
return {
tabVal: "cnfp",
trnName: "fxtlcm",
trnType: "",
model: new Fxtlcm().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
codes: {},
rules: {},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
methods:{},
created:async function(){},
mounted() {
console.log("fxtlcm");
let params = {
transName: this.trnName,
fxdgrp: {
rec: {
inr: this.$route.query.inr || "",
},
created:async function(){
console.log("进入fxtlcm交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
};
this.init(params)
}
}
</script>
......
......@@ -113,6 +113,17 @@
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="成交日" prop="fxdgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.fxdgrp.rec.opndat"
style="width: 100%"
placeholder="请输入成交日"
>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="备注" prop="fxdgrp.blk.remark">
<c-input
type="textarea"
......@@ -129,6 +140,11 @@
<!-- ==================右边================ -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<c-form-item :label="$t('fxtlop.业务名称')" prop="fxdgrp.rec.nam">
<c-input v-model="model.fxdgrp.rec.nam" maxlength="40" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-card class="box-card">
<c-ptap
:model="model"
......@@ -150,17 +166,6 @@
</el-card>
</c-col>
<c-col :span="24">
<el-form-item label="成交日" prop="fxdgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.fxdgrp.rec.opndat"
style="width: 100%"
placeholder="请输入成交日"
>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="起息日" prop="fxdgrp.rec.valdat">
<c-date-picker
type="date"
......
......@@ -4,21 +4,40 @@
<c-col :span="12" style="padding-right: 20px;">
<!-- 结售汇业务参考号 -->
<c-col :span="24">
<c-form-item :label="$t('fxtsqo.Reference')" prop="fxdgrp.rec.ownref">
<c-input v-model="model.fxdgrp.rec.ownref" maxlength="16"></c-input>
<c-form-item :label="$t('fxtsqo.业务参考号')" prop="fxdgrp.rec.ownref">
<c-fullbox>
<c-input
v-model="model.fxdgrp.rec.ownref"
maxlength="16"
placeholder="请输入业务编号"
disabled
>
</c-input>
<template slot="footer">
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="model.fxdgrp.apl.pts.ptainr === ''"
@click="getOwnref"
>
获取
</c-button>
</template>
</c-fullbox>
</c-form-item>
</c-col>
<!-- 业务负责人 -->
<c-col :span="24">
<c-form-item :label="$t('fxtsqo.Responsible User')" prop="fxdgrp.rec.ownusr">
<c-form-item :label="$t('fxtsqo.业务负责人')" prop="fxdgrp.rec.ownusr">
<c-input v-model="model.fxdgrp.rec.ownusr" maxlength="8"></c-input>
</c-form-item>
</c-col>
<!-- 结售汇类型 -->
<c-col :span="24">
<el-form-item :label="$t('fxtsqo.Exchange Type')" prop="fxdgrp.rec.fxtyp">
<el-form-item :label="$t('fxtsqo.结售汇类型')" prop="fxdgrp.rec.fxtyp">
<c-select v-model="model.fxdgrp.rec.fxtyp" style="width:100%">
</c-select>
</el-form-item>
......@@ -26,7 +45,7 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Purchase Amount" prop="fxdgrp.cbs.max.cur">
<el-form-item :label="$t('fxtsqo.卖出金额')" prop="fxdgrp.cbs.max.cur">
<c-select v-model="model.fxdgrp.cbs.max.cur" style="width:100%">
</c-select>
</el-form-item>
......@@ -40,7 +59,7 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Domestic Cur.Amount" prop="fxdgrp.cbs.nom1.cur">
<el-form-item :label="$t('fxtsqo.买入金额')" prop="fxdgrp.cbs.nom1.cur">
<c-select v-model="model.fxdgrp.cbs.nom1.cur" style="width:100%">
</c-select>
</el-form-item>
......@@ -54,7 +73,7 @@
<!-- 对外牌价 -->
<c-col :span="24">
<c-form-item :label="$t('fxtp.Exchange Rate')" prop="fxdgrp.rec.rat">
<c-form-item :label="$t('fxtp.对外牌价')" prop="fxdgrp.rec.rat">
<c-input v-model="model.fxdgrp.rec.rat"></c-input>
</c-form-item>
</c-col>
......@@ -62,7 +81,7 @@
<c-col :span="24">
<!-- 中间价 -->
<c-col :span="12">
<c-form-item :label="$t('fxtp.Middle Rate')" prop="fxdgrp.rec.midrat">
<c-form-item :label="$t('fxtp.中间价')" prop="fxdgrp.rec.midrat">
<c-input v-model="model.fxdgrp.rec.midrat"></c-input>
</c-form-item>
</c-col>
......@@ -77,21 +96,21 @@
<!-- 登记日期 -->
<c-col :span="24">
<el-form-item :label="$t('fxtsqo.Open Date')" prop="fxdgrp.rec.opndat">
<el-form-item :label="$t('fxtsqo.登记日期')" prop="fxdgrp.rec.opndat">
<c-date-picker type="date" v-model="model.fxdgrp.rec.opndat" style="width:100%"></c-date-picker>
</el-form-item>
</c-col>
<!-- 远期交割日 -->
<c-col :span="24">
<el-form-item :label="$t('fxtsqo.Settlement Date')" prop="fxdgrp.rec.setdat">
<el-form-item :label="$t('fxtsqo.远期交割日')" prop="fxdgrp.rec.setdat">
<c-date-picker type="date" v-model="model.fxdgrp.rec.setdat" style="width:100%"></c-date-picker>
</el-form-item>
</c-col>
<!-- 择期交割起始日 -->
<c-col :span="24">
<el-form-item :label="$t('fxtsqo.Begin Date of Settle')" prop="fxdgrp.rec.setdatfrm">
<el-form-item :label="$t('fxtsqo.交割起始日')" prop="fxdgrp.rec.setdatfrm">
<c-date-picker type="date" v-model="model.fxdgrp.rec.setdatfrm" style="width:100%"></c-date-picker>
</el-form-item>
</c-col>
......@@ -99,7 +118,7 @@
<c-col :span="24">
<!-- 外币结算账号 -->
<c-col :span="12">
<el-form-item label="Foreign Cur.Account" prop="fxdgrp.rec.dsp">
<el-form-item label="外币结算账号" prop="fxdgrp.rec.dsp">
<c-select v-model="model.fxdgrp.rec.dsp" style="width:100%">
</c-select>
</el-form-item>
......@@ -114,7 +133,7 @@
<!-- 交易主体 -->
<c-col :span="24">
<el-form-item :label="$t('fxtsqo.Exchange Party Type')" prop="fxdgrp.rec.trnman">
<el-form-item :label="$t('fxtsqo.交易主体')" prop="fxdgrp.rec.trnman">
<c-select v-model="model.fxdgrp.rec.trnman" style="width:100%">
</c-select>
</el-form-item>
......@@ -122,7 +141,7 @@
<!-- 备注 -->
<c-col :span="24">
<c-form-item :label="$t('fxtsqo.Remark')" prop="fxdgrp.blk.remark">
<c-form-item :label="$t('fxtsqo.备注')" prop="fxdgrp.blk.remark">
<c-input type="textarea" v-model="model.fxdgrp.blk.remark" maxlength="35" show-word-limit></c-input>
</c-form-item>
</c-col>
......@@ -130,47 +149,47 @@
<!-- ==============================右边============================== -->
<c-col :span="12" style="padding-left: 20px;">
<!-- 名称 -->
<c-col :span="24">
<c-form-item :label="$t('fxtsqo.名称')" prop="fxdgrp.rec.nam">
<c-input v-model="model.fxdgrp.rec.nam" maxlength="40"></c-input>
</c-form-item>
</c-col>
<!-- 结售汇申请人 -->
<!-- 编号 -->
<c-col :span="24">
<el-card class="box-card">
<c-ptap :model="model" :requiredExtkey="true" :disabledExtkey="false" :disabled="false" :isAdrblk="true" :haveAdrLabel="true"
:isShowCard="false" :argadr="{ title: 'Applicant',grp: 'fxdgrp', rol: 'apl' }" ptytyp="C">
:isShowCard="false" :argadr="{ title: '结售汇申请人',grp: 'fxdgrp', rol: 'apl' }" ptytyp="C">
</c-ptap>
</el-card>
</c-col>
<!-- 名称 -->
<c-col :span="24">
<c-form-item :label="$t('fxtsqo.Name')" prop="fxdgrp.rec.nam">
<c-input v-model="model.fxdgrp.rec.nam" maxlength="40"></c-input>
</c-form-item>
</c-col>
<!-- 询价编号 -->
<c-col :span="24">
<c-form-item label="Quote Ref." prop="fxdgrp.rec.quoref">
<c-form-item label="询价编号" prop="fxdgrp.rec.quoref">
<c-input v-model="model.fxdgrp.rec.quoref" maxlength="16"></c-input>
</c-form-item>
</c-col>
<!-- 资金部编号 -->
<c-col :span="24">
<c-form-item label="Treasurt Dept Ref." prop="fxdgrp.rec.fudref">
<c-form-item label="资金部编号" prop="fxdgrp.rec.fudref">
<c-input v-model="model.fxdgrp.rec.fudref" maxlength="16"></c-input>
</c-form-item>
</c-col>
<!-- 起息日 -->
<c-col :span="24">
<el-form-item :label="$t('fxtsqo.Value Date')" prop="fxdgrp.rec.valdat">
<el-form-item :label="$t('fxtsqo.起息日')" prop="fxdgrp.rec.valdat">
<c-date-picker type="date" v-model="model.fxdgrp.rec.valdat" style="width:100%"></c-date-picker>
</el-form-item>
</c-col>
<!-- 择期交割截止日 -->
<c-col :span="24">
<el-form-item label="Expire Date of Set." prop="fxdgrp.rec.setdatto">
<el-form-item :label="$t('fxtsqo.交割截止日')" prop="fxdgrp.rec.setdatto">
<c-date-picker type="date" v-model="model.fxdgrp.rec.setdatto" style="width:100%"></c-date-picker>
</el-form-item>
</c-col>
......@@ -178,7 +197,7 @@
<c-col :span="24">
<!-- 本币结算账号 -->
<c-col :span="12">
<el-form-item label="Domestic Cur. Acc" prop="fxdgrp.rec.dsp2">
<el-form-item :label="$t('fxtsqo.本币结算账号')" prop="fxdgrp.rec.dsp2">
<c-select v-model="model.fxdgrp.rec.dsp2" style="width:100%">
</c-select>
</el-form-item>
......@@ -193,14 +212,14 @@
<!-- 结售汇类型 -->
<c-col :span="24">
<el-form-item :label="$t('fxtsqo.Exchange Title')" prop="fxdgrp.rec.trdint">
<el-form-item :label="$t('fxtsqo.结售汇类型')" prop="fxdgrp.rec.trdint">
<c-select v-model="model.fxdgrp.rec.trdint" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('fxtsqo.Exchange Title')" prop="fxdgrp.rec.trdout">
<el-form-item :label="$t('fxtsqo.结售汇类型')" prop="fxdgrp.rec.trdout">
<c-select v-model="model.fxdgrp.rec.trdout" style="width:100%">
</c-select>
</el-form-item>
......@@ -215,21 +234,19 @@
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import event from "../event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
mixins: [commonProcess, event],
data() {
return {
}
return {}
},
methods: { },
created: function () {
}
methods: {},
created: function () {}
}
</script>
<style></style>
......@@ -11,11 +11,6 @@
<el-tab-pane :label="$t('fxtsqo.业务凭证')" name="fxtapll1">
<m-fxtapll1 :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane :label="$t('commonModels.保证金')" name="ccvpan">
<c-content>
<m-ccvpan :model="model" :codes="codes"></m-ccvpan>
</c-content>
</el-tab-pane>
<el-tab-pane :label="$t('commonModels.费用/账务')" name="setpan">
<c-content>
<m-setmod :model="model" :codes="codes"></m-setmod>
......@@ -30,6 +25,11 @@
<!-- <el-tab-pane :label="$t('fxtsqo.外汇买卖水单/客户回单')" name="fxtapll2">
<m-fxtapll2 :model="model" :codes="codes"/>
</el-tab-pane> -->
<el-tab-pane :label="$t('commonModels.保证金')" name="ccvpan">
<c-content>
<m-ccvpan :model="model" :codes="codes"></m-ccvpan>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
......@@ -81,25 +81,20 @@ export default {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
methods:{},
created:async function(){
},
mounted() {
console.log("进入fxtsqo交易");
// todo 初始化方法
// let rtnmsg = await this.init({})
// if(rtnmsg.respCode == SUCCESS) {
// this.updateModel(rtnmsg.data)
// //TODO 处理数据逻辑
// } else {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
let params = {
transName: this.trnName,
fxdgrp: {
rec: {
inr: this.$route.query.inr || "",
},
},
};
this.init(params)
}
}
</script>
......
const path = require('path')
const CopyWebpackPlugin = require('copy-webpack-plugin')
const publicPath = require('./src/config/isc-publicPath.js')
const baseData = require('./src/config/isc-baseData-local.js')
// const baseData = require('./src/config/isc-baseData.js')
// const baseData = require('./src/config/isc-baseData-local.js')
const baseData = require('./src/config/isc-baseData.js')
let moment = require("moment")
process.env.VUE_APP_BASETHEME = 'purple';
......
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