Commit 16a2d77d by zhoujunpeng

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

parents bd5de9a8 dd7dabea
...@@ -42,6 +42,7 @@ const BusRouter = [ ...@@ -42,6 +42,7 @@ const BusRouter = [
// 报文管理w // 报文管理w
{ path: 'rcvsel', component: () => import("./Rcvsel/views"), name: 'Rcvsel', meta: { keepAlive: true, title: '收报查询' } }, { 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: '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: 'sndselcop', component: () => import("./Sndselcop/views"), name: 'Sndselcop', meta: { keepAlive: true, title: '发报疑似重复处理' } },
{ path: 'rcvselcop', component: () => import("./Rcvselcop/views"), name: 'Rcvselcop', 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: '人工清分' } }, { path: 'msgrtm', component: () => import("./Msgrtm/views"), name: 'Msgrtm', meta: { keepAlive: true, title: '人工清分' } },
......
...@@ -4,6 +4,57 @@ import moment from "moment"; ...@@ -4,6 +4,57 @@ import moment from "moment";
export default { export default {
methods: { methods: {
async handleSearch() { async handleSearch() {
let begdat = this.model.fddp.begdat;
if (!begdat || begdat == "") {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.导入起始日期必输!"),
});
return;
}
let enddat = this.model.fddp.enddat;
if (!enddat || enddat == "") {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.导入结束日期必输!"),
});
return;
}
this.load = true;
let rtnmsg = await Api.post("/gjzf/fxdsdb/query", {
...this.model.fddp,
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
begdat: moment(begdat).format("YYYY-MM-DD"),
enddat: moment(enddat).format("YYYY-MM-DD"),
});
if (rtnmsg.respCode == SUCCESS) {
this.load = false;
this.stmData.data = [];
const {list} = rtnmsg.data;
const {codes:{sta1}} = this;
list.forEach(v=>{
for(let i in sta1){
if(sta1[i].value == v.sta){
v.sta = sta1[i].label;
}
}
})
this.stmData.data = list;
this.pagination = {
pageNum: rtnmsg.data.pageNum || 1,
pageSize: rtnmsg.data.pageSize || 10,
total: parseInt(rtnmsg.data.total),
};
} else {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.服务请求失败!"),
});
}
this.load = false;
}, },
async handleReset() { async handleReset() {
}, },
......
...@@ -5,8 +5,8 @@ export default class Fxdsdb{ ...@@ -5,8 +5,8 @@ export default class Fxdsdb{
constructor () { constructor () {
this.data = { this.data = {
fddp:{ fddp:{
begdat:"", // 导入起始日期 .fddp.begdat begdat:new Date((new Date).getTime() - (3 * 24 * 60 * 60 * 1000)), // 导入起始日期 .fddp.begdat
enddat:"", // 导入截止日期 .fddp.enddat enddat:new Date(), // 导入截止日期 .fddp.enddat
filtyp:"", // 文件类型 .fddp.filtyp filtyp:"", // 文件类型 .fddp.filtyp
filnam:"", // 文件名 .fddp.filnam filnam:"", // 文件名 .fddp.filnam
}, },
......
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 @@ ...@@ -12,6 +12,14 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <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%"> <el-form-item label="开立日期" prop="rcvdatsta" style="width: 100%">
<c-col :span="11"> <c-col :span="11">
<c-date-picker type="date" v-model="model.sndp.rcvdatsta" style="width: 100%"></c-date-picker> <c-date-picker type="date" v-model="model.sndp.rcvdatsta" style="width: 100%"></c-date-picker>
...@@ -24,14 +32,6 @@ ...@@ -24,14 +32,6 @@
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </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> </c-col>
</el-row> </el-row>
<!-- 可控展示区 --> <!-- 可控展示区 -->
......
...@@ -12,6 +12,14 @@ ...@@ -12,6 +12,14 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <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%"> <el-form-item label="开立日期" prop="rcvdatsta" style="width: 100%">
<c-col :span="11"> <c-col :span="11">
<c-date-picker type="date" v-model="model.sndp.rcvdatsta" style="width: 100%"></c-date-picker> <c-date-picker type="date" v-model="model.sndp.rcvdatsta" style="width: 100%"></c-date-picker>
...@@ -24,14 +32,6 @@ ...@@ -24,14 +32,6 @@
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </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> </c-col>
</el-row> </el-row>
<!-- 可控展示区 --> <!-- 可控展示区 -->
......
...@@ -33,27 +33,88 @@ ...@@ -33,27 +33,88 @@
</el-row> </el-row>
<!-- 可控展示区 --> <!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle"> <el-row v-show="searchSlot.searchToggle">
<!-- <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="发报行BIC" prop="sndbak" style="width: 100%"> <el-form-item :label="$t('qrtp.起始时间')" prop="qrtp.dts">
<c-input v-model="model.sndp.sndbak" maxlength="40" > <c-date-picker type="date" v-model="model.qrtp.dts" style="width:100%"></c-date-picker>
</c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="收报行BIC" prop="revbak" style="width: 100%"> <el-form-item :label="$t('qrtp.截止时间')" prop="qrtp.dte">
<c-input v-model="model.sndp.revbak" maxlength="40" > <c-date-picker type="date" v-model="model.qrtp.dte" style="width:100%"></c-date-picker>
</c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="账户行BIC" prop="actbic" style="width: 100%"> <el-form-item :label="$t('qrtp.报文标准')" prop="qrtp.msgtyp">
<c-input v-model="model.sndp.actbic" maxlength="40" > <c-select v-model="model.qrtp.msgtyp" style="width:100%"></c-select>
</c-input>
</el-form-item> </el-form-item>
</c-col> </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> </el-row>
</template> </template>
</c-list-search> </c-list-search>
......
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
<!-- LT000309 : : --> <!-- LT000309 : : -->
<c-col :span="12"> <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> <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> </el-form-item>
</c-col> </c-col>
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
<!-- LT000310 : : --> <!-- LT000310 : : -->
<c-col :span="12"> <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> <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> </el-form-item>
</c-col> </c-col>
...@@ -175,14 +175,14 @@ ...@@ -175,14 +175,14 @@
<!-- LT004024 : : --> <!-- LT004024 : : -->
<c-col :span="12"> <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 v-model="model.qrtp.msgtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT004023')">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <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 v-model="model.qrtp.mty" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000173')">
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -191,7 +191,7 @@ ...@@ -191,7 +191,7 @@
<!-- LT000312 : : --> <!-- LT000312 : : -->
<c-col :span="12"> <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')"> <c-select v-model="model.qrtp.msgsta" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000084')">
<el-option <el-option
v-for="item in codes.mgssta" v-for="item in codes.mgssta"
...@@ -206,7 +206,7 @@ ...@@ -206,7 +206,7 @@
<!-- LT000313 : : --> <!-- LT000313 : : -->
<c-col :span="12"> <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-input v-model="model.qrtp.revbnk" maxlength="11" :placeholder="$t('other.please_enter')+$t('qrtp.LT000085')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -214,7 +214,7 @@ ...@@ -214,7 +214,7 @@
<!-- LT000314 : : --> <!-- LT000314 : : -->
<c-col :span="12"> <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-input v-model="model.qrtp.sedbnk" maxlength="11" :placeholder="$t('other.please_enter')+$t('qrtp.LT000086')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -222,7 +222,7 @@ ...@@ -222,7 +222,7 @@
<!-- LT000315 : : --> <!-- LT000315 : : -->
<c-col :span="12"> <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 v-model="model.qrtp.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000087')">
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -231,7 +231,7 @@ ...@@ -231,7 +231,7 @@
<!-- LT000316 : : --> <!-- LT000316 : : -->
<c-col :span="12"> <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-input v-model="model.qrtp.amtdwl" :placeholder="$t('other.please_enter')+$t('qrtp.LT000089')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -239,7 +239,7 @@ ...@@ -239,7 +239,7 @@
<!-- LT000317 : : --> <!-- LT000317 : : -->
<c-col :span="12"> <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-input v-model="model.qrtp.amtupl" :placeholder="$t('other.please_enter')+$t('qrtp.LT000088')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -247,7 +247,7 @@ ...@@ -247,7 +247,7 @@
<!-- LT000318 : : --> <!-- LT000318 : : -->
<c-col :span="12"> <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-input v-model="model.qrtp.casnum" maxlength="16" :placeholder="$t('other.please_enter')+$t('qrtp.LT000091')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -255,7 +255,7 @@ ...@@ -255,7 +255,7 @@
<!-- LT000319 : : --> <!-- LT000319 : : -->
<c-col :span="12"> <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-input v-model="model.qrtp.drtnum" maxlength="20" :placeholder="$t('other.please_enter')+$t('qrtp.LT000090')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -263,7 +263,7 @@ ...@@ -263,7 +263,7 @@
<!-- LT000320 : : --> <!-- LT000320 : : -->
<c-col :span="12"> <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-input v-model="model.qrtp.tagt20" maxlength="16" :placeholder="$t('other.please_enter')+$t('qrtp.LT000220')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -271,7 +271,7 @@ ...@@ -271,7 +271,7 @@
<!-- LT000321 : : --> <!-- LT000321 : : -->
<c-col :span="12"> <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-input v-model="model.qrtp.tagt21" maxlength="16" :placeholder="$t('other.please_enter')+$t('qrtp.LT000221')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -281,7 +281,7 @@ ...@@ -281,7 +281,7 @@
<!-- LT004621 : : --> <!-- LT004621 : : -->
<c-col :span="12"> <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-input v-model="model.qrtp.uetr" maxlength="40" :placeholder="$t('other.please_enter')+$t('qrtp.LT004620')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
......
...@@ -7,11 +7,19 @@ ...@@ -7,11 +7,19 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="报文标准" prop="msgtyp" style="width: 100%"> <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> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <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%"> <el-form-item label="开立日期" prop="rcvdatsta" style="width: 100%">
<c-col :span="11"> <c-col :span="11">
<c-date-picker type="date" v-model="model.rcvp.rcvdatsta" style="width: 100%"></c-date-picker> <c-date-picker type="date" v-model="model.rcvp.rcvdatsta" style="width: 100%"></c-date-picker>
...@@ -24,14 +32,6 @@ ...@@ -24,14 +32,6 @@
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </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> </c-col>
</el-row> </el-row>
<!-- 可控展示区 --> <!-- 可控展示区 -->
...@@ -157,6 +157,7 @@ ...@@ -157,6 +157,7 @@
<el-tab-pane label="发报查询" name="sb"> <el-tab-pane label="发报查询" name="sb">
<el-table :data="stmData.data" :columns="stmData.columns" v-loading="load" style="width: 100%" <el-table :data="stmData.data" :columns="stmData.columns" v-loading="load" style="width: 100%"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
@row-dblclick="dbClickRow"
size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true"> size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true">
<el-table-column type="selection" width="55"> <el-table-column type="selection" width="55">
</el-table-column> </el-table-column>
...@@ -320,7 +321,16 @@ export default { ...@@ -320,7 +321,16 @@ export default {
deep: true deep: true
} }
}, },
methods: {}, methods: {
dbClickRow() {
this.routerPush({
path: '/business/msgdtl',
query: {
}
})
}
},
mounted: function () { mounted: function () {
}, },
}; };
......
...@@ -7,11 +7,19 @@ ...@@ -7,11 +7,19 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="报文标准" prop="msgtyp" style="width: 100%"> <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> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <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%"> <el-form-item label="开立日期" prop="rcvdatsta" style="width: 100%">
<c-col :span="11"> <c-col :span="11">
<c-date-picker type="date" v-model="model.rcvp.rcvdatsta" style="width: 100%"></c-date-picker> <c-date-picker type="date" v-model="model.rcvp.rcvdatsta" style="width: 100%"></c-date-picker>
...@@ -24,14 +32,6 @@ ...@@ -24,14 +32,6 @@
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </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> </c-col>
</el-row> </el-row>
<!-- 可控展示区 --> <!-- 可控展示区 -->
......
...@@ -12,6 +12,14 @@ ...@@ -12,6 +12,14 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <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%"> <el-form-item label="开立日期" prop="rcvdatsta" style="width: 100%">
<c-col :span="11"> <c-col :span="11">
<c-date-picker type="date" v-model="model.sndp.rcvdatsta" style="width: 100%"></c-date-picker> <c-date-picker type="date" v-model="model.sndp.rcvdatsta" style="width: 100%"></c-date-picker>
...@@ -24,14 +32,6 @@ ...@@ -24,14 +32,6 @@
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </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> </c-col>
</el-row> </el-row>
<!-- 可控展示区 --> <!-- 可控展示区 -->
......
...@@ -7,11 +7,19 @@ ...@@ -7,11 +7,19 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="报文标准" prop="msgtyp" style="width: 100%"> <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> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <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%"> <el-form-item label="开立日期" prop="rcvdatsta" style="width: 100%">
<c-col :span="11"> <c-col :span="11">
<c-date-picker type="date" v-model="model.sndp.rcvdatsta" style="width: 100%"></c-date-picker> <c-date-picker type="date" v-model="model.sndp.rcvdatsta" style="width: 100%"></c-date-picker>
...@@ -24,14 +32,6 @@ ...@@ -24,14 +32,6 @@
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </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> </c-col>
</el-row> </el-row>
<!-- 可控展示区 --> <!-- 可控展示区 -->
......
...@@ -16,24 +16,19 @@ ...@@ -16,24 +16,19 @@
<c-col :span="8"> <c-col :span="8">
<el-form-item label="日期" prop="infcon.opndatfrom" style="width: 100%"> <el-form-item label="日期" prop="infcon.opndatfrom" style="width: 100%">
<c-col :span="11"> <c-col :span="11">
<c-date-picker type="date" v-model="model.infcon.opndatfrom" placeholder="请选择起始日期" <c-date-picker type="date" v-model="model.infcon.opndatfrom" placeholder="请选择起始日期" value-format="yyyy-MM-dd" style="width: 100%"></c-date-picker>
value-format="yyyy-MM-dd" style="width: 100%"></c-date-picker>
</c-col> </c-col>
<c-col :span="2" style="text-align: center"> <c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label> <label style="display: inline-block; width: 100%">-</label>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<c-date-picker type="date" v-model="model.infcon.opndatto" placeholder="请选择截至日期" <c-date-picker type="date" v-model="model.infcon.opndatto" placeholder="请选择截至日期" style="width: 100%" value-format="yyyy-MM-dd"></c-date-picker>
style="width: 100%"
value-format="yyyy-MM-dd"></c-date-picker>
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="汇款类型" prop="infcon.seapaytyp" style="width: 100%"> <el-form-item label="汇款类型" prop="infcon.seapaytyp" style="width: 100%">
<c-select v-model="model.infcon.seapaytyp" :code="cpdtyp" style="width: 100%" <c-select v-model="model.infcon.seapaytyp" :code="cpdtyp" style="width: 100%" placeholder="请选择汇款类型"></c-select>
placeholder="请选择汇款类型">
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -58,41 +53,43 @@ ...@@ -58,41 +53,43 @@
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="币种" prop="infcon.seacur" style="width: 100%"> <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> </c-select-cur>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="金额区间" prop="infcon.seaamtfr" style="width: 100%"> <el-form-item label="金额区间" prop="infcon.seaamtfr" style="width: 100%">
<c-col :span="11"> <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>
<c-col :span="2" style="text-align: center"> <c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label> <label style="display: inline-block; width: 100%">-</label>
</c-col> </c-col>
<c-col :span="11"> <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> </c-col>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item class="labelbr" :label="labelName" prop="infcon.countcode"> <el-form-item class="labelbr" :label="labelName" prop="infcon.countcode">
<c-business-cty <c-business-cty customModifykey="ctycod" v-model="model.infcon.countcode"
customModifykey="ctycod" placeholder="请选择国家/地区代码"></c-business-cty>
v-model="model.infcon.countcode"
placeholder="请选择国家/地区代码"
></c-business-cty>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="清算路径" prop="infcon.route"> <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> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="报文类型" prop="infcon.msgtyp" style="width: 100%"> <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> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -111,35 +108,23 @@ ...@@ -111,35 +108,23 @@
</el-form> </el-form>
</template> </template>
</c-list-search> </c-list-search>
<div style="height: 90%"> <div>
<c-col :span="24"> <c-col :span="24">
<el-table <el-table v-loading="load" ref="configTable" :data="stmData.data" :showButtonFlg="true"
v-loading="load" height="calc(100vh - 260px)" size="small" :border="true" :highlight-current-row="true" @sort-change="sortChange"
ref="configTable" @row-dblclick="TableDblRow">
:data="stmData.data" <el-table-column v-for="(item, key) in columns" :key="key + Math.random()" :label="item.label" :prop="item.prop"
:showButtonFlg="true" :min-width="item.width" sortable="custom">
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"
>
<template slot-scope="scope"> <template slot-scope="scope">
<div v-if="item.prop ==='stagod'">{{getCodelabel(scope.row[item.prop],'stagod')}}</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('nom1amt') >= 0">
<div style="text-align: right" v-else-if="item.prop.indexOf('nomxrfamt') >= 0">{{moneyFormat(scope.row[item.prop],'CNY')}}</div> {{ moneyFormat(scope.row[item.prop], scope.row.nom1cur) }}</div>
<div v-else-if="item.prop == 'channel'">{{getLabel(channels,scope.row[item.prop])}}</div> <div style="text-align: right" v-else-if="item.prop.indexOf('nomxrfamt') >= 0">
<div style="text-align: center" v-else-if="item.prop.indexOf('cptrou') >= 0">{{getCodelabel(scope.row[item.prop],'cptrou')}}</div> {{ moneyFormat(scope.row[item.prop], 'CNY') }}</div>
<div v-else>{{scope.row[item.prop]}}</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> </template>
</el-table-column> </el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="140px"> <el-table-column fixed="right" prop="op" label="操作" width="140px">
...@@ -150,34 +135,31 @@ ...@@ -150,34 +135,31 @@
<c-button icon="el-icon-s-tools" @click="columnSetting(stmData.columns)"></c-button> <c-button icon="el-icon-s-tools" @click="columnSetting(stmData.columns)"></c-button>
</template> </template>
<template slot-scope="scope"> <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> </c-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="pagination-box"> <div class="pagination-box">
<el-pagination <el-pagination style="margin-right: 30px;" @size-change="handleSizeChange" @current-change="handleCurrentChange"
style="margin-right: 30px;" :current-page.sync="pagination.pageIndex" :page-sizes="[10, 20, 50, 100, 500]"
@size-change="handleSizeChange" :page-size="pagination.pageSize" layout="total,sizes, prev, pager, next" :total="pagination.total">
@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> </el-pagination>
</div> </div>
</c-col> </c-col>
</div> </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-form-item label-width="0" style="display: flex;align-items: center">
<el-checkbox-group v-model="columnGroup" @change="handleColumnChange"> <el-checkbox-group v-model="columnGroup" @change="handleColumnChange">
<el-checkbox <el-checkbox
class="selectColumnClass checkbox-left" class="selectColumnClass checkbox-left"
style="margin-right:55px;width:150px" style="margin-right:55px;width:150px"
v-for="item in digColumns" :key="item.prop" v-for="item in digColumns"
:label="item.label"> :key="item.prop" :label="item.label"
>
{{ item.label }} {{ item.label }}
</el-checkbox> </el-checkbox>
</el-checkbox-group> </el-checkbox-group>
...@@ -185,12 +167,10 @@ ...@@ -185,12 +167,10 @@
<span slot="footer" style="text-align:center"> <span slot="footer" style="text-align:center">
<el-checkbox <el-checkbox
class="selectAllClass checkbox-left" class="selectAllClass checkbox-left"
:indeterminate=" :indeterminate="columnGroup.length > 0 && columnGroup.length < digColumns.length"
columnGroup.length > 0 &&
columnGroup.length < digColumns.length
"
v-model="selectAll" v-model="selectAll"
@change="setAll">全选</el-checkbox> @change="setAll"
>全选</el-checkbox>
<el-button type="primary" @click="saveColumnEvent()" style="margin-left:10px;">保存</el-button> <el-button type="primary" @click="saveColumnEvent()" style="margin-left:10px;">保存</el-button>
</span> </span>
</el-dialog> </el-dialog>
...@@ -206,31 +186,31 @@ export default { ...@@ -206,31 +186,31 @@ export default {
components: {}, components: {},
data() { data() {
return { return {
load:false, load: false,
column:'',//排序字段 column: '',//排序字段
order:'',//正序倒序 order: '',//正序倒序
selectAll: [], // 是否全选 selectAll: [], // 是否全选
digColumns: [], // 弹框的所有列 digColumns: [], // 弹框的所有列
columnGroup: [], // 弹框选中的列 columnGroup: [], // 弹框选中的列
showDig: false, // 弹框的展示/隐藏 showDig: false, // 弹框的展示/隐藏
isMsgtyp:false, //报文类型栏位灰显 isMsgtyp: false, //报文类型栏位灰显
labelName:'交易对手\n国家代码', labelName: '交易对手\n国家代码',
cpdtyp:[ cpdtyp: [
{label:'汇出汇款',value:'O'}, { label: '汇出汇款', value: 'O' },
{label:'汇入汇款',value:'I'}, { label: '汇入汇款', value: 'I' },
], ],
msgtyp:[ msgtyp: [
{label:'MT103',value:'103'}, { label: 'MT103', value: '103' },
{label:'MT202',value:'202'}, { label: 'MT202', value: '202' },
{label:'MT910',value:'910'}, { label: 'MT910', value: '910' },
{label:'CMT100',value:'CMT'}, { label: 'CMT100', value: 'CMT' },
{label:'境内外币清算',value:'100'}, { label: '境内外币清算', value: '100' },
{label:'Other',value:'OTH'}, { label: 'Other', value: 'OTH' },
], ],
channels:[ channels: [
{value:"YPT",label:"云平台"}, { value: "YPT", label: "云平台" },
{value:"ZT", label:"中间业务平台"}, { value: "ZT", label: "中间业务平台" },
{value:"EJS",label:"阳光E结算"}, { value: "EJS", label: "阳光E结算" },
], ],
// 表格相关 // 表格相关
stmData: { stmData: {
...@@ -238,132 +218,132 @@ export default { ...@@ -238,132 +218,132 @@ export default {
{ {
label: '业务编号', label: '业务编号',
prop: 'ownref', prop: 'ownref',
width:'150px', width: '150px',
isShow: true isShow: true
}, },
{ {
label: '币种', label: '币种',
prop: 'nom1cur', prop: 'nom1cur',
width:'80px', width: '80px',
isShow: true isShow: true
}, },
{ {
label: '金额', label: '金额',
prop: 'nom1amt', prop: 'nom1amt',
width:'150px', width: '150px',
isShow: true isShow: true
}, },
{ {
label: '金额折人民币', label: '金额折人民币',
prop: 'nomxrfamt', prop: 'nomxrfamt',
width:'150px', width: '150px',
isShow: true isShow: true
}, },
{ {
label: '创建日期', label: '创建日期',
prop: 'credat', prop: 'credat',
width:'150px', width: '150px',
isShow: true isShow: true
}, },
{ {
label: '到期日', label: '到期日',
prop: 'valdat', prop: 'valdat',
width:'150px', width: '150px',
isShow: true isShow: true
}, },
{ {
label: '清算路径', label: '清算路径',
prop: 'cptrou', prop: 'cptrou',
width:'150px', width: '150px',
isShow: true isShow: true
}, },
{ {
label: '收款人', label: '收款人',
prop: 'pyeExtkey', prop: 'pyeExtkey',
width:'180px', width: '180px',
isShow: true isShow: true
}, },
{ {
label: '收款人名称', label: '收款人名称',
prop: 'pyeName', prop: 'pyeName',
width:'300px', width: '300px',
isShow: true isShow: true
}, },
{ {
label: '汇款人', label: '汇款人',
prop: 'orcExtkey', prop: 'orcExtkey',
width:'180px', width: '180px',
isShow: true isShow: true
}, },
{ {
label: '汇款人名称', label: '汇款人名称',
prop: 'orcName', prop: 'orcName',
width:'180px', width: '180px',
isShow: true isShow: true
}, },
{ {
label: '汇款机构', label: '汇款机构',
prop: 'oriExtkey', prop: 'oriExtkey',
width:'180px', width: '180px',
isShow: true isShow: true
}, },
{ {
label: '汇款机构名称', label: '汇款机构名称',
prop: 'oriName', prop: 'oriName',
width:'180px', width: '180px',
isShow: true isShow: true
}, },
{ {
label: '付款行', label: '付款行',
prop: 'pybExtkey', prop: 'pybExtkey',
width:'180px', width: '180px',
isShow: true isShow: true
}, },
{ {
label: '付款行名称', label: '付款行名称',
prop: 'pybName', prop: 'pybName',
width:'180px', width: '180px',
isShow: true isShow: true
}, },
{ {
label: '渠道业务编号', label: '渠道业务编号',
prop: 'chnref', prop: 'chnref',
width:'180px', width: '180px',
isShow: true isShow: true
}, },
{ {
label: '前端渠道', label: '前端渠道',
prop: 'channel', prop: 'channel',
width:'150px', width: '150px',
isShow: true isShow: true
}, },
{ {
label: '收款人常驻国家代码', label: '收款人常驻国家代码',
prop: 'pyectycod', prop: 'pyectycod',
width:'180px', width: '180px',
isShow: true isShow: true
}, },
{ {
label: '付款人常驻国家代码', label: '付款人常驻国家代码',
prop: 'orcctycod', prop: 'orcctycod',
width:'180px', width: '180px',
isShow: true isShow: true
}, },
{ {
label: '分行名称', label: '分行名称',
prop: 'bchName', prop: 'bchName',
width:'250px', width: '250px',
isShow: true isShow: true
}, },
{ {
label: '经办柜员', label: '经办柜员',
prop: 'usrNam', prop: 'usrNam',
width:'150px', width: '150px',
isShow: true isShow: true
}, },
], ],
...@@ -384,35 +364,35 @@ export default { ...@@ -384,35 +364,35 @@ export default {
methods: {}, methods: {},
created: function () { created: function () {
}, },
mounted(){ mounted() {
this.formSubmit(); this.formSubmit();
this.getdbCode('cptrou','','cptrou'); this.getdbCode('cptrou', '', 'cptrou');
}, },
computed: { computed: {
columns() { columns() {
return this.stmData.columns.filter(item => item.isShow); return this.stmData.columns.filter(item => item.isShow);
}, },
msgtypFilter(){ msgtypFilter() {
let filterKey = [] let filterKey = []
if(this.model.infcon.route){ if (this.model.infcon.route) {
// if(this.model.infcon.route == 'HNHZ'){ // if(this.model.infcon.route == 'HNHZ'){
// this.isMsgtyp = true // this.isMsgtyp = true
// }else{ // }else{
this.isMsgtyp = false this.isMsgtyp = false
// } // }
}else{ } else {
this.isMsgtyp = true this.isMsgtyp = true
} }
if(this.model.infcon.route == 'SWIFT' || this.model.infcon.route == ''){ if (this.model.infcon.route == 'SWIFT' || this.model.infcon.route == '') {
filterKey = ['103','200','202','OTH'] filterKey = ['103', '200', '202', 'OTH']
}else if(this.model.infcon.route == 'CIPS'){ } else if (this.model.infcon.route == 'CIPS') {
filterKey = ['CIU','CIV'] filterKey = ['CIU', 'CIV']
}else if (this.model.infcon.route == 'JNWB'){ } else if (this.model.infcon.route == 'JNWB') {
filterKey = ['111','112'] filterKey = ['111', '112']
}else if (this.model.infcon.route == 'HNHZ'){ } else if (this.model.infcon.route == 'HNHZ') {
filterKey = [''] filterKey = ['']
}else if(this.model.infcon.route == 'OTHER'){ } else if (this.model.infcon.route == 'OTHER') {
filterKey = ['BEP','BEQ','BES','HVP','HVQ','HVR'] filterKey = ['BEP', 'BEQ', 'BES', 'HVP', 'HVQ', 'HVR']
} }
return filterKey return filterKey
}, },
...@@ -423,9 +403,11 @@ export default { ...@@ -423,9 +403,11 @@ export default {
.m-table-search { .m-table-search {
padding: 20px 0px 10px 0px; padding: 20px 0px 10px 0px;
} }
.labelbr{
white-space:pre-line .labelbr {
white-space: pre-line
} }
.pagination-box { .pagination-box {
width: 100%; width: 100%;
height: 30px; height: 30px;
......
<template> <template>
<div class="eContainer-search"> <div class="eContainer-search">
<el-form <el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"> :validate-on-rule-change="false">
<c-content> <c-content>
<m-infsea :model="model" :codes="codes" ref="infsea" /> <m-infsea :model="model" :codes="codes" ref="infsea" />
</c-content> </c-content>
...@@ -22,31 +15,28 @@ import Infsea from "./Infsea"; ...@@ -22,31 +15,28 @@ import Infsea from "./Infsea";
export default { export default {
name: 'infcpd', name: 'infcpd',
components:{ components: {
"m-infsea" : Infsea, "m-infsea": Infsea,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, // 里面包含了Default、Check等的公共处理 },
data(){ data() {
return { return {
tabVal: "", tabVal: "",
trnName: "infcpd", trnName: "infcpd",
model: new Infcpd().data, model: new Infcpd().data,
rules: null, rules: null,
codes:{...CodeTable}, codes: { ...CodeTable },
} }
}, },
methods:{ methods: {
}, },
mounted () { mounted() {
}, },
} }
</script> </script>
<style scoped> <style scoped></style>
</style>
...@@ -41,6 +41,7 @@ const RemittanceRouter = [ ...@@ -41,6 +41,7 @@ const RemittanceRouter = [
{ path: 'auesig', component: () => import('./Autsig/Auesig/views'), name: 'Auesig', meta: { keepAlive: true, title: '自动化签约信息编辑',module: 'Remittance' } }, { path: 'auesig', component: () => import('./Autsig/Auesig/views'), name: 'Auesig', meta: { keepAlive: true, title: '自动化签约信息编辑',module: 'Remittance' } },
{ path: 'autrul', component: () => import('./Autsig/Autrul/views'), name: 'Autrul', meta: { keepAlive: true, title: '签约场景配置',module: 'Remittance' } }, { path: 'autrul', component: () => import('./Autsig/Autrul/views'), name: 'Autrul', meta: { keepAlive: true, title: '签约场景配置',module: 'Remittance' } },
// 代理行
{ path: 'zptsel', component: () => import('./Zptsel/views'), name: 'zptsel', meta: { keepAlive: true, title: '转汇款',module: 'Remittance' } },
] ]
export default RemittanceRouter export default RemittanceRouter
import Api from '~/service/Api';
import moment from 'moment';
export default {
methods: {
async handleSearch() {
if ((this.model.infcon.seaownref == '' || this.model.infcon.seaownref == null) && this.model.infcon.opndatfrom == null) {
this.$notify.error({ title: '错误', message: '开始日期必输!' });
return;
}
if ((this.model.infcon.seaownref == '' || this.model.infcon.seaownref == null) && this.model.infcon.opndatto == null) {
this.$notify.error({ title: '错误', message: '截止日期必输!' });
return;
}
if (this.model.infcon.opndatfrom != null && this.model.infcon.opndatto != null) {
if (new Date(this.model.infcon.opndatfrom).getTime() > new Date(this.model.infcon.opndatto).getTime()) {
this.$notify.error({ title: '错误', message: '开始日期应小于或等于截止日期!' });
return
}
}
if (this.model.infcon.seacur == '' && (this.model.infcon.seaamtfr != '' || this.model.infcon.seaamtto != '')) {
this.$notify.error({ title: '错误', message: '输入金额前请先选择币种!' });
return
}
if (this.model.infcon.seaamtfr != '' && this.model.infcon.seaamtto != '') {
if (Number(this.model.infcon.seaamtfr) > Number(this.model.infcon.seaamtto)) {
this.$notify.error({ title: '错误', message: '金额下限应小于等于金额上限!' });
return
}
}
this.load = true;
let params = {
...this.model.infcon,
opndatfrom: this.model.infcon.opndatfrom ? moment(this.model.infcon.opndatfrom).format("YYYY-MM-DD") : '',
opndatto: this.model.infcon.opndatto ? moment(this.model.infcon.opndatto).format("YYYY-MM-DD") : '',
branch: JSON.parse(sessionStorage.getItem('currentOrg')).departmentNumber,
pageNumber: this.pagination.pageIndex,
pageSize: this.pagination.pageSize,
paytyp: 'I',
};
delete params.markSet
delete params.modifySet
let rtnmsg = await Api.post('/Remittance/cptsel/listcp', params);
if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = [];
this.stmData.data = rtnmsg.data.list;
this.pagination.total = rtnmsg.data.total;
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
this.load = false;
},
async handleReset() {
this.model.infcon = {}
},
//柜员列表
async getUserList() {
let param = {};
if (this.model.bchcon) {
param.bchcon = this.model.bchcon
}
let res = await Api.post("/public/quesel/getActUserList", param);
if (res.respCode == SUCCESS) {
this.userList = res.data.list;
}
},
//获取机构列表
async getBranchList() {
let branch = JSON.parse(sessionStorage.getItem('currentOrg')).departmentNumber
let rtnmsg = await Api.post("/public/rptsel/getBranchList", branch)
if (rtnmsg.respCode === SUCCESS) {
this.bchtypList = rtnmsg.data.filter(item => (item.lev != 'A' && item.lev != 'B'))
}
},
// pageSize改变
handleSizeChange(val) {
console.log(`每页 ${val} 条`);
this.pagination.pageIndex = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
console.log(`当前页: ${val}`);
this.pagination.pageIndex = val;
this.handleSearch();
},
// 详情
async details(row) {
const params = {
ownref: row.ownref,
};
const res = await Api.post('/manager/trn/getTrnListByOwnref', params);
if (res.respCode === SUCCESS) {
if (res.data.length === 1) {
if (this.oldRefId && this.$refs[this.oldRefId]) {
this.$refs[this.oldRefId].showPopper = false;
}
this.display(res.data[0])
} else {
this.trnData.data = res.data;
this.oldRefId = 'popover_' + row.inr
this.$refs[this.oldRefId].showPopper = true;
}
}
},
closeDisplayDialog() {
if (this.oldRefId) {
this.$refs[this.oldRefId].showPopper = false;
}
},
// 关闭详情弹框
closeDetailsDialog(refId) {
if (refId) {
this.$refs[refId].showPopper = false;
}
},
// 处理
async handler(row) {
this.handleModel = row;
this.trnUrl = 'Remittance';
this.inifrm = 'cptsel';
this.initdialog = true;
},
//双击表格数据
async TableDblRow(row) {
this.handler(row)
},
//点击处理弹窗中按钮
async handleClick(btn, row) {
let obj = {
objtyp: 'CPD',
objinr: row.inr,
pntinr: row.pntinr,
pnttyp: row.pnttyp,
ledinr: row.ledinr,
trnName: btn.code.toLowerCase(),
}
let isPush = await this.$refs.lockAndPending.checkLockAndPending(obj)
if (!isPush) {
return
}
let params = {}
let type;
if ("挂账退汇" === btn.label.toUpperCase()) {
type = "GZTH"
} else if ("解付后退汇" === btn.label.toUpperCase()) {
type = "JFTH"
}
if (btn.code.toLowerCase() == 'jstopn') {
params = {
path: "/business/" + btn.code.toLowerCase(),
}
} else {
params = {
path: "/business/" + btn.code.toLowerCase(),
query: { inr: row.inr, pntinr: row.pntinr, accmod: 'G', type: type }
}
}
this.routerPush(params);
this.initdialog = false;
},
//修改弹窗状态
changeBtn(isVisible) {
this.initdialog = isVisible;
},
// 关闭处理弹框
closeHandlerDialog() {
this.initdialog = false;
},
/**
* 打开快照页面
* @param {string} inr
*/
display(row) {
if (this.oldRefId) {
this.$refs[this.oldRefId].showPopper = false;
}
// 历史快照
if (row.inr.length == 8) {
this.routerPush({
path: '/business/HistoryRecord',
query: {
businessInr: row.inr,
businessType: 'TRN',
type: 'view'
}
})
} else if (row.inr.length == 16) {
this.routerPush({
path: `/display/${row.inifrm.toLowerCase()}`,
query: {
businessInr: row.inr,
businessType: 'TRN'
}
});
}
},
toCptati() {
// 点击开立,清空从待经办进来的时候带的行参数
// localStorage.setItem('row_letopn', null)
// localStorage.setItem('review_letopn',null)
this.routerPush({
path: '/business/cptati',
});
},
toCptato() {
this.routerPush({
path: '/business/cptato',
});
},
toZptadv() {
this.routerPush({
path: '/business/zptadv',
});
},
toZptopn() {
this.routerPush({
path: '/business/zptopn',
});
},
toZpticr() {
this.routerPush({
path: '/business/zpticr',
});
},
toZptocr() {
this.routerPush({
path: '/business/zptocr',
});
},
changeOwnref() {
if (this.model.infcon.seaownref) {
this.model.infcon.opndatfrom = null
}
},
//Info
toInfo(row, objtyp, subobjtyp, paytyp) {
this.routerPush({
path: "/business/cpdinf",
query: { inr: row.inr, objtyp: objtyp, pntinr: row.pntinr, subobjtyp: subobjtyp, paytyp: paytyp }
});
},
async getdbCode(codeType, uil, codeNam) {
let params = {
codeType: codeType,
uil: uil ? uil : 'EN'
}
let rtnmsg = await Api.post("/manager/dic/listDicInfo", params)
if (rtnmsg.respCode === SUCCESS) {
let curList = rtnmsg.data.map(item => ({
value: item.codeValue,
label: item.codeName
}));
this.model.dbCodes[codeNam] = curList
}
},
getCodelabel(value, codenam) {
const codeobj = this.model.dbCodes[codenam].find(obj => obj.value === value)
return codeobj ? codeobj.label : value;
},
},
};
export default class Zptsel {
constructor() {
this.data = {
dbCodes: {
cptrou: [],
},
infcon: {
seaownref: '',
opndatfrom: new Date((new Date).getTime() - (7 * 24 * 60 * 60 * 1000)),
opndatto: new Date(),
searef: '',
route: '',
isClosed: '',
seacur: '',
seaamtfr: '',
seaamtto: '',
branchinr: '',
ownusr: '',
}
}
}
}
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset('paramsForm')" @form-search="handleSearch">
<template v-slot="searchSlot">
<el-form class="m-table-search-form" ref="paramsForm" label-position="right" label-width="110px" size="small">
<el-row>
<c-col :span="8">
<el-form-item label="业务编号" prop="infcon.seaownref" style="width: 100%">
<c-input v-model="model.infcon.seaownref" maxlength="16" @change="changeOwnref"
placeholder="请输入业务编号"></c-input>
</el-form-item>
</c-col>
<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-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-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="客户号/名称" prop="infcon.searef" style="width: 100%">
<c-input v-model="model.infcon.searef" placeholder="请输入客户号/名称" style="width: 100%">
</c-input>
</el-form-item>
</c-col>
</el-row>
<el-row v-show="searchSlot.searchToggle">
<c-col :span="8">
<el-form-item label="汇款邮路" prop="infcon.route" style="width: 100%">
<c-select v-model="model.infcon.route" dbCode="cptrou" placeholder="请选择汇款邮路"></c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="汇款状态" prop="infcon.seasta" style="width: 100%">
<c-select v-model="model.infcon.seasta" :code="cptmod" placeholder="请选择汇款状态"></c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="是否闭卷" prop="infcon.isClosed" style="width: 100%">
<c-select v-model="model.infcon.isClosed" dbCode='cxmflg' placeholder="请选择是否闭卷">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="infcon.seacur" style="width: 100%">
<c-select v-model="model.infcon.seacur" :isShowKeyAndLabel="true" style="width: 100%" placeholder="请选择币种"
dbCode="curtxt">
</c-select>
</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 v-model="model.infcon.seaamtfr" type="number" :precision="2" placeholder="请输入金额下限"
style="width: 100%"></c-input>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-input v-model="model.infcon.seaamtto" type="number" :precision="2" placeholder="请输入金额上限"
style="width: 100%"></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="业务机构" prop="bchcon" style="width: 100%">
<c-select clearable placeholder="请选择业务机构" style="width: 100%" v-model="model.infcon.branchinr">
<el-option :key="item.branch" :label="item.bchname" :value="item.inr" v-for="item in bchtypList">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="经办柜员" prop="usrcon" style="width: 100%">
<c-select clearable placeholder="请选择经办柜员" style="width: 100%" v-model="model.infcon.ownusr">
<el-option :key="item.extkey + index" :label="item.extkey + '-' + item.nam" :value="item.extkey"
v-for="(item, index) in userList">
</el-option>
</c-select>
</el-form-item>
</c-col>
</el-row>
</el-form>
</template>
</c-list-search>
<c-col :span="24" style="margin-top: 0px">
<c-button class="medium_bcs" size="medium" type="primary" style="margin-right: 15px" @click="toZptadv">
转汇汇入
</c-button>
<c-button class="medium_bcs" size="medium" type="primary" style="margin-right: 15px" @click="toZptopn">
转汇汇出
</c-button>
<c-button class="medium_bcs" size="medium" type="primary" style="margin-right: 15px" @click="toZpticr">
转汇汇入退汇
</c-button>
<c-button class="medium_bcs" size="medium" type="primary" style="margin-right: 15px" @click="toZptocr">
转汇汇出退汇
</c-button>
</c-col>
<div>
<c-col :span="24">
<c-tabs v-model="activeTab" type="card" ref="elment">
<el-table v-loading="load" :data="stmData.data" height="calc(100vh - 310px)" border :columns="stmData.columns"
:showButtonFlg="true" :highlight-current-row="true" @row-dblclick="TableDblRow">
<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">
<div style="text-align: center" v-if="item.prop.indexOf('amt') >= 0">
{{ moneyFormat(scope.row[item.prop], scope.row.cur) }}</div>
<div style="text-align: center" v-else-if="item.prop.indexOf('accmod') >= 0">{{ cptmod.find(obj =>
obj.value === scope.row[item.prop]) ? cptmod.find(obj => obj.value === scope.row[item.prop]).label :
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="180px">
<template slot="header">
<!-- 插槽里放了一个文字 一个按钮 -->
<c-col :span="11" style="text-align: center"><span>操作</span>
</c-col>
</template>
<template slot-scope="scope">
<c-button style="margin-right: 7px" size="small" type="text" @click="handler(scope.row)">处理
</c-button>
<!-- 申请一个弹出主键放在插槽,加工已渲染的数据 -->
<el-popover placement="top-start" title="历史信息" width="1200" trigger="manual"
v-clickOutside="closeDisplayDialog" :ref="'popover_' + scope.row.inr">
<div style="
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
">
<span class="el-icon-close" style="cursor: pointer"
@click="closeDetailsDialog('popover_' + scope.row.inr)"></span>
</div>
<el-table :data="trnData.data" :columns="trnData.columns" :showButtonFlg="true">
<el-table-column v-for="(item, key) in trnData.columns" :key="key" :label="item.label"
:prop="item.prop" :width="item.width">
<template slot-scope="scope">
<div>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="100px">
<template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="display(scope.row)">快照</c-button>
</template>
</el-table-column>
</el-table>
<c-button style="margin-left: 0px" size="small" type="text" @click="details(scope.row)"
slot="reference">
快照
</c-button>
<c-button style="margin-left: 0" type="text" size="small" slot="reference"
@click="toInfo(scope.row, 'CPD', '', 'I')">
Info
</c-button>
</el-popover>
</template>
</el-table-column>
</el-table>
<div class="pagination-box" style="display:block">
<el-pagination @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, jumper" :total="pagination.total">
</el-pagination>
</div>
</c-tabs>
</c-col>
<!-- 点击处理ba弹框 -->
<el-dialog v-if="initdialog" v-dialogDrag :visible.sync="initdialog" title="交易列表" append-to-body width="70%">
<m-busbtn ref="childs" :trnUrl="trnUrl" :inifrm="inifrm" :activeTab="activeTab" :model="handleModel"
@onChoose="handleClick">
</m-busbtn>
</el-dialog>
<!--业务锁及待处理数据弹窗-->
<m-chklap ref="lockAndPending" @changeBtn="changeBtn"></m-chklap>
</div>
</div>
</template>
<script>
import BusNavbar from "~/components/business/BusNavbar1";
import CheckLockAndPending from "~/components/business/CheckLockAndPending";
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
components: {
"m-busbtn": BusNavbar,
"m-chklap": CheckLockAndPending,
},
data() {
return {
bchtypList: [],
userList: [],
curinr: "",
ownref: "",
activeTab: "cd",
handleModel: {},
trnUrl: "",
inifrm: "",
load: false,
oldRefId: "",
trnData: {
columns: [
{
label: "业务编号",
prop: "ownref",
width: "160"
},
{
label: "交易名称",
prop: "inifrmname",
width: "220"
},
{
label: "交易码",
prop: "inifrm",
width: "100"
},
{
label: "交易时间",
prop: "inidattim",
width: "160"
},
{
label: "状态",
prop: "relflgName",
width: "100"
},
{
label: "币种",
prop: "reloricur",
width: "100"
},
{
label: "金额",
prop: "reloriamt",
width: "150"
},
],
data: [],
},
stmData: {
columns: [
{
label: "业务编号",
prop: "ownref",
width: "200px"
},
{
label: "客户号",
prop: "pyeExtkey",
width: "180px"
},
{
label: "客户名称",
prop: "pyeName",
width: "250px"
},
{
label: "转汇类型",
prop: "zhtyp",
width: "250px"
},
{
label: "日期",
prop: "credat",
width: "150px"
},
{
label: "汇款邮路",
prop: "cptrou",
width: "150px"
},
{
label: "币种",
prop: "cur",
width: "120px"
},
{
label: "金额",
prop: "amt",
width: "120px"
},
{
label: "汇款状态",
prop: "accmod",
width: "120px"
},
{
label: "经办柜员",
prop: "ownusr",
width: "120px"
}
],
data: [
]
},
pagination: {
pageIndex: 1,
pageSize: 10,
total: 0
},
initdialog: false,
handlerDataList: [],
currentHandleRow: {},
cptmod: [
{ label: "正常解付", value: "0" },
{ label: "挂账待处理", value: "2" },
{ label: "挂账后解付", value: "G" },
{ label: "退汇", value: "3" }
],
};
},
methods: {},
mounted() {
this.getdbCode('cptrou', '', 'cptrou');
this.getUserList();
this.getBranchList();
}
};
</script>
<style>
.pagination-box {
width: 100%;
height: 30px;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0 10px;
background: #fff;
margin-top: 5px;
}
.btn-group-wrap {
max-height: 200px;
width: 100%;
overflow-y: auto;
display: flex;
align-items: flex-start;
justify-content: flex-start;
flex-wrap: wrap;
}
.btn-item {
margin-bottom: 10px;
margin-right: 10px;
}
.medium_bcs {
border-radius: 5px;
}
</style>
<template>
<div class="eContainer-search">
<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>
</el-form>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Zptsel from "../model";
import event from "../event"
import Infsea from "./Infsea";
export default {
name: "Zptsel",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this
}
},
mixins: [event], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "infsea",
trnName: "zptsel",
model: new Zptsel().data,
rules: null,
codes: { ...CodeTable },
};
},
methods: {},
created: async function () { },
};
</script>
<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