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" export default {
"fxdgrp.rec.ownref":[
/** {type: "string", required: false, message: "必输项"},
* Fxtlcm Check规则 {max: 16,message:"长度不能超过16"}
*/ ],
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,
}
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 Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts" import Pts from "~/page/Model/Common/Pts"
import Pub from "../../../../components/business/commonModel/index.js";
export default class Fxtlcm{ export default class Fxtlcm{
constructor () { constructor () {
...@@ -222,7 +223,11 @@ export default class Fxtlcm{ ...@@ -222,7 +223,11 @@ export default class Fxtlcm{
ousamt:"", // Outstanding Settlement Amount .mt30m.ousamt ousamt:"", // Outstanding Settlement Amount .mt30m.ousamt
}, },
fxt300l1blk:"", // XMLPanel fxt300l1的内置block .fxt300l1blk 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> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- S0000002 : 平盘业务参考号 --> <!-- ==============================左边============================== -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="12"> <!-- 业务参考号 -->
<c-form-item :label="$t('fxtlcm.S0000002')" prop="fxdgrp.rec.ownref"> <c-col :span="24">
<c-input v-model="model.fxdgrp.rec.ownref" maxlength="16" :placeholder="$t('other.please_enter')+$t('fxtlcm.S0000002')"></c-input> <c-form-item :label="$t('fxtlcm.业务参考号')" prop="fxdgrp.rec.ownref">
</c-form-item> <c-fullbox>
</c-col> <c-input
v-model="model.fxdgrp.rec.ownref"
<c-col :span="12"> maxlength="16"
<c-button size="small" type="primary" @click="onFxtpButgetref"> placeholder="请输入业务编号"
{{$t('fxtlcm.C0000016')}} disabled
</c-button> >
</c-col> </c-input>
<!-- S0000003 : 名称 --> <template slot="footer">
<c-button
<c-col :span="12"> style="margin: 0 0"
<c-form-item :label="$t('fxtlcm.S0000003')" prop="fxdgrp.rec.nam"> size="small"
<c-input v-model="model.fxdgrp.rec.nam" maxlength="40" :placeholder="$t('other.please_enter')+$t('fxtlcm.S0000003')"></c-input> type="primary"
</c-form-item> :disabled="model.fxdgrp.apl.pts.ptainr === ''"
</c-col> @click="getOwnref"
<!-- S0000006 : 平盘对手 --> >
获取
<c-col :span="12"> </c-button>
<c-form-item :label="$t('fxtlcm.S0000006')" prop="fxdgrp.apl.pts.ref"> </template>
<c-input v-model="model.fxdgrp.apl.pts.ref" maxlength="20" :placeholder="$t('other.please_enter')+$t('fxtlcm.S0000006')"></c-input> </c-fullbox>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- S0000004 : 资金部负责人 --> <!-- 资金部负责人 -->
<c-col :span="24">
<c-col :span="12"> <c-form-item :label="$t('fxtlcm.资金部负责人')" prop="fxdgrp.rec.ownusr">
<c-form-item :label="$t('fxtlcm.S0000004')" prop="fxdgrp.rec.ownusr"> <c-input v-model="model.fxdgrp.rec.ownusr" maxlength="8"></c-input>
<c-input v-model="model.fxdgrp.rec.ownusr" maxlength="8" :placeholder="$t('other.please_enter')+$t('fxtlcm.S0000004')"></c-input> </c-form-item>
</c-form-item> </c-col>
</c-col> <!-- 清算中心负责人 -->
<c-col :span="24">
<c-col :span="12"> <c-form-item :label="$t('fxtlcm.清算中心负责人')" prop="fxdgrp.rec.usr">
<c-form-item label="User ID" prop="fxtp.usr.extkey"> <c-input v-model="model.fxdgrp.rec.usr" maxlength="8"></c-input>
<c-input v-model="model.fxtp.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+'User ID'"></c-input> </c-form-item>
</c-form-item> </c-col>
</c-col> <!-- 平盘类型 -->
<c-col :span="24">
<c-col :span="12"> <el-form-item :label="$t('fxtlcm.平盘类型')" prop="fxdgrp.rec.fxtyp">
<c-form-item label="" prop="fxtp.usrget.sdamod.seainf"> <c-select v-model="model.fxdgrp.rec.fxtyp" style="width:100%" >
<c-input v-model="model.fxtp.usrget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input> </c-select>
</c-form-item> </el-form-item>
</c-col>
</c-col>
<c-col :span="12"> <!-- 卖出金额 -->
<c-form-item label="Drag Drop Sender" prop="fxtp.aplp.ptsget.sdamod.dadsnd"> <c-col :span="24">
<c-input v-model="model.fxtp.aplp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> <c-col :span="12">
</c-form-item> <el-form-item :label="$t('fxtsqo.卖出金额')" prop="fxdgrp.cbs.max.cur">
</c-col> <c-select v-model="model.fxdgrp.cbs.max.cur" style="width:100%">
</c-select>
<c-col :span="12"> </el-form-item>
<c-form-item label="External Key of Address" prop="fxdgrp.apl.pts.extkey"> </c-col>
<c-input v-model="model.fxdgrp.apl.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input> <c-col :span="12">
</c-form-item> <c-form-item label-width="5px" prop="fxdgrp.cbs.max.amt">
</c-col> <c-input v-model="model.fxdgrp.cbs.max.amt"></c-input>
</c-form-item>
<c-col :span="12"> </c-col>
<c-form-item label="" prop="fxtp.aplp.ptsget.sdamod.seainf"> </c-col>
<c-input v-model="model.fxtp.aplp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input> <!-- 买入金额 -->
</c-form-item> <c-col :span="24">
</c-col> <c-col :span="12">
<el-form-item :label="$t('fxtsqo.买入金额')" prop="fxdgrp.cbs.nom1.cur">
<c-col :span="12"> <c-select v-model="model.fxdgrp.cbs.nom1.cur" style="width:100%">
<c-button size="small" type="primary" @click="onAplpDet"> </c-select>
{{$t('ptsp.CF000081')}} </el-form-item>
</c-button> </c-col>
</c-col> <c-col :span="12">
<!-- S0000021 : 清算中心负责人 --> <c-form-item label-width="5px" prop="fxdgrp.cbs.nom1.amt">
<c-input v-model="model.fxdgrp.cbs.nom1.amt"></c-input>
<c-col :span="12"> </c-form-item>
<c-form-item :label="$t('fxtlcm.S0000021')" prop="fxdgrp.rec.usr"> </c-col>
<c-input v-model="model.fxdgrp.rec.usr" maxlength="8" :placeholder="$t('other.please_enter')+$t('fxtlcm.S0000021')"></c-input> </c-col>
</c-form-item> <!-- 平盘牌价 -->
</c-col> <c-col :span="24">
<c-form-item :label="$t('fxtlcm.平盘牌价')" prop="fxdgrp.rec.rat">
<c-col :span="12"> <c-input v-model="model.fxdgrp.rec.rat" ></c-input>
<c-form-item label="Address Block" prop="fxdgrp.apl.pts.adrblk"> </c-form-item>
<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>
</c-form-item> <!-- 中间价 -->
</c-col> <c-col :span="24">
<c-form-item :label="$t('fxtlcm.中间价')" prop="fxdgrp.rec.midrat">
<c-col :span="12"> <c-input v-model="model.fxdgrp.rec.midrat" ></c-input>
<c-form-item label="Chinese address" prop="fxdgrp.apl.dbfadrblkcn"> </c-form-item>
<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>
</c-form-item> <!-- 平盘日期 -->
<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="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>
<!-- 备注 -->
<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>
<!-- S0000005 : 平盘类型 -->
<!-- ==============================右边============================== -->
<c-col :span="12"> <c-col :span="12" style="padding-right: 20px;">
<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">
</c-select> <c-form-item :label="$t('fxtsqo.名称')" prop="fxdgrp.rec.nam">
</el-form-item> <c-input v-model="model.fxdgrp.rec.nam" maxlength="40"></c-input>
</c-col> </c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.fxtp.amtlab" data-path=".fxtp.amtlab" > </span> <c-col :span="24">
</c-col> <el-card class="box-card">
<c-ptap
<c-col :span="12"> :model="model"
<el-form-item label="Currency" prop="fxdgrp.cbs.max.cur"> :requiredExtkey="true"
<c-select v-model="model.fxdgrp.cbs.max.cur" style="width:100%" :placeholder="$t('other.please_enter')+'Currency'"> :disabledExtkey="false"
</c-select> :disabled="true"
</el-form-item> :isAdrblk="true"
</c-col> :haveAdrLabel="true"
:argadr="{ title: '平盘对手', grp: 'fxdgrp', rol: 'apl' }"
<c-col :span="12"> :label="{
<c-form-item label="Balance" prop="fxdgrp.cbs.max.amt"> labelExtkey: '平盘对手',
<c-input v-model="model.fxdgrp.cbs.max.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input> labelNam: '名称',
</c-form-item> labelAdrblk: '地址',
</c-col> }"
ptytyp="C"
<c-col :span="12"> >
<c-checkbox v-model="model.fxtp.frgchk">{{$t('fxtp.C0000100')}}</c-checkbox> </c-ptap>
</c-col> </el-card>
</c-col>
<c-col :span="12"> <!-- 平盘对手账号 对应model下面的aplacc ,优化时需要修改grp 和rol -->
<span v-text="model.fxtp.cnylab" data-path=".fxtp.cnylab" > </span> <c-col :span="24">
</c-col> <el-card class="box-card">
<c-ptap
<c-col :span="12"> :model="model"
<el-form-item label="Currency" prop="fxdgrp.cbs.nom1.cur"> :requiredExtkey="true"
<c-select v-model="model.fxdgrp.cbs.nom1.cur" style="width:100%" :placeholder="$t('other.please_enter')+'Currency'"> :disabled="false"
</c-select> :isAdrblk="true"
</el-form-item> :haveAdrLabel="true"
</c-col> :isShowCard="false"
:argadr="{ title: '平盘对手账号', grp: 'fxdgrp', rol: 'act' }"
<c-col :span="12"> ptytyp="C"
<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-ptap>
</c-form-item> </el-card>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12"> <el-card class="box-card">
<c-checkbox v-model="model.fxtp.cnychk">{{$t('fxtp.C0000101')}}</c-checkbox> <c-ptap
</c-col> :model="model"
<!-- S0000017 : 平盘对手账户行 --> :requiredExtkey="true"
<!-- S0000013 : 平盘牌价 --> :disabled="false"
:isAdrblk="true"
<c-col :span="12"> :haveAdrLabel="true"
<c-form-item :label="$t('fxtlcm.S0000013')" prop="fxdgrp.rec.rat"> :isShowCard="false"
<c-input v-model="model.fxdgrp.rec.rat" :placeholder="$t('other.please_enter')+$t('fxtlcm.S0000013')"></c-input> :argadr="{ title: '我行账户行', grp: 'fxdgrp', rol: 'act' }"
</c-form-item> ptytyp="B"
</c-col> >
</c-ptap>
<c-col :span="12"> </el-card>
<c-form-item label="Drag Drop Sender" prop="aplaccp.ptsget.sdamod.dadsnd"> </c-col>
<c-input v-model="model.aplaccp.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="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>
</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>
</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>
<!-- 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>
<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> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "../model/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data(){
return { return {}
}
}, },
methods:{...Event}, methods:{},
created:function(){ created:function(){}
}
} }
</script> </script>
<style> <style>
......
...@@ -3,88 +3,81 @@ ...@@ -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"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--fxtlcm PD000001 Confirmation --> <!--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"/> <m-cnfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--fxtlcm PD000023 MT300 -->
<el-tab-pane :label="$t('fxtlcm.PD000023')" name="mt300"> <el-tab-pane :label="$t('commonModels.费用/账务')" name="setpan">
<m-mt300 :model="model" :codes="codes"/> <c-content>
</el-tab-pane> <m-setmod :model="model" :codes="codes"></m-setmod>
<!--fxtlcm PD000065 MT300 --> </c-content>
<el-tab-pane :label="$t('fxtlcm.PD000065')" name="fxt300l1"> </el-tab-pane>
<m-fxt300l1 :model="model" :codes="codes"/> <el-tab-pane :label="$t('commonModels.报文/面函')" name="docpan">
</el-tab-pane> <c-content>
<!--fxtlcm PD000084 MT300(1) --> <m-docpan :model="model" :codes="codes"></m-docpan>
<el-tab-pane :label="$t('fxtlcm.PD000084')" name="mt3001"> </c-content>
<m-mt3001 :model="model" :codes="codes"/> </el-tab-pane>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn">
</c-function-btn>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Fxtlcm from "../model" import Fxtlcm from "../model"
import commonProcess from "~/mixin/commonProcess" import operationFunc from "~/mixin/operationFunc"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Cnfp from "./Cnfp" import Cnfp from "./Cnfp"
import Mt300 from "./Mt300" import Setpan from "~/components/business/setmod/views";
import Fxt300l1 from "./Fxt300l1" import Docpan from "~/components/business/docpan/views";
import Mt3001 from "./Mt3001" import event from "../event";
import commonDepend from "~/mixin/commonDepend";
import buildFn from "../event/buildCommons.js";
export default { export default {
name: "Fxtlcm", name: "Fxtlcm",
components:{ components:{
"m-cnfp" : Cnfp, "m-cnfp" : Cnfp,
"m-mt300" : Mt300, "m-setpan": Setpan,
"m-fxt300l1" : Fxt300l1, "m-docpan": Docpan
"m-mt3001" : Mt3001,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [operationFunc, event, commonDepend, buildFn],
data(){ data(){
return { return {
tabVal: "cnfp", tabVal: "cnfp",
trnName: "fxtlcm", trnName: "fxtlcm",
trnType: "", trnType: "",
model: new Fxtlcm().data, model: new Fxtlcm().data,
checkRules: Check, codes: {},
defaultRules: Default, rules: {},
pattern: Pattern,
rules: null,
codes: {
},
} }
}, },
methods:{ methods:{},
myTabClick(tab){ created:async function(){},
this.tabClick(tab) mounted() {
/** console.log("fxtlcm");
* do it yourself let params = {
**/ transName: this.trnName,
} fxdgrp: {
}, rec: {
created:async function(){ inr: this.$route.query.inr || "",
console.log("进入fxtlcm交易"); },
let rtnmsg = {}; // await this.init({}) },
if(rtnmsg.respCode == SUCCESS) };
{ this.init(params)
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} }
</script> </script>
......
...@@ -113,6 +113,17 @@ ...@@ -113,6 +113,17 @@
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <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-form-item label="备注" prop="fxdgrp.blk.remark">
<c-input <c-input
type="textarea" type="textarea"
...@@ -129,6 +140,11 @@ ...@@ -129,6 +140,11 @@
<!-- ==================右边================ --> <!-- ==================右边================ -->
<c-col :span="12" style="padding-right: 20px"> <c-col :span="12" style="padding-right: 20px">
<c-col :span="24"> <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"> <el-card class="box-card">
<c-ptap <c-ptap
:model="model" :model="model"
...@@ -150,17 +166,6 @@ ...@@ -150,17 +166,6 @@
</el-card> </el-card>
</c-col> </c-col>
<c-col :span="24"> <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"> <el-form-item label="起息日" prop="fxdgrp.rec.valdat">
<c-date-picker <c-date-picker
type="date" type="date"
......
...@@ -4,21 +4,40 @@ ...@@ -4,21 +4,40 @@
<c-col :span="12" style="padding-right: 20px;"> <c-col :span="12" style="padding-right: 20px;">
<!-- 结售汇业务参考号 --> <!-- 结售汇业务参考号 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('fxtsqo.Reference')" prop="fxdgrp.rec.ownref"> <c-form-item :label="$t('fxtsqo.业务参考号')" prop="fxdgrp.rec.ownref">
<c-input v-model="model.fxdgrp.rec.ownref" maxlength="16"></c-input> <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-form-item>
</c-col> </c-col>
<!-- 业务负责人 --> <!-- 业务负责人 -->
<c-col :span="24"> <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-input v-model="model.fxdgrp.rec.ownusr" maxlength="8"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- 结售汇类型 --> <!-- 结售汇类型 -->
<c-col :span="24"> <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 v-model="model.fxdgrp.rec.fxtyp" style="width:100%">
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -26,7 +45,7 @@ ...@@ -26,7 +45,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <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 v-model="model.fxdgrp.cbs.max.cur" style="width:100%">
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -40,7 +59,7 @@ ...@@ -40,7 +59,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <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 v-model="model.fxdgrp.cbs.nom1.cur" style="width:100%">
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -54,7 +73,7 @@ ...@@ -54,7 +73,7 @@
<!-- 对外牌价 --> <!-- 对外牌价 -->
<c-col :span="24"> <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-input v-model="model.fxdgrp.rec.rat"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -62,7 +81,7 @@ ...@@ -62,7 +81,7 @@
<c-col :span="24"> <c-col :span="24">
<!-- 中间价 --> <!-- 中间价 -->
<c-col :span="12"> <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-input v-model="model.fxdgrp.rec.midrat"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -77,21 +96,21 @@ ...@@ -77,21 +96,21 @@
<!-- 登记日期 --> <!-- 登记日期 -->
<c-col :span="24"> <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> <c-date-picker type="date" v-model="model.fxdgrp.rec.opndat" style="width:100%"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 远期交割日 --> <!-- 远期交割日 -->
<c-col :span="24"> <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> <c-date-picker type="date" v-model="model.fxdgrp.rec.setdat" style="width:100%"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 择期交割起始日 --> <!-- 择期交割起始日 -->
<c-col :span="24"> <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> <c-date-picker type="date" v-model="model.fxdgrp.rec.setdatfrm" style="width:100%"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -99,7 +118,7 @@ ...@@ -99,7 +118,7 @@
<c-col :span="24"> <c-col :span="24">
<!-- 外币结算账号 --> <!-- 外币结算账号 -->
<c-col :span="12"> <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 v-model="model.fxdgrp.rec.dsp" style="width:100%">
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -114,7 +133,7 @@ ...@@ -114,7 +133,7 @@
<!-- 交易主体 --> <!-- 交易主体 -->
<c-col :span="24"> <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 v-model="model.fxdgrp.rec.trnman" style="width:100%">
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -122,7 +141,7 @@ ...@@ -122,7 +141,7 @@
<!-- 备注 --> <!-- 备注 -->
<c-col :span="24"> <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-input type="textarea" v-model="model.fxdgrp.blk.remark" maxlength="35" show-word-limit></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -130,47 +149,47 @@ ...@@ -130,47 +149,47 @@
<!-- ==============================右边============================== --> <!-- ==============================右边============================== -->
<c-col :span="12" style="padding-left: 20px;"> <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"> <c-col :span="24">
<el-card class="box-card"> <el-card class="box-card">
<c-ptap :model="model" :requiredExtkey="true" :disabledExtkey="false" :disabled="false" :isAdrblk="true" :haveAdrLabel="true" <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> </c-ptap>
</el-card> </el-card>
</c-col> </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-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-input v-model="model.fxdgrp.rec.quoref" maxlength="16"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- 资金部编号 --> <!-- 资金部编号 -->
<c-col :span="24"> <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-input v-model="model.fxdgrp.rec.fudref" maxlength="16"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- 起息日 --> <!-- 起息日 -->
<c-col :span="24"> <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> <c-date-picker type="date" v-model="model.fxdgrp.rec.valdat" style="width:100%"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 择期交割截止日 --> <!-- 择期交割截止日 -->
<c-col :span="24"> <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> <c-date-picker type="date" v-model="model.fxdgrp.rec.setdatto" style="width:100%"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -178,7 +197,7 @@ ...@@ -178,7 +197,7 @@
<c-col :span="24"> <c-col :span="24">
<!-- 本币结算账号 --> <!-- 本币结算账号 -->
<c-col :span="12"> <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 v-model="model.fxdgrp.rec.dsp2" style="width:100%">
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -193,14 +212,14 @@ ...@@ -193,14 +212,14 @@
<!-- 结售汇类型 --> <!-- 结售汇类型 -->
<c-col :span="24"> <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 v-model="model.fxdgrp.rec.trdint" style="width:100%">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <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 v-model="model.fxdgrp.rec.trdout" style="width:100%">
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -215,21 +234,19 @@ ...@@ -215,21 +234,19 @@
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import event from "../event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess, event],
data() { data() {
return { return {}
}
}, },
methods: { }, methods: {},
created: function () { created: function () {}
}
} }
</script> </script>
<style></style> <style></style>
...@@ -11,11 +11,6 @@ ...@@ -11,11 +11,6 @@
<el-tab-pane :label="$t('fxtsqo.业务凭证')" name="fxtapll1"> <el-tab-pane :label="$t('fxtsqo.业务凭证')" name="fxtapll1">
<m-fxtapll1 :model="model" :codes="codes"/> <m-fxtapll1 :model="model" :codes="codes"/>
</el-tab-pane> </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"> <el-tab-pane :label="$t('commonModels.费用/账务')" name="setpan">
<c-content> <c-content>
<m-setmod :model="model" :codes="codes"></m-setmod> <m-setmod :model="model" :codes="codes"></m-setmod>
...@@ -30,6 +25,11 @@ ...@@ -30,6 +25,11 @@
<!-- <el-tab-pane :label="$t('fxtsqo.外汇买卖水单/客户回单')" name="fxtapll2"> <!-- <el-tab-pane :label="$t('fxtsqo.外汇买卖水单/客户回单')" name="fxtapll2">
<m-fxtapll2 :model="model" :codes="codes"/> <m-fxtapll2 :model="model" :codes="codes"/>
</el-tab-pane> --> </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> </c-tabs>
</el-form> </el-form>
<c-function-btn <c-function-btn
...@@ -81,25 +81,20 @@ export default { ...@@ -81,25 +81,20 @@ export default {
}, },
} }
}, },
methods:{ methods:{},
myTabClick(tab){ created:async function(){
this.tabClick(tab)
/**
* do it yourself
**/
}
}, },
created:async function(){ mounted() {
console.log("进入fxtsqo交易"); console.log("进入fxtsqo交易");
// todo 初始化方法 let params = {
// let rtnmsg = await this.init({}) transName: this.trnName,
// if(rtnmsg.respCode == SUCCESS) { fxdgrp: {
// this.updateModel(rtnmsg.data) rec: {
// //TODO 处理数据逻辑 inr: this.$route.query.inr || "",
},
// } else { },
// this.$notify.error({title: '错误',message: '服务请求失败!'}); };
// } this.init(params)
} }
} }
</script> </script>
......
const path = require('path') const path = require('path')
const CopyWebpackPlugin = require('copy-webpack-plugin') const CopyWebpackPlugin = require('copy-webpack-plugin')
const publicPath = require('./src/config/isc-publicPath.js') const publicPath = require('./src/config/isc-publicPath.js')
const baseData = require('./src/config/isc-baseData-local.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.js')
let moment = require("moment") let moment = require("moment")
process.env.VUE_APP_BASETHEME = 'purple'; 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