Commit 9aeb10b4 by 李少勇

bsnsel 交易原型页面开发

parent 7f4a5bf7
...@@ -10059,6 +10059,58 @@ const CodeTable = { ...@@ -10059,6 +10059,58 @@ const CodeTable = {
{label: "无需复核", value: "O"}, {label: "无需复核", value: "O"},
{label: "待退报复核", value: "T"}, {label: "待退报复核", value: "T"},
], ],
msgmst:[
{label:"G渠道",value:"gisp" },
{label:"CIPS",value:"xml" },
{label:"MT",value:"sf2" },
{label:"ELCS",value:"exl" },
{label:"MX",value:"mx" },
{label:"FMT",value:"txt" },
],
rspsta1:[
{label:"待清算",value:"X" },
{label:"非ACK",value:"L" },
{label:"已答复",value:"d" },
{label:"已止付",value:"K" },
{label:"已确认",value:"a" },
{label:"已冲正",value:"M" },
{label:"已超期(逾期退回)",value:"U" },
{label:"FXCC拒绝",value:"1" },
{label:"已清算",value:"3" },
{label:"收报行收妥",value:"6" },
{label:"已拒绝",value:"R" },
{label:"已排队",value:"2" },
{label:"已划回",value:"J" },
{label:"ELCS待处理",value:"Z" },
{label:"待认证",value:"r" },
{label:"日终退回",value:"T" },
{label:"已同意",value:"Y" },
{label:"已应答",value:"t" },
{label:"已处理",value:"D" },
{label:"清算排队",value:"H" },
{label:"已退回",value:"4" },
{label:"已整包退回",value:"n" },
{label:"已撤销",value:"5" },
{label:"已转发",value:"8" },
{label:"成功发往PMTS-MBFE",value:"P" },
{label:"已结算",value:"C" },
{label:"ACK",value:"A" },
{label:"轧差排队",value:"B" },
{label:"收报行拒绝",value:"7" },
{label:"已轧差",value:"9" },
{label:"已成功",value:"S" },
{label:"已部分退回",value:"V" },
{label:"参与者拒绝",value:"r" },
{label:"已冻结待清算",value:"I" },
{label:"结算排队",value:"Q" },
{label:"已付款",value:"F" },
{label:"对账逻辑未收到",value:"F" },
{label:"清算异常,待重新清算",value:"b" },
{label:"NPC未受理",value:"O" },
{label:"待处理",value:"W" },
{label:"NCK",value:"N" },
{label:"已丢弃",value:"G" },
],
}; };
export default CodeTable; export default CodeTable;
import Api from "~/service/Api";
import getSubtyp from '~/page/Frontend/Rcvsel/event/getSubtyp.js';
import moment from "moment";
export default {
mixins: [getSubtyp],
methods: {
async handleSearch() {
},
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;
}
},
};
export default {
"bsnp.rcvdatsta": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bsnp.rcvdatend": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"bsnp.sndbic": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"bsnp.rcvbic": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
}
\ No newline at end of file
export default class Bsnsel {
constructor() {
this.data = {
bsnp: {
rcvdatsta: "", // 起始时间: .bsnp.rcvdatsta
rcvdatend: "", // 截止时间: .bsnp.rcvdatend
msgtyp: "", // 报文标准: .bsnp.msgtyp
subtyp: "", // 报文类型: .bsnp.subtyp
sndbic: "", // 发报行BIC: .bsnp.sndbic
rcvbic: "", // 收报行BIC: .bsnp.rcvbic
rspsta: "", // 回执状态: .bsnp.rspsta
exp: "", // 导出 .bsnp.exp
},
bsngrp: {
rcvlst: [], // .bsngrp.rcvlst
},
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="formSubmit">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-form class="m-table-search-form" ref="paramsForm" label-position="right" label-width="110px" size="small"
:model="model">
<el-row>
<c-col :span="8">
<el-form-item label="报文标准" prop="bsnp.msgtyp">
<c-select v-model="model.bsnp.msgtyp" style="width:100%" :code="codes.msgtyp3" @change="getSubtyp(model.bsnp.msgtyp, 'bsnp.subtyp')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="bsnp.subtyp">
<c-select v-model="model.bsnp.subtyp" style="width:100%">
<el-option v-for="code in subtypCodes" :key="code.label" :label="code.label" :value="code.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="起始时间" prop="bsnp.rcvdatsta" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.bsnp.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.bsnp.rcvdatend" style="width:100%"></c-date-picker>
</c-col>
</el-form-item>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<c-form-item label="发报行BIC" prop="bsnp.sndbic">
<c-input v-model="model.bsnp.sndbic" maxlength="11"></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item label="收报行BIC" prop="bsnp.rcvbic">
<c-input v-model="model.bsnp.rcvbic" maxlength="11"></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="回执状态" prop="bsnp.rspsta">
<c-select v-model="model.bsnp.rspsta" style="width:100%">
<el-option v-for="item in codes.rspsta1" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
</el-form>
</template>
</c-list-search>
<el-col :span="24" style="margin-top: 10px">
<c-col :span="24">
<el-table id='infgidBSTableRef' v-loading="load" :data="model.bsngrp.rcvlst" style="width:100%" size="small" :border="true"
height="calc(100vh - 250px)" :highlight-current-row="true">
<el-table-column prop="chk" label="选中" width="60">
</el-table-column>
<el-table-column prop="valdat" label="起息日" width="85">
</el-table-column>
<el-table-column prop="ownref" label="20域编号" width="140">
</el-table-column>
<el-table-column prop="othref" label="21域编号" width="140">
</el-table-column>
<el-table-column prop="cur" label="币种" width="60">
</el-table-column>
<el-table-column prop="amt" label="金额" width="110">
</el-table-column>
<el-table-column prop="act" label="帐号" width="150">
</el-table-column>
<el-table-column prop="dtlchg" label="费用明细" width="100">
<template slot-scope="scope">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.dtlchg" :code="codes.dtlchg"></c-select-value-to-label>
</template>
</template>
</el-table-column>
<el-table-column prop="nxtchncod" label="子系统" width="150">
<template slot-scope="scope">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.nxtchncod" :code="codes.chncod"></c-select-value-to-label>
</template>
</template>
</el-table-column>
<el-table-column prop="chncod" label="行内系统" width="100">
<template slot-scope="scope">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.chncod" :code="codes.chncod"></c-select-value-to-label>
</template>
</template>
</el-table-column>
<el-table-column prop="t53bic" label="账户行BIC(53域)" width="150">
</el-table-column>
<el-table-column prop="actbic" label="账户行BIC(54域)" 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="msgtyp" label="报文标准" width="100">
<template slot-scope="scope">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.msgtyp" :code="codes.msgmst"></c-select-value-to-label>
</template>
</template>
</el-table-column>
<el-table-column prop="subtyp" label="报文类型" width="100">
</el-table-column>
<el-table-column prop="snddattim" label="发送时间" width="150">
</el-table-column>
<el-table-column prop="rspsta" label="回执状态" width="100">
<template slot-scope="scope">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.rspsta" :code="codes.rspsta"></c-select-value-to-label>
</template>
</template>
</el-table-column>
<el-table-column prop="sta" label="处理状态" width="100">
<template slot-scope="scope">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.sta" :code="codes.stacod"></c-select-value-to-label>
</template>
</template>
</el-table-column>
</el-table>
</c-col>
</el-col>
</div>
</template>
<script>
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [],
components: {
},
data() {
return {
subtypCodes: [],
load: false,
};
},
watch: {
},
computed: {},
mounted() {
},
methods: {
handleReset() {
},
formSubmit() {
},
}
};
</script>
<style scoped lang="less">
.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;
}
</style>
\ No newline at end of file
<template>
<div class="eContainer-search">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-content>
<m-mainpl :model="model" :codes="codes" />
</c-content>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Bsnsel from "../model"
import Mainpl from "./Mainpl"
export default {
name: "Bsnsel",
components: {
"m-mainpl": Mainpl,
},
provide() {
return {
root: this
}
},
mixins: [],
data() {
return {
tabVal: "",
trnName: "bsnsel",
trnType: "",
model: new Bsnsel().data,
rules: null,
codes: {
rspsta: CodeTable.rspsta,
chncod: CodeTable.chncod,
stacod: CodeTable.stacod,
msgmst: CodeTable.msgmst,
dtlchg: CodeTable.dtlchg,
},
}
},
methods: {
},
created: async function () {
}
}
</script>
<style></style>
...@@ -17,6 +17,7 @@ const BusRouter = [ ...@@ -17,6 +17,7 @@ const BusRouter = [
{ path: 'dblktp', component: () => import("./Dblktp/views"), name: 'Dblktp', meta: { title: '记账类型管理' }, module: 'frontend' }, { path: 'dblktp', component: () => import("./Dblktp/views"), name: 'Dblktp', meta: { title: '记账类型管理' }, module: 'frontend' },
{ path: 'dotopn', component: () => import("./Dotopn/views"), name: 'Dotopn', meta: { title: '待对账信息录入' }, module: 'frontend' }, { path: 'dotopn', component: () => import("./Dotopn/views"), name: 'Dotopn', meta: { title: '待对账信息录入' }, module: 'frontend' },
{ path: 'fxdsdb', component: () => import("./Fxdsdb/views"), name: 'Fxdsdb', meta: { title: '人民币跨境基础数据查询' }, module: 'frontend' }, { path: 'fxdsdb', component: () => import("./Fxdsdb/views"), name: 'Fxdsdb', meta: { title: '人民币跨境基础数据查询' }, module: 'frontend' },
{ path: 'bsnsel', component: () => import("./Bsnsel/views"), name: 'Bsnsel', meta: { title: 'CIPS业务状态查询' }, module: 'frontend' },
{ path: 'jfdsel', component: () => import("./Jfdsel/views"), name: 'Jfdsel', meta: { title: '计费单查询' }, module: 'frontend' }, { path: 'jfdsel', component: () => import("./Jfdsel/views"), name: 'Jfdsel', meta: { title: '计费单查询' }, module: 'frontend' },
{ path: 'kpachk', component: () => import("./Kpachk/views"), name: 'Kpachk', meta: { title: '未成功记账记录查询' }, module: 'frontend' }, { path: 'kpachk', component: () => import("./Kpachk/views"), name: 'Kpachk', meta: { title: '未成功记账记录查询' }, module: 'frontend' },
{ path: 'lmnsel', component: () => import("./Lmnsel/views"), name: 'Lmnsel', meta: { title: '流动性管理' }, module: 'frontend' }, { path: 'lmnsel', component: () => import("./Lmnsel/views"), name: 'Lmnsel', meta: { title: '流动性管理' }, module: 'frontend' },
......
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