Commit 295731c7 by 李少勇

Merge branch 'develop' of http://114.115.138.98:8900/isc-v3.1/isc-web-vue into develop

parents 4d7ca935 00770cc0
import Pts from "../Pts.js";
export default class Crdgrp {
constructor() {
this.data = {
rec: {
inr: "", //.crdgrp.rec.inr
ownref: "", // 业务编号 .crdgrp.rec.ownref
nam: "", // 名称 .crdgrp.rec.nam
ownusr: "", // Responsible User .crdgrp.rec.ownusr
credat: "", // Date of Creation Opening or Registry .crdgrp.rec.credat
opndat: "", // Date L/C Opened/Issued .crdgrp.rec.opndat
clsdat: "", // Date L/C Closed .crdgrp.rec.clsdat
rcvobjtyp: "", // 业务种类 .crdgrp.rec.rcvobjtyp
rcvbchinr: "", // 归属机构 .crdgrp.rec.rcvbchinr
clrtyp: "", // Clearing Type .crdgrp.rec.clrtyp
trntyp: "", // Transaction Type .crdgrp.rec.trntyp
rcvbic: "", // Receiver BIC .crdgrp.rec.rcvbic
msgref: "", // 本行业务编号 .crdgrp.rec.msgref
msgact: "", // 汇款账号(Tag59) .crdgrp.rec.msgact
msgtyp: "", // Message Type .crdgrp.rec.msgtyp
msginr: "", // Message InrSMH .crdgrp.rec.msginr
bndtyp: "", // Bound Message Type .crdgrp.rec.bndtyp
bndinr: "", // Bound Message INRSMH .crdgrp.rec.bndinr
sta: "", // Status .crdgrp.rec.sta
errmsg: "", // 出错信息 .crdgrp.rec.errmsg
custyp: "", // 客户类型 .crdgrp.rec.custyp
branchinr: "", // branchinr .crdgrp.rec.branchinr
bchkeyinr: "", // BRANCH CODE KEYINR .crdgrp.rec.bchkeyinr
rcvbchinr: "", // Receiver Branch Inr .crdgrp.rec.rcvbchinr
ver: "", // Version Counter .crdgrp.rec.ver
sptinr: "", // Inr for SPT .crdgrp.rec.sptinr
etyextkey: "", // Entity holding Contract .crdgrp.rec.etyextkey
},
cbs: {
max: {
cur: "", // 清算币种及金额 .crdgrp.cbs.max.cur
amt: "", // 清算币种及金额 .crdgrp.cbs.max.amt
},
},
snd: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .crdgrp.snd.dbfadrblkcn
},
rcv: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .crdgrp.rcv.dbfadrblkcn
},
trf: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .crdgrp.trf.dbfadrblkcn
},
apl: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .crdgrp.apl.dbfadrblkcn
},
acc: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .crdgrp.acc.dbfadrblkcn
},
};
}
}
......@@ -2080,6 +2080,18 @@ const DisplayRouter = [
component: () => import("./Funds/DisplayFxtsss.vue"),
meta: {keepAlive: true, title: "交易快照-即期售汇", module: 'funds'}
},
{
name: "DisplayCrtcri",
path: "crtcri",
component: () => import("./Funds/DisplayCrtcri.vue"),
meta: {keepAlive: true, title: "交易快照-汇入清算", module: 'funds'}
},
{
name: "DisplayCrtcro",
path: "crtcro",
component: () => import("./Funds/DisplayCrtcro.vue"),
meta: {keepAlive: true, title: "交易快照-汇入清算", module: 'funds'}
},
];
export default DisplayRouter;
\ No newline at end of file
<template>
<Crtcri></Crtcri>
</template>
<script>
import Crtcri from "~/page/Funds/Crtcri/views";
export default {
name: "display-crtcri",
components: { Crtcri },
created() {},
mounted() {},
};
</script>
<style></style>
<template>
<Crtcro></Crtcro>
</template>
<script>
import Crtcro from "~/page/Funds/Crtcro/views";
export default {
name: "display-crtcrio",
components: { Crtcro },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -77,7 +77,7 @@ export default {
};
const rtnmsg = await Api.post(`/${this.moduleRouter()}/msgsel/check`, params);
if (rtnmsg.respCode === SUCCESS) {
this.$notify({ title: '成功', type: 'success', message: '丢弃成功' })
this.$notify({ title: '成功', type: 'success', message: '放行成功' })
}
});
},
......
......@@ -3,7 +3,15 @@ import Api from '~/service/Api';
export default {
mixins: [commonFunctions],
async init(params) {
const rtnmsg = await Api.post(`/${this.moduleRouter()}/${this.trnName}/init`, params);
if (rtnmsg.respCode === SUCCESS) {
this._rtnmsg = rtnmsg;
Utils.copyValueFromVoData(this.model, rtnmsg.data);
}
},
methods: {
}
}
\ No newline at end of file
......@@ -2,6 +2,20 @@ import Api from "~/service/Api"
export default class Qrtmgd {
constructor() {
this.data = {
qrdgrp: {
rec: {
casnum: "", // CASE编号: .qrdgrp.rec.casnum
drfnum: "", // 汇票号码: .qrdgrp.rec.drfnum
ownt20: "", // 20域编号(发) .qrdgrp.rec.ownt20
otht20: "", // 20域编号(收): .qrdgrp.rec.otht20
revbak: "", // 收报行BIC: .qrdgrp.rec.revbak
actbak: "", // 账户行BIC: .qrdgrp.rec.actbak
sedbak: "", // 发报行BIC: .qrdgrp.rec.sedbak
settim: "", // 创建时间: .qrdgrp.rec.settim
des: "", // 备注 .qrdgrp.rec.des
msgtyp: "", // 报文标准 .qrdgrp.rec.msgtyp
},
},
qrtp: {
wtdlst: [],
rerway: "", // 重新分发路径 .qrtp.rerway
......
......@@ -230,12 +230,13 @@ export default {
methods: {
async showCaseInfo() {
let params = {
mpsinr: this.$route.query.mpsinr || "",
qrdgrp: this.model,
casnum: this.model.qrdgrp.rec.casnum,
}
const rtnmsg = await Api.post(`/${this.moduleRouter()}/qrtmgd/msghis`, params);
if (rtnmsg.respCode === SUCCESS) {
this.visible = true
this.model.qrtp.wtdlst = rtnmsg.data
this.model.qrtp.roflst = rtnmsg.data
}
}
},
......
......@@ -56,9 +56,11 @@ export default {
}
},
created: async function () {
console.log("进入qrtmgs交易");
console.log("进入qrtmgd交易");
let params = {
transName: this.trnName,
wtdinr: this.$route.query.inr,
msginr: this.$route.query.msginr,
qrdgrp: {
rec: {
inr: this.$route.query.inr || "",
......
......@@ -31,8 +31,9 @@ export default {
});
if (rtnmsg.respCode == SUCCESS) {
this.load = false;
this.model.msgrag = rtnmsg.data.msgrag;
this.stmData.data = [];
this.stmData.data=rtnmsg.data.list;
this.stmData.data=rtnmsg.data.pageInfo.list;
// const {list} = rtnmsg.data;
// const {codes:{sta1}} = this;
//
......@@ -73,6 +74,7 @@ export default {
},
handleSelectionChange(val) {
this.multipleSelection = val;
console.log(val);
},
dbClick() {
this.activeTab = 'fc'
......@@ -117,6 +119,14 @@ export default {
},
handleSelectionChange1(val) {
this.multipleSelection1 = val;
}
},
async toQrtmgd(row) {
console.log("xxxxxxxx",row.inr,row.msginr);
this.routerPush({
path: "/business/qrtmgd",
query: { wtdinr: row.inr,msginr:row.msginr}
});
},
},
};
......@@ -16,7 +16,7 @@ export default class Qrtmgs {
settimend: "",
settimsta: "",
uetr:"",
msgrag:"",
qrdgrp:{
rec:{
msgtyp: "",
......
......@@ -111,6 +111,22 @@
<c-input v-model="model.qrtp.uetr" maxlength="40"></c-input>
</c-form-item>
</c-col>
<el-table-column label="操作" fixed="right" min-width="150">
<template slot-scope="scope">
<c-button
style="margin-right: 5px"
size="small"
type="primary"
@click="showMessage(scope.row)"
>预览</c-button>
<c-button
style="margin-right: 5px"
size="small"
type="primary"
@click="updateAck(scope.row)"
>更新</c-button>
</template>
</el-table-column>
</el-row>
</template>
</c-list-search>
......@@ -149,7 +165,22 @@
:key="key" :label="item.label"
:prop="item.prop"
:min-width="item.width"
></el-table-column>
>
<template slot-scope="scope">
<c-select-value-to-label v-if="item.prop == 'sta'" v-model="scope.row.sta" :code="codes.stacod"></c-select-value-to-label>
<span v-else>{{ scope.row[item.prop] }}</span>
</template>
</el-table-column>
<el-table-column label="操作" fixed="right" min-width="150">
<template slot-scope="scope">
<c-button
style="margin-right: 5px"
size="small"
type="primary"
@click="toQrtmgd(scope.row)"
>处理</c-button>
</template>
</el-table-column>
</el-table>
<el-pagination
......
......@@ -278,7 +278,7 @@ export default {
{
label: "接收时间",
prop: "rcvdattim",
width: "150px"
width: "170px"
},
],
data: [],
......
......@@ -283,7 +283,7 @@ export default {
{
label: "接收时间",
prop: "rcvdattim",
width: "150px"
width: "170px"
},
],
data: [],
......
......@@ -10,6 +10,12 @@ export default class Smpsel {
cur: "",
ref: "",
smtno: "",
begnum: "",
endnum: "",
begdat: new Date((new Date).getTime() - (3 * 24 * 60 * 60 * 1000)),
enddat: new Date(),
valdatbeg: new Date((new Date).getTime() - (3 * 24 * 60 * 60 * 1000)),
valdatend: new Date(),
smpp: {
smpsup: {
smtno: "", // : .smpp.smpsup.smtno
......
......@@ -26,7 +26,7 @@
<el-row v-show="searchSlot.searchToggle">
<c-col :span="8">
<el-form-item label="币种" prop="cur">
<c-select v-model="model.cur" style="width:100%"></c-select>
<c-select v-model="model.cur" style="width:100%" dbCode="curtxt"></c-select>
</el-form-item>
</c-col>
<c-col :span="8">
......@@ -43,13 +43,13 @@
<c-col :span="8">
<el-form-item label="起止页码" style="width: 100%">
<c-col :span="11">
<c-input v-model="model.smpp.smpsup.begnum" maxlength="8"></c-input>
<c-input v-model="model.begnum" maxlength="8"></c-input>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-input v-model="model.smpp.smpsup.endnum" maxlength="8"></c-input>
<c-input v-model="model.endnum" maxlength="8"></c-input>
</c-col>
</el-form-item>
</c-col>
......@@ -57,26 +57,26 @@
<c-col :span="8">
<el-form-item label="收报日期" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.smpp.smpsup.begdat" style="width:100%"></c-date-picker>
<c-date-picker type="date" v-model="model.begdat" style="width:100%"></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker type="date" v-model="model.smpp.smpsup.enddat" style="width:100%"></c-date-picker>
<c-date-picker type="date" v-model="model.enddat" style="width:100%"></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="起息日期" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.smpp.smpsup.valdatbeg" style="width:100%"></c-date-picker>
<c-date-picker type="date" v-model="model.valdatbeg" style="width:100%"></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker type="date" v-model="model.smpp.smpsup.valdatend" style="width:100%"></c-date-picker>
<c-date-picker type="date" v-model="model.valdatend" style="width:100%"></c-date-picker>
</c-col>
</el-form-item>
</c-col>
......
......@@ -153,6 +153,10 @@
</el-table-column>
<el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop"
:min-width="item.width">
<template slot-scope="scope">
<c-select-value-to-label v-if="item.prop == 'sta'" v-model="scope.row.sta" :code="codes.stacod"></c-select-value-to-label>
<span v-else>{{ scope.row[item.prop] }}</span>
</template>
</el-table-column>
</el-table>
......@@ -270,7 +274,7 @@ export default {
{
label: "处理时间",
prop: "sttdattim",
width: "150px"
width: "170px"
},
],
data: [],
......
......@@ -274,7 +274,7 @@ export default {
{
label: "处理时间",
prop: "sttdattim",
width: "150px"
width: "170px"
},
],
data: [],
......
......@@ -25,9 +25,17 @@ export default {
return {
rec: {
objtyp: "CRD",
forare:model.crtp.forare,
opndat:model.crdgrp.rec.opndat,
rcvbchinr:model.crdgrp.rec.rcvbchinr,
custyp:model.crdgrp.rec.custyp,
rcvactInr:model.rcvact.inr,
rcvactExtkey:model.rcvact.extkey,
rcvobjtyp:model.crdgrp.rec.rcvobjtyp,
valdat:model.cpdgrp.rec.valdat,
},
cbsMap: {
MAX: model.crdgrp.cbs.max,
},
ptsList: ptsptaList,
transName: trnName,
......
import commonFunctions from '~/mixin/commonFunctions.js';
import Api from '~/service/Api';
import commonFunctions from "~/mixin/commonFunctions.js";
import Api from "~/service/Api";
export default {
mixins: [commonFunctions],
methods: {
}
}
\ No newline at end of file
async getOwnref() {
if (this.model.crdgrp.rec.clrtyp == "") {
this.$notify.warning({
title: "提示",
message: "清算类型为空!",
});
return;
}
const loading = this.loading();
let res = await Api.post(
`/${this.moduleRouter()}/crtcri/getRef`,
this.model
);
loading.close();
if (res.respCode !== SUCCESS) {
this.$message.error(res.respMsg);
return;
}
this.model.crdgrp.rec.ownref = res.data;
},
async getBranchCodeValue() {
const loading = this.loading();
let res = await Api.post(
`/${this.moduleRouter()}/crtcri/getBranchCodeValue`,
this.model
);
loading.close();
if (res.respCode !== SUCCESS) {
this.$message.error(res.respMsg);
return;
}
this.rcvbchinrCode = res.data;
},
},
};
export default {
"crtp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crdgrp.rec.ownref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crtp.recget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
{ max: 16, message: "长度不能超过16" },
],
"crdgrp.rec.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
{ max: 40, message: "长度不能超过40" },
],
"crdgrp.snd.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
{ max: 20, message: "长度不能超过20" },
],
"crtp.usr.extkey": [
"crdgrp.rec.ownusr": [
{ type: "string", required: false, message: "必输项" },
{ max: 8, message: "长度不能超过8" }
],
"crtp.usrget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"crtp.sndp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
{ max: 8, message: "长度不能超过8" },
],
"crdgrp.snd.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crtp.sndp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
{ max: 16, message: "长度不能超过16" },
],
"crdgrp.cbs.max.amt": [
{ type: "number", required: false, message: "必输项" },
{ required: true, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: "小数位不能超过3位",
},
],
"crdgrp.snd.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 35, message: "长度不能超过35" },
],
"crdgrp.snd.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ max: 35, message: "长度不能超过35" },
],
"crdgrp.rec.msgref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
{ max: 16, message: "长度不能超过16" },
],
"crdgrp.rec.msgact": [
{ type: "string", required: false, message: "必输项" },
{ max: 21, message: "长度不能超过21" }
{ max: 21, message: "长度不能超过21" },
],
"crdgrp.acc.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
],
"crtp.accp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
{ max: 20, message: "长度不能超过20" },
],
"crdgrp.acc.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crtp.accp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
{ max: 16, message: "长度不能超过16" },
],
"crdgrp.rec.errmsg": [
{ type: "string", required: true, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" },
],
"crdgrp.acc.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
{ type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" },
],
"crdgrp.acc.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"crtp.valdat": [
{ type: "date", required: false, message: "输入正确的日期" }
{ max: 35, message: "长度不能超过35" },
],
}
\ No newline at end of file
"crtp.valdat": [{ required: false, message: "输入正确的日期" }],
};
import commonFunctions from "~/mixin/commonFunctions.js";
import Api from "~/service/Api";
import moment from "moment";
import commonDepend from "~/mixin/commonDepend";
import BigNumber from "bignumber.js";
export default {
mixins: [commonFunctions, commonDepend],
methods: {
isModifyCrd(key) {
if (this.model.crdgrp.rec.modifySet) {
if (this.model.crdgrp.rec.modifySet.includes(key)) {
return true;
} else {
return false;
}
} else {
return false;
}
},
},
};
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
import Crdgrp from "~/components/business/commonModel/crdgrp";
import Cpdgrp from "~/components/business/commonModel/cpdgrp";
export default class Crtcri {
constructor() {
this.data = {
crdgrp: {
cbs: {
max: {
cur: "", // 清算币种及金额 .crdgrp.cbs.max.cur
amt: "", // 清算币种及金额 .crdgrp.cbs.max.amt
},
},
rec: {
msgact: "", // 汇款账号(Tag59) .crdgrp.rec.msgact
ownref: "", // 业务编号 .crdgrp.rec.ownref
nam: "", // 名称 .crdgrp.rec.nam
msgref: "", // 本行业务编号 .crdgrp.rec.msgref
rcvobjtyp: "", // 业务种类 .crdgrp.rec.rcvobjtyp
rcvbchinr: "", // 归属机构 .crdgrp.rec.rcvbchinr
errmsg: "", // 出错信息 .crdgrp.rec.errmsg
custyp: "", // 客户类型 .crdgrp.rec.custyp
},
snd: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .crdgrp.snd.dbfadrblkcn
},
acc: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .crdgrp.acc.dbfadrblkcn
},
},
clrsta: "",
crdgrp: new Crdgrp().data,
cpdgrp: new Cpdgrp().data,
crtp: {
recget: {
sdamod: {
seainf: "", // .crtp.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .crtp.recget.sdamod.dadsnd
},
},
usr: {
extkey: "", // 经办柜员 .crtp.usr.extkey
},
usrget: {
sdamod: {
seainf: "", // .crtp.usrget.sdamod.seainf
},
},
sndp: {
ptsget: {
sdamod: {
seainf: "", // .crtp.sndp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .crtp.sndp.ptsget.sdamod.dadsnd
},
},
extkey: "", // 经办柜员 .crtp.usr.extkey
},
accp: {
ptsget: {
sdamod: {
seainf: "", // .crtp.accp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .crtp.accp.ptsget.sdamod.dadsnd
},
},
},
valdat: "", // 起息日 .crtp.valdat
forare: "", // USE FOR ARE AMTOUNT .crtp.forare
valdat: "", // 起息日 .crtp.valdat
forare: "", // USE FOR ARE AMTOUNT .crtp.forare
},
rcvact: {
inr: "",
extkey:"",
},
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia,
doctre: new Pub().data.Doctre,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
}
trnmod: new Pub().data.Trnmod,
};
}
}
\ No newline at end of file
}
......@@ -5,96 +5,225 @@
<!-- S0000005 : 业务编号 -->
<c-col :span="24">
<el-form-item :label="$t('crtp.业务编号')" prop="crdgrp.rec.ownref">
<c-input v-model="model.crdgrp.rec.ownref" maxlength="16"></c-input>
<c-fullbox>
<c-input
v-model="model.crdgrp.rec.ownref"
maxlength="16"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled=" model.crdgrp.rec.ownref != '' || model.crdgrp.rec.clrtyp == '' "
@click="getOwnref"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- S0000009 : 经办柜员 -->
<c-col :span="24">
<el-form-item :label="$t('crtp.经办柜员')" prop="crtp.usr.extkey">
<c-input v-model="model.crtp.usr.extkey" maxlength="8"></c-input>
<el-form-item :label="$t('crtp.经办柜员')" prop="crdgrp.rec.ownusr">
<c-input
v-model="model.crdgrp.rec.ownusr"
maxlength="8"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- S0000026 : 清算币种及金额 -->
<c-col :span="24" class="custom-box-wrap">
<el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.cur">
<c-select-cur v-model="model.crdgrp.cbs.max.cur" style="width: 115px" placeholder="请选择币种" dbCode="curtxt">
<el-form-item
:label="$t('crtp.清算币种及金额')"
prop="crdgrp.cbs.max.cur"
>
<c-select-cur
v-model="model.crdgrp.cbs.max.cur"
style="width: 115px"
placeholder="请选择币种"
dbCode="curtxt"
>
</c-select-cur>
</el-form-item>
<div class="box-3">
<el-form-item label-width="5px" prop="crdgrp.cbs.max.amt">
<c-input-currency v-model="model.crdgrp.cbs.max.amt" :currency="model.crdgrp.cbs.max.cur" style="width: 100%">
<c-input-currency
v-model="model.crdgrp.cbs.max.amt"
:currency="model.crdgrp.cbs.max.cur"
style="width: 100%"
>
</c-input-currency>
</el-form-item>
</div>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('crtp.本行业务编号')" prop="crdgrp.rec.msgref">
<c-input v-model="model.crdgrp.rec.msgref" maxlength="16"></c-input>
<c-input
v-model="model.crdgrp.rec.msgref"
maxlength="16"
:disabled="defaultCrdgrpRecMsgrefN1000"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('crtp.汇款账号(Tag59)')" prop="crdgrp.rec.msgact">
<el-form-item
:label="$t('crtp.汇款账号(Tag59)')"
prop="crdgrp.rec.msgact"
>
<c-input v-model="model.crdgrp.rec.msgact" maxlength="21"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :isAdrblk="false" :haveAdrLabel="true" :requiredExtkey="true" :isAdrVisible="false"
:argadr="{ title: '账户行', grp: 'crdgrp', rol: 'acc' }" ptytyp="C"></c-ptap>
<c-ptap
:model="model"
:isAdrblk="false"
:haveAdrLabel="true"
:requiredExtkey="true"
:isAdrVisible="false"
:argadr="{ title: '账户行', grp: 'crdgrp', rol: 'acc' }"
ptytyp="B"
></c-ptap>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item :label="$t('crtp.业务种类')" prop="crdgrp.rec.rcvobjtyp">
<c-select dbCode="RMB122" v-model="model.crdgrp.rec.rcvobjtyp" style="width:100%">
<c-select
dbCode="CBOTXT"
:filterKey="['CPD', 'BOD', 'CCD', 'CLD', 'BED', 'BTD', 'GID']"
v-model="model.crdgrp.rec.rcvobjtyp"
style="width: 100%"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('crtp.客户类型')" prop="crdgrp.rec.custyp">
<c-select dbCode="SZPTY" v-model="model.crdgrp.rec.custyp" style="width:100%">
<c-select
dbCode="GORS"
v-model="model.crdgrp.rec.custyp"
style="width: 100%"
:disabled="model.crdgrp.rec.rcvobjtyp != 'CPD'"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('crtp.归属机构')" prop="crdgrp.rec.rcvbchinr">
<c-select v-model="model.crdgrp.rec.rcvbchinr" style="width:100%">
<c-select v-model="model.crdgrp.rec.rcvbchinr" style="width: 100%">
<el-option
v-for="(item, idx) in rcvbchinrCode"
:key="idx"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('crtp.出错信息')" prop="crdgrp.rec.errmsg">
<c-input type="textarea" v-model="model.crdgrp.rec.errmsg" maxlength="40" show-word-limit></c-input>
<c-input
type="textarea"
v-model="model.crdgrp.rec.errmsg"
maxlength="40"
disabled
show-word-limit
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('crtp.起息日')" prop="crtp.valdat">
<c-date-picker type="date" v-model="model.crtp.valdat" style="width:100%"></c-date-picker>
<c-date-picker
type="date"
v-model="model.crtp.valdat"
style="width: 100%"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :isAdrblk="false" :haveAdrLabel="true" :requiredExtkey="true" :isAdrVisible="false"
:argadr="{ title: '发报行', grp: 'crdgrp', rol: 'snd' }" ptytyp="C"></c-ptap>
<c-ptap
:model="model"
:isAdrblk="false"
:haveAdrLabel="true"
:requiredExtkey="true"
:isAdrVisible="false"
:argadr="{ title: '发报行', grp: 'crdgrp', rol: 'snd' }"
ptytyp="B"
></c-ptap>
</c-col>
</c-col>
</div>
</template>
<script>
import Event from "../event"
import Event from "../event";
export default {
inject: ['root'],
inject: ["root"],
props: ["model", "codes"],
mixins: [Event],
data() {
return {
}
rcvbchinrCode: [],
};
},
methods: {},
created: function () {
}
}
this.getBranchCodeValue();
},
computed: {
defaultCrdgrpRecMsgrefN1000: function () {
if (this.model.crdgrp.rec.rcvobjtyp == "") {
this.model.crdgrp.rec.msgref = "";
return true;
} else {
return false;
}
},
defaultCrdgrpRecNamN1000: function () {
if (!this.isModifyCrd("nam")) {
if (this.model.crdgrp.rec.clrtyp == "O") {
let amount = this.moneyFormat(
this.model.crdgrp.cbs.max.amt,
this.model.crdgrp.cbs.max.cur
);
let nam =
this.model.crdgrp.rec.msgtyp +
" " +
this.model.crdgrp.cbs.max.cur +
" " +
amount +
" " +
this.model.crdgrp.rec.rcvobjtyp +
"/" +
this.model.crdgrp.rcv.pts.nam;
this.model.crdgrp.rec.nam = nam.substring(0, 40);
} else {
let amount = this.moneyFormat(
this.model.crdgrp.cbs.max.amt,
this.model.crdgrp.cbs.max.cur
);
let nam =
this.model.crdgrp.rec.msgtyp +
" " +
this.model.crdgrp.cbs.max.cur +
" " +
amount +
" " +
this.model.crdgrp.rec.rcvobjtyp +
"/" +
this.model.crdgrp.snd.pta.nam;
this.model.crdgrp.rec.nam = nam.substring(0, 40);
}
}
return this.model.crdgrp.rec.nam;
},
},
};
</script>
<style></style>
<template>
<div class="eContainer">
<c-page title="汇入清算">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<el-tab-pane label="业务信息" name="clip">
<m-clip :model="model" :codes="codes" />
</el-tab-pane>
......@@ -30,10 +42,10 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Crtcri from "../model"
import Clip from "./Clip"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Crtcri from "../model";
import Clip from "./Clip";
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
......@@ -42,6 +54,8 @@ import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Check from "../model/check.js";
import Default from "../model/default";
export default {
name: "Crtcri",
components: {
......@@ -51,10 +65,10 @@ export default {
},
provide() {
return {
root: this
}
root: this,
};
},
mixins: [operationFunc, commonDepend, event, buildFn],
mixins: [Default, operationFunc, commonDepend, event, buildFn],
data() {
return {
tabVal: "clip",
......@@ -63,14 +77,14 @@ export default {
model: new Crtcri().data,
rules: Check,
codes: {
...CodeTable
...CodeTable,
},
}
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
}
this.tabClick(tab);
},
},
created: async function () {
console.log("进入crtcri交易");
......@@ -82,8 +96,8 @@ export default {
},
},
};
this.init(params)
}
}
this.init(params);
},
};
</script>
<style></style>
......@@ -15,13 +15,25 @@
</c-col>
<!-- S0000026 : 清算币种及金额 -->
<c-col :span="24" class="custom-box-wrap">
<el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.cur">
<c-select-cur v-model="model.crdgrp.cbs.max.cur" style="width: 115px" placeholder="请选择币种" dbCode="curtxt">
<el-form-item
:label="$t('crtp.清算币种及金额')"
prop="crdgrp.cbs.max.cur"
>
<c-select-cur
v-model="model.crdgrp.cbs.max.cur"
style="width: 115px"
placeholder="请选择币种"
dbCode="curtxt"
>
</c-select-cur>
</el-form-item>
<div class="box-3">
<el-form-item label-width="5px" prop="crdgrp.cbs.max.amt">
<c-input-currency v-model="model.crdgrp.cbs.max.amt" :currency="model.crdgrp.cbs.max.cur" style="width: 100%">
<c-input-currency
v-model="model.crdgrp.cbs.max.amt"
:currency="model.crdgrp.cbs.max.cur"
style="width: 100%"
>
</c-input-currency>
</el-form-item>
</div>
......@@ -29,76 +41,102 @@
<!-- S0000028 : 业务种类 -->
<c-col :span="24">
<el-form-item :label="$t('crtp.业务种类')" prop="crdgrp.rec.rcvobjtyp">
<c-select dbCode="RMB122" v-model="model.crdgrp.rec.rcvobjtyp" style="width:100%">
<c-select
dbCode="CBOTXT"
:filterKey="['CPD', 'BCD', 'BRD', 'GID']"
v-model="model.crdgrp.rec.rcvobjtyp"
style="width: 100%"
>
</c-select>
</el-form-item>
</c-col>
<!-- S0000033 : 账户行 -->
<!-- S0000034 : Ref. -->
<c-col :span="24">
<c-ptap :model="model" :isAdrblk="false" :haveAdrLabel="true" :requiredExtkey="true" :isAdrVisible="false"
:argadr="{ title: '账户行', grp: 'crdgrp', rol: 'acc' }" ptytyp="C"></c-ptap>
<c-ptap
:model="model"
:isAdrblk="false"
:haveAdrLabel="true"
:requiredExtkey="true"
:isAdrVisible="false"
:argadr="{ title: '账户行', grp: 'crdgrp', rol: 'acc' }"
ptytyp="C"
></c-ptap>
</c-col>
</c-col>
<!-- ============右边================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="清算类型" prop="crdgrp.rec.crttyp">
<c-select :code="crttyp" v-model="model.crdgrp.rec.crttyp" style="width:100%">
<c-select
:code="crttyp"
v-model="model.crdgrp.rec.crttyp"
style="width: 100%"
>
</c-select>
</el-form-item>
</c-col>
<!-- S0000027 : 前手付汇业务编号 -->
<c-col :span="24">
<el-form-item :label="$t('crtp.前手付汇业务编号')" prop="crdgrp.rec.msgref">
<el-form-item
:label="$t('crtp.前手付汇业务编号')"
prop="crdgrp.rec.msgref"
>
<c-input v-model="model.crdgrp.rec.msgref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<!-- S0000029 : 业务所属机构 -->
<c-col :span="24">
<el-form-item :label="$t('crtp.业务所属机构')" prop="crdgrp.rec.rcvbchinr">
<c-select v-model="model.crdgrp.rec.rcvbchinr" style="width:100%">
<el-form-item
:label="$t('crtp.业务所属机构')"
prop="crdgrp.rec.rcvbchinr"
>
<c-select v-model="model.crdgrp.rec.rcvbchinr" style="width: 100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :isAdrblk="false" :haveAdrLabel="true" :requiredExtkey="true"
:argadr="{ title: '收报行', grp: 'crdgrp', rol: 'rcv' }" ptytyp="C"></c-ptap>
<c-ptap
:model="model"
:isAdrblk="false"
:haveAdrLabel="true"
:requiredExtkey="true"
:argadr="{ title: '收报行', grp: 'crdgrp', rol: 'rcv' }"
ptytyp="C"
></c-ptap>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Event from "../event"
import Api from "~/service/Api";
import Event from "../event";
export default {
inject: ['root'],
inject: ["root"],
props: ["model", "codes"],
mixins: [Event],
data() {
return {
crttyp: [
{
label: '汇出清算',
value: '汇出清算',
label: "汇出清算",
value: "汇出清算",
},
{
label: '退汇清算',
value: '退汇清算',
label: "退汇清算",
value: "退汇清算",
},
{
label: '转汇清算',
value: '转汇清算',
label: "转汇清算",
value: "转汇清算",
},
]
}
],
};
},
methods: {},
created: function () {
}
}
created: function () {},
};
</script>
<style></style>
......@@ -70,6 +70,8 @@ export default class Fttfcm {
},
},
narblk:"",
relref:"",
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia
......
......@@ -24,13 +24,21 @@ export default {
let ptsptaList = Utils.formatPtspta(model.ftdgrp, this.buildPtspta);
return {
rec: {
objtyp: "FXT",
objtyp: "FTD",
objinr: model.ftdgrp.rec.inr,
ownref: model.ftdgrp.rec.ownref,
msgtyp: model.fttp.msgtyp,
fttyp: model.ftdgrp.rec.fttyp,
rat :model.ftdgrp.rec.rat,
bnktyp : model.ftdgrp.rec.bnktyp,
valdat: model.ftdgrp.rec.valdat,
canamt:model.canamt,
},
cbsMap: {
MAX: model.ftdgrp.cbs.max,
NOM1: model.ftdgrp.cbs.nom1,
INS: model.ftdgrp.cbs.ins,
OPN1: model.ftdgrp.cbs.opn1,
OPN2: model.ftdgrp.cbs.opn2,
},
ptsList: ptsptaList,
transName: trnName,
......
......@@ -2,28 +2,5 @@ import Api from "~/service/Api";
import Utils from "~/utils";
export default {
async onTropDet() {
let rtnmsg = await this.executeRule("trop.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onTripDet() {
let rtnmsg = await this.executeRule("trip.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
async onActpDet() {
let rtnmsg = await this.executeRule("actp.det");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
export default {
"ftdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ftdgrp.tro.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"fttp.trop.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.tro.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trop.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
data() {
return {
rules: {
"canamt": [
{ required: true, message: "必输项" },
// {
// validator (rule, value, callback) {
// if (value>this.model.ftdgrp.cbs.opn2.amt) {
// return callback(new Error('实际销账金额不能大于待销账金额!'));
// }
// callback();
// }, trigger: ['blur', 'change']
// }
],
"ftdgrp.tro.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tro.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.cbs.opn2.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.cbs.opn2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.doccur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"canamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ftdgrp.tri.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.trip.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.tri.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.trip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
},
};
},
};
"ftdgrp.tri.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.tri.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.act.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fttp.actp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ftdgrp.act.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fttp.actp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ftdgrp.act.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.act.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
}
\ 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";
import Ftdgrp from '~/components/business/commonModel/ftdgrp';
export default class Fttfcn{
constructor () {
this.data = {
ftdgrp:{
rec:{
ownref:"", // 资金调拨业务参考号 .ftdgrp.rec.ownref
nam:"", // 名称 .ftdgrp.rec.nam
fttyp:"", // 定存拆借类型 .ftdgrp.rec.fttyp
},
cbs:{
max:{
cur:"", // 定存拆借金额 .ftdgrp.cbs.max.cur
amt:"", // 定存拆借金额 .ftdgrp.cbs.max.amt
},
opn2:{
cur:"", // 待销账金额 .ftdgrp.cbs.opn2.cur
amt:"", // Balance .ftdgrp.cbs.opn2.amt
},
},
tro:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tri.dbfadrblkcn
},
act:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.act.dbfadrblkcn
},
},
fttp:{
usr:{
extkey:"", // 资金部负责人 .fttp.usr.extkey
},
trop:{
ptsget:{
sdamod:{
seainf:"", // .fttp.trop.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fttp.trop.ptsget.sdamod.dadsnd
},
},
},
trip:{
ptsget:{
sdamod:{
seainf:"", // .fttp.trip.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fttp.trip.ptsget.sdamod.dadsnd
},
},
},
actp:{
ptsget:{
sdamod:{
seainf:"", // .fttp.actp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fttp.actp.ptsget.sdamod.dadsnd
},
},
},
},
canamt:"", // Cancellation Amount .canamt
setmod:{
doccur:"", // 实际消账金额 .setmod.doccur
},
mtabut:{
clsflg:"", // Close Flag .mtabut.clsflg
},
pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia
}
ftdgrp: new Ftdgrp().data,
fttp: {
troact: "", // Trade-out Account .fttp.troact
triact: "", // 备注 .fttp.triact
msgtyp: "", // 报文类型 .fttp.msgtyp
benact: "",
bnaktypflg: "",
mt32m: {
amecur: "", // Broker's Commission Cur. .mt30m.comcur
ameamt: 0,
newcur: "", // Broker's Commission Cur. .mt30m.comcur
newamt: 0,
s22a: "", // Typeof Operation(:22A) .mt30m.s22a
s94a: "",
s17r: "",
s22b: "",
s30x: "",
oldref: "",
conref: "",
conno: "", // MT300 22C - 共同参号 .mt30m.conref
a53act: "", // Delivery Agent Account .mt30m.a53act
iniact: "", // Intermediary Account .mt30m.iniact
rbcact: "", // Receiving Agent Account .mt30m.rbcact
a58act: "",
b53act: "", // Delivery Agent Account .mt30m.b53act
b56act: "", // Intermediary Account .mt30m.b56act
owcact: "", // Receiving Agent Account .mt30m.owcact
b58act: "", // Beneficiary Institution Account .mt30m.b58act
str300: "",
b58: {
pts: new Pts().data,
},
b53: {
pts: new Pts().data,
},
owc: {
pts: new Pts().data,
},
b56: {
pts: new Pts().data,
},
a58: {
pts: new Pts().data,
},
rbc: {
pts: new Pts().data,
},
ini: {
pts: new Pts().data,
},
a53: {
pts: new Pts().data,
},
},
},
canamt:0,
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia
}
}
}
\ No newline at end of file
......@@ -22,24 +22,33 @@
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn :handleCheck="handleCheck" :handleStash="handleStash" :handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning" ref="commonBtn"></c-function-btn>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn"
></c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Fttfcn from "../model"
import Canp from "./Canp"
import commonProcess from "~/mixin/commonProcess"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import buildFn from "../event/buildCommons.js";
import Fttfcn from "../model";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Check from "../model/Check.js";
import Canp from "./Canp"
export default {
......@@ -54,7 +63,7 @@ export default {
root: this
}
},
mixins: [operationFunc, commonDepend, event, buildFn], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,operationFunc,commonDepend,event,Check,buildFn], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "canp",
......@@ -74,16 +83,16 @@ export default {
}
},
created: async function () {
console.log("进入fttfcn交易");
let rtnmsg = {}; // await this.init({})
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
console.log("进入fttfcn交易.."+this.trnName);
let params = {
transName: this.trnName,
ftdgrp: {
rec: {
inr: this.$route.query.inr || "",
},
},
};
this.init(params)
}
}
</script>
......
......@@ -24,13 +24,15 @@ export default {
let ptsptaList = Utils.formatPtspta(model.ftdgrp, this.buildPtspta);
return {
rec: {
objtyp: "FXT",
objtyp: "FTD",
objinr: model.ftdgrp.rec.inr,
ownref: model.ftdgrp.rec.ownref,
fttyp:model.ftdgrp.rec.fttyp,
},
cbsMap: {
MAX: model.ftdgrp.cbs.max,
NOM1: model.ftdgrp.cbs.nom1,
OPN1: model.ftdgrp.cbs.opn1,
INS : model.ftdgrp.cbs.ins,
},
ptsList: ptsptaList,
transName: trnName,
......
......@@ -38,7 +38,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"ftdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "number", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
import Ftdgrp from '~/components/business/commonModel/ftdgrp';
export default class Fttfmt{
constructor () {
this.data = {
ftdgrp:{
rec:{
ownref:"", // 资金调拨业务参考号 .ftdgrp.rec.ownref
nam:"", // 名称 .ftdgrp.rec.nam
fttyp:"", // 定存拆借类型 .ftdgrp.rec.fttyp
matdat:"", // 到期日 .ftdgrp.rec.matdat
rat:"", // 年利率 .ftdgrp.rec.rat
gzno:"", // 挂账编号 .ftdgrp.rec.gzno
},
cbs:{
max:{
cur:"", // 定存拆借金额 .ftdgrp.cbs.max.cur
amt:"", // 定存拆借金额 .ftdgrp.cbs.max.amt
},
},
tro:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tri.dbfadrblkcn
},
act:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.act.dbfadrblkcn
},
},
ftdgrp: new Ftdgrp().data,
fttp:{
troact: "", // Trade-out Account .fttp.troact
triact: "", // 备注 .fttp.triact
msgtyp: "", // 报文类型 .fttp.msgtyp
benact: "",
bnaktypflg: "",
usr:{
extkey:"", // 资金部负责人 .fttp.usr.extkey
},
......
......@@ -5,16 +5,16 @@
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<c-form-item :label="$t('fttfmt.资金调拨业务参考号')" prop="ftdgrp.rec.ownref">
<c-input v-model="model.ftdgrp.rec.ownref" maxlength="16"
:placeholder="$t('other.请输入') + $t('fttfmt.资金调拨业务参考号')"></c-input>
<c-input v-model="model.ftdgrp.rec.ownref" maxlength="16"
disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000004 : 资金部负责人 -->
<c-col :span="24">
<c-form-item :label="$t('fttfmt.资金部负责人')" prop="fttp.usr.extkey">
<c-input v-model="model.fttp.usr.extkey" maxlength="8"
:placeholder="$t('other.请输入') + $t('fttfmt.资金部负责人')"></c-input>
<c-form-item :label="$t('fttfmt.资金部负责人')" prop="ftdgrp.rec.ownusr">
<c-input v-model="model.ftdgrp.rec.ownusr" maxlength="8"
disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000005 : 定存拆借类型 -->
......@@ -30,16 +30,16 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item :label="$t('fttfmt.定存拆借金额')" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" :code="codes.curtxt1" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttfmt.定存拆借金额币种')">
<el-form-item :label="$t('fttfmt.定存拆借金额')" prop="ftdgrp.cbs.max.cur">
<c-select v-model="model.ftdgrp.cbs.max.cur" :code="codes.curtxt1" style="width:100%"
disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" class="pl8">
<c-form-item label-width="0" prop="ftdgrp.cbs.max.amt">
<c-input v-model="model.ftdgrp.cbs.max.amt"
:placeholder="$t('other.请输入') + $t('fttfmt.定存拆借金额')"></c-input>
disabled></c-input>
</c-form-item>
</c-col>
</c-col>
......@@ -48,7 +48,7 @@
<c-col :span="24">
<el-form-item :label="$t('fttfmt.到期日')" prop="ftdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.ftdgrp.rec.matdat" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttfmt.到期日')"></c-date-picker>
disabled></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000012 : 年利率 -->
......@@ -56,7 +56,7 @@
<c-col :span="24">
<c-form-item :label="$t('fttfmt.年利率')" prop="ftdgrp.rec.rat">
<c-input v-model="model.ftdgrp.rec.rat"
:placeholder="$t('other.请输入') + $t('fttfmt.年利率')"></c-input>
disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000017 : 利息金额 -->
......@@ -64,14 +64,14 @@
<c-col :span="12">
<el-form-item :label="$t('fttfmt.利息金额币种')" prop="ftdgrp.cbs.max.cur">
<c-select v-model="model.ftdgrp.cbs.max.cur" :code="codes.curtxt1" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttfmt.利息金额币种')">
disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" class="pl8">
<c-form-item label-width="0" prop="intamt">
<c-input v-model="model.intamt" :placeholder="$t('other.请输入') + $t('fttfmt.利息金额')"></c-input>
<c-form-item label-width="0" prop="ftdgrp.cbs.ins.amt">
<c-input v-model="model.ftdgrp.cbs.ins.amt" :placeholder="$t('other.请输入') + $t('fttfmt.利息金额')"></c-input>
</c-form-item>
</c-col>
</c-col>
......@@ -81,13 +81,13 @@
<c-col :span="12">
<el-form-item :label="$t('fttfmt.结算总金额币种')" prop="ftdgrp.cbs.max.cur">
<c-select v-model="model.ftdgrp.cbs.max.cur" :code="codes.curtxt1" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttfmt.结算总金额币种')">
disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" class="pl8">
<c-form-item label-width="0" prop="setmod.setamt">
<c-input v-model="model.setmod.setamt" :placeholder="$t('other.请输入') + '结算总金额'"></c-input>
<c-input v-model="model.setmod.setamt" disabled></c-input>
</c-form-item>
</c-col>
</c-col>
......@@ -105,12 +105,12 @@
<c-col :span="24">
<c-form-item :label="$t('fttfmt.名称')" prop="ftdgrp.rec.nam">
<c-input v-model="model.ftdgrp.rec.nam" maxlength="40"
:placeholder="$t('other.请输入') + $t('fttfmt.名称')"></c-input>
disabled></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-card class="box-card">
<c-ptap :model="model" :requiredExtkey="true" :disabled="false" :isAdrblk="true"
<c-ptap :model="model" :requiredExtkey="true" :disabled="true" :disabledExtkey="true" :isAdrblk="true"
:haveAdrLabel="true" :isShowCard="false"
:argadr="{ title: '资金拆出行', grp: 'ftdgrp', rol: 'tro' }" ptytyp="B">
</c-ptap>
......@@ -118,7 +118,7 @@
</c-col>
<c-col :span="24">
<el-card class="box-card">
<c-ptap :model="model" :requiredExtkey="true" :disabled="false" :isAdrblk="true"
<c-ptap :model="model" :requiredExtkey="true" :disabled="true":disabledExtkey="true" :isAdrblk="true"
:haveAdrLabel="true" :isShowCard="false"
:argadr="{ title: '资金拆入行', grp: 'ftdgrp', rol: 'tri' }" ptytyp="B">
</c-ptap>
......@@ -126,7 +126,7 @@
</c-col>
<c-col :span="24">
<el-card class="box-card">
<c-ptap :model="model" :requiredExtkey="true" :disabled="false" :isAdrblk="true"
<c-ptap :model="model" :requiredExtkey="true" :disabled="true" :isAdrblk="true"
:haveAdrLabel="true" :isShowCard="false"
:argadr="{ title: '账户行', grp: 'ftdgrp', rol: 'act' }" ptytyp="B">
</c-ptap>
......@@ -139,10 +139,11 @@
<script>
import Api from "~/service/Api"
import Event from "../event"
import commonProcess from "~/mixin/commonProcess";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
......
......@@ -32,6 +32,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Fttfmt from "../model"
import Matp from "./Matp"
import commonProcess from "~/mixin/commonProcess"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
......@@ -54,14 +55,14 @@ export default {
root: this
}
},
mixins: [operationFunc, commonDepend, event, buildFn], // 里面包含了Default、Check等的公共处理
mixins: [operationFunc, commonDepend, event, buildFn,commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "matp",
trnName: "fttfmt",
trnType: "",
model: new Fttfmt().data,
rules: Check,
rules: {},
codes: { ...CodeTable },
}
},
......@@ -75,15 +76,15 @@ export default {
},
created: async function () {
console.log("进入fttfmt交易");
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,
ftdgrp: {
rec: {
inr: this.$route.query.inr || "",
},
},
};
this.init(params)
}
}
</script>
......
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
import Ftdgrp from '~/components/business/commonModel/ftdgrp';
export default class Fttpcm{
constructor () {
this.data = {
ftdgrp:{
rec:{
int:"",
nam:"",
fttyp:"",
ownref:"", // Reference .ftdgrp.rec.ownref
nam:"", // 名称 .ftdgrp.rec.nam
opndat:"", // 调拨日期 .ftdgrp.rec.opndat
valdat:"", // 起息日 .ftdgrp.rec.valdat
ownusr:"", // 资金部负责人 .ftdgrp.rec.ownusr
usr:"", // 清算中心负责人 .ftdgrp.rec.usr
},
tro:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tri.dbfadrblkcn
},
cbs:{
max:{
cur:"", // 头寸调拨金额 .ftdgrp.cbs.max.cur
amt:"", // 头寸调拨金额 .ftdgrp.cbs.max.amt
},
},
blk:{
remark:"", // 备注 .ftdgrp.blk.remark
},
ben:{
pts:new Pts().data,
},
},
ftdgrp: new Ftdgrp().data,
fttp:{
trop:{
ptsget:{
......
......@@ -24,7 +24,7 @@ export default {
let ptsptaList = [];
return {
rec: {
objtyp: "FXT",
objtyp: "FTD",
objinr: model.ftdgrp.rec.inr,
ownref: model.ftdgrp.rec.ownref,
fttyp:model.ftdgrp.rec.fttyp,
......
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
import Ftdgrp from '~/components/business/commonModel/ftdgrp';
export default class Fttpcn{
constructor () {
this.data = {
ftdgrp:{
rec:{
int:"",
ownusr:"",
ownref:"", // 头寸调拨业务参考号 .ftdgrp.rec.ownref
nam:"", // 名称 .ftdgrp.rec.nam
fttyp:"", // 头寸调拨类型 .ftdgrp.rec.fttyp
},
cbs:{
max:{
cur:"", // 头寸调拨金额 .ftdgrp.cbs.max.cur
amt:"", // 头寸调拨金额 .ftdgrp.cbs.max.amt
},
opn2:{
cur:"", // 待销账金额 .ftdgrp.cbs.opn2.cur
amt:"", // Balance .ftdgrp.cbs.opn2.amt
},
},
tro:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tri.dbfadrblkcn
},
},
ftdgrp: new Ftdgrp().data,
fttp:{
trop:{
......@@ -52,7 +26,7 @@ export default class Fttpcn{
},
},
cancur:"",
canamt:0, // Cancellation Amount .canamt
canamt:"", // Cancellation Amount .canamt
setmod:{
doccur:"", // 实际销账金额 .setmod.doccur
},
......
import Pub from "~/components/business/commonModel/index.js";
import Fxdgrp from '~/components/business/commonModel/fxdgrp';
import Cpdgrp from '~/components/business/commonModel/cpdgrp';
export default class Fxtssb {
......@@ -13,6 +15,7 @@ export default class Fxtssb {
cshflg: "", // 钞汇标志 .fxtp.cshflg
},
fxdgrp: new Fxdgrp().data,
cpdgrp: new Cpdgrp().data,
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia,
......
......@@ -138,16 +138,12 @@ export default {
return
}
let params = {}
if(btn.code.toLowerCase() == 'fttfmt'){
params = {
path: "/business/" + btn.code.toLowerCase(),
}
}else{
params = {
path: "/business/" + btn.code.toLowerCase(),
query: { inr: row.inr,pntinr: row.pntinr }
}
}
this.routerPush(params);
this.initdialog = false;
},
......
<template>
<ReviewWrapper>
<Crtcri></Crtcri>
</ReviewWrapper>
</template>
<script>
import Crtcri from "~/page/Funds/Crtcri/views";
import ReviewWrapper from "~/components/business/ReviewWrapper.vue";
export default {
name: "review-crtcri",
components: {ReviewWrapper, Crtcri},
created() {
},
mounted() {
}
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Crtcro></Crtcro>
</ReviewWrapper>
</template>
<script>
import Crtcro from "~/page/Funds/Crtcro/views";
import ReviewWrapper from "~/components/business/ReviewWrapper.vue";
export default {
name: "review-crtcro",
components: {ReviewWrapper, Crtcro},
created() {
},
mounted() {
}
};
</script>
<style></style>
\ No newline at end of file
......@@ -2197,6 +2197,18 @@ const ReviewRouter = [
component: () => import("./Funds/ReviewFxtsss.vue"),
meta: {keepAlive: true, title: "复核-即期结汇", module: 'funds'}
},
{
name: "review-crtcri",
path: "review-crtcri",
component: () => import("./Funds/ReviewCrtcri.vue"),
meta: {keepAlive: true, title: "复核-汇入清算", module: 'funds'}
},
{
name: "review-crtcro",
path: "review-crtcro",
component: () => import("./Funds/ReviewCrtcro.vue"),
meta: {keepAlive: true, title: "复核-汇出清算", module: 'funds'}
},
];
export default ReviewRouter;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment