Commit aa65d2e8 by zhoujunpeng

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

parents 04b92297 e476c783
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
},
};
}
}
<template>
<div>
<pre>{{ mtDocs }}</pre>
<el-dialog :fullscreen="isShowFull" :modal-append-to-body="false" :show-close="false" :visible.sync="previewVisible" @close="handleClosePreview" center class="preview" destroy-on-close ref="dialog" title="预览" v-dialogDrag v-if="previewVisible" width="70%">
<div class="preview-title-wrap" slot="title">
<div class="preview-title">预览</div>
......@@ -102,6 +103,7 @@ export default {
viewPdfUrl: "",
isShowFull: false,
smhOwnref: "",
mtDocs: ''
};
},
computed: {
......@@ -615,7 +617,15 @@ export default {
}
}
},
async getMtDcos() {
let params = {
msginr: this.$route.query.msginr
}
let res = await Api.post(`/public/quesel/showDocs`, params);
if (res.respCode === SUCCESS) {
this.mtDocs = res.data.data;
}
}
}
};
</script>
......
......@@ -12760,6 +12760,228 @@ const CodeTable = {
{label:"瑞典实时全额支付系统",value:"SSK" },
{label:"自动清算中心",value:"ACH" },
],
usratr:[
{label:"银行",value:"1" },
{label:"个人",value:"0" },
],
cpsfxdtyp:[
{label:"公共参数数据变更信息文件",value:"10" },
{label:"参与者数字证书绑定信息文件",value:"18" },
{label:"业务权限信息文件",value:"19" },
{label:"报文编号与业务种类对照表",value:"11" },
{label:"变更期数文件信息",value:"12" },
{label:"参与者运行状态文件",value:"15" },
{label:"参与者信息文件",value:"13" },
{label:"直间参关系信息文件",value:"16" },
{label:"公共参数数据文件",value:"9" },
{label:"参与者变更信息文件",value:"14" },
{label:"直间参关系变更信息文件",value:"17" },
],
cipsmsgtype:[
{label:"cips.151.001.01",value:"151" },
{label:"cips.135.001.01",value:"135" },
{label:"cips.111.001.02",value:"111" },
{label:"cips.112.001.02",value:"112" },
],
cassta:[
{label:"",value:"" },
{label:"闭卷",value:"D" },
{label:"待办",value:"B" },
{label:"新建",value:"A" },
{label:"已办",value:"C" },
],
kpstyp:[
{label:"待记账",value:"W" },
{label:"待记账回执",value:"P" },
{label:"非记账成功",value:"Z" },
{label:"记账失败",value:"E" },
{label:"记账成功",value:"S" },
{label:"全部",value:"A" },
],
mgssta:[
{label:"",value:"" },
{label:"重新分发",value:"R" },
{label:"待复核",value:"Q" },
{label:"待验证",value:"V" },
{label:"新建",value:"N" },
{label:"待处理",value:"W" },
{label:"取消忽略",value:"G" },
{label:"禁止处理",value:"B" },
{label:"忽略处理",value:"F" },
{label:"已处理",value:"D" },
],
qrtmtp:[
{label:"MT 195",value:"195" },
{label:"FMT 193",value:"193" },
{label:"MT 196",value:"196" },
{label:"FMT 194",value:"194" },
{label:"FMT 195",value:"195" },
{label:"FMT 196",value:"196" },
{label:"MT 192",value:"192" },
{label:"MT 199",value:"199" },
{label:"FMT 191",value:"191" },
],
rerway:[
{label:"国际结算",value:"C" },
{label:"国际汇兑",value:"B" },
{label:"退回",value:"A" },
],
blksta:[
{label:"",value:"" },
{label:"疑似黑名单",value:"B" },
{label:"已放行",value:"C" },
{label:"已忽略",value:"F" },
],
offtyp:[
{label:"",value:"" },
{label:"无效记录",value:"R" },
{label:"手工勾销",value:"M" },
{label:"自动勾销",value:"A" },
],
fmssta:[
{label:"已对账",value:"1" },
{label:"贷记对账失败",value:"3" },
{label:"借记对账失败",value:"4" },
{label:"待处理",value:"0" },
{label:"处理中",value:"2" },
{label:"对账失败",value:"5" },
],
errtyp:[
{label:"待调整",value:"D" },
{label:"页疑似重复",value:"1" },
{label:"单金额不连续",value:"8" },
{label:"单号不连续",value:"C" },
{label:"未接收完整",value:"B" },
{label:"注销",value:"7" },
{label:"页初金额不连续",value:"5" },
{label:"页码不连续",value:"3" },
{label:"页重复",value:"2" },
{label:"缺页",value:"4" },
{label:"页内试算不平衡",value:"6" },
],
bnksta:[
{label:"审核失败",value:"01" },
{label:"已生效",value:"48" },
{label:"已注销",value:"49" },
{label:"审核成功",value:"02" },
{label:"待审核",value:"00" },
],
kpadir:[
{label:"往账",value:"O" },
{label:"来账",value:"I" },
{label:"所有",value:"1" },
{label:"不记账",value:"0" },
],
area:[
{label:"",value:"" },
{label:"浙江舟山",value:"33016241" },
{label:"厦门",value:"35008816" },
{label:"河南",value:"41022445" },
{label:"宁波",value:"33000072" },
{label:"湖北",value:"42014856" },
{label:"浙江萧山",value:"33000716" },
{label:"江西",value:"36014148" },
{label:"浙江乐清",value:"33006000" },
{label:"浙江余杭",value:"33000704" },
{label:"黑龙江",value:"23016187" },
{label:"浙江安吉",value:"33008194" },
{label:"浙江温岭",value:"33014994" },
{label:"天津",value:"12004390" },
{label:"浙江青田",value:"33014119" },
{label:"青岛",value:"37000013" },
{label:"大连",value:"21014952" },
{label:"浙江义乌",value:"33010681" },
{label:"浙江金华",value:"33000084" },
{label:"西藏",value:"54000736" },
{label:"浙江温州",value:"33000096" },
{label:"吉林",value:"22000030" },
{label:"上海",value:"31000017" },
{label:"山西",value:"14012817" },
{label:"宁夏",value:"64002353" },
{label:"浙江",value:"33016227" },
{label:"浙江嵊州",value:"33009412" },
{label:"浙江临安",value:"33002064" },
{label:"浙江绍兴",value:"33016566" },
{label:"浙江临海",value:"33015213" },
{label:"内蒙",value:"15010852" },
{label:"浙江衢州",value:"33000108" },
{label:"山东",value:"37000025" },
{label:"浙江江山",value:"33012762" },
{label:"浙江台州",value:"33000146" },
{label:"福建",value:"35000011" },
{label:"河北",value:"13000015" },
{label:"重庆",value:"50016751" },
{label:"浙江瑞安",value:"33006745" },
{label:"湖南",value:"43020900" },
{label:"海南",value:"46000014" },
{label:"浙江文成",value:"33005655" },
{label:"贵州",value:"52007323" },
{label:"陕西",value:"61000089" },
{label:"新疆",value:"65006860" },
{label:"浙江天台",value:"33015201" },
{label:"江苏",value:"32000018" },
{label:"安徽",value:"34000010" },
{label:"浙江普陀",value:"33013384" },
{label:"甘肃",value:"62006424" },
{label:"浙江嘉兴",value:"33000134" },
{label:"四川",value:"51000012" },
{label:"浙江东阳",value:"33010655" },
{label:"浙江丽水",value:"33016254" },
{label:"广西",value:"45009366" },
{label:"上海自贸区",value:"3100001F" },
{label:"深圳",value:"44008995" },
{label:"云南",value:"53008846" },
{label:"浙江杭州",value:"33016239" },
{label:"浙江三门",value:"33015480" },
{label:"辽宁",value:"21000015" },
{label:"广东",value:"44000012" },
{label:"青海",value:"63002179" },
{label:"浙江永康",value:"33010667" },
{label:"总行",value:"11005293" },
{label:"北京",value:"11000013" },
],
actsta:[
{label:"未对账",value:"" },
{label:"已对账",value:"1" },
],
yosflg:[
{label:"否",value:"N" },
{label:"是",value:"Y" },
],
allmsgcod:[
{label:"",value:"" },
{label:"退回报文编辑",value:"C" },
{label:"重新分发",value:"R" },
{label:"等待交换",value:"M" },
{label:"报文等待放行",value:"L" },
{label:"待手工处理",value:"X" },
{label:"待发送",value:"W" },
{label:"报文编辑丢弃",value:"G" },
{label:"处理错误",value:"E" },
{label:"新建",value:"N" },
{label:"待人工复查",value:"V" },
{label:"接口中间状态",value:"0" },
{label:"挂账状态",value:"H" },
{label:"废弃",value:"Q" },
{label:"疑似黑名单",value:"B" },
{label:"闭卷",value:"F" },
{label:"待自动处理",value:"A" },
{label:"已处理",value:"D" },
],
cipsstatus:[
{label:"无",value:"0" },
{label:"排队",value:"2" },
{label:"拒绝撤销",value:"5" },
{label:"已结清",value:"1" },
{label:"排队调整申请中",value:"4" },
{label:"撤销申请",value:"3" },
],
chniptcod:[
{label:"疑似重复报文",value:"ZZZ" },
{label:"国际汇兑系统",value:"GHD" },
{label:"资金清算系统",value:"ZQS" },
{label:"国际结算系统",value:"GJS" },
],
};
export default CodeTable;
......@@ -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>
......@@ -36,7 +36,7 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="币种" prop="sndbak" style="width: 100%">
<c-select v-model="model.batp.cur" maxlength="40" :code="codes.cur">
<c-select v-model="model.batp.cur" maxlength="40" dbCode="curtxt">
</c-select>
</el-form-item>
</c-col>
......
......@@ -67,8 +67,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="" style="width: 100%">
<c-select v-model="model.wlzp.cur" style="width: 100%"
:code="codes.cur"/>
<c-select v-model="model.wlzp.cur" style="width: 100%" dbCode="curtxt"/>
</el-form-item>
</c-col>
</c-col>
......
......@@ -12,7 +12,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="" style="width: 100%">
<c-select v-model="model.cur" style="width: 100%" placeholder="请选择币种" :code="codes.cur"/>
<c-select v-model="model.cur" style="width: 100%" placeholder="请选择币种" dbCode="curtxt" />
</el-form-item>
</c-col>
<c-col :span="8">
......
......@@ -12,7 +12,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="" style="width: 100%">
<c-select v-model="model.innp.cur" style="width: 100%" placeholder="请选择币种" :code="codes.cur"/>
<c-select v-model="model.innp.cur" style="width: 100%" placeholder="请选择币种" dbCode="curtxt" />
</el-form-item>
</c-col>
<c-col :span="8">
......
......@@ -12,7 +12,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="" style="width: 100%">
<c-select v-model="model.kpmpcur" style="width: 100%" placeholder="请选择币种" :code="codes.cur"/>
<c-select v-model="model.kpmpcur" style="width: 100%" placeholder="请选择币种" dbCode="curtxt" />
</el-form-item>
</c-col>
<c-col :span="8">
......
......@@ -19,7 +19,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="subtype" style="width: 100%">
<c-select v-model="model.ktlp.cur" style="width:100%" :code="codes.cur" />
<c-select v-model="model.ktlp.cur" style="width:100%" dbCode="curtxt" />
</el-form-item>
</c-col>
</c-col>
......
......@@ -34,7 +34,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="revbak" style="width: 100%">
<c-select v-model="model.dotgrp.rec.cur" maxlength="40" :code="codes.cur">
<c-select v-model="model.dotgrp.rec.cur" maxlength="40" dbCode="curtxt">
</c-select>
</el-form-item>
</c-col>
......
......@@ -32,7 +32,7 @@
</c-col>
<c-col :span="8">
<el-form-item :label="$t('fxpdtlsel.币种')" style="width: 100%">
<c-select v-model="model.rcvp.cur" maxlength="40" :code="codes.cur"/>
<c-select v-model="model.rcvp.cur" maxlength="40" dbCode="curtxt"/>
</el-form-item>
</c-col>
<c-col :span="8">
......
......@@ -12,7 +12,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="" style="width: 100%">
<c-select v-model="model.cur" style="width: 100%" placeholder="请选择币种" :code="codes.cur"/>
<c-select v-model="model.cur" style="width: 100%" placeholder="请选择币种" dbCode="curtxt"/>
</el-form-item>
</c-col>
<c-col :span="8">
......
......@@ -12,7 +12,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="" style="width: 100%">
<c-select v-model="model.zqsp.cur" style="width: 100%" placeholder="请选择币种" :code="codes.cur"/>
<c-select v-model="model.zqsp.cur" style="width: 100%" placeholder="请选择币种" dbCode="curtxt"/>
</el-form-item>
</c-col>
<c-col :span="8">
......
......@@ -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: '放行成功' })
}
});
},
......
......@@ -71,7 +71,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="cur" style="width: 100%">
<c-select v-model="model.sndp.cur" style="width: 100%" placeholder="请选择币种" :code="codes.cur">
<c-select v-model="model.sndp.cur" style="width: 100%" placeholder="请选择币种" dbCode="curtxt">
</c-select>
</el-form-item>
</c-col>
......
......@@ -71,7 +71,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="cur" style="width: 100%">
<c-select v-model="model.sndp.cur" style="width: 100%" placeholder="请选择币种" :code="codes.cur">
<c-select v-model="model.sndp.cur" style="width: 100%" placeholder="请选择币种" dbCode="curtxt">
</c-select>
</el-form-item>
</c-col>
......
......@@ -67,7 +67,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="" style="width: 100%">
<c-select v-model="model.sndp.cur" :code="codes.cur" style="width: 100%"/>
<c-select v-model="model.sndp.cur" dbCode="curtxt" style="width: 100%"/>
</el-form-item>
</c-col>
</c-col>
......
......@@ -71,7 +71,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="sndp.cur" style="width: 100%">
<c-select v-model="model.sndp.cur" style="width: 100%" placeholder="请选择币种" :code="codes.cur">
<c-select v-model="model.sndp.cur" style="width: 100%" placeholder="请选择币种" dbCode="curtxt">
</c-select>
</el-form-item>
</c-col>
......
......@@ -7,7 +7,7 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="币种" prop="msgtyp" style="width: 100%">
<c-select v-model="model.oftgrp.dot.cur" style="width: 100%" placeholder="请选择币种" :code="codes.cur">
<c-select v-model="model.oftgrp.dot.cur" style="width: 100%" placeholder="请选择币种" dbCode="curtxt">
</c-select>
</el-form-item>
</c-col>
......
......@@ -60,7 +60,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="币种" style="width: 100%">
<c-select v-model="model.oftp.rel.cur" style="width: 100%" :code="codes.cur" />
<c-select v-model="model.oftp.rel.cur" style="width: 100%" dbCode="curtxt" />
</el-form-item>
</c-col>
<c-col :span="8">
......
......@@ -60,7 +60,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="币种" style="width: 100%">
<c-select v-model="model.oftp.rel.cur" style="width: 100%" :code="codes.cur" />
<c-select v-model="model.oftp.rel.cur" style="width: 100%" dbCode="curtxt" />
</el-form-item>
</c-col>
<c-col :span="8">
......
......@@ -13,7 +13,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="业务币种" prop="" style="width: 100%">
<c-select v-model="model.pngp.cur" style="width: 100%" placeholder="请选择业务币种" :code="codes.cur"/>
<c-select v-model="model.pngp.cur" style="width: 100%" placeholder="请选择业务币种" dbCode="curtxt"/>
</el-form-item>
</c-col>
<c-col :span="8">
......
......@@ -3,7 +3,8 @@
<c-button class="medium_bcs" size="medium" style="margin-left: 0" type="primary" @click="showCaseInfo">
CASE信息
</c-button>
<p style="margin-top: 20px;border: 1px solid #333333;width: 100%;height: calc(100% - 60px);overflow: auto;" v-html="model.qrtp.mdtmod.msgdtl"></p>
<message-view ref="messageView"></message-view>
<!-- <p style="margin-top: 20px;border: 1px solid #333333;width: 100%;height: calc(100% - 60px);overflow: auto;" v-html="model.qrtp.mdtmod.msgdtl"></p> -->
<el-dialog v-if="visible" v-dialogDrag :visible="visible" :modal-append-to-body="false" :close-on-click-modal="true"
title="CASE详细信息展示" destroy-on-close width="50%" @close="visible = false">
......@@ -213,10 +214,14 @@
<script>
import Api from "~/service/Api"
import Event from "../event"
import MessageView from "~/components/business/docpan/views/MessageView";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [Event],
components: {
MessageView
},
data() {
return {
visible: false,
......@@ -238,9 +243,15 @@ export default {
this.visible = true
this.model.qrtp.roflst = rtnmsg.data
}
},
getMsgDlt () {
this.$nextTick(() => {
this.$refs.messageView.getMtDcos();
})
}
},
created: function () {
mounted () {
this.getMsgDlt()
}
}
</script>
......
......@@ -67,7 +67,7 @@ export default {
},
},
};
this.init(params);
// this.init(params);
}
}
</script>
......
......@@ -71,8 +71,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="cur" style="width: 100%">
<c-select v-model="model.rcvp.cur" style="width: 100%" placeholder="请选择币种"
:code="codes.cur">
<c-select v-model="model.rcvp.cur" style="width: 100%" placeholder="请选择币种" dbCode="curtxt">
</c-select>
</el-form-item>
</c-col>
......@@ -279,7 +278,7 @@ export default {
{
label: "接收时间",
prop: "rcvdattim",
width: "150px"
width: "170px"
},
],
data: [],
......
......@@ -71,8 +71,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="cur" style="width: 100%">
<c-select v-model="model.rcvp.cur" style="width: 100%" placeholder="请选择币种"
:code="codes.cur">
<c-select v-model="model.rcvp.cur" style="width: 100%" placeholder="请选择币种" dbCode="curtxt">
</c-select>
</el-form-item>
</c-col>
......
......@@ -71,8 +71,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="cur" style="width: 100%">
<c-select v-model="model.rcvp.cur" style="width: 100%" placeholder="请选择币种"
:code="codes.cur">
<c-select v-model="model.rcvp.cur" style="width: 100%" placeholder="请选择币种" dbCode="curtxt">
</c-select>
</el-form-item>
</c-col>
......@@ -284,7 +283,7 @@ export default {
{
label: "接收时间",
prop: "rcvdattim",
width: "150px"
width: "170px"
},
],
data: [],
......
......@@ -17,7 +17,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="币种" style="width: 100%">
<c-select v-model="model.smdp.smdsup.cur" :code="codes.cur" />
<c-select v-model="model.smdp.smdsup.cur" dbCode="curtxt" />
</el-form-item>
</c-col>
</c-col>
......
......@@ -47,7 +47,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="actbic" style="width: 100%">
<c-select v-model="model.smtp.smtsup.cur" maxlength="40" :code="codes.cur" />
<c-select v-model="model.smtp.smtsup.cur" maxlength="40" dbCode="curtxt" />
</el-form-item>
</c-col>
</c-col>
......@@ -72,7 +72,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="对账单编号" prop="cur" style="width: 100%">
<c-select v-model="model.smtp.smtsup.smtno" style="width: 100%" :code="codes.cur">
<c-select v-model="model.smtp.smtsup.smtno" style="width: 100%" dbCode="curtxt">
</c-select>
</el-form-item>
</c-col>
......
......@@ -66,8 +66,7 @@
<el-form-item label="币种" prop="smtp.smtsup.cur">
<c-select
v-model="model.smtp.smtsup.cur"
style="width: 100%"
:code="codes.cur"/>
style="width: 100%" dbCode="curtxt"/>
</el-form-item>
</c-col>
......
......@@ -71,7 +71,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="cur" style="width: 100%">
<c-select v-model="model.sndp.cur" style="width: 100%" placeholder="请选择币种" :code="codes.cur">
<c-select v-model="model.sndp.cur" style="width: 100%" placeholder="请选择币种" dbCode="curtxt">
</c-select>
</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: [],
......
......@@ -71,7 +71,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="cur" style="width: 100%">
<c-select v-model="model.sndp.cur" style="width: 100%" placeholder="请选择币种" :code="codes.cur">
<c-select v-model="model.sndp.cur" style="width: 100%" placeholder="请选择币种" dbCode="curtxt">
</c-select>
</el-form-item>
</c-col>
......@@ -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
......@@ -5,52 +5,74 @@ import Ftdgrp from '~/components/business/commonModel/ftdgrp';
export default class Fttfcn{
constructor () {
this.data = {
ftdgrp: new Ftdgrp().data,
fttp:{
troact: "", // Trade-out Account .fttp.troact
triact: "", // 备注 .fttp.triact
msgtyp: "", // 报文类型 .fttp.msgtyp
benact: "",
bnaktypflg: "",
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>
......
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,
......
<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