Commit d9d926ce by ZcyJames

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

parents fae82ffc f2fcedcb
......@@ -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>
......@@ -12,6 +12,14 @@
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="subtype" style="width: 100%">
<el-select v-model="model.sndp.subtyp" placeholder="请选择报文类型">
<el-option v-for="code in subtypCodes" :key="code.label" :label="code.label" :value="code.value">
</el-option>
</el-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="开立日期" prop="rcvdatsta" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.sndp.rcvdatsta" style="width: 100%"></c-date-picker>
......@@ -24,14 +32,6 @@
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="subtype" style="width: 100%">
<el-select v-model="model.sndp.subtyp" placeholder="请选择报文类型">
<el-option v-for="code in subtypCodes" :key="code.label" :label="code.label" :value="code.value">
</el-option>
</el-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
......
......@@ -12,6 +12,14 @@
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="subtype" style="width: 100%">
<el-select v-model="model.sndp.subtyp" placeholder="请选择报文类型">
<el-option v-for="code in subtypCodes" :key="code.label" :label="code.label" :value="code.value">
</el-option>
</el-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="开立日期" prop="rcvdatsta" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.sndp.rcvdatsta" style="width: 100%"></c-date-picker>
......@@ -24,14 +32,6 @@
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="subtype" style="width: 100%">
<el-select v-model="model.sndp.subtyp" placeholder="请选择报文类型">
<el-option v-for="code in subtypCodes" :key="code.label" :label="code.label" :value="code.value">
</el-option>
</el-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
......
......@@ -33,27 +33,88 @@
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<!-- <c-col :span="24">
<c-col :span="8">
<el-form-item label="发报行BIC" prop="sndbak" style="width: 100%">
<c-input v-model="model.sndp.sndbak" maxlength="40" >
</c-input>
<el-form-item :label="$t('qrtp.起始时间')" prop="qrtp.dts">
<c-date-picker type="date" v-model="model.qrtp.dts" style="width:100%"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="收报行BIC" prop="revbak" style="width: 100%">
<c-input v-model="model.sndp.revbak" maxlength="40" >
</c-input>
<el-form-item :label="$t('qrtp.截止时间')" prop="qrtp.dte">
<c-date-picker type="date" v-model="model.qrtp.dte" style="width:100%"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="账户行BIC" prop="actbic" style="width: 100%">
<c-input v-model="model.sndp.actbic" maxlength="40" >
</c-input>
<el-form-item :label="$t('qrtp.报文标准')" prop="qrtp.msgtyp">
<c-select v-model="model.qrtp.msgtyp" style="width:100%"></c-select>
</el-form-item>
</c-col>
</c-col>-->
<c-col :span="8">
<el-form-item :label="$t('qrtp.报文种类')" prop="qrtp.mty">
<c-select v-model="model.qrtp.mty" style="width:100%"></c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('qrtp.报文状态')" prop="qrtp.msgsta">
<c-select v-model="model.qrtp.msgsta" style="width:100%">
<el-option
v-for="item in codes.mgssta"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<c-form-item :label="$t('qrtp.收报行BIC')" prop="qrtp.revbnk">
<c-input v-model="model.qrtp.revbnk" maxlength="11"></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item :label="$t('qrtp.发报行BIC')" prop="qrtp.sedbnk">
<c-input v-model="model.qrtp.sedbnk" maxlength="11"></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('qrtp.币种')" prop="qrtp.cur">
<c-select v-model="model.qrtp.cur" style="width:100%"></c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<c-form-item :label="$t('qrtp.金额下限')" prop="qrtp.amtdwl">
<c-input v-model="model.qrtp.amtdwl"></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item :label="$t('qrtp.金额上限')" prop="qrtp.amtupl">
<c-input v-model="model.qrtp.amtupl"></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item :label="$t('qrtp.CASE编号')" prop="qrtp.casnum">
<c-input v-model="model.qrtp.casnum" maxlength="16"></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item :label="$t('qrtp.汇票号码')" prop="qrtp.drtnum">
<c-input v-model="model.qrtp.drtnum" maxlength="20"></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item :label="$t('qrtp.报文20域')" prop="qrtp.tagt20">
<c-input v-model="model.qrtp.tagt20" maxlength="16"></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item :label="$t('qrtp.报文21域')" prop="qrtp.tagt21">
<c-input v-model="model.qrtp.tagt21" maxlength="16"></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item :label="$t('qrtp.UETR')" prop="qrtp.uetr">
<c-input v-model="model.qrtp.uetr" maxlength="40"></c-input>
</c-form-item>
</c-col>
</el-row>
</template>
</c-list-search>
......
......@@ -157,7 +157,7 @@
<!-- LT000309 : : -->
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000152')" prop="qrtp.dts">
<el-form-item :label="$t('qrtp.起始时间')" prop="qrtp.dts">
<c-date-picker type="date" v-model="model.qrtp.dts" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000152')"></c-date-picker>
</el-form-item>
</c-col>
......@@ -165,7 +165,7 @@
<!-- LT000310 : : -->
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000153')" prop="qrtp.dte">
<el-form-item :label="$t('qrtp.截止时间')" prop="qrtp.dte">
<c-date-picker type="date" v-model="model.qrtp.dte" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000153')"></c-date-picker>
</el-form-item>
</c-col>
......@@ -175,14 +175,14 @@
<!-- LT004024 : : -->
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT004023')" prop="qrtp.msgtyp">
<el-form-item :label="$t('qrtp.报文标准')" prop="qrtp.msgtyp">
<c-select v-model="model.qrtp.msgtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT004023')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000173')" prop="qrtp.mty">
<el-form-item :label="$t('qrtp.报文种类')" prop="qrtp.mty">
<c-select v-model="model.qrtp.mty" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000173')">
</c-select>
</el-form-item>
......@@ -191,7 +191,7 @@
<!-- LT000312 : : -->
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000084')" prop="qrtp.msgsta">
<el-form-item :label="$t('qrtp.报文状态')" prop="qrtp.msgsta">
<c-select v-model="model.qrtp.msgsta" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000084')">
<el-option
v-for="item in codes.mgssta"
......@@ -206,7 +206,7 @@
<!-- LT000313 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000085')" prop="qrtp.revbnk">
<c-form-item :label="$t('qrtp.收报行BIC')" prop="qrtp.revbnk">
<c-input v-model="model.qrtp.revbnk" maxlength="11" :placeholder="$t('other.please_enter')+$t('qrtp.LT000085')"></c-input>
</c-form-item>
</c-col>
......@@ -214,7 +214,7 @@
<!-- LT000314 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000086')" prop="qrtp.sedbnk">
<c-form-item :label="$t('qrtp.发报行BIC')" prop="qrtp.sedbnk">
<c-input v-model="model.qrtp.sedbnk" maxlength="11" :placeholder="$t('other.please_enter')+$t('qrtp.LT000086')"></c-input>
</c-form-item>
</c-col>
......@@ -222,7 +222,7 @@
<!-- LT000315 : : -->
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000087')" prop="qrtp.cur">
<el-form-item :label="$t('qrtp.币种')" prop="qrtp.cur">
<c-select v-model="model.qrtp.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000087')">
</c-select>
</el-form-item>
......@@ -231,7 +231,7 @@
<!-- LT000316 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000089')" prop="qrtp.amtdwl">
<c-form-item :label="$t('qrtp.金额下限')" prop="qrtp.amtdwl">
<c-input v-model="model.qrtp.amtdwl" :placeholder="$t('other.please_enter')+$t('qrtp.LT000089')"></c-input>
</c-form-item>
</c-col>
......@@ -239,7 +239,7 @@
<!-- LT000317 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000088')" prop="qrtp.amtupl">
<c-form-item :label="$t('qrtp.金额上限')" prop="qrtp.amtupl">
<c-input v-model="model.qrtp.amtupl" :placeholder="$t('other.please_enter')+$t('qrtp.LT000088')"></c-input>
</c-form-item>
</c-col>
......@@ -247,7 +247,7 @@
<!-- LT000318 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000091')" prop="qrtp.casnum">
<c-form-item :label="$t('qrtp.CASE编号')" prop="qrtp.casnum">
<c-input v-model="model.qrtp.casnum" maxlength="16" :placeholder="$t('other.please_enter')+$t('qrtp.LT000091')"></c-input>
</c-form-item>
</c-col>
......@@ -255,7 +255,7 @@
<!-- LT000319 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000090')" prop="qrtp.drtnum">
<c-form-item :label="$t('qrtp.汇票号码')" prop="qrtp.drtnum">
<c-input v-model="model.qrtp.drtnum" maxlength="20" :placeholder="$t('other.please_enter')+$t('qrtp.LT000090')"></c-input>
</c-form-item>
</c-col>
......@@ -263,7 +263,7 @@
<!-- LT000320 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000220')" prop="qrtp.tagt20">
<c-form-item :label="$t('qrtp.报文20域')" prop="qrtp.tagt20">
<c-input v-model="model.qrtp.tagt20" maxlength="16" :placeholder="$t('other.please_enter')+$t('qrtp.LT000220')"></c-input>
</c-form-item>
</c-col>
......@@ -271,7 +271,7 @@
<!-- LT000321 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000221')" prop="qrtp.tagt21">
<c-form-item :label="$t('qrtp.报文21域')" prop="qrtp.tagt21">
<c-input v-model="model.qrtp.tagt21" maxlength="16" :placeholder="$t('other.please_enter')+$t('qrtp.LT000221')"></c-input>
</c-form-item>
</c-col>
......@@ -281,7 +281,7 @@
<!-- LT004621 : : -->
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT004620')" prop="qrtp.uetr">
<c-form-item :label="$t('qrtp.UETR')" prop="qrtp.uetr">
<c-input v-model="model.qrtp.uetr" maxlength="40" :placeholder="$t('other.please_enter')+$t('qrtp.LT004620')"></c-input>
</c-form-item>
</c-col>
......
......@@ -7,11 +7,19 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="报文标准" prop="msgtyp" style="width: 100%">
<c-select v-model="model.rcvp.msgtyp" style="width: 100%" placeholder="请选择货押标识" :code="codes.msgtyp3">
<c-select v-model="model.rcvp.msgtyp" style="width: 100%" placeholder="请选择报文标准" :code="codes.msgtyp3">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="subtype" style="width: 100%">
<el-select v-model="model.rcvp.subtyp" placeholder="请选择报文类型">
<el-option v-for="code in subtypCodes" :key="code.label" :label="code.label" :value="code.value">
</el-option>
</el-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="开立日期" prop="rcvdatsta" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.rcvp.rcvdatsta" style="width: 100%"></c-date-picker>
......@@ -24,14 +32,6 @@
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="subtype" style="width: 100%">
<el-select v-model="model.rcvp.subtyp" placeholder="请选择报文类型">
<el-option v-for="code in subtypCodes" :key="code.label" :label="code.label" :value="code.value">
</el-option>
</el-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
......@@ -157,6 +157,7 @@
<el-tab-pane label="发报查询" name="sb">
<el-table :data="stmData.data" :columns="stmData.columns" v-loading="load" style="width: 100%"
@selection-change="handleSelectionChange"
@row-dblclick="dbClickRow"
size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true">
<el-table-column type="selection" width="55">
</el-table-column>
......@@ -320,7 +321,16 @@ export default {
deep: true
}
},
methods: {},
methods: {
dbClickRow() {
this.routerPush({
path: '/business/msgdtl',
query: {
}
})
}
},
mounted: function () {
},
};
......
......@@ -7,11 +7,19 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="报文标准" prop="msgtyp" style="width: 100%">
<c-select v-model="model.rcvp.msgtyp" style="width: 100%" placeholder="请选择货押标识" :code="codes.msgtyp3">
<c-select v-model="model.rcvp.msgtyp" style="width: 100%" placeholder="请选择报文标准" :code="codes.msgtyp3">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="subtype" style="width: 100%">
<el-select v-model="model.rcvp.subtyp" placeholder="请选择报文类型">
<el-option v-for="code in subtypCodes" :key="code.label" :label="code.label" :value="code.value">
</el-option>
</el-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="开立日期" prop="rcvdatsta" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.rcvp.rcvdatsta" style="width: 100%"></c-date-picker>
......@@ -24,14 +32,6 @@
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="subtype" style="width: 100%">
<el-select v-model="model.rcvp.subtyp" placeholder="请选择报文类型">
<el-option v-for="code in subtypCodes" :key="code.label" :label="code.label" :value="code.value">
</el-option>
</el-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
......
......@@ -12,6 +12,14 @@
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="subtype" style="width: 100%">
<el-select v-model="model.sndp.subtyp" placeholder="请选择报文类型">
<el-option v-for="code in subtypCodes" :key="code.label" :label="code.label" :value="code.value">
</el-option>
</el-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="开立日期" prop="rcvdatsta" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.sndp.rcvdatsta" style="width: 100%"></c-date-picker>
......@@ -24,14 +32,6 @@
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="subtype" style="width: 100%">
<el-select v-model="model.sndp.subtyp" placeholder="请选择报文类型">
<el-option v-for="code in subtypCodes" :key="code.label" :label="code.label" :value="code.value">
</el-option>
</el-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
......
......@@ -7,11 +7,19 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="报文标准" prop="msgtyp" style="width: 100%">
<c-select v-model="model.sndp.msgtyp" style="width: 100%" placeholder="请选择货押标识" :code="codes.msgtyp3">
<c-select v-model="model.sndp.msgtyp" style="width: 100%" placeholder="请选择报文标准" :code="codes.msgtyp3">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="subtype" style="width: 100%">
<el-select v-model="model.sndp.subtyp" placeholder="请选择报文类型">
<el-option v-for="code in subtypCodes" :key="code.label" :label="code.label" :value="code.value">
</el-option>
</el-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="开立日期" prop="rcvdatsta" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.sndp.rcvdatsta" style="width: 100%"></c-date-picker>
......@@ -24,14 +32,6 @@
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="subtype" style="width: 100%">
<el-select v-model="model.sndp.subtyp" placeholder="请选择报文类型">
<el-option v-for="code in subtypCodes" :key="code.label" :label="code.label" :value="code.value">
</el-option>
</el-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
......
......@@ -16,24 +16,19 @@
<c-col :span="8">
<el-form-item label="日期" prop="infcon.opndatfrom" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.infcon.opndatfrom" placeholder="请选择起始日期"
value-format="yyyy-MM-dd" style="width: 100%"></c-date-picker>
<c-date-picker type="date" v-model="model.infcon.opndatfrom" placeholder="请选择起始日期" value-format="yyyy-MM-dd" 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.infcon.opndatto" placeholder="请选择截至日期"
style="width: 100%"
value-format="yyyy-MM-dd"></c-date-picker>
<c-date-picker type="date" v-model="model.infcon.opndatto" placeholder="请选择截至日期" style="width: 100%" value-format="yyyy-MM-dd"></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="汇款类型" prop="infcon.seapaytyp" style="width: 100%">
<c-select v-model="model.infcon.seapaytyp" :code="cpdtyp" style="width: 100%"
placeholder="请选择汇款类型">
</c-select>
<c-select v-model="model.infcon.seapaytyp" :code="cpdtyp" style="width: 100%" placeholder="请选择汇款类型"></c-select>
</el-form-item>
</c-col>
......@@ -58,41 +53,43 @@
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="infcon.seacur" style="width: 100%">
<c-select-cur v-model="model.infcon.seacur" style="width: 100%" placeholder="请选择币种" :isShowKeyAndLabel="true" dbCode="CURTXT" sort="SRT">
<c-select-cur v-model="model.infcon.seacur" style="width: 100%" placeholder="请选择币种"
:isShowKeyAndLabel="true" dbCode="CURTXT" sort="SRT">
</c-select-cur>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="金额区间" prop="infcon.seaamtfr" style="width: 100%">
<c-col :span="11">
<c-input-currency v-model="model.infcon.seaamtfr" placeholder="请输入金额下限" style="width: 100%"></c-input-currency>
<c-input-currency v-model="model.infcon.seaamtfr" placeholder="请输入金额下限"
style="width: 100%"></c-input-currency>
</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-currency v-model="model.infcon.seaamtto" placeholder="请输入金额上限" style="width: 100%"></c-input-currency>
<c-input-currency v-model="model.infcon.seaamtto" placeholder="请输入金额上限"
style="width: 100%"></c-input-currency>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item class="labelbr" :label="labelName" prop="infcon.countcode">
<c-business-cty
customModifykey="ctycod"
v-model="model.infcon.countcode"
placeholder="请选择国家/地区代码"
></c-business-cty>
<c-business-cty customModifykey="ctycod" v-model="model.infcon.countcode"
placeholder="请选择国家/地区代码"></c-business-cty>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="清算路径" prop="infcon.route">
<c-select v-model="model.infcon.route" style="width:100%" placeholder="请选择清算路径" @change="changeRoute" dbCode="CPTROU" uil="CN" sort="SRT" >
<c-select v-model="model.infcon.route" style="width:100%" placeholder="请选择清算路径" @change="changeRoute"
dbCode="CPTROU" uil="CN" sort="SRT">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="infcon.msgtyp" style="width: 100%">
<c-select v-model="model.infcon.msgtyp" :disabled="isMsgtyp" style="width: 100%" dbCode="RMTMSG" :filterKey="msgtypFilter" placeholder="请选择报文类型">
<c-select v-model="model.infcon.msgtyp" :disabled="isMsgtyp" style="width: 100%" dbCode="RMTMSG"
:filterKey="msgtypFilter" placeholder="请选择报文类型">
</c-select>
</el-form-item>
</c-col>
......@@ -111,35 +108,23 @@
</el-form>
</template>
</c-list-search>
<div style="height: 90%">
<div>
<c-col :span="24">
<el-table
v-loading="load"
ref="configTable"
:data="stmData.data"
:showButtonFlg="true"
height="calc(100vh - 400px)"
size="small"
:border="true"
:highlight-current-row="true"
@sort-change="sortChange"
@row-dblclick="TableDblRow"
>
<el-table-column
v-for="(item, key) in columns"
:key="key + Math.random()"
:label="item.label"
:prop="item.prop"
:min-width="item.width"
sortable="custom"
>
<el-table v-loading="load" ref="configTable" :data="stmData.data" :showButtonFlg="true"
height="calc(100vh - 260px)" size="small" :border="true" :highlight-current-row="true" @sort-change="sortChange"
@row-dblclick="TableDblRow">
<el-table-column v-for="(item, key) in columns" :key="key + Math.random()" :label="item.label" :prop="item.prop"
:min-width="item.width" sortable="custom">
<template slot-scope="scope">
<div v-if="item.prop ==='stagod'">{{getCodelabel(scope.row[item.prop],'stagod')}}</div>
<div style="text-align: right" v-else-if="item.prop.indexOf('nom1amt') >= 0">{{moneyFormat(scope.row[item.prop],scope.row.nom1cur)}}</div>
<div style="text-align: right" v-else-if="item.prop.indexOf('nomxrfamt') >= 0">{{moneyFormat(scope.row[item.prop],'CNY')}}</div>
<div v-else-if="item.prop == 'channel'">{{getLabel(channels,scope.row[item.prop])}}</div>
<div style="text-align: center" v-else-if="item.prop.indexOf('cptrou') >= 0">{{getCodelabel(scope.row[item.prop],'cptrou')}}</div>
<div v-else>{{scope.row[item.prop]}}</div>
<div v-if="item.prop === 'stagod'">{{ getCodelabel(scope.row[item.prop], 'stagod') }}</div>
<div style="text-align: right" v-else-if="item.prop.indexOf('nom1amt') >= 0">
{{ moneyFormat(scope.row[item.prop], scope.row.nom1cur) }}</div>
<div style="text-align: right" v-else-if="item.prop.indexOf('nomxrfamt') >= 0">
{{ moneyFormat(scope.row[item.prop], 'CNY') }}</div>
<div v-else-if="item.prop == 'channel'">{{ getLabel(channels, scope.row[item.prop]) }}</div>
<div style="text-align: center" v-else-if="item.prop.indexOf('cptrou') >= 0">
{{ getCodelabel(scope.row[item.prop], 'cptrou') }}</div>
<div v-else>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="140px">
......@@ -150,34 +135,31 @@
<c-button icon="el-icon-s-tools" @click="columnSetting(stmData.columns)"></c-button>
</template>
<template slot-scope="scope">
<c-button style="margin-left: 0" type='primary' size="small" @click="toDetail(scope.row)" slot="reference">Info
<c-button style="margin-left: 0" type='primary' size="small" @click="toDetail(scope.row)"
slot="reference">Info
</c-button>
</template>
</el-table-column>
</el-table>
<div class="pagination-box">
<el-pagination
style="margin-right: 30px;"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="pagination.pageIndex"
:page-sizes="[10, 20, 50, 100, 500]"
:page-size="pagination.pageSize"
layout="total,sizes, prev, pager, next"
:total="pagination.total">
<el-pagination style="margin-right: 30px;" @size-change="handleSizeChange" @current-change="handleCurrentChange"
:current-page.sync="pagination.pageIndex" :page-sizes="[10, 20, 50, 100, 500]"
:page-size="pagination.pageSize" layout="total,sizes, prev, pager, next" :total="pagination.total">
</el-pagination>
</div>
</c-col>
</div>
<!-- 自定义列属性弹框 -->
<el-dialog v-dialogDrag class="showColumnDialog" v-if="showDig" :visible.sync="showDig" :title="'自定义列属性'" appenD-to-body style="padding:20px">
<el-dialog v-dialogDrag class="showColumnDialog" v-if="showDig" :visible.sync="showDig" :title="'自定义列属性'"
appenD-to-body style="padding:20px">
<el-form-item label-width="0" style="display: flex;align-items: center">
<el-checkbox-group v-model="columnGroup" @change="handleColumnChange">
<el-checkbox
class="selectColumnClass checkbox-left"
style="margin-right:55px;width:150px"
v-for="item in digColumns" :key="item.prop"
:label="item.label">
v-for="item in digColumns"
:key="item.prop" :label="item.label"
>
{{ item.label }}
</el-checkbox>
</el-checkbox-group>
......@@ -185,12 +167,10 @@
<span slot="footer" style="text-align:center">
<el-checkbox
class="selectAllClass checkbox-left"
:indeterminate="
columnGroup.length > 0 &&
columnGroup.length < digColumns.length
"
:indeterminate="columnGroup.length > 0 && columnGroup.length < digColumns.length"
v-model="selectAll"
@change="setAll">全选</el-checkbox>
@change="setAll"
>全选</el-checkbox>
<el-button type="primary" @click="saveColumnEvent()" style="margin-left:10px;">保存</el-button>
</span>
</el-dialog>
......@@ -206,31 +186,31 @@ export default {
components: {},
data() {
return {
load:false,
column:'',//排序字段
order:'',//正序倒序
load: false,
column: '',//排序字段
order: '',//正序倒序
selectAll: [], // 是否全选
digColumns: [], // 弹框的所有列
columnGroup: [], // 弹框选中的列
showDig: false, // 弹框的展示/隐藏
isMsgtyp:false, //报文类型栏位灰显
labelName:'交易对手\n国家代码',
cpdtyp:[
{label:'汇出汇款',value:'O'},
{label:'汇入汇款',value:'I'},
isMsgtyp: false, //报文类型栏位灰显
labelName: '交易对手\n国家代码',
cpdtyp: [
{ label: '汇出汇款', value: 'O' },
{ label: '汇入汇款', value: 'I' },
],
msgtyp:[
{label:'MT103',value:'103'},
{label:'MT202',value:'202'},
{label:'MT910',value:'910'},
{label:'CMT100',value:'CMT'},
{label:'境内外币清算',value:'100'},
{label:'Other',value:'OTH'},
msgtyp: [
{ label: 'MT103', value: '103' },
{ label: 'MT202', value: '202' },
{ label: 'MT910', value: '910' },
{ label: 'CMT100', value: 'CMT' },
{ label: '境内外币清算', value: '100' },
{ label: 'Other', value: 'OTH' },
],
channels:[
{value:"YPT",label:"云平台"},
{value:"ZT", label:"中间业务平台"},
{value:"EJS",label:"阳光E结算"},
channels: [
{ value: "YPT", label: "云平台" },
{ value: "ZT", label: "中间业务平台" },
{ value: "EJS", label: "阳光E结算" },
],
// 表格相关
stmData: {
......@@ -238,132 +218,132 @@ export default {
{
label: '业务编号',
prop: 'ownref',
width:'150px',
width: '150px',
isShow: true
},
{
label: '币种',
prop: 'nom1cur',
width:'80px',
width: '80px',
isShow: true
},
{
label: '金额',
prop: 'nom1amt',
width:'150px',
width: '150px',
isShow: true
},
{
label: '金额折人民币',
prop: 'nomxrfamt',
width:'150px',
width: '150px',
isShow: true
},
{
label: '创建日期',
prop: 'credat',
width:'150px',
width: '150px',
isShow: true
},
{
label: '到期日',
prop: 'valdat',
width:'150px',
width: '150px',
isShow: true
},
{
label: '清算路径',
prop: 'cptrou',
width:'150px',
width: '150px',
isShow: true
},
{
label: '收款人',
prop: 'pyeExtkey',
width:'180px',
width: '180px',
isShow: true
},
{
label: '收款人名称',
prop: 'pyeName',
width:'300px',
width: '300px',
isShow: true
},
{
label: '汇款人',
prop: 'orcExtkey',
width:'180px',
width: '180px',
isShow: true
},
{
label: '汇款人名称',
prop: 'orcName',
width:'180px',
width: '180px',
isShow: true
},
{
label: '汇款机构',
prop: 'oriExtkey',
width:'180px',
width: '180px',
isShow: true
},
{
label: '汇款机构名称',
prop: 'oriName',
width:'180px',
width: '180px',
isShow: true
},
{
label: '付款行',
prop: 'pybExtkey',
width:'180px',
width: '180px',
isShow: true
},
{
label: '付款行名称',
prop: 'pybName',
width:'180px',
width: '180px',
isShow: true
},
{
label: '渠道业务编号',
prop: 'chnref',
width:'180px',
width: '180px',
isShow: true
},
{
label: '前端渠道',
prop: 'channel',
width:'150px',
width: '150px',
isShow: true
},
{
label: '收款人常驻国家代码',
prop: 'pyectycod',
width:'180px',
width: '180px',
isShow: true
},
{
label: '付款人常驻国家代码',
prop: 'orcctycod',
width:'180px',
width: '180px',
isShow: true
},
{
label: '分行名称',
prop: 'bchName',
width:'250px',
width: '250px',
isShow: true
},
{
label: '经办柜员',
prop: 'usrNam',
width:'150px',
width: '150px',
isShow: true
},
],
......@@ -384,35 +364,35 @@ export default {
methods: {},
created: function () {
},
mounted(){
mounted() {
this.formSubmit();
this.getdbCode('cptrou','','cptrou');
this.getdbCode('cptrou', '', 'cptrou');
},
computed: {
columns() {
return this.stmData.columns.filter(item => item.isShow);
},
msgtypFilter(){
msgtypFilter() {
let filterKey = []
if(this.model.infcon.route){
if (this.model.infcon.route) {
// if(this.model.infcon.route == 'HNHZ'){
// this.isMsgtyp = true
// }else{
this.isMsgtyp = false
// }
}else{
} else {
this.isMsgtyp = true
}
if(this.model.infcon.route == 'SWIFT' || this.model.infcon.route == ''){
filterKey = ['103','200','202','OTH']
}else if(this.model.infcon.route == 'CIPS'){
filterKey = ['CIU','CIV']
}else if (this.model.infcon.route == 'JNWB'){
filterKey = ['111','112']
}else if (this.model.infcon.route == 'HNHZ'){
if (this.model.infcon.route == 'SWIFT' || this.model.infcon.route == '') {
filterKey = ['103', '200', '202', 'OTH']
} else if (this.model.infcon.route == 'CIPS') {
filterKey = ['CIU', 'CIV']
} else if (this.model.infcon.route == 'JNWB') {
filterKey = ['111', '112']
} else if (this.model.infcon.route == 'HNHZ') {
filterKey = ['']
}else if(this.model.infcon.route == 'OTHER'){
filterKey = ['BEP','BEQ','BES','HVP','HVQ','HVR']
} else if (this.model.infcon.route == 'OTHER') {
filterKey = ['BEP', 'BEQ', 'BES', 'HVP', 'HVQ', 'HVR']
}
return filterKey
},
......@@ -423,9 +403,11 @@ export default {
.m-table-search {
padding: 20px 0px 10px 0px;
}
.labelbr{
white-space:pre-line
.labelbr {
white-space: pre-line
}
.pagination-box {
width: 100%;
height: 30px;
......
<template>
<div class="eContainer-search">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-content>
<m-infsea :model="model" :codes="codes" ref="infsea" />
</c-content>
......@@ -22,31 +15,28 @@ import Infsea from "./Infsea";
export default {
name: 'infcpd',
components:{
"m-infsea" : Infsea,
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this
}
}, // 里面包含了Default、Check等的公共处理
data(){
},
data() {
return {
tabVal: "",
trnName: "infcpd",
model: new Infcpd().data,
rules: null,
codes:{...CodeTable},
codes: { ...CodeTable },
}
},
methods:{
methods: {
},
mounted () {
mounted() {
},
}
</script>
<style scoped>
</style>
<style scoped></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