Commit 7da57409 by 李少勇

msgdtl 交易开发

parent 41fc69af
......@@ -42,6 +42,7 @@ const BusRouter = [
// 报文管理w
{ path: 'rcvsel', component: () => import("./Rcvsel/views"), name: 'Rcvsel', meta: { keepAlive: true, title: '收报查询' } },
{ path: 'sndsel', component: () => import("./Sndsel/views"), name: 'Sndsel', meta: { keepAlive: true, title: '发报查询' } },
{ path: 'msgdtl', component: () => import("./Msgdtl/views"), name: 'msgdtl', meta: { keepAlive: true, title: '报文原文展示', module: 'frontend' } },
{ path: 'sndselcop', component: () => import("./Sndselcop/views"), name: 'Sndselcop', meta: { keepAlive: true, title: '发报疑似重复处理' } },
{ path: 'rcvselcop', component: () => import("./Rcvselcop/views"), name: 'Rcvselcop', meta: { keepAlive: true, title: '收报疑似重复处理' } },
{ path: 'msgrtm', component: () => import("./Msgrtm/views"), name: 'Msgrtm', meta: { keepAlive: true, title: '人工清分' } },
......
import Utils from "~/utils";
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
return {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts,
};
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.crdgrp, this.buildPtspta);
return {
rec: {
objtyp: "MSG",
},
cbsMap: {
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : "ZL",
};
},
},
};
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
},
};
export default {
}
\ No newline at end of file
import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
export default class Msgdtl {
constructor() {
this.data = {
mdtp: {
mdtmod: {
mpelst: [], // .mdtp.mdtmod.mpelst
msgdtl: "", // 报文展示 .mdtp.mdtmod.msgdtl
mpelstTotal: 0,
gpelst: [], // .mdtp.mdtmod.gpelst
gpelstTotal: 0,
gpe192lst: [], // .mdtp.mdtmod.gpe192lst
gpe192lstTotal: 0,
gpeutrlst: [], // .mdtp.mdtmod.gpeutrlst
gpeutrlstTotal: 0
},
shwpremsg: "", // 显示转会前报文 .mdtp.shwpremsg
},
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table :data="model.mdtp.mdtmod.gpe192lst" style="width: 100%">
<el-table-column prop="subtyp" label="报文类型" width="150">
</el-table-column>
<el-table-column prop="orgbic" label="状态发起行BIC" width="150">
</el-table-column>
<el-table-column prop="rspsta" label="处理状态" width="150">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.rspsta" :code="codes.gpista"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column prop="rspcod" label="原因码" width="150">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.rspcod" :code="codes.gpicod"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column prop="credattim" label="创建时间" width="150">
</el-table-column>
<el-table-column prop="upddattim" label="更新时间" width="150">
</el-table-column>
<el-table-column prop="mpstim" label="发送/接收时间" width="150">
</el-table-column>
<el-table-column prop="txt" label="处理说明" width="300">
</el-table-column>
</el-table>
<el-pagination layout="prev, pager, next" :total="model.mdtp.mdtmod.gpe192lstTotal">
</el-pagination>
</div>
</c-col>
<c-col :span="12">
<span v-text="model.mdtp.mdtmod.msgdtl" data-path=".mdtp.mdtmod.msgdtl"> </span>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table :data="model.mdtp.mdtmod.mpelst" style="width: 100%">
<el-table-column prop="dattim" label="处理时间" width="150">
</el-table-column>
<el-table-column prop="usr" label="操作用户" width="150">
</el-table-column>
<el-table-column prop="chncod" label="当前渠道" width="150">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.chncod" :code="codes.chncod"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column prop="nxtchncod" label="下一渠道" width="150">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.nxtchncod" :code="codes.chncod"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column prop="prvsta" label="处理前状态" width="150">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.prvsta" :code="codes.msgsta"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column prop="sta" label="处理状态" width="150">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.sta" :code="codes.msgsta"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column prop="txt" label="备注">
</el-table-column>
</el-table>
<el-pagination layout="prev, pager, next" :total="model.mdtp.mdtmod.mpelstTotal">
</el-pagination>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table :data="model.mdtp.mdtmod.gpelst" style="width: 100%">
<el-table-column prop="subtyp" label="报文类型" width="150">
</el-table-column>
<el-table-column prop="orgbic" label="状态发起行BIC" width="150">
</el-table-column>
<el-table-column prop="fwdbic" label="状态转发行BIC" width="150">
</el-table-column>
<el-table-column prop="rspsta" label="处理状态" width="150">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.rspsta" :code="codes.gpista"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column prop="rspcod" label="处理码" width="150">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.rspcod" :code="codes.gpicod"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column prop="stasndtim" label="处理时间" width="150">
</el-table-column>
<el-table-column prop="utc" label="时区" width="150">
</el-table-column>
<el-table-column prop="cur" label="收款币种" width="150">
</el-table-column>
<el-table-column prop="amt" label="收款金额" width="150">
</el-table-column>
<el-table-column prop="oricur" label="原始币种" width="150">
</el-table-column>
<el-table-column prop="exgcur" label="转换币种" width="150">
</el-table-column>
<el-table-column prop="exgrat" label="货币转换汇率" width="150">
</el-table-column>
<el-table-column prop="deucur" label="扣费币种" width="150">
</el-table-column>
<el-table-column prop="deuamt" label="扣费金额" width="150">
</el-table-column>
<el-table-column prop="credattim" label="创建时间" width="150">
</el-table-column>
<el-table-column prop="upddattim" label="更新时间" width="150">
</el-table-column>
<el-table-column prop="mpstim" label="发送/接收时间" width="150">
</el-table-column>
<el-table-column prop="txt" label="处理说明" width="300">
</el-table-column>
</el-table>
<el-pagination layout="prev, pager, next" :total="model.mdtp.mdtmod.gpelstTotal">
</el-pagination>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table :data="model.mdtp.mdtmod.gpeutrlst" style="width: 100%">
<el-table-column prop="subtyp" label="报文类型" width="150">
</el-table-column>
<el-table-column prop="dir" label="收发方向" width="150">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.dir" :code="codes.dircod"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column prop="cur" label="收款币种" width="150">
</el-table-column>
<el-table-column prop="amt" label="收款金额" width="150">
</el-table-column>
<el-table-column prop="sndbic" label="发报行BIC" width="150">
</el-table-column>
<el-table-column prop="rcvbic" label="收报行BIC" width="150">
</el-table-column>
<el-table-column prop="orgbic" label="状态发起行BIC" width="150">
</el-table-column>
<el-table-column prop="fwdbic" label="状态转发行BIC" width="150">
</el-table-column>
<el-table-column prop="rspsta" label="处理状态" width="150">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.rspsta" :code="codes.gpista"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column prop="rspcod" label="处理码" width="150">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.rspcod" :code="codes.gpicod"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column prop="setmth" label="结算方式" width="150">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.setmth" :code="codes.setmth"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column prop="clrsys" label="清算系统" width="150">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.clrsys" :code="codes.clrsys"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column prop="stasndtim" label="处理时间" width="150">
</el-table-column>
<el-table-column prop="utc" label="时区" width="70">
</el-table-column>
<el-table-column prop="credattim" label="创建时间" width="150">
</el-table-column>
<el-table-column prop="usrnam" label="操作员" width="150">
</el-table-column>
<el-table-column prop="mpstim" label="发送/接收时间" width="150">
</el-table-column>
<el-table-column prop="txt" label="处理说明" width="300">
</el-table-column>
</el-table>
<el-pagination layout="prev, pager, next" :total="model.mdtp.mdtmod.gpeutrlstTotal">
</el-pagination>
</div>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.mdtp.shwpremsg">显示转会前报文</c-checkbox>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Event from "../event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [Event],
data() {
return {
}
},
methods: { },
created: function () {
}
}
</script>
<style></style>
<template>
<div class="eContainer">
<c-page title="汇入清算">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-tab-pane label="业务信息" name="msgdtlp">
<c-content>
<m-msgdtlp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Msgdtl from "../model"
import Msgdtlp from "./Msgdtlp"
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";
export default {
name: "Msgdtl",
components: {
"m-msgdtlp": Msgdtlp,
},
provide() {
return {
root: this
}
},
mixins: [operationFunc, commonDepend, event, buildFn],
data() {
return {
tabVal: "msgdtlp",
trnName: "msgdtl",
model: new Msgdtl().data,
rules: Check,
codes: {
chncod: CodeTable.chncod,
clrsys: CodeTable.clrsys,
gpicod: CodeTable.gpicod,
msgsta: CodeTable.msgsta,
dircod: CodeTable.dircod,
setmth: CodeTable.setmth,
gpista: CodeTable.gpista,
},
}
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
}
},
created: async function () {
console.log("进入msgdtl交易");
let params = {
transName: this.trnName,
fxdgrp: {
rec: {
inr: this.$route.query.inr || "",
},
},
};
// this.init(params)
}
}
</script>
<style></style>
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