Commit 007d0b17 by fukai

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

parents 67c711f8 d5dcbfb6
......@@ -45,7 +45,7 @@ const COMMON_NODE_ARR = [
// {key:"rmbbopSh",buildFunc:"buildRmbbop",postFunc:"query2101xid"},
{key:"usrmd",buildFunc:"buildUsrmd",postFunc:"processUsrmd"},
{key:"entmod",buildFunc:"buildEntmod",postFunc:"processEntmod"},
{key:"forexmod",buildFunc:"buildForexmod",postFunc:"processForexmod"},
// {key:"forexmod",buildFunc:"buildForexmod",postFunc:"processForexmod"},
{key:"rmbbop",buildFunc:"buildRmbbop",postFunc:"initRmbbop"},
{key:"cfabop",buildFunc:"buildCfabop",postFunc:"initCfabop"},
{key:"jshmod",buildFunc:"buildJshmod",postFunc:"initJshmod"},
......
......@@ -225,6 +225,8 @@ const Comsel = () => import("./Comsel/views");
const Comcal = () => import("./Comcal/views");
const Infswf = () => import("./Infswf/views");
const Rptsel = () => import("./Rptsel/views");
const Glesel = () => import("./Glesel/views");
const Sgnswt = () => import("./Sgnswt/views");
const Feecon = () => import("./Feecon/views");
const Eafadd = () => import("./Cfa/Eafadd/views/");
const Eafall = () => import("./Cfa/Eafall/views/");
......@@ -569,6 +571,8 @@ const BusRouter = [
{ path: 'comcal', component: Comcal, name: 'Comcal', meta: { keepAlive: true, title: '保函预期收益测算' } },
{ path: 'infswf', component: Infswf, name: 'Infswf', meta: { keepAlive: true, title: '清算来报' } },
{ path: 'rptsel', component: Rptsel, name: 'Rptsel', meta: { keepAlive: true, title: '报表查询' } },
{ path: 'glesel', component: Glesel, name: 'Glesel', meta: { keepAlive: true, title: '账务明细查询' } },
{ path: 'sgnswt', component: Sgnswt, name: 'Sgnswt', meta: { keepAlive: true, title: '手工拟报' } },
{ path: 'feecon', component: Feecon, name: 'Feecon', meta: { keepAlive: true, title: '收费优惠明细查询' } },
{ path: 'fcnopn', component: Fcnopn, name: 'Fcnopn', meta: { keepAlive: true, title: '分离式保函协议签署' } },
{ path: 'fcncan', component: Fcncan, name: 'Fcncan', meta: { keepAlive: true, title: '分离式保函协议注销' } },
......
<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="$t('statics.账户类型')">
<c-select v-model="model.eastinf" placeholder="请输入账户类型" :isShowKeyAndLabel="true" dbCode="DSPTRM" :isCache="false" style="width: 100%">
<!-- <el-option value="0" label="待核查帐户" />
<el-option value="1" label="国结专户" />
<el-option value="2" label="暂收款项账" />:filterKey="['L','G','C','O']"
<el-option value="3" label="通过Nostro付款" />
<el-option value="4" label="国际结算临时账" /> -->
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('statics.客户号')">
<c-input v-model.trim="model.cliextkey" maxlength="16" :placeholder="$t('other.请输入') + $t('bus.客户号')"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('statics.机构号')">
<c-input v-model.trim="model.branch" maxlength="16" :placeholder="$t('other.请输入') + $t('bus.机构号')"></c-input>
</el-form-item>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<!-- <c-col :span="8">
<el-form-item :label="$t('statics.借贷记方向')">
<c-select v-model="model.dbtcdt" placeholder="请输入借贷记方向" :isShowKeyAndLabel="true" dbCode="DBTCDF" :isCache="false" style="width: 100%">
</c-select>
</el-form-item>
</c-col> -->
<c-col :span="8">
<el-form-item :label="$t('components.记账日期')" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.dat1" style="width: 100%" :placeholder="$t('other.请选择') + $t('bus.起始日期')" value-format="yyyy-MM-dd"></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.dat2" 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="$t('lc.金额区间')" style="width: 100%">
<c-col :span="11">
<c-input v-model="model.amt1" :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.amt2" :placeholder="$t('lc.请输入金额上限')" style="width: 100%"></c-input>
</c-col>
</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="tableData" style="width:100%" size="small" height="500px" :highlight-current-row="true" :border="true">
<el-table-column :label="$t('bus.账户类型')" prop="eastinf" width="200" fixed="left" align="left">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.eastinf" dbCode="DSPTRM"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column :label="$t('bus.关联业务编号')" prop="ownref" align="left" width="200">
</el-table-column>
<el-table-column :label="$t('bus.币种')" prop="cur" align="left" width="100">
</el-table-column>
<el-table-column :label="$t('bus.金额')" prop="amt" align="left" width="100">
<template slot-scope="scope">
<span> {{moneyFormat(scope.row.amt, scope.row.cur) }}
</span>
</template>
</el-table-column>
<el-table-column :label="$t('bus.记账时间')" prop="bucdat" align="left" width="200">
</el-table-column>
<el-table-column :label="$t('bus.客户号')" prop="cliextkey" align="left" width="200">
</el-table-column>
<el-table-column :label="$t('bus.客户名称')" prop="nam" align="left" width="200">
</el-table-column>
<el-table-column :label="$t('bus.机构号')" prop="branch" align="left" width="200">
</el-table-column>
<el-table-column :label="$t('bus.机构名称')" prop="bchname" align="left" width="200">
</el-table-column>
<el-table-column :label="$t('bus.借贷记方向')" prop="dbtcdt" align="left">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.dbtcdt" dbCode="DBTCDF"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column :label="$t('bus.账号')" prop="peeact" align="left" width="200">
</el-table-column>
</el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total" :page-size="pagination.pageSize" :current-page="pagination.pageNum" @size-change="handleSizeChange" @current-change="currentChange">
</el-pagination>
</c-col>
</el-col>
</div>
</template>
<script>
import Api from '~/service/Api';
import Utils from "~/utils"
export default {
data() {
return {
activeTab: 'bs',
load: false,
pagination: {
pageNum: 1,
pageSize: 10,
total: 0
},
model: {
cod: null
},
tableData: []
};
},
created() {
// this.handleSearch()
},
methods: {
//查询列表
async handleSearch() {
//查询接口
this.load = true;
const res = await Api.post('/webapi/public/glesel/list', this.model);
if (res.respCode === SUCCESS) {
this.tableData = res.data.list;
this.pagination.total = parseInt(res.data.total) || 0;
}
this.load = false;
},
formSubmit() {
this.handleSearch();
},
handleReset() {
this.model.seaownref = ""
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
async currentChange(num) {
this.pagination.pageNum = num;
this.handleSearch();
},
},
};
</script>
<style scoped>
.table-button-item-list {
padding: 0;
margin: 0;
}
.table-button-item-list li {
list-style: none;
padding: 5px 0;
text-align: center;
color: #606266;
cursor: pointer;
}
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page :title="$t('statics.账务明细查询')">
<el-form ref="modelForm" label-width="120px" label-position="right" size="small">
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane :label="$t('statics.查询')" name="infsea">
<c-content>
<m-infsea ref="infsea" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Infsea from "./Infsea";
export default {
name: "Glesel",
components: {
"m-infsea": Infsea,
},
data() {
return {
tabVal: "infsea",
};
},
};
</script>
<style></style>
import Api from '~/service/Api';
import commonFunctions from '~/mixin/commonFunctions.js';
import operationFunc from '../../../../mixin/operationFunc';
export default {
mixins: [commonFunctions, operationFunc],
methods: {
formSubmit() {
this.handleSearch();
},
currentChange(num) {
this.pagination.pageNum = num;
this.formSubmit();
},
handleSearch() {
// 前端检验
this.$refs["limp0Form"].validate((valid) => {
if (valid) {
const loading = this.loading();
Api.post("/webapi/business/inflsb/queryInflsb", {
...this.model,
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize
}).then(rtnmsg => {
loading.close();
if (rtnmsg.respCode == SUCCESS) {
this.feptableData = rtnmsg.data;
this.pagination = {
pageNum: rtnmsg.data.pageNum || 1,
pageSize: rtnmsg.data.pageSize || 10,
total: rtnmsg.data.total
};
}
})
} else {
// 前端校验失败
this.$notify({
title: this.$t('bus.失败'),
message: this.$t('bus.校验失败'),
type: 'error',
});
return false;
}
});
},
async handleSearch1() {
// 前端检验
this.$refs["limp1Form"].validate((valid) => {
if (valid) {
const loading = this.loading();
Api.post("/webapi/business/inflsb/queryInflsb1", {
...this.model,
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize
}).then(rtnmsg => {
loading.close();
if (rtnmsg.respCode == SUCCESS) {
this.feptableData1 = rtnmsg.data;
this.pagination = {
pageNum: rtnmsg.data.pageNum || 1,
pageSize: rtnmsg.data.pageSize || 10,
total: rtnmsg.data.total
};
}
})
} else {
// 前端校验失败
this.$notify({
title: this.$t('bus.失败'),
message: this.$t('bus.校验失败'),
type: 'error',
});
return false;
}
});
},
async handleSearch2() {
const loading = this.loading();
let rtnmsg = await Api.post("/webapi/business/inflsb/queryInflsb2", {
...this.model,
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize
});
if (rtnmsg.respCode == SUCCESS) {
this.feptableData2 = rtnmsg.data;
this.pagination = {
pageNum: rtnmsg.data.pageNum || 1,
pageSize: rtnmsg.data.pageSize || 10,
total: rtnmsg.data.total
};
}
loading.close();
},
// 获取记账机构下拉列表
async queryOrgList() {
const loading = this.loading();
let res = await Api.post('/webapi/business/userinfo/user/getAccBchList', {
bchkeyinr: this.model.limpan.branch
});
loading.close();
if (res.respCode === SUCCESS) {
this.model.markOrgList = res.data;
if (this.model.markOrgList.length == 1) {
this.model.limpan.branch = this.model.markOrgList[0].inr;
}
}
},
onLimsta(){
let modifyList = this.model.limpan.modifySet
if (!modifyList || (!!modifyList && !modifyList.includes('limpan.limsta'))) {
this.model.limpan.limsta = '01'
}
},
onPtytyp(){
if(this.model.limpan.ptytyp == '1'){
this.model.limpan.swiftno=""
}
this.$nextTick(() => {
this.$refs['limp0Form'].validateField(['limpan.branch']);
})
},
onPtynam(){
const loading = this.loading();
Api.post("/webapi/business/inflsb/queryNam", {...this.model}).then(rtnmsg => {
loading.close();
if (rtnmsg.respCode == SUCCESS) {
this.model.limpan.ptyname = rtnmsg.data;
}
})
},
onExtkey(){
this.onPtynam(),
this.$nextTick(() => {
this.$refs['limp0Form'].validateField(['limpan.ownref','limpan.swiftno']);
})
},
onOwnref(){
this.$nextTick(() => {
this.$refs['limp0Form'].validateField(['limpan.extkey','limpan.swiftno']);
})
},
onSwifino(){
this.onPtynam(),
this.$nextTick(() => {
this.$refs['limp0Form'].validateField(['limpan.extkey','limpan.ownref']);
})
}
}
};
/**
* inflsb Check规则
*/
export default {
data(){
return {
rules:{
"limpan.gjownref": [
{ required: true, message: this.$t('bus.必输项') }
],
"limpan.ptytyp": [
{ required: true, message: this.$t('bus.必输项') }
],
"limpan.nonrevflg": [
{ required: true, message: this.$t('bus.必输项') }
],
"limpan.branch": [
{
validator: (rule, value, callback) => {
if (this.model.limpan.ptytyp=='1') {
if (!this.model.limpan.branch) {
callback(new Error('必输项'))
} else {
callback()
}
} else {
callback()
}
},
trigger: ['change', 'blur']
}
],
"limpan.extkey": [
{
validator: (rule, value, callback) => {
if ((this.model.limpan.ptytyp == '1' && !this.model.limpan.extkey && !this.model.limpan.ownref) || (this.model.limpan.ptytyp == '2' && !this.model.limpan.extkey && !this.model.limpan.ownref && !this.model.limpan.swiftno)) {
callback(new Error('必输项'))
} else {
callback()
}
},
trigger: ['change', 'blur']
}
],
"limpan.swiftno": [
{
validator: (rule, value, callback) => {
if (this.model.limpan.ptytyp == '2' && !this.model.limpan.extkey && !this.model.limpan.ownref && !this.model.limpan.swiftno) {
callback(new Error('必输项'))
} else {
callback()
}
},
trigger: ['change', 'blur']
}
],
"limpan.ownref": [
{
validator: (rule, value, callback) => {
if (!!this.model.limpan.ptytyp && !this.model.limpan.extkey && !this.model.limpan.ownref && !this.model.limpan.swiftno) {
callback(new Error('必输项'))
} else {
callback()
}
},
trigger: ['change', 'blur']
}
],
}
}
}
}
export default class Sgnswt {
constructor() {
this.data = {
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<iframe style="width: 100%;min-height: 700px;height: 98%;" src="http://114.115.138.98:8334/swifteditor#/entry/admin" frameborder="0"></iframe>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import event from "../event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [event],
data() {
return {
}
},
computed: {
},
methods: {
},
mounted() {
},
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-page :title="$t('bus.手工拟报')">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane :label="$t('bus.手工拟报')" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Sgnswt from "../model";
import Ovwp from "./Ovwp";
import event from "../event";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
export default {
name: "sgnswt",
components: {
"m-ovwp": Ovwp,
},
provide() {
return {
root: this,
activeNames: ["ovwp"]
};
},
mixins: [operationFunc, event, commonDepend],
data() {
return {
tabVal: "ovwp",
trnName: "sgnswt",
model: new Sgnswt().data,
codes: {
...CodeTable
},
};
},
methods:{
},
};
</script>
<style scoped>
.eContainer {
padding-top: 20px !important;
}
</style>
import Api from "~/service/Api";
import moment from "moment";
export default {
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;
}
},
};
import Utils from "~/utils"
/**
* Batchg Check规则
*/
let checkObj = {
"batp.refback" :null,
"batp.ptpmod.pty.extkey" :null,
"batp.ref" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Batchg Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onPtpmodSel(){
let rtnmsg = await this.executeRule("ptpmod.sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSel(){
let rtnmsg = await this.executeRule("sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onReset(){
let rtnmsg = await this.executeRule("reset")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBatpJmpbat(){
let rtnmsg = await this.executeRule("batp.jmpbat")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBatpAllcck(){
let rtnmsg = await this.executeRule("batp.allcck")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBatpClrchk(){
let rtnmsg = await this.executeRule("batp.clrchk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"batp.dat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"batp.datd":[
{type: "date", required: false, message: "输入正确的日期"}
],
"batp.ptpmod.pty.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"batp.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"batp.amtd":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"batp.ref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"batp.refback":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"batp.inf":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item :label="$t('batp.LT000004')" prop="batp.dat">
<c-date-picker type="date" v-model="model.batp.dat" style="width:100%" :placeholder="$t('other.please_enter')+$t('batp.LT000004')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000004 : 起息日起始 -->
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.batgrp.dotlst"
style="width: 100%"
>
<el-table-column
prop="chk"
label="选中"
sortable
width="40">
</el-table-column>
<el-table-column
prop="valdat"
label="起息日"
sortable
width="100">
</el-table-column>
<el-table-column
prop="actbic"
label="账户行"
sortable
width="120">
</el-table-column>
<el-table-column
prop="dcflg"
label="借贷"
sortable
width="60">
<template slot-scope="scope">
<span>{{ this.codes.sdcflg.find(item=>item.value==scope.row.dcflg).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="ownref"
label="参考号/前"
sortable
width="130">
</el-table-column>
<el-table-column
prop="othref"
label="参考号/后"
sortable
width="130">
</el-table-column>
<el-table-column
prop="amt"
label="金额"
sortable
width="140">
</el-table-column>
<el-table-column
prop="cur"
label="币种"
sortable
width="60">
</el-table-column>
<el-table-column
prop="sta"
label="关联状态"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.sta.find(item=>item.value==scope.row.sta).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="offsta"
label="勾销状态"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.offsta.find(item=>item.value==scope.row.offsta).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="recsta"
label="记账状态"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.batcharge.find(item=>item.value==scope.row.recsta).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="typ"
label="记账类型"
sortable
width="130">
<template slot-scope="scope">
<span>{{ this.codes.kpatyp.find(item=>item.value==scope.row.typ).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="lstdat"
label="最后处理时间"
sortable
width="100">
</el-table-column>
<el-table-column
prop="inf"
label="详细信息"
sortable
width="300">
<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="BIC 码" prop="msgtyp" style="width: 100%">
<c-select v-model="model.batp.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="起息日" prop="rcvdatsta" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.batp.dat" 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.batp.datd" 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%">
<c-select v-model="model.batp.dc" style="width:100%" placeholder="请选择借贷">
<el-option
v-for="item in codes.sdcflg"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-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="币 种" prop="sndbak" style="width: 100%">
<c-input v-model="model.batp.cur" 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.batp.amt" 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.batp.amtd" 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-select v-model="model.batp.sta" style="width:100%" placeholder="请输入关联状态">
<el-option
v-for="item in codes.sta"
: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="othref" style="width: 100%">
<c-select v-model="model.batp.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 :span="8">
<el-form-item label="记帐状态" prop="cur" style="width: 100%">
<c-select v-model="model.batp.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="act" style="width: 100%">
<c-input v-model="model.batp.ref" maxlength="16" placeholder="请输入参考号/前"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="参考号/后" prop="dtlchg" style="width: 100%">
<c-input v-model="model.batp.refback" maxlength="16" placeholder="请输入参考号/后"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="详 情" prop="sta" style="width: 100%">
<c-input v-model="model.batp.inf" style="width: 100%" placeholder="请输入详情"/>
</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
prop="rsptim"
label="收发时间"
sortable
width="120">
<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="prev, pager, next"
:total="1">
<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>
</div>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('batp.LT000005')" prop="batp.datd">
<c-date-picker type="date" v-model="model.batp.datd" style="width:100%" :placeholder="$t('other.please_enter')+$t('batp.LT000005')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000005 : 起息日截止 -->
<c-col :span="12">
<c-form-item :label="$t('batp.LT000624')" prop="batp.ptpmod.pty.extkey">
<c-input v-model="model.batp.ptpmod.pty.extkey" maxlength="24" :placeholder="$t('other.please_enter')+$t('batp.LT000624')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onPtpmodSel">
{{$t('ptpmod.BT000071')}}
</c-button>
</c-col>
<!-- LT000624 : BIC 码 -->
<c-col :span="12">
<el-form-item :label="$t('batp.LT000625')" prop="batp.dc">
<c-select v-model="model.batp.dc" style="width:100%" :placeholder="$t('other.please_enter')+$t('batp.LT000625')">
<el-option
v-for="item in codes.sdcflg"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000625 : 借 贷 -->
<c-col :span="12">
<el-form-item :label="$t('batp.LT000008')" prop="batp.cur">
<c-select v-model="model.batp.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('batp.LT000008')">
</c-select>
</el-form-item>
</c-col>
<!-- LT000008 : 币 种 -->
<c-col :span="12">
<c-form-item :label="$t('batp.LT000197')" prop="batp.amt">
<c-input v-model="model.batp.amt" :placeholder="$t('other.please_enter')+$t('batp.LT000197')"></c-input>
</c-form-item>
</c-col>
<!-- LT000197 : 金额下限 -->
<c-col :span="12">
<c-form-item :label="$t('batp.LT000198')" prop="batp.amtd">
<c-input v-model="model.batp.amtd" :placeholder="$t('other.please_enter')+$t('batp.LT000198')"></c-input>
</c-form-item>
</c-col>
<!-- LT000198 : 金额上限 -->
<c-col :span="12">
<el-form-item :label="$t('batp.LT000192')" prop="batp.sta">
<c-select v-model="model.batp.sta" style="width:100%" :placeholder="$t('other.please_enter')+$t('batp.LT000192')">
<el-option
v-for="item in codes.sta"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000192 : 关联状态 -->
<c-col :span="12">
<el-form-item :label="$t('batp.LT000193')" prop="batp.offsta">
<c-select v-model="model.batp.offsta" style="width:100%" :placeholder="$t('other.please_enter')+$t('batp.LT000193')">
<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>
<!-- LT000193 : 勾销状态 -->
<c-col :span="12">
<el-form-item :label="$t('batp.LT000356')" prop="batp.recsta">
<c-select v-model="model.batp.recsta" style="width:100%" :placeholder="$t('other.please_enter')+$t('batp.LT000356')">
<el-option
v-for="item in codes.batcharge"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000356 : 记帐状态 -->
<c-col :span="12">
<c-form-item :label="$t('batp.LT000195')" prop="batp.ref">
<c-input v-model="model.batp.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('batp.LT000195')"></c-input>
</c-form-item>
</c-col>
<!-- LT000195 : 参考号/前 -->
<c-col :span="12">
<c-form-item :label="$t('batp.LT000196')" prop="batp.refback">
<c-input v-model="model.batp.refback" maxlength="16" :placeholder="$t('other.please_enter')+$t('batp.LT000196')"></c-input>
</c-form-item>
</c-col>
<!-- LT000196 : 参考号/后 -->
<c-col :span="12">
<c-form-item :label="$t('batp.LT000622')" prop="batp.inf">
<c-input v-model="model.batp.inf" maxlength="25" :placeholder="$t('other.please_enter')+$t('batp.LT000622')"></c-input>
</c-form-item>
</c-col>
<!-- LT000622 : 详 情 -->
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSel">
{{$t('mtabut.BT000022')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onReset">
{{$t('mtabut.BT000023')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBatpJmpbat">
{{$t('batp.BT000009')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBatpAllcck">
{{$t('batp.BT000613')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBatpClrchk">
{{$t('batp.BT000614')}}
</c-button>
</c-col>
</el-tab-pane>
</el-tabs>
</c-col>
</div>
</el-col>
</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 {
}
},
methods:{...Event},
created:function(){
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeTab: 'sb',
load: false,
subtypCodes: [],
multipleSelection:[],
stmData: {
columns: [
{
label: "选中",
prop: "chk",
width: "180px"
},
{
label: "起息日",
prop: "valdat",
width: "180px"
},
{
label: "账户行",
prop: "actbic",
width: "120px"
},
{
label: "借贷",
prop: "dcflg",
width: "120px"
},
{
label: "参考号/前",
prop: "ownref",
width: "120px"
},
{
label: "参考号/后",
prop: "othref",
width: "120px"
},
{
label: "金额",
prop: "amt",
width: "120px"
},
{
label: "币种",
prop: "cur",
width: "120px"
},
{
label: "关联状态",
prop: "sta",
width: "120px"
},
{
label: "勾销状态",
prop: "offsta",
width: "120px"
},
{
label: "记账状态",
prop: "recsta",
width: "120px"
},
{
label: "记账类型",
prop: "typ",
width: "250px"
},
{
label: "最后处理时间",
prop: "lstdat",
width: "150px"
},
{
label: "详细信息",
prop: "inf",
width: "150px"
},
{
label: "收发时间",
prop: "rsptim",
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;
}
}
},
methods: {},
mounted: function () {
},
};
</script>
<style>
<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">
<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">
<!--batp PD000000 批量记账主面板 -->
<el-tab-pane :label="$t('batp.PD000000')" name="batmainp">
<m-batmainp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
<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-batmainp :model="model" :codes="codes" ref="batmainp"/>
</c-content>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Batchg from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Batmainp from "./Batmainp"
import CodeTable from "~/config/CodeTable";
import Batchg from "../model";
import event from "../event"
import Batmainp from "./Batmainp.vue"
export default {
name: "Batchg",
components:{
"m-batmainp" : Batmainp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "batmainp",
trnName: "batchg",
trnType: "",
model: new Batchg().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入batchg交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
name: "Batchg",
components:{
"m-batmainp" : Batmainp,
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
provide() {
return {
root: this
}
}
},
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "batmainp",
trnName: "batchg",
model: new Batchg().data,
rules: null,
codes:{...CodeTable},
};
},
methods:{},
created:async function() {},
};
</script>
<style>
<style scoped>
</style>
import Api from "~/service/Api";
import moment from "moment";
export default {
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;
}
},
};
import Utils from "~/utils"
/**
* Oftame Check规则
*/
let checkObj = {
"oftp.ptpmod.pty.extkey" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Oftame Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onPtpmodSel(){
let rtnmsg = await this.executeRule("ptpmod.sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOftpSer1(){
let rtnmsg = await this.executeRule("oftp.ser1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOftpClr(){
let rtnmsg = await this.executeRule("oftp.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOftpCalsub(){
let rtnmsg = await this.executeRule("oftp.calsub")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOftpMankpa(){
let rtnmsg = await this.executeRule("oftp.mankpa")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOftpBatchacc(){
let rtnmsg = await this.executeRule("oftp.batchacc")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOftpPagechk(){
let rtnmsg = await this.executeRule("oftp.pagechk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOftpCalchk(){
let rtnmsg = await this.executeRule("oftp.calchk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"oftp.ptpmod.pty.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.valdats":[
{type: "date", required: false, message: "输入正确的日期"}
],
"oftp.valdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"oftp.amtd":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oftp.amtu":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oftp.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.othref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.inf":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.offdatbeg":[
{type: "date", required: false, message: "输入正确的日期"}
],
"oftp.offdatend":[
{type: "date", required: false, message: "输入正确的日期"}
],
"oftp.opusr":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.offrsn":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.oftgrp.lst"
style="width: 100%"
>
<el-table-column
prop="rsptim"
label="收发日期"
sortable
width="100">
</el-table-column>
<el-table-column
prop="valdat"
label="起息日"
sortable
width="100">
</el-table-column>
<el-table-column
prop="accdat"
label="记账日期"
sortable
width="100">
</el-table-column>
<el-table-column
prop="recsta"
label="记账状态"
sortable
width="120">
<template slot-scope="scope">
<span>{{ this.codes.recsta.find(item=>item.value==scope.row.recsta).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="kpatyp"
label="记账类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="offdc"
label="收支/借贷"
sortable
width="100">
</el-table-column>
<el-table-column
prop="offamt"
label="金额"
sortable
width="130">
</el-table-column>
<el-table-column
prop="offcur"
label="币种"
sortable
width="60">
</el-table-column>
<el-table-column
prop="ownref"
label="参考号/前"
sortable
width="130">
</el-table-column>
<el-table-column
prop="othref"
label="参考号/后"
sortable
width="130">
</el-table-column>
<el-table-column
prop="inf"
label="详细信息"
sortable
width="300">
</el-table-column>
<el-table-column
prop="oppbic"
label="账户行"
sortable
width="120">
</el-table-column>
<el-table-column
prop="opusr"
label="勾销操作员"
sortable
width="100">
</el-table-column>
<el-table-column
prop="offdat"
label="勾销日期"
sortable
width="100">
</el-table-column>
<el-table-column
prop="offtyp"
label="勾销类型"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.offtyp.find(item=>item.value==scope.row.offtyp).label }}</span>
</template>
<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="账户行BIC" prop="msgtyp" style="width: 100%">
<c-select v-model="model.oftp.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="起息日" prop="rcvdatsta" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.oftp.valdats" 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.oftp.valdate" 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%">
<c-select v-model="model.oftp.dcflg2" style="width:100%" placeholder="选择借贷">
<el-option
v-for="item in codes.sdcflg"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-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="币 种" prop="sndbak" style="width: 100%">
<c-select v-model="model.oftp.cur" style="width:100%" placeholder="请选择币种">
<el-option
v-for="item in codes.cur"
: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="revbak" style="width: 100%">
<c-input v-model="model.oftp.amtd" 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.oftp.amtu" 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-input v-model="model.oftp.ownref" maxlength="40" placeholder="请输入20域编号">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="参考号/后" prop="othref" style="width: 100%">
<c-input v-model="model.oftp.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-input v-model="model.oftp.inf" maxlength="40" style="width: 100%" 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-select v-model="model.oftp.recsta" style="width:100%" placeholder="请选择记账状态">
<el-option
v-for="item in codes.recsta"
: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="dtlchg" style="width: 100%">
<c-select v-model="model.oftp.kpatyp" style="width:100%" placeholder="请选择记账类型">
</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
prop="offrsn"
label="勾销附言"
sortable
width="200">
<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="prev, pager, next"
:total="1">
<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>
</div>
</c-col>
<!-- LT000455 : 账户行BIC -->
<c-col :span="12">
<c-form-item :label="$t('oftp.LT000455')" prop="oftp.ptpmod.pty.extkey">
<c-input v-model="model.oftp.ptpmod.pty.extkey" maxlength="24" :placeholder="$t('other.please_enter')+$t('oftp.LT000455')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onPtpmodSel">
{{$t('ptpmod.BT000071')}}
</c-button>
</c-col>
<!-- LT000204 : 起息日起始 -->
<c-col :span="12">
<el-form-item :label="$t('oftp.LT000204')" prop="oftp.valdats">
<c-date-picker type="date" v-model="model.oftp.valdats" style="width:100%" :placeholder="$t('other.please_enter')+$t('oftp.LT000204')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000205 : 起息日截止 -->
<c-col :span="12">
<el-form-item :label="$t('oftp.LT000205')" prop="oftp.valdate">
<c-date-picker type="date" v-model="model.oftp.valdate" style="width:100%" :placeholder="$t('other.please_enter')+$t('oftp.LT000205')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000460 : 借 贷 -->
<c-col :span="12">
<el-form-item :label="$t('oftp.LT000460')" prop="oftp.dcflg2">
<c-select v-model="model.oftp.dcflg2" style="width:100%" :placeholder="$t('other.please_enter')+$t('oftp.LT000460')">
<el-option
v-for="item in codes.sdcflg"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000208 : 币 种 -->
<c-col :span="12">
<el-form-item :label="$t('oftp.LT000208')" prop="oftp.cur">
<c-select v-model="model.oftp.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('oftp.LT000208')">
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000209 : 金额下限 -->
<c-col :span="12">
<c-form-item :label="$t('oftp.LT000209')" prop="oftp.amtd">
<c-input v-model="model.oftp.amtd" :placeholder="$t('other.please_enter')+$t('oftp.LT000209')"></c-input>
</c-form-item>
</c-col>
<!-- LT000210 : 金额上限 -->
<c-col :span="12">
<c-form-item :label="$t('oftp.LT000210')" prop="oftp.amtu">
<c-input v-model="model.oftp.amtu" :placeholder="$t('other.please_enter')+$t('oftp.LT000210')"></c-input>
</c-form-item>
</c-col>
<!-- LT000206 : 参考号/前 -->
<c-col :span="12">
<c-form-item :label="$t('oftp.LT000206')" prop="oftp.ownref">
<c-input v-model="model.oftp.ownref" maxlength="20" :placeholder="$t('other.please_enter')+$t('oftp.LT000206')"></c-input>
</c-form-item>
</c-col>
<!-- LT000207 : 参考号/后 -->
<c-col :span="12">
<c-form-item :label="$t('oftp.LT000207')" prop="oftp.othref">
<c-input v-model="model.oftp.othref" maxlength="20" :placeholder="$t('other.please_enter')+$t('oftp.LT000207')"></c-input>
</c-form-item>
</c-col>
<!-- LT000469 : 详细信息 -->
<c-col :span="12">
<c-form-item :label="$t('oftp.LT000469')" prop="oftp.inf">
<c-input v-model="model.oftp.inf" maxlength="40" :placeholder="$t('other.please_enter')+$t('oftp.LT000469')"></c-input>
</c-form-item>
</c-col>
<!-- LT000203 : 记账状态 -->
<c-col :span="12">
<el-form-item :label="$t('oftp.LT000203')" prop="oftp.recsta">
<c-select v-model="model.oftp.recsta" style="width:100%" :placeholder="$t('other.please_enter')+$t('oftp.LT000203')">
<el-option
v-for="item in codes.recsta"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000462 : 记账类型 -->
<c-col :span="12">
<el-form-item :label="$t('oftp.LT000462')" prop="oftp.kpatyp">
<c-select v-model="model.oftp.kpatyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('oftp.LT000462')">
</c-select>
</el-form-item>
</c-col>
<!-- LT000612 : 勾销类型 -->
<c-col :span="12">
<el-form-item :label="$t('oftp.LT000612')" prop="oftp.offtyp">
<c-select v-model="model.oftp.offtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('oftp.LT000612')">
<el-option
v-for="item in codes.offtyp"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000465 : 勾销日期起始 -->
<c-col :span="12">
<el-form-item :label="$t('oftp.LT000465')" prop="oftp.offdatbeg">
<c-date-picker type="date" v-model="model.oftp.offdatbeg" style="width:100%" :placeholder="$t('other.please_enter')+$t('oftp.LT000465')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000466 : 勾销日期截止 -->
<c-col :span="12">
<el-form-item :label="$t('oftp.LT000466')" prop="oftp.offdatend">
<c-date-picker type="date" v-model="model.oftp.offdatend" style="width:100%" :placeholder="$t('other.please_enter')+$t('oftp.LT000466')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000457 : 勾销操作员 -->
<c-col :span="12">
<c-form-item :label="$t('oftp.LT000457')" prop="oftp.opusr">
<c-input v-model="model.oftp.opusr" maxlength="20" :placeholder="$t('other.please_enter')+$t('oftp.LT000457')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('oftp.LT000459')" prop="oftp.offrsn">
<c-input type="textarea" v-model="model.oftp.offrsn" maxlength="200" show-word-limit :placeholder="$t('other.please_enter')+$t('oftp.LT000459')" ></c-input>
</c-form-item>
</el-tab-pane>
</el-tabs>
</c-col>
<!-- LT000459 : 勾销附言 -->
<c-col :span="12">
<c-button size="small" type="primary" @click="onOftpSer1">
{{$t('oftp.BT000213')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOftpClr">
{{$t('oftp.BT000214')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOftpCalsub">
{{$t('oftp.BT000401')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOftpMankpa">
{{$t('oftp.BT000414')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOftpBatchacc">
{{$t('oftp.BT000557')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOftpPagechk">
{{$t('oftp.BT000583')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOftpCalchk">
{{$t('oftp.BT000584')}}
</c-button>
</c-col>
</div>
</el-col>
</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 {
}
},
methods:{...Event},
created:function(){
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeTab: 'sb',
load: false,
subtypCodes: [],
multipleSelection:[],
stmData: {
columns: [
{
label: "选中",
prop: "chk",
width: "180px"
},
{
label: "起息日",
prop: "valdat",
width: "180px"
},
{
label: "账户行",
prop: "actbic",
width: "120px"
},
{
label: "借贷",
prop: "dcflg",
width: "120px"
},
{
label: "参考号/前",
prop: "ownref",
width: "120px"
},
{
label: "参考号/后",
prop: "othref",
width: "120px"
},
{
label: "金额",
prop: "amt",
width: "120px"
},
{
label: "币种",
prop: "cur",
width: "120px"
},
{
label: "关联状态",
prop: "sta",
width: "120px"
},
{
label: "勾销状态",
prop: "offsta",
width: "120px"
},
{
label: "记账状态",
prop: "recsta",
width: "120px"
},
{
label: "记账类型",
prop: "typ",
width: "250px"
},
{
label: "最后处理时间",
prop: "lstdat",
width: "150px"
},
{
label: "详细信息",
prop: "inf",
width: "150px"
},
{
label: "收发时间",
prop: "rsptim",
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;
}
}
},
methods: {},
mounted: function () {
},
};
</script>
<style>
<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">
<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">
<!--oftp PD000058 人工勾销修改页面oftame -->
<el-tab-pane :label="$t('oftp.PD000058')" name="oftp2">
<m-oftp2 :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
<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-oftp2 :model="model" :codes="codes" ref="oftp2"/>
</c-content>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Oftame from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Oftp2 from "./Oftp2"
import CodeTable from "~/config/CodeTable";
import Oftame from "../model";
import event from "../event"
import Oftp2 from "./Oftp2.vue"
export default {
name: "Oftame",
components:{
"m-oftp2" : Oftp2,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "oftp2",
trnName: "oftame",
trnType: "",
model: new Oftame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
kpatyp:CodeTable.kpatyp,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
gpicod:CodeTable.gpicod,
offtyp:CodeTable.offtyp,
fmssta:CodeTable.fmssta,
clrsys:CodeTable.clrsys,
stacod:CodeTable.stacod,
recsta:CodeTable.recsta,
bnksta:CodeTable.bnksta,
gpista:CodeTable.gpista,
kpadir:CodeTable.kpadir,
area:CodeTable.area,
cpsfxdtyp:CodeTable.cpsfxdtyp,
rspsta:CodeTable.rspsta,
sta:CodeTable.sta,
actsta:CodeTable.actsta,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
filtyp:CodeTable.filtyp,
dircod:CodeTable.dircod,
kpstyp:CodeTable.kpstyp,
dcflg:CodeTable.dcflg,
msgtyp:CodeTable.msgtyp,
chncod:CodeTable.chncod,
msgsta:CodeTable.msgsta,
usratr:CodeTable.usratr,
msgchksta:CodeTable.msgchksta,
setmth:CodeTable.setmth,
chniptcod:CodeTable.chniptcod,
dtlchg:CodeTable.dtlchg,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入oftame交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
name: "Oftame",
components:{
"m-oftp2" : Oftp2,
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
provide() {
return {
root: this
}
}
},
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "oftp2",
trnName: "oftame",
model: new Oftame().data,
rules: null,
codes:{...CodeTable},
};
},
methods:{},
created:async function() {},
};
</script>
<style>
<style scoped>
</style>
import Api from "~/service/Api";
import moment from "moment";
export default {
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;
}
},
};
<template>
<div class="eibs-tab">
<!-- LT001833 : 相关记录信息展示如下: -->
<!-- LT001897 : 起息日 -->
<c-col :span="12">
<span v-text="model.oftgrp.dot.valdat" data-path=".oftgrp.dot.valdat" > </span>
</c-col>
<!-- LT001896 : 账户行 -->
<c-col :span="12">
<span v-text="model.oftgrp.dot.actbic" data-path=".oftgrp.dot.actbic" > </span>
</c-col>
<!-- LT001898 : 收发日期 -->
<c-col :span="12">
<span v-text="model.oftgrp.dot.rsptim" data-path=".oftgrp.dot.rsptim" > </span>
</c-col>
<!-- LT001893 : 报文类型 -->
<c-col :span="12">
<span v-text="model.oftgrp.dot.mty" data-path=".oftgrp.dot.mty" > </span>
</c-col>
<!-- LT001895 : 关联类型 -->
<c-col :span="12">
<span v-text="model.oftgrp.dot.objtyp" data-code="dottyp" data-path=".oftgrp.dot.objtyp" > </span>
</c-col>
<!-- LT001885 : 金 额 -->
<c-col :span="12">
<span v-text="model.oftgrp.dot.amt" data-path=".oftgrp.dot.amt" > </span>
</c-col>
<!-- LT001887 : 收 支 -->
<c-col :span="12">
<span v-text="model.oftgrp.dot.dcflg" data-code="dcflg" data-path=".oftgrp.dot.dcflg" > </span>
</c-col>
<!-- LT001884 : 币 种 -->
<c-col :span="12">
<span v-text="model.oftgrp.dot.cur" data-path=".oftgrp.dot.cur" > </span>
</c-col>
<!-- LT001890 : 状 态 -->
<c-col :span="12">
<span v-text="model.oftgrp.dot.sta" data-code="sta" data-path=".oftgrp.dot.sta" > </span>
</c-col>
<!-- LT001892 : 勾销标志 -->
<c-col :span="12">
<span v-text="model.oftgrp.dot.offsta" data-code="offsta" data-path=".oftgrp.dot.offsta" > </span>
</c-col>
<!-- LT001894 : 记帐状态 -->
<c-col :span="12">
<span v-text="model.oftgrp.dot.recsta" data-code="batcharge" data-path=".oftgrp.dot.recsta" > </span>
</c-col>
<!-- LT001888 : 参考号/前 -->
<c-col :span="12">
<span v-text="model.oftgrp.dot.ownref" data-path=".oftgrp.dot.ownref" > </span>
</c-col>
<!-- LT001889 : 参考号/后 -->
<c-col :span="12">
<span v-text="model.oftgrp.dot.othref" data-path=".oftgrp.dot.othref" > </span>
</c-col>
<!-- LT001899 : 详细信息 -->
<c-col :span="12">
<span v-text="model.oftgrp.dot.inf" data-path=".oftgrp.dot.inf" > </span>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.oftgrp.dotlst"
style="width: 100%"
>
<el-table-column
prop="valdat"
label="起息日"
sortable
width="120">
</el-table-column>
<el-table-column
prop="dcflg"
label="借贷"
sortable
width="50">
<template slot-scope="scope">
<span>{{ this.codes.dcflg.find(item=>item.value==scope.row.dcflg).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="ownref"
label="参考号/前"
sortable
width="140">
</el-table-column>
<el-table-column
prop="othref"
label="参考号/后"
sortable
width="140">
</el-table-column>
<el-table-column
prop="sta"
label="关联状态"
sortable
width="110">
<template slot-scope="scope">
<span>{{ this.codes.sta.find(item=>item.value==scope.row.sta).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="typ"
label="记账类型"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.kpatyp.find(item=>item.value==scope.row.typ).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="offsta"
label="勾销状态"
sortable
width="110">
<template slot-scope="scope">
<span>{{ this.codes.offsta.find(item=>item.value==scope.row.offsta).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="recsta"
label="记账状态"
sortable
width="130">
<template slot-scope="scope">
<span>{{ this.codes.batcharge.find(item=>item.value==scope.row.recsta).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="mty"
label="报文类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="amt"
label="金额"
sortable
width="150">
</el-table-column>
<el-table-column
prop="cur"
label="币种"
sortable
width="60">
</el-table-column>
<el-table-column
prop="objtyp"
label="产生类型"
sortable
width="130">
<template slot-scope="scope">
<span>{{ this.codes.dottyp.find(item=>item.value==scope.row.objtyp).label }}</span>
</template>
</el-table-column>
<el-table-column
prop="actbic"
label="账户行"
sortable
width="130">
</el-table-column>
<el-table-column
prop="revbak"
label="收报行"
sortable
width="120">
<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.oftgrp.dot.cur" style="width: 100%" placeholder="请选择币种" :code="codes.cur">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="金额" prop="rcvdatsta" style="width: 100%">
<c-input v-model="model.oftgrp.dot.amt" maxlength="40" placeholder="请输入金额"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="报文类型" prop="subtype" style="width: 100%">
<c-select v-model="model.oftgrp.dot.mty" style="width: 100%" placeholder="请选择报文类型" :code="codes.mty">
</c-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
</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
prop="sedbak"
label="发报行"
sortable
width="130">
<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="prev, pager, next"
:total="1">
<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>
</div>
</c-col>
<!-- LT001960 : 请输入挂账附言: -->
<c-col :span="12">
<c-form-item label="挂账附言" prop="oftp.hngfuyan">
<c-input type="textarea" v-model="model.oftp.hngfuyan" maxlength="66" show-word-limit :placeholder="$t('other.please_enter')+'挂账附言'" ></c-input>
</c-form-item>
</el-tab-pane>
</el-tabs>
</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="onOftpRtn">
{{$t('oftp.BT001827')}}
</c-button>
</c-col>
</div>
</el-col>
</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 {
}
},
methods:{...Event},
created:function(){
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeTab: 'sb',
load: false,
subtypCodes: [],
multipleSelection:[],
stmData: {
columns: [
{
label: "选中",
prop: "chk",
width: "180px"
},
{
label: "起息日",
prop: "valdat",
width: "180px"
},
{
label: "账户行",
prop: "actbic",
width: "120px"
},
{
label: "借贷",
prop: "dcflg",
width: "120px"
},
{
label: "参考号/前",
prop: "ownref",
width: "120px"
},
{
label: "参考号/后",
prop: "othref",
width: "120px"
},
{
label: "金额",
prop: "amt",
width: "120px"
},
{
label: "币种",
prop: "cur",
width: "120px"
},
{
label: "关联状态",
prop: "sta",
width: "120px"
},
{
label: "勾销状态",
prop: "offsta",
width: "120px"
},
{
label: "记账状态",
prop: "recsta",
width: "120px"
},
{
label: "记账类型",
prop: "typ",
width: "250px"
},
{
label: "最后处理时间",
prop: "lstdat",
width: "150px"
},
{
label: "详细信息",
prop: "inf",
width: "150px"
},
{
label: "收发时间",
prop: "rsptim",
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;
}
}
},
methods: {},
mounted: function () {
},
};
</script>
<style>
<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>
import Api from "~/service/Api";
import moment from "moment";
export default {
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;
}
},
};
import Utils from "~/utils"
/**
* Smdsel Check规则
*/
let checkObj = {
"smdp.smdsup.ptpmod.pty.extkey" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Smdsel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onPtpmodSel(){
let rtnmsg = await this.executeRule("ptpmod.sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRtn(){
let rtnmsg = await this.executeRule("rtn")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmdsupAllchk(){
let rtnmsg = await this.executeRule("smdsup.allchk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmdsupOpp(){
let rtnmsg = await this.executeRule("smdsup.opp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmdsupPaglok(){
let rtnmsg = await this.executeRule("smdsup.paglok")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmdsupMsglok(){
let rtnmsg = await this.executeRule("smdsup.msglok")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmdsupSel(){
let rtnmsg = await this.executeRule("smdsup.sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmdsupClr(){
let rtnmsg = await this.executeRule("smdsup.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"smdp.smdsup.ptpmod.pty.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smdp.smdsup.ptpmod.pty.chnnam":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smdp.smdsup.act":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smdp.smdsup.begamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"smdp.smdsup.endamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"smdp.smdsup.ref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smdgrp.smdsub.smd.othref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smdp.smdsup.begrevdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"smdp.smdsup.endrevdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"smdp.smdsup.begdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"smdp.smdsup.enddat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"smdgrp.smdsub.smd.busflg":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smdp.smdsup.accdatbeg":[
{type: "date", required: false, message: "输入正确的日期"}
],
"smdp.smdsup.accdatend":[
{type: "date", required: false, message: "输入正确的日期"}
],
"smdp.smdsup.inf":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.smdgrp.smdsub.lst"
style="width: 100%"
>
<el-table-column
prop="chk"
label=""
sortable
width="30">
</el-table-column>
<el-table-column
prop="recdat"
label="收报日期"
sortable
width="90">
</el-table-column>
<el-table-column
prop="valdat"
label="起息日"
sortable
width="90">
</el-table-column>
<el-table-column
prop="accdat"
label="记账日期"
sortable
width="90">
</el-table-column>
<el-table-column
prop="chnnam"
label="账户行"
sortable
width="150">
</el-table-column>
<el-table-column
prop="bic"
label="BIC"
sortable
width="90">
</el-table-column>
<el-table-column
prop="act"
label="帐号"
sortable
width="120">
</el-table-column>
<el-table-column
prop="cur"
label="币种"
sortable
width="40">
</el-table-column>
<el-table-column
prop="dcflg"
label="借贷"
sortable
width="40">
</el-table-column>
<el-table-column
prop="amt"
label="金额"
sortable
width="120">
</el-table-column>
<el-table-column
prop="busflg"
label="业务标识"
sortable
width="80">
</el-table-column>
<el-table-column
prop="ownref"
label="参考号/前"
sortable
width="140">
</el-table-column>
<el-table-column
prop="othref"
label="参考号/后"
sortable
width="140">
</el-table-column>
<el-table-column
prop="inf"
label="详细信息"
sortable
width="250">
</el-table-column>
<el-table-column
prop="pagnum"
label="所属页码"
sortable
width="65">
</el-table-column>
<el-table-column
prop="smtno"
label="所属单编号"
sortable
width="90">
</el-table-column>
<el-table-column
prop="smtref"
label="对账单参考号"
sortable
width="130">
<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="BIC码" prop="msgtyp" style="width: 100%">
<c-input v-model="model.smdp.smdsup.ptpmod.pty.extkey" style="width: 100%" placeholder="请选择BIC码" />
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="帐号" prop="rcvdatsta" style="width: 100%">
<c-input v-model="model.smdp.smdsup.act" style="width: 100%" placeholder="请选择帐号" />
</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">
</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
prop="offsta"
label="勾销状态"
sortable
width="70">
<template slot-scope="scope">
<span>{{ this.codes.offsta.find(item=>item.value==scope.row.offsta).label }}</span>
</template>
<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="prev, pager, next"
:total="1">
<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>
</div>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('smdsup.LT000038')" prop="smdp.smdsup.ptpmod.pty.extkey">
<c-input v-model="model.smdp.smdsup.ptpmod.pty.extkey" maxlength="24" :placeholder="$t('other.please_enter')+$t('smdsup.LT000038')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onPtpmodSel">
{{$t('smdsup.BT000040')}}
</c-button>
</c-col>
<!-- LT000038 : BIC 码 -->
<!-- LT000039 : 账户行名称 -->
<c-col :span="12">
<c-form-item :label="$t('smdsup.LT000039')" prop="smdp.smdsup.ptpmod.pty.chnnam">
<c-input v-model="model.smdp.smdsup.ptpmod.pty.chnnam" maxlength="100" :placeholder="$t('other.please_enter')+$t('smdsup.LT000039')"></c-input>
</c-form-item>
</c-col>
<!-- LT000135 : 帐 号 -->
<c-col :span="12">
<c-form-item :label="$t('smdsup.LT000135')" prop="smdp.smdsup.act">
<c-input v-model="model.smdp.smdsup.act" maxlength="40" :placeholder="$t('other.please_enter')+$t('smdsup.LT000135')"></c-input>
</c-form-item>
</c-col>
<!-- LT000043 : 币 种 -->
<c-col :span="12">
<el-form-item :label="$t('smdsup.LT000043')" prop="smdp.smdsup.cur">
<c-select v-model="model.smdp.smdsup.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('smdsup.LT000043')">
</c-select>
</el-form-item>
</c-col>
<!-- LT000083 : 借贷标识 -->
<c-col :span="12">
<el-form-item :label="$t('smdsup.LT000083')" prop="smdp.smdsup.dcflg">
<c-select v-model="model.smdp.smdsup.dcflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('smdsup.LT000083')">
<el-option
v-for="item in codes.sdcflg"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000016 : 金额下限 -->
<c-col :span="12">
<c-form-item :label="$t('smdsup.LT000016')" prop="smdp.smdsup.begamt">
<c-input v-model="model.smdp.smdsup.begamt" :placeholder="$t('other.please_enter')+$t('smdsup.LT000016')"></c-input>
</c-form-item>
</c-col>
<!-- LT000017 : 金额上限 -->
<c-col :span="12">
<c-form-item :label="$t('smdsup.LT000017')" prop="smdp.smdsup.endamt">
<c-input v-model="model.smdp.smdsup.endamt" :placeholder="$t('other.please_enter')+$t('smdsup.LT000017')"></c-input>
</c-form-item>
</c-col>
<!-- LT000015 : 参考号/前 -->
<c-col :span="12">
<c-form-item :label="$t('smdsup.LT000015')" prop="smdp.smdsup.ref">
<c-input v-model="model.smdp.smdsup.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('smdsup.LT000015')"></c-input>
</c-form-item>
</c-col>
<!-- LT000033 : 参考号/后 -->
<c-col :span="12">
<c-form-item :label="$t('smdsup.LT000033')" prop="smdgrp.smdsub.smd.othref">
<c-input v-model="model.smdgrp.smdsub.smd.othref" maxlength="16" :placeholder="$t('other.please_enter')+$t('smdsup.LT000033')"></c-input>
</c-form-item>
</c-col>
<!-- LT000036 : 起始日期 -->
<c-col :span="12">
<el-form-item :label="$t('smdsup.LT000036')" prop="smdp.smdsup.begrevdat">
<c-date-picker type="date" v-model="model.smdp.smdsup.begrevdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('smdsup.LT000036')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000037 : 截止日期 -->
<c-col :span="12">
<el-form-item :label="$t('smdsup.LT000037')" prop="smdp.smdsup.endrevdat">
<c-date-picker type="date" v-model="model.smdp.smdsup.endrevdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('smdsup.LT000037')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000013 : 起息日起始 -->
<c-col :span="12">
<el-form-item :label="$t('smdsup.LT000013')" prop="smdp.smdsup.begdat">
<c-date-picker type="date" v-model="model.smdp.smdsup.begdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('smdsup.LT000013')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000014 : 起息日截止 -->
<c-col :span="12">
<el-form-item :label="$t('smdsup.LT000014')" prop="smdp.smdsup.enddat">
<c-date-picker type="date" v-model="model.smdp.smdsup.enddat" style="width:100%" :placeholder="$t('other.please_enter')+$t('smdsup.LT000014')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000034 : 业务标识 -->
<c-col :span="12">
<c-form-item :label="$t('smdsup.LT000034')" prop="smdgrp.smdsub.smd.busflg">
<c-input v-model="model.smdgrp.smdsub.smd.busflg" maxlength="4" :placeholder="$t('other.please_enter')+$t('smdsup.LT000034')"></c-input>
</c-form-item>
</c-col>
<!-- LT000084 : 记账日期起始 -->
<c-col :span="12">
<el-form-item :label="$t('smdsup.LT000084')" prop="smdp.smdsup.accdatbeg">
<c-date-picker type="date" v-model="model.smdp.smdsup.accdatbeg" style="width:100%" :placeholder="$t('other.please_enter')+$t('smdsup.LT000084')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000085 : 记账日期截止 -->
<c-col :span="12">
<el-form-item :label="$t('smdsup.LT000085')" prop="smdp.smdsup.accdatend">
<c-date-picker type="date" v-model="model.smdp.smdsup.accdatend" style="width:100%" :placeholder="$t('other.please_enter')+$t('smdsup.LT000085')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000143 : 勾销状态 -->
<c-col :span="12">
<el-form-item :label="$t('smdsup.LT000143')" prop="smdp.smdsup.offsta">
<c-select v-model="model.smdp.smdsup.offsta" style="width:100%" :placeholder="$t('other.please_enter')+$t('smdsup.LT000143')">
<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>
<!-- LT000160 : 记账类型 -->
<c-col :span="12">
<el-form-item :label="$t('smdsup.LT000160')" prop="smdp.smdsup.kpatyp">
<c-select v-model="model.smdp.smdsup.kpatyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('smdsup.LT000160')">
</c-select>
</el-form-item>
</c-col>
<!-- LT000164 : 记账状态 -->
<c-col :span="12">
<el-form-item :label="$t('smdsup.LT000164')" prop="smdp.smdsup.recsta">
<c-select v-model="model.smdp.smdsup.recsta" style="width:100%" :placeholder="$t('other.please_enter')+$t('smdsup.LT000164')">
<el-option
v-for="item in codes.recsta"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000035 : 详细信息 -->
<c-col :span="12">
<c-form-item :label="$t('smdsup.LT000035')" prop="smdp.smdsup.inf">
<c-input v-model="model.smdp.smdsup.inf" maxlength="20" :placeholder="$t('other.please_enter')+$t('smdsup.LT000035')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRtn">
{{$t('mtabut.BT000020')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSmdsupAllchk">
{{$t('smdsup.BT000090')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSmdsupOpp">
{{$t('smdsup.BT000091')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSmdsupPaglok">
{{$t('smdsup.BT000077')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSmdsupMsglok">
{{$t('smdsup.BT000089')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSmdsupSel">
{{$t('smdsup.BT000020')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSmdsupClr">
{{$t('smdsup.BT000022')}}
</c-button>
</c-col>
</el-tab-pane>
</el-tabs>
</c-col>
</div>
</el-col>
</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,
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;
}
},
methods:{...Event},
created:function(){
},
deep: true
}
}
},
methods: {},
mounted: function () {
},
};
</script>
<style>
<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>
......@@ -11,13 +11,9 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Smdsel from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Smdp01 from "./Smdp01"
......
......@@ -148,7 +148,7 @@
v-model="model.boprem.dbbgrp.dcl.txcode"
label="交易编码"
prop="boprem.dbbgrp.dcl.txcode"
:required="true"
:required="false"
placeholder="请输入交易编码"
></c-business-code>
</c-col>
......
......@@ -100,7 +100,7 @@
v-model="model.boprem.dbbgrp.dcl.txcode"
label="交易编码"
prop="boprem.dbbgrp.dcl.txcode"
:required="true"
:required="false"
placeholder="请输入交易编码"
></c-business-code>
</c-col>
......
......@@ -86,12 +86,12 @@
<el-collapse-item :title="$t('commonCollapse.统一名单')" name="usrmd">
<m-usrmd :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item :title="$t('commonCollapse.企业名录')" name="entmod" v-if="model.entmod.visflg == 'X'">
<!-- <el-collapse-item :title="$t('commonCollapse.企业名录')" name="entmod" v-if="model.entmod.visflg == 'X'">
<m-entmod :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item :title="$t('commonCollapse.外汇展业')" name="forexmod">
<m-forexmod :codes="codes" :model="model" />
</el-collapse-item>
</el-collapse-item> -->
</c-collapse>
</div>
</c-content>
......
......@@ -145,7 +145,7 @@
v-model="model.boprem.dbbgrp.dcl.txcode"
label="交易编码"
prop="boprem.dbbgrp.dcl.txcode"
:required="true"
:required="false"
placeholder="请输入交易编码"
></c-business-code>
</c-col>
......
......@@ -177,7 +177,7 @@
v-model="model.boprem.dbbgrp.dcl.txcode"
label="交易编码"
prop="boprem.dbbgrp.dcl.txcode"
:required="true"
:required="false"
placeholder="请输入交易编码"
></c-business-code>
</c-col>
......
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