Commit 6d4f7420 by fukai

Merge remote-tracking branch 'origin/develop' into develop

parents 14c97404 94b2e93e
......@@ -9799,6 +9799,13 @@ const CodeTable = {
{label: "04特殊监管区", value: "0004"},
{label: "05离岸转手买卖", value: "0005"},
{label: "06其他未纳入海关统计的货物贸易", value: "0000"},
]
],
fttyp:[
{label:"资金拆入",value:"LI" },
{label:"定存吸存",value:"DI" },
{label:"定存存出",value:"DO" },
{label:"头寸调拨",value:"PT" },
{label:"资金拆出",value:"LO" },
],
};
export default CodeTable;
......@@ -268,7 +268,7 @@ const Rmbmod2135 = () => import("./Rmb/2135/Tcpame/views");
const Rmbinf2135 = () => import("./Rmb/2135/Tcpinf/views");
const Rmbdel2135 = () => import("./Rmb/2135/Tcpdel/views");
// const Rcvsel = () => import('./Rcvsel/views');
// const Rcvselblk = () => import('./Rcvselblk/views');
// const Sndsel = () => import('./Sndsel/views');
// const Dbdinf = () => import("./Bop/Dbdinf/views")
......
import Utils from "~/utils"
/**
* Rcvsel Check规则
* Rcvselblk Check规则
*/
let checkObj = {
"rcvp.sndbak" :null,
......
/**
* Rcvsel Default规则
* Rcvselblk Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
......
......@@ -9,19 +9,5 @@ export default {
async handleReset() {
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
},
};
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onPtpmodSel">
{{$t('dotp.BT000015')}}
</c-button>
</c-col>
<!-- LT000017 : 发报行 -->
<!-- LT000003 : 账户行 -->
<c-col :span="12">
<c-form-item :label="$t('dotp.LT000003')" prop="ptpmod.pty.extkey">
<c-input v-model="model.ptpmod.pty.extkey" maxlength="24" :placeholder="$t('other.please_enter')+$t('dotp.LT000003')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="BIC码" prop="dotp.snd.pty.extkey">
<c-input v-model="model.dotp.snd.pty.extkey" maxlength="24" :placeholder="$t('other.please_enter')+'BIC码'"></c-input>
</c-form-item>
</c-col>
<!-- LT000004 : 账户 -->
<c-col :span="12">
<c-form-item :label="$t('dotp.LT000004')" prop="dotgrp.rec.acc">
<c-input v-model="model.dotgrp.rec.acc" maxlength="30" :placeholder="$t('other.please_enter')+$t('dotp.LT000004')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="BIC码" prop="dotp.rcv.pty.extkey">
<c-input v-model="model.dotp.rcv.pty.extkey" maxlength="24" :placeholder="$t('other.please_enter')+'BIC码'"></c-input>
</c-form-item>
</c-col>
<!-- LT000016 : 收报行 -->
<!-- LT000005 : 币种 -->
<c-col :span="12">
<el-form-item :label="$t('dotp.LT000005')" prop="dotgrp.rec.cur">
<c-select v-model="model.dotgrp.rec.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('dotp.LT000005')">
</c-select>
</el-form-item>
</c-col>
<!-- LT000006 : 金额 -->
<c-col :span="12">
<c-form-item label="金额" prop="dotgrp.rec.amt">
<c-input v-model="model.dotgrp.rec.amt" :placeholder="$t('other.please_enter')+'金额'"></c-input>
</c-form-item>
</c-col>
<!-- LT000007 : 起息日 -->
<c-col :span="12">
<el-form-item :label="$t('dotp.LT000007')" prop="dotgrp.rec.valdat">
<c-date-picker type="date" v-model="model.dotgrp.rec.valdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('dotp.LT000007')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000018 : 收发日期 -->
<c-col :span="12">
<el-form-item :label="$t('dotp.LT000018')" prop="dotgrp.rec.rsptim">
<c-date-picker type="date" v-model="model.dotgrp.rec.rsptim" style="width:100%" :placeholder="$t('other.please_enter')+$t('dotp.LT000018')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000010 : 相关参考号 -->
<c-col :span="12">
<c-form-item :label="$t('dotp.LT000010')" prop="dotgrp.rec.othref">
<c-input v-model="model.dotgrp.rec.othref" maxlength="16" :placeholder="$t('other.please_enter')+$t('dotp.LT000010')"></c-input>
</c-form-item>
</c-col>
<!-- LT000009 : 业务参考号 -->
<c-col :span="12">
<c-form-item :label="$t('dotp.LT000009')" prop="dotgrp.rec.ownref">
<c-input v-model="model.dotgrp.rec.ownref" maxlength="16" :placeholder="$t('other.please_enter')+$t('dotp.LT000009')"></c-input>
</c-form-item>
</c-col>
<!-- LT000014 : 业务标识 -->
<c-col :span="12">
<c-form-item :label="$t('dotp.LT000014')" prop="dotgrp.rec.busflg">
<c-input v-model="model.dotgrp.rec.busflg" maxlength="4" :placeholder="$t('other.please_enter')+$t('dotp.LT000014')"></c-input>
</c-form-item>
</c-col>
<!-- LT000008 : 借贷标记 -->
<c-col :span="12">
<el-form-item :label="$t('dotp.LT000008')" prop="dotgrp.rec.dcflg">
<c-select v-model="model.dotgrp.rec.dcflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('dotp.LT000008')">
<el-option
v-for="item in codes.dcflg"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('dotp.LT000012')" prop="dotgrp.rec.typ">
<c-select v-model="model.dotgrp.rec.typ" style="width:100%" :placeholder="$t('other.please_enter')+$t('dotp.LT000012')">
<el-option
v-for="item in codes.kpatyp"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000013 : 勾销标志 -->
<c-col :span="12">
<el-form-item :label="$t('dotp.LT000013')" prop="dotgrp.rec.offsta">
<c-select v-model="model.dotgrp.rec.offsta" style="width:100%" :placeholder="$t('other.please_enter')+$t('dotp.LT000013')">
<el-option
v-for="item in codes.offsta"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000012 : 对账信息类型 -->
<!-- LT000011 : 详细信息 -->
<c-col :span="12">
<c-form-item label="详细信息" prop="dotgrp.rec.inf">
<c-input type="textarea" v-model="model.dotgrp.rec.inf" maxlength="200" show-word-limit :placeholder="$t('other.please_enter')+'详细信息'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSav">
{{$t('mtabut.BT000008')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onPed">
{{$t('mtabut.BT000009')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRtn">
{{$t('mtabut.BT000020')}}
</c-button>
</c-col>
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="账户行" prop="msgtyp" style="width: 100%">
<c-select v-model="model.ptpmod.pty.extkey" style="width: 100%" placeholder="请选择货押标识" :code="codes.msgtyp3">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="BIC码" prop="rcvdatsta" style="width: 100%">
<c-input v-model="model.dotp.snd.pty.extkey" maxlength="24" placeholder="请输入BIC码"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="账户" prop="subtype" style="width: 100%">
<c-input v-model="model.dotgrp.rec.acc" maxlength="30" placeholder="请输入账户"/>
</el-form-item>
</c-col>
</c-col>
</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.dotp.rcv.pty.extkey" maxlength="40" placeholder="请输入发报行BIC">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="revbak" style="width: 100%">
<c-input v-model="model.dotgrp.rec.cur" maxlength="40" placeholder="请输入收报行BIC">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="金额" prop="actbic" style="width: 100%">
<c-input v-model="model.dotgrp.rec.amt" maxlength="40" placeholder="请输入账户行BIC">
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="起息日" prop="ownref" style="width: 100%">
<c-date-picker type="date" v-model="model.dotgrp.rec.valdat" style="width:100%" placeholder="请选择起息日"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="收发日期" prop="othref" style="width: 100%">
<c-date-picker type="date" v-model="model.dotgrp.rec.rsptim" style="width:100%" placeholder="请选择起息日"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="相关参考号" prop="cur" style="width: 100%">
<c-input v-model="model.dotgrp.rec.othref" maxlength="16" placeholder="输入相关参考号"/>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="业务标识" prop="act" style="width: 100%">
<c-input v-model="model.dotgrp.rec.busflg" maxlength="4" placeholder="请输入业务标识"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="借贷标记" prop="dtlchg" style="width: 100%">
<c-select v-model="model.dotgrp.rec.dcflg" style="width:100%" placeholder="请选择借贷标记">
<el-option
v-for="item in codes.dcflg"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="勾销标志" prop="chnipt" style="width: 100%">
<c-select v-model="model.dotgrp.rec.offsta" style="width:100%" :placeholder="请选择勾销标志">
<el-option
v-for="item in codes.offsta"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="详细信息" prop="sta" style="width: 100%">
<c-input type="textarea" v-model="model.dotgrp.rec.inf" placeholder="请输入详细信息"/>
</el-form-item>
</c-col>
</c-col>
</el-row>
</template>
</c-list-search>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Event"
import event from "../event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeTab: 'sb',
load: false,
};
},
methods: {},
mounted: function () {
},
};
</script>
<style lang="less" scoped>
::v-deep .c-content-scrollbar {
height: 100% !important;
}
.eibs-tabs /deep/ {
.m-table-search {
padding: 20px 0px 10px 0px;
}
}
.header-wrap {
height: 36px;
display: flex;
justify-content: space-between;
align-items: center;
}
},
methods:{...Event},
created:function(){
.title {
font-size: 16px;
color: #000;
}
}
.close-btn {
padding: 3px;
cursor: pointer;
}
}
</script>
<style>
.m-list-btns {
height: 300px;
overflow: auto;
}
.medium_bcs {
border-radius: 5px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
}
.pagination-box {
width: 100%;
height: 30px;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0 10px;
background: #fff;
margin-top: 5px;
}
.el-dialog__body {
padding: 10px 5px 50px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
}
.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;
}
</style>
......@@ -32,7 +32,7 @@ const BusRouter = [
{ path: 'pngsel', component: ()=>import("./Pngsel/views"), name: 'Pngsel', meta: { title: 'Pngsel' } ,module:'frontend'},
{ path: 'qrtmgs', component: ()=>import("./Qrtmgs/views"), name: 'Qrtmgs', meta: { title: 'Qrtmgs' } ,module:'frontend'},
{ path: 'qrtsel', component: ()=>import("./Qrtsel/views"), name: 'Qrtsel', meta: { title: 'Qrtsel' } ,module:'frontend'},
// { path: 'rcvsel', component: ()=>import("./Rcvsel/views"), name: 'Rcvsel', meta: { title: 'Rcvsel' } ,module:'frontend'},
{ path: 'rcvselblk', component: ()=>import("./Rcvselblk/views"), name: 'Rcvselblk', meta: { title: 'Rcvselblk' } ,module:'frontend'},
{ path: 'rptgen', component: ()=>import("./Rptgen/views"), name: 'Rptgen', meta: { title: 'Rptgen' } ,module:'frontend'},
{ path: 'smdsel', component: ()=>import("./Smdsel/views"), name: 'Smdsel', meta: { title: 'Smdsel' } ,module:'frontend'},
{ path: 'smtame', component: ()=>import("./Smtame/views"), name: 'Smtame', meta: { title: 'Smtame' } ,module:'frontend'},
......
import Utils from "~/utils"
/**
* Rcvsel Check规则
* Rcvselblk Check规则
*/
let checkObj = {
"rcvp.sndbak" :null,
......
/**
* Rcvsel Default规则
* Rcvselblk Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
......
import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
let rcvdatsta = this.model.rcvp.rcvdatsta;
if (!rcvdatsta || rcvdatsta == "") {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.查询开始日期必输!"),
});
return;
}
let rcvdatend = this.model.rcvp.rcvdatend;
if (!rcvdatend || rcvdatend == "") {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.查询结束日期必输!"),
});
return;
}
this.load = true;
let rtnmsg = await Api.post("/webapi/gjzf/msgsel/query", {
...this.model.rcvp,
dir: "<",
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize,
rcvdatsta: moment(rcvdatsta).format("YYYY-MM-DD"),
rcvdatend: moment(rcvdatend).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() {
this.model.rcvp.msgtyp = "";
this.model.rcvp.rcvdatsta = new Date();
this.model.rcvp.rcvdatend = new Date();
this.model.rcvp.subtyp = "";
this.model.rcvp.sndbak = "";
this.model.rcvp.revbak = "";
this.model.rcvp.actbic = "";
this.model.rcvp.othref = "";
this.model.rcvp.ownref = "";
this.model.rcvp.cur = "";
this.model.rcvp.act = "";
this.model.rcvp.amtmin = "";
this.model.rcvp.amtmax = "";
this.model.rcvp.chnipt = "";
this.model.rcvp.rspsta = "";
this.model.rcvp.dtlchg = "";
this.model.rcvp.sta = "";
this.model.rcvp.gpi="";
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
},
};
import Utils from "~/utils"
/**
* Rcvselblk Check规则
*/
let checkObj = {
"rcvp.sndbak" :null,
"rcvp.actbic" :null,
"rcvp.revbak" :null,
"rcvp.msgtyp" :null,
"rcvp.othref" :null,
"rcvp.rcvdatend" :null,
"rcvp.ownref" :null,
"rcvp.amtmax" :null,
"rcvp.amtmin" :null,
"rcvp.rcvdatsta" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Rcvselblk Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
export default {
"rcvp.rcvdatsta":[
{type: "date", required: false, message: "输入正确的日期"}
],
"rcvp.rcvdatend":[
{type: "date", required: false, message: "输入正确的日期"}
],
"rcvp.sndbak":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"rcvp.revbak":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"rcvp.actbic":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"rcvp.othref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"rcvp.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"rcvp.act":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"rcvp.amtmin":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"rcvp.amtmax":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
}
\ No newline at end of file
export default class Rcvsel{
constructor () {
this.data = {
rcvp:{
rcvdatsta:"", // : 起始日期 .rcvp.rcvdatsta
rcvdatend:"", // : 终止日期 .rcvp.rcvdatend
msgtyp:"", // : 报文标准 .rcvp.msgtyp
subtyp:"", // : 报文类型 .rcvp.subtyp
sndbak:"", // : 发报行BIC .rcvp.sndbak
revbak:"", // : 收报行BIC .rcvp.revbak
actbic:"", // : 账户行BIC .rcvp.actbic
othref:"", // : 20域编号 .rcvp.othref
ownref:"", // : 21域编号 .rcvp.ownref
cur:"", // : 币种 .rcvp.cur
act:"", // : 账号 .rcvp.act
amtmin:"", // : 金额下限 .rcvp.amtmin
amtmax:"", // : 金额上限 .rcvp.amtmax
chnipt:"", // 行内系统 .rcvp.chnipt
tblvis:"", // 行内系统标签 .rcvp.tblvis
tblvim:"", // 活动标签 .rcvp.tblvim
blksta:"", // 黑名单状态 .rcvp.blksta
dtlchg:"", // : 费用明细 .rcvp.dtlchg
sta:"", // : 处理状态 .rcvp.sta
gpi:"", // GPI标识 .rcvp.gpi
expexl:"", // 导出 .rcvp.expexl
},
msggrp:{
rcvlst:[], // .msggrp.rcvlst
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-row>
<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>
</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>
</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.rcvp.rcvdatend" style="width: 100%"></c-date-picker>
</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>
<!-- 可控展示区 -->
<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.rcvp.sndbak" maxlength="40" placeholder="请输入发报行BIC">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="收报行BIC" prop="revbak" style="width: 100%">
<c-input v-model="model.rcvp.revbak" maxlength="40" placeholder="请输入收报行BIC">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="账户行BIC" prop="actbic" style="width: 100%">
<c-input v-model="model.rcvp.actbic" maxlength="40" placeholder="请输入账户行BIC">
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="20域编号" prop="ownref" style="width: 100%">
<c-input v-model="model.rcvp.ownref" maxlength="40" placeholder="请输入20域编号">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="21域编号" prop="othref" style="width: 100%">
<c-input v-model="model.rcvp.othref" maxlength="40" placeholder="请输入21域编号">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="cur" style="width: 100%">
<c-select v-model="model.rcvp.cur" style="width: 100%" placeholder="请选择币种"
:code="codes.cur">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="账号" prop="act" style="width: 100%">
<c-input v-model="model.rcvp.act" maxlength="40" placeholder="请输入账号">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="费用明细" prop="dtlchg" style="width: 100%">
<c-select v-model="model.rcvp.dtlchg" style="width: 100%" placeholder="请选择费用明细"
:code="codes.dtlchg">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
:label="$t('lc.金额区间')"
style="width: 100%"
>
<c-col :span="11">
<c-input
v-model="model.rcvp.amtmin"
:placeholder="$t('lc.请输入金额下限')"
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.rcvp.amtmax"
:placeholder="$t('lc.请输入金额上限')"
style="width: 100%"
></c-input>
</c-col>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="行内系统" prop="chnipt" style="width: 100%">
<c-select v-model="model.rcvp.chnipt" style="width: 100%" placeholder="请选择行内系统"
:code="codes.chnipt">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="处理状态" prop="sta" style="width: 100%">
<c-select v-model="model.rcvp.sta" style="width: 100%" placeholder="请选择处理状态"
:code="codes.sta1">
</c-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
</template>
</c-list-search>
<el-col :span="24" style="margin-top: 2px;margin-bottom: 1px;">
<c-button :disabled="isFoldDisable" class="medium_bcs" size="medium" style="margin-left: 0"
type="primary" >{{ $t('public.归档') }}
</c-button>
<c-button :disabled="isRoutingDisable" class="medium_bcs" size="medium"
style="margin-left: 20" type="primary">ReRouting
</c-button>
<c-button class="medium_bcs" size="medium" style="margin-left: 20" type="primary">
{{ $t('public.导出Excel') }}
</c-button>
</el-col>
<el-col :span="24" style="margin-top: 10px">
<div style="height: 90%">
<c-col :span="24">
<el-tabs v-model="activeTab" class="y-tabs">
<el-tab-pane label="发报查询" name="sb">
<el-table :data="stmData.data" :columns="stmData.columns" v-loading="load" style="width: 100%"
@selection-change="handleSelectionChange"
size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true">
<el-table-column type="selection" width="55">
</el-table-column>
<el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop"
:min-width="item.width">
</el-table-column>
</el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
:page-size="pagination.pageSize" :current-page.sync="pagination.pageNum" @size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination>
</el-tab-pane>
</el-tabs>
</c-col>
</div>
</el-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeTab: 'sb',
load: false,
subtypCodes: [],
// isFoldDisable: true,
// isRoutingDisable: true,
multipleSelection:[],
stmData: {
columns: [
{
label: "起息日",
prop: "valdat",
width: "180px"
},
{
label: "20域编号",
prop: "ownref",
width: "180px"
},
{
label: "21域名编号",
prop: "othref",
width: "120px"
},
{
label: "币种",
prop: "cur",
width: "120px"
},
{
label: "金额",
prop: "amt",
width: "120px"
},
{
label: "账号",
prop: "act",
width: "120px"
},
{
label: "费用明细",
prop: "dtlchg",
width: "120px"
},
{
label: "报文类型",
prop: "subtyp",
width: "120px"
},
{
label: "行内系统",
prop: "chnipt",
width: "120px"
},
{
label: "处理状态",
prop: "sta",
width: "120px"
},
{
label: "账户行BIC(53域)",
prop: "actbic",
width: "120px"
},
{
label: "账户行BIC(54域)",
prop: "actbic",
width: "250px"
},
{
label: "发报行BIC",
prop: "sndbic",
width: "150px"
},
{
label: "收报行BIC",
prop: "rcvbic",
width: "150px"
},
{
label: "报文标准",
prop: "msgtyp",
width: "150px"
},
{
label: "GPI标识",
prop: "gpi",
width: "150px"
},
{
label: "子系统",
prop: "",
width: "150px"
},
{
label: "接收时间",
prop: "rcvdattim",
width: "150px"
},
],
data: [],
},
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
};
},
computed:{
isFoldDisable: function(){
return this.multipleSelection.length == 0;
} ,
isRoutingDisable:function(){
return this.multipleSelection.length == 0;
}
},
watch: {
'model.rcvp.msgtyp': {
handler: function (newTyp, oldTyp) {
// 把已经选择的 subtyp 重置
this.model.rcvp.subtyp = '';
const { codes } = this;
if (newTyp == 'txt') {
this.subtypCodes = codes.subtypfps;
} else if (newTyp == 'iso') {
this.subtypCodes = codes.subtypiso;
} else if (newTyp == 'xml') {
this.subtypCodes = codes.subtypcps;
} else {
this.subtypCodes = codes.subtyp1;
}
},
deep: true
}
},
methods: {},
mounted: function () {
},
};
</script>
<style lang="less" scoped>
::v-deep .c-content-scrollbar {
height: 100% !important;
}
.eibs-tabs /deep/ {
.m-table-search {
padding: 20px 0px 10px 0px;
}
}
.header-wrap {
height: 36px;
display: flex;
justify-content: space-between;
align-items: center;
.title {
font-size: 16px;
color: #000;
}
.close-btn {
padding: 3px;
cursor: pointer;
}
}
.m-list-btns {
height: 300px;
overflow: auto;
}
.medium_bcs {
border-radius: 5px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
}
.pagination-box {
width: 100%;
height: 30px;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0 10px;
background: #fff;
margin-top: 5px;
}
.el-dialog__body {
padding: 10px 5px 50px;
}
.m-table-search {
padding: 20px 0px 10px 0px;
}
.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;
}
</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-schpnl :model="model" :codes="codes" ref="schpnl"/>
</c-content>
</el-form>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Sndsel from "../model";
import event from "../event"
import Schpnl from "./Schpnl.vue"
export default {
name: "Sndsel",
components:{
"m-schpnl" : Schpnl,
},
provide() {
return {
root: this
}
},
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "schpnl",
trnName: "sndsel",
model: new Sndsel().data,
rules: null,
codes:{...CodeTable},
};
},
methods:{},
created:async function() {},
};
</script>
<style scoped>
</style>
......@@ -58,6 +58,16 @@ export default {
this.model.infcon.seacur = "";
this.model.infcon.eaamtfr = "";
this.model.infcon.eaamtto = "";
this.model.infcon.searef = "";
this.model.infcon.ptyextkey = "";
this.model.infcon.ptynam = "";
this.model.infcon.seapty = "";
this.model.infcon.searol = "";
this.model.infcon.usrextkey = "";
this.model.infcon.seasta = "";
this.model.infcon.accmng = "";
this.model.infcon.fttyp = "";
},
// pageSize改变
......
import Api from "~/service/Api"
export default class infftd{
constructor () {
this.data = {
infcon:{
seaownref:"", // 业务编号 .infcon.seaownref
nam:"", // Name客户名称 .infcon.nam
opndatfrom:"", // 有效日期自 .infcon.opndatfrom
opndatto:"", // Open Date to .infcon.opndatto
seacur:"", // 币种 .infcon.seacur
seaamtfr:"", // 金额自 .infcon.seaamtfr
seaamtto:"", // Amount to .infcon.seaamtto
},
infbut:{
dspstm:"", // display stream .infbut.dspstm
},
fttyp:"", // Funds Trans. Type .fttyp
pageId: "" // ctx的key
}
}
export default class infftd {
constructor() {
this.data = {
infcon: {
seaownref: "", // 业务编号 .infcon.seaownref
nam: "", // Name客户名称 .infcon.nam
opndatfrom: "", // 有效日期自 .infcon.opndatfrom
opndatto: "", // Open Date to .infcon.opndatto
seacur: "", // 币种 .infcon.seacur
seaamtfr: "", // 金额自 .infcon.seaamtfr
seaamtto: "", // Amount to .infcon.seaamtto
searef: "", //参与方参考号
ptyextkey: "", // 选择一个参与方 .infcon.pty.extkey
ptynam: "", // External Visible Name .infcon.pty.nam
seapty: "", // 参与方名称/BIC .infcon.seapty
searol: "",
usrextkey: "", // User ID .infcon.usr.extkey
seasta: "", // Status .infcon.seasta
accmng: "", // Account manager .infcon.accmng
fttyp: "", //类型
},
infbut: {
dspstm: "", // display stream .infbut.dspstm
},
//fttyp: "", // Funds Trans. Type .fttyp
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -21,7 +21,7 @@
</c-col>
<c-col :span="8">
<el-form-item
label="交易有效日期"
label="开立有效日期"
prop="opndatfrom"
style="width: 100%"
>
......@@ -92,7 +92,81 @@
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="参与方参考号"
prop="searef"
style="width: 100%"
>
<c-input
v-model="model.infcon.searef"
maxlength="40"
placeholder="请输入参与方参考号"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="Account manager" prop="accmng" style="width: 100%">
<c-input v-model="model.infcon.accmng" maxlength="40" placeholder="请输入Account manager">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="参与方名称" prop="seapty" style="width: 100%">
<c-input v-model="model.infcon.seapty" maxlength="40" placeholder="请输入参与方名称">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="角色" prop="searol" style="width: 100%">
<c-select
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择角色"
:code="codes.searol"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="角色ID" prop="usrextkey" style="width: 100%">
<c-input v-model="model.infcon.usrextkey" maxlength="40" placeholder="请输入角色ID">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="状态" prop="seasta" style="width: 100%">
<c-select
v-model="model.infcon.seasta"
style="width: 100%"
placeholder="请选择状态"
:code="codes.seasta">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="定存拆借类型" prop="fttyp" style="width: 100%">
<c-select
v-model="model.infcon.fttyp"
style="width: 100%"
placeholder="请选择定存拆借类型"
:code="codes.fttyp">
</c-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
</template>
</c-list-search>
......
......@@ -30,7 +30,7 @@ export default class inffxd {
infbut: {
dspstm: "", // display stream .infbut.dspstm
},
fttyp: "", // Funds Trans. Type .fttyp
//fttyp: "", // Funds Trans. Type .fttyp
pageId: "" // ctx的key
}
}
......
......@@ -656,11 +656,11 @@ export default {
width: 70px;
height:42px;
opacity: 1;
background-image: url("../assets/icons/logo/cmn_logo-circle.svg");
background-repeat: no-repeat;
background-size: contain;
margin-right: 10px;
}
// background-image: url("../assets/icons/logo/cmn_logo-circle.svg");
.loginBox .loginBoxTitle .smallTitle {
width: 285px;
......
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