Commit 9774c576 by fukai

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

parents 3c953141 fe9c11ba
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="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">
<!--abkp PD000086 账户行查询页面2 -->
<el-tab-pane :label="$t('abkp.PD000086')" name="abkp10">
<m-abkp10 :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dblabk from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Abkp10 from "./Abkp10"
export default {
<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-abkp10 :model="model" :codes="codes" ref="abkp10"/>
</c-content>
</el-form>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Dblabk from "../model";
import event from "../event"
import Abkp10 from "./Abkp10.vue"
export default {
name: "Dblabk",
components:{
"m-abkp10" : Abkp10,
"m-abkp10" : Abkp10,
},
provide() {
return {
root: this
}
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "abkp10",
trnName: "dblabk",
trnType: "",
model: new Dblabk().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
fmssta:CodeTable.fmssta,
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
bnksta:CodeTable.bnksta,
},
}
return {
tabVal: "abkp10",
trnName: "dblabk",
model: new Dblabk().data,
rules: null,
codes:{...CodeTable},
};
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dblabk交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
methods:{},
created:async function() {},
};
</script>
<style scoped>
</style>
\ No newline at end of file
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="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">
<!--pttp PD000127 账户行联系人查询主页 -->
<el-tab-pane :label="$t('pttp.PD000127')" name="attlpn">
<m-attlpn :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dblatt from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Attlpn from "./Attlpn"
export default {
<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-attlpn :model="model" :codes="codes" ref="attlpn"/>
</c-content>
</el-form>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Dblatt from "../model";
import event from "../event"
import Attlpn from "./Attlpn.vue"
export default {
name: "Dblatt",
components:{
"m-attlpn" : Attlpn,
"m-attlpn" : Attlpn,
},
provide() {
return {
root: this
}
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "attlpn",
trnName: "dblatt",
trnType: "",
model: new Dblatt().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
fmssta:CodeTable.fmssta,
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
bnksta:CodeTable.bnksta,
usratr:CodeTable.usratr,
},
}
return {
tabVal: "attlpn",
trnName: "dblatt",
model: new Dblatt().data,
rules: null,
codes:{...CodeTable},
};
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dblatt交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
methods:{},
created:async function() {},
};
</script>
<style scoped>
</style>
\ No newline at end of file
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">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.ianp.lst"
style="width: 100%"
>
<el-table-column
prop="ianno"
label="编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="nam"
label="内部账户名称"
sortable
width="200">
<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="" style="width: 100%">
<c-input v-model="model.acc" style="width: 100%" placeholder="请输入内部账号"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="" style="width: 100%">
<c-select v-model="model.cur" style="width: 100%" placeholder="请选择币种" :code="codes.cur"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="开户机构代码" prop="" style="width: 100%">
<c-input v-model="model.actbic" style="width: 100%" placeholder="请输入开户机构代码"/>
</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="fb">
<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="rmk"
label="备注"
sortable
width="300">
<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-button size="small" type="primary" @click="onIanpAdd">
{{$t('ianp.BT000009')}}
</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: 'fb',
load: false,
subtypCodes: [],
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;
},
methods:{...Event},
created:function(){
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">
<!--ianp PD000010 查询交易面板 -->
<el-tab-pane :label="$t('ianp.PD000010')" name="selp">
<m-selp :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-selp :model="model" :codes="codes" ref="selp"/>
</c-content>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dblian from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Selp from "./Selp"
import CodeTable from "~/config/CodeTable";
import Dblian from "../model";
import event from "../event"
import Selp from "./Selp.vue"
export default {
name: "Dblian",
components:{
"m-selp" : Selp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "selp",
trnName: "dblian",
trnType: "",
model: new Dblian().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
filtyp:CodeTable.filtyp,
fmssta:CodeTable.fmssta,
bnksta:CodeTable.bnksta,
usratr:CodeTable.usratr,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dblian交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
name: "Dblian",
components:{
"m-selp" : Selp,
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
provide() {
return {
root: this
}
}
},
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "selp",
trnName: "dblian",
model: new Dblian().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="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">
<!--innp PD000107 内部账号查询dblinn -->
<el-tab-pane :label="$t('innp.PD000107')" name="innp0">
<m-innp0 :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-innp0 :model="model" :codes="codes" ref="innp0"/>
</c-content>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dblinn from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Innp0 from "./Innp0"
import CodeTable from "~/config/CodeTable";
import Dblinn from "../model";
import event from "../event"
import Innp0 from "./Innp0.vue"
export default {
name: "Dblinn",
components:{
"m-innp0" : Innp0,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "innp0",
trnName: "dblinn",
trnType: "",
model: new Dblinn().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
filtyp:CodeTable.filtyp,
fmssta:CodeTable.fmssta,
bnksta:CodeTable.bnksta,
usratr:CodeTable.usratr,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dblinn交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
name: "Dblinn",
components:{
"m-innp0" : Innp0,
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
provide() {
return {
root: this
}
}
},
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "innp0",
trnName: "dblinn",
model: new Dblinn().data,
rules: null,
codes:{...CodeTable},
};
},
methods:{},
created:async function() {},
};
</script>
<style>
<style scoped>
</style>
import Api from "~/service/Api"
import Api from "~/service/Api";
import moment from "moment";
// 结算文件手工录入查询
export function queryByPage(data) {
return Api.post("/business/dblkpm/listPagingInfo", data);
}
\ No newline at end of file
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 Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dblkpm{
constructor () {
......
<template>
<div class="eContainer">
<c-page>
<c-tabs type="card">
<el-tab-pane label="结算文件手工录入查询">
<c-content>
<m-infsea/>
</c-content>
</el-tab-pane>
</c-tabs>
</c-page>
<div class="eContainer-search">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-content>
<m-infsea :model="model" :codes="codes" ref="infsea"/>
</c-content>
</el-form>
</div>
</template>
<script>
import Infsea from "./infsea.vue";
import CodeTable from "~/config/CodeTable";
import Dblkpm from "../model";
import event from "../event"
import Infsea from "./infsea.vue"
export default {
name:"Dblkpm",
components: {
"m-infsea": Infsea,
name: "Dblkpm",
components:{
"m-infsea" : Infsea,
},
provide() {
return {
root: this
}
},
data() {
return {}
}
}
</script>
\ No newline at end of file
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "infsea",
trnName: "dblkpm",
model: new Dblkpm().data,
rules: null,
codes:{...CodeTable},
};
},
methods:{},
created:async function() {},
};
</script>
<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">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.krfp.krflst"
style="width: 100%"
>
<el-table-column
prop="ktpnam"
label="记账类型"
sortable
width="150">
</el-table-column>
<el-table-column
prop="dir"
label="记账方向"
sortable
width="100">
<template slot-scope="scope">
<span>{{ this.codes.kpadir.find(item=>item.value==scope.row.dir).label }}</span>
</template>
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-row>
<c-col :span="24">
</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="fb">
<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="iannam"
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>
<c-col :span="12">
<c-button size="small" type="primary" @click="onKrfpAdd">
{{$t('krfp.BT000011')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onKrfpAme">
{{$t('krfp.BT000012')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onKrfpDel">
{{$t('krfp.BT000013')}}
</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: 'fb',
load: false,
subtypCodes: [],
multipleSelection:[],
stmData: {
columns: [
{
label: "记账类型名称",
prop: "ktpnam",
width: "120px"
},
{
label: "记账方向",
prop: "dir",
width: "120px"
},
{
label: "内部账户名称",
prop: "iannam",
width: "120px"
}],
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 lang="less" scoped>
::v-deep .c-content-scrollbar {
height: 100% !important;
}
}
},
methods:{...Event},
created:function(){
.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;
}
</script>
<style>
.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">
<!--krfp PD000014 查询面板 -->
<el-tab-pane :label="$t('krfp.PD000014')" name="selp">
<m-selp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dblkrf from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Selp from "./Selp"
export default {
<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-selp :model="model" :codes="codes" ref="selp"/>
</c-content>
</el-form>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Dblkrf from "../model";
import event from "../event"
import Selp from "./Selp.vue"
export default {
name: "Dblkrf",
components:{
"m-selp" : Selp,
"m-selp" : Selp,
},
provide() {
return {
root: this
}
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "selp",
trnName: "dblkrf",
trnType: "",
model: new Dblkrf().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
filtyp:CodeTable.filtyp,
kpstyp:CodeTable.kpstyp,
fmssta:CodeTable.fmssta,
bnksta:CodeTable.bnksta,
usratr:CodeTable.usratr,
kpadir:CodeTable.kpadir,
},
}
return {
tabVal: "selp",
trnName: "dblkrf",
model: new Dblkrf().data,
rules: null,
codes:{...CodeTable},
};
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dblkrf交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
methods:{},
created:async function() {},
};
</script>
<style scoped>
</style>
\ No newline at end of file
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">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.ktpp.ktplst"
style="width: 100%"
>
<el-table-column
prop="ktpno"
label="记账编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ktpnam"
label="记账类型名称"
sortable
width="150">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-row>
<c-col :span="24">
</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="fb">
<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="rmk"
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>
<c-col :span="12">
<c-button size="small" type="primary" @click="onKtppAdd">
{{$t('ktpp.BT000015')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onKtppAme">
{{$t('ktpp.BT000016')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onKtppDel">
{{$t('ktpp.BT000018')}}
</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: 'fb',
load: false,
subtypCodes: [],
multipleSelection: [],
stmData: {
columns: [
{
label: "记账编号",
prop: "ktpno",
width: "120px"
},
{
label: "记账类型名称",
prop: "ktpnam",
width: "120px"
},
{
label: "备注",
prop: "rmk",
width: "120px"
}],
data: [],
},
pagination: {
pageNum: 1,
pageSize: 10,
total: 0,
},
};
},
computed: {
isFoldDisable: function () {
return this.multipleSelection.length == 0;
},
methods:{...Event},
created:function(){
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">
<!--ktpp PD000019 查询面板 -->
<el-tab-pane :label="$t('ktpp.PD000019')" name="selp">
<m-selp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dblktp from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Selp from "./Selp"
export default {
<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-selp :model="model" :codes="codes" ref="selp"/>
</c-content>
</el-form>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Dblktp from "../model";
import event from "../event"
import Selp from "./Selp.vue"
export default {
name: "Dblktp",
components:{
"m-selp" : Selp,
"m-selp" : Selp,
},
provide() {
return {
root: this
}
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "selp",
trnName: "dblktp",
trnType: "",
model: new Dblktp().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
area:CodeTable.area,
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
filtyp:CodeTable.filtyp,
kpstyp:CodeTable.kpstyp,
fmssta:CodeTable.fmssta,
bnksta:CodeTable.bnksta,
usratr:CodeTable.usratr,
kpadir:CodeTable.kpadir,
},
}
return {
tabVal: "selp",
trnName: "dblktp",
model: new Dblktp().data,
rules: null,
codes:{...CodeTable},
};
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dblktp交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
methods:{},
created:async function() {},
};
</script>
<style scoped>
</style>
\ No newline at end of file
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="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">
<!--kpachk PD000000 查询主页面 -->
<el-tab-pane :label="$t('kpachk.PD000000')" name="mainpl">
<m-mainpl :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Kpachk from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Mainpl from "./Mainpl"
export default {
<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-mainpl :model="model" :codes="codes" ref="mainpl"/>
</c-content>
</el-form>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Kpachk from "../model";
import event from "../event"
import Mainpl from "./Mainpl.vue"
export default {
name: "Kpachk",
components:{
"m-mainpl" : Mainpl,
"m-mainpl" : Mainpl,
},
provide() {
return {
root: this
}
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "mainpl",
trnName: "kpachk",
trnType: "",
model: new Kpachk().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
area:CodeTable.area,
cpsfxdtyp:CodeTable.cpsfxdtyp,
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
filtyp:CodeTable.filtyp,
kpstyp:CodeTable.kpstyp,
dcflg:CodeTable.dcflg,
fmssta:CodeTable.fmssta,
bnksta:CodeTable.bnksta,
usratr:CodeTable.usratr,
kpadir:CodeTable.kpadir,
},
}
return {
tabVal: "mainpl",
trnName: "kpachk",
model: new Kpachk().data,
rules: null,
codes:{...CodeTable},
};
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入kpachk交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
methods:{},
created:async function() {},
};
</script>
<style scoped>
</style>
\ No newline at end of file
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="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">
<!--zqsp PD000000 资金清算公共管理 -->
<el-tab-pane :label="$t('zqsp.PD000000')" name="mainpanel">
<m-mainpanel :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Manzqs from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Mainpanel from "./Mainpanel"
export default {
<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-mainpanel :model="model" :codes="codes" ref="mainpanel"/>
</c-content>
</el-form>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Manzqs from "../model";
import event from "../event"
import Mainpanel from "./Mainpanel.vue"
export default {
name: "Manzqs",
components:{
"m-mainpanel" : Mainpanel,
"m-mainpanel" : Mainpanel,
},
provide() {
return {
root: this
}
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "mainpanel",
trnName: "manzqs",
trnType: "",
model: new Manzqs().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
area:CodeTable.area,
cpsfxdtyp:CodeTable.cpsfxdtyp,
sta:CodeTable.sta,
kpatyp:CodeTable.kpatyp,
actsta:CodeTable.actsta,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
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,
fmssta:CodeTable.fmssta,
chncod:CodeTable.chncod,
stacod:CodeTable.stacod,
bnksta:CodeTable.bnksta,
usratr:CodeTable.usratr,
kpadir:CodeTable.kpadir,
},
}
return {
tabVal: "mainpanel",
trnName: "manzqs",
model: new Manzqs().data,
rules: null,
codes:{...CodeTable},
};
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入manzqs交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
methods:{},
created:async function() {},
};
</script>
<style scoped>
</style>
\ No newline at end of file
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">
<!-- LT000003 : 报表生成器 -->
<c-col :span="12">
<c-button size="small" type="primary" @click="onRptmodLnk">
{{$t('rptp.BT000002')}}
</c-button>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('rptp.LT000001')" prop="rptmod.rpttyp">
<c-select v-model="model.rptmod.rpttyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('rptp.LT000001')">
</c-select>
</el-form-item>
</c-col>
<!-- LT000001 : 报表种类: -->
<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="" style="width: 100%">
<c-select v-model="model.rptmod.rpttyp" style="width: 100%" placeholder="请选择报表种类" :code="codes.rpttyp"/>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
</el-row>
</template>
</c-list-search>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Event"
import event from "../event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeTab: 'fb',
load: false,
subtypCodes: [],
multipleSelection:[],
stmData: {
columns: [],
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 lang="less" scoped>
::v-deep .c-content-scrollbar {
height: 100% !important;
}
}
},
methods:{...Event},
created:function(){
.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;
}
</script>
<style>
.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">
<!--rptp PD000000 报表选择界面 -->
<el-tab-pane :label="$t('rptp.PD000000')" name="rptsel">
<m-rptsel :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Rptgen from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Rptsel from "./Rptsel"
export default {
<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-rptsel :model="model" :codes="codes" ref="rptsel"/>
</c-content>
</el-form>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Rptgen from "../model";
import event from "../event"
import Rptsel from "./Rptsel.vue"
export default {
name: "Rptgen",
components:{
"m-rptsel" : Rptsel,
"m-rptsel" : Rptsel,
},
provide() {
return {
root: this
}
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "rptsel",
trnName: "rptgen",
trnType: "",
model: new Rptgen().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
msgdrt:CodeTable.msgdrt,
blksta:CodeTable.blksta,
kpatyp:CodeTable.kpatyp,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
gpicod:CodeTable.gpicod,
mgssta:CodeTable.mgssta,
ljschk:CodeTable.ljschk,
offtyp:CodeTable.offtyp,
msgrng:CodeTable.msgrng,
fmssta:CodeTable.fmssta,
clrsys:CodeTable.clrsys,
stacod:CodeTable.stacod,
dottyp:CodeTable.dottyp,
recsta:CodeTable.recsta,
cassta:CodeTable.cassta,
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,
allmsgcod:CodeTable.allmsgcod,
dcflg:CodeTable.dcflg,
cipsstatus:CodeTable.cipsstatus,
curcod:CodeTable.curcod,
msgtyp:CodeTable.msgtyp,
chncod:CodeTable.chncod,
msgsta:CodeTable.msgsta,
usratr:CodeTable.usratr,
msgchksta:CodeTable.msgchksta,
cipsmsgtype:CodeTable.cipsmsgtype,
setmth:CodeTable.setmth,
chniptcod:CodeTable.chniptcod,
dtlchg:CodeTable.dtlchg,
},
}
return {
tabVal: "rptsel",
trnName: "rptgen",
model: new Rptgen().data,
rules: null,
codes:{...CodeTable},
};
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入rptgen交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
methods:{},
created:async function() {},
};
</script>
<style scoped>
</style>
\ No newline at end of file
......@@ -55,6 +55,11 @@ export default {
this.model.infcon.opndatfrom = new Date();
this.model.infcon.opndatto = new Date();
this.model.infcon.nam = "";
this.model.infcon.ownusr = "";
this.model.infcon.usr = "";
this.model.infcon.bnktyp = "";
this.model.infcon.gzno = "";
this.model.infcon.seacur = "";
this.model.infcon.eaamtfr = "";
this.model.infcon.eaamtto = "";
......@@ -65,8 +70,8 @@ export default {
this.model.infcon.seapty = "";
this.model.infcon.searol = "";
this.model.infcon.usrextkey = "";
this.model.infcon.seasta = "";
this.model.infcon.accmng = "";
this.model.infcon.fttyp = "";
},
......
......@@ -8,23 +8,26 @@ export default class infftd {
nam: "", // Name客户名称 .infcon.nam
opndatfrom: "", // 有效日期自 .infcon.opndatfrom
opndatto: "", // Open Date to .infcon.opndatto
seacur: "", // 币种 .infcon.seacur
seaamtfr: "", // 金额自 .infcon.seaamtfr
seaamtto: "", // Amount to .infcon.seaamtto
searef: "", //参与方参考号
ownusr:"", //客户名称
usr:"", //资金部经办人
bnktyp:"", //银行类型
gzno:"", //挂起编号
searef: "", //参与方参考号
ptyextkey: "", // 选择一个参与方 .infcon.pty.extkey
ptynam: "", // External Visible Name .infcon.pty.nam
seapty: "", // 参与方名称/BIC .infcon.seapty
searol: "",
usrextkey: "", // User ID .infcon.usr.extkey
seasta: "", // Status .infcon.seasta
accmng: "", // Account manager .infcon.accmng
fttyp: "", //类型
fttyp: "", //资金转账类型
},
infbut: {
......
......@@ -7,14 +7,14 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="资金调拨编号"
label="业务编号"
prop="seaownref"
style="width: 100%"
>
<c-input
v-model="model.infcon.seaownref"
maxlength="40"
placeholder="请输入资金调拨编号"
placeholder="请输入业务编号"
>
</c-input>
</el-form-item>
......@@ -60,124 +60,99 @@
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="币种" prop="seacur" style="width: 100%">
<c-select
v-model="model.infcon.cur"
style="width: 100%"
placeholder="请选择币种"
:code="codes.seacur"
<el-form-item label="客户名称" prop="ownusr" style="width: 100%">
<c-input
v-model="model.infcon.ownusr"
maxlength="40"
placeholder="请输入客户名称"
>
</c-select>
</c-input>
</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.infcon.amtmin"
:placeholder="$t('lc.请输入金额下限')"
style="width: 100%"
></c-input>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-input
v-model="model.infcon.amtmax"
:placeholder="$t('lc.请输入金额上限')"
style="width: 100%"
></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="参与方参考号"
prop="searef"
style="width: 100%"
>
<el-form-item label="银行类型" prop="bnktyp" style="width: 100%">
<c-input
v-model="model.infcon.searef"
v-model="model.infcon.bnktyp"
maxlength="40"
placeholder="请输入参与方参考号"
placeholder="请输入银行类型"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="Account manager" prop="accmng" style="width: 100%">
<c-input v-model="model.infcon.accmng" maxlength="40" placeholder="请输入Account manager">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="参与方名称" prop="seapty" style="width: 100%">
<c-input v-model="model.infcon.seapty" maxlength="40" placeholder="请输入参与方名称">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="角色" prop="searol" style="width: 100%">
label="资金转账类型"
prop="fttyp"
style="width: 100%"
>
<c-select
v-model="model.infcon.searol"
v-model="model.infcon.fttyp"
style="width: 100%"
placeholder="请选择角色"
:code="codes.searol"
placeholder="请选择资金转账类型"
:code="codes.fttyp"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="角色ID" prop="usrextkey" style="width: 100%">
<c-input v-model="model.infcon.usrextkey" maxlength="40" placeholder="请输入角色ID">
<el-form-item label="资金部经办人" prop="usr" style="width: 100%">
<c-input
v-model="model.infcon.usr"
maxlength="40"
placeholder="请输入资金部经办人名称"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="状态" prop="seasta" style="width: 100%">
<c-select
v-model="model.infcon.seasta"
style="width: 100%"
placeholder="请选择状态"
:code="codes.seasta">
</c-select>
<el-form-item label="挂起编号" prop="gzno" style="width: 100%">
<c-input
v-model="model.infcon.gzno"
maxlength="40"
placeholder="请输入挂起编号"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="定存拆借类型" prop="fttyp" style="width: 100%">
<el-form-item label="状态" prop="seasta" style="width: 100%">
<c-select
v-model="model.infcon.fttyp"
v-model="model.infcon.seasta"
style="width: 100%"
placeholder="请选择定存拆借类型"
:code="codes.fttyp">
placeholder="请选择状态"
:code="codes.seasta"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
</template>
</c-list-search>
<c-col :span="24" style="margin-top: 10px; margin-bottom: 10px">
<c-button class="medium_bcs" size="medium" type="primary" style="margin-top: 10px; margin-bottom: 10px" title="FTTFCM"
@click="toFttfcm">
<c-button
class="medium_bcs"
size="medium"
type="primary"
style="margin-top: 10px; margin-bottom: 10px"
title="FTTFCM"
@click="toFttfcm"
>
拆借存放登记及确认
</c-button>
<c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 20px" title="FTTPCM"
@click="toFttpcm">
<c-button
class="medium_bcs"
size="medium"
type="primary"
style="margin-left: 20px"
title="FTTPCM"
@click="toFttpcm"
>
头寸调拨登记及确认
</c-button>
</c-col>
......@@ -186,7 +161,7 @@
<div style="height: 90%">
<c-col :span="24">
<el-tabs v-model="activeTab" class="y-tabs">
<el-tab-pane label="资金调拨查询" name="zjdb">
<el-tab-pane label="资金拆借/头寸调拨查询" name="zjdb">
<el-table
:data="stmData.data"
:columns="stmData.columns"
......@@ -237,7 +212,7 @@ export default {
stmData: {
columns: [
{
label: "资金调拨编号",
label: "业务编号",
prop: "ownref",
width: "180px",
},
......@@ -257,41 +232,80 @@ export default {
width: "120px",
},
{
label: "资金部负责人",
prop: "ownsur",
label: "客户名称",
prop: "ownusr",
width: "120px",
},
{
label: "清算中心负责人",
label: "资金部经办人",
prop: "usr",
width: "140px",
width: "120px",
},
{
label: "定存拆借类型",
label: "资金转账类型",
prop: "fttyp",
width: "120px",
},
{
label: "确认日期",
prop: "cnfdat",
width: "120px",
},
{
label: "到期日",
prop: "matdat",
width: "120px",
},
{
label: "关闭日期",
prop: "clsdat",
width: "120px",
},
{
label: "年利率",
prop: "rat",
width: "120px",
},
{
{
label: "计息方式",
prop: "cntfra",
width: "120px",
},
{
{
label: "银行类型",
prop: "bnktyp",
width: "120px",
},
{
label: "挂起编号",
prop: "gzno",
width: "120px",
},
{
label: "版本",
prop: "ver",
width: "120px",
},
{
label: "天数",
prop: "cntfra",
width: "120px",
},
{
label: "分行内部识别码",
prop: "branchinr",
width: "160px",
},
{
label: "分行关键识别码",
prop: "bchkeyinr",
width: "160px",
},
{
label: "实体外部键",
prop: "etyextkey",
width: "120px",
},
],
data: [],
},
......
......@@ -58,6 +58,11 @@ export default {
this.model.infcon.eaamtfr = "";
this.model.infcon.eaamtto = "";
this.model.infcon.ownusr = "";
this.model.infcon.usr = "";
this.model.infcon.acc = "";
this.model.infcon.acc2 = "";
this.model.infcon.searef = "";
this.model.infcon.ptyextkey = "";
this.model.infcon.ptynam = "";
......
......@@ -5,24 +5,24 @@ export default class inffxd {
this.data = {
infcon: {
seaownref: "", // 业务编号 .infcon.seaownref
nam: "", // Name客户名称 .infcon.nam
nam: "", // 业务名称 .infcon.nam
opndat: "", //
opndatfrom: "", // 有效日期自 .infcon.opndatfrom
opndatto: "", // Open Date to .infcon.opndatto
seacur: "", // 币种 .infcon.seacur
seaamtfr: "", // 金额自 .infcon.seaamtfr
seaamtto: "", // Amount to .infcon.seaamtto
ownusr:"",
usr:"",
acc:"",
acc2:"",
searef: "", //参与方参考号
searef: "",
ptyextkey: "", // 选择一个参与方 .infcon.pty.extkey
ptynam: "", // External Visible Name .infcon.pty.nam
seapty: "", // 参与方名称/BIC .infcon.seapty
searol: "",
usrextkey: "", // User ID .infcon.usr.extkey
seasta: "", // Status .infcon.seasta
accmng: "", // Account manager .infcon.accmng
fxtyp: "", //类型
......
......@@ -62,89 +62,58 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="币种" prop="seacur" style="width: 100%">
<c-select
v-model="model.infcon.cur"
style="width: 100%"
placeholder="请选择币种"
:code="codes.seacur"
>
</c-select>
<el-form-item
label="客户名称" prop="ownusr" style="width: 100%">
<c-input v-model="model.infcon.ownusr" maxlength="40" placeholder="请输入客户名称">
</c-input>
</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.infcon.amtmin"
:placeholder="$t('lc.请输入金额下限')"
style="width: 100%"
></c-input>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-input
v-model="model.infcon.amtmax"
:placeholder="$t('lc.请输入金额上限')"
style="width: 100%"
></c-input>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="参与方参考号"
prop="searef"
style="width: 100%"
>
<c-input
v-model="model.infcon.searef"
maxlength="40"
placeholder="请输入参与方参考号"
>
label="账户经理" prop="accmng" style="width: 100%">
<c-input v-model="model.infcon.accmng" maxlength="40" placeholder="请输入账户经理名称">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="外汇交易类型" prop="fxtyp" style="width: 100%">
<c-select
v-model="model.infcon.fxtyp"
style="width: 100%"
placeholder="请选择外汇交易类型"
:code="codes.fxtyp">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="Account manager" prop="accmng" style="width: 100%">
<c-input v-model="model.infcon.accmng" maxlength="40" placeholder="请输入Account manager">
label="资金部经办人" prop="usr" style="width: 100%">
<c-input v-model="model.infcon.usr" maxlength="40" placeholder="请输入资金部经办人名称">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="参与方名称" prop="seapty" style="width: 100%">
<c-input v-model="model.infcon.seapty" maxlength="40" placeholder="请输入参与方名称">
label="外币结算账户" prop="acc" style="width: 100%">
<c-input v-model="model.infcon.acc" maxlength="40" placeholder="请输入外币结算账户">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="角色" prop="searol" style="width: 100%">
<c-select
v-model="model.infcon.searol"
style="width: 100%"
placeholder="请选择角色"
:code="codes.searol"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="角色ID" prop="usrextkey" style="width: 100%">
<c-input v-model="model.infcon.usrextkey" maxlength="40" placeholder="请输入角色ID">
label="本币结算账户" prop="acc2" style="width: 100%">
<c-input v-model="model.infcon.usr" maxlength="40" placeholder="请输入本币结算账户">
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="状态" prop="seasta" style="width: 100%">
<c-select
......@@ -155,16 +124,7 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="结售汇类型" prop="fxtyp" style="width: 100%">
<c-select
v-model="model.infcon.fxtyp"
style="width: 100%"
placeholder="请选择结售汇类型"
:code="codes.fxtyp">
</c-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
......@@ -256,11 +216,20 @@ export default {
width: "180px",
},
{
label: "平盘类型",
prop: "bnktyp",
width: "180px",
label: "客户名称",
prop: "ownusr",
width: "120px",
},
{
label: "资金部经办人",
prop: "usr",
width: "120px",
},
{
label: "外汇交易类型",
prop: "fxtyp",
width: "120px",
},
{
label: "成交日期",
prop: "opndat",
......@@ -292,30 +261,55 @@ export default {
width: "120px",
},
{
label: "远期交割日",
label: "平盘日期",
prop: "setdat",
width: "120px",
},
{
label: "择期交割起始日",
prop: "setdatfrm",
width: "120px",
width: "160px",
},
{
label: "择期交割截止日",
prop: "setdatto",
width: "160px",
},
{
label: "结算日期",
prop: "clsdat",
width: "120px",
},
{
label: "版本",
prop: "ver",
width: "120px",
},
{
label: "分支机构编号",
prop: "branchinr",
width: "120px",
},
{
label: "分支机构关键编号",
prop: "bchkeyinr",
width: "160px",
},
{
label: "交易主体",
prop: "trnman",
width: "120px",
},
{
label: "结售汇类型",
label: "交易内部编号",
prop: "trdint",
width: "120px",
},
{
label: "交易外部编号",
prop: "trdout",
width: "120px",
},
{
label: "外币结算账号",
......@@ -328,16 +322,44 @@ export default {
width: "120px",
},
{
label: "资金部经办人",
prop: "ownsur",
label: "处置1",
prop: "dsp",
width: "120px",
},
{
label: "营运部经办人",
prop: "usr",
label: "处置2",
prop: "dsp2",
width: "120px",
},
{
label: "现金覆盖率",
prop: "cshpct",
width: "120px",
},
{
label: "账户经理",
prop: "accmng",
width: "120px",
},
{
label: "汇率",
prop: "rat1",
width: "120px",
},
{
label: "账户经理部门",
prop: "hdbch",
width: "120px",
},
{
label: "实体外部键",
prop: "etyextkey",
width: "120px",
},
],
data: [],
},
......
......@@ -237,7 +237,8 @@ export default {
//获取主协办机构
if (this.type=="edit") {
let data={
"orgBch":this.$store.state.UserContext.currentOrg.departmentNumber,
// "orgBch":this.$store.state.UserContext.currentOrg.departmentNumber,
"orgBch":JSON.parse(sessionStorage.getItem('currentOrg')).departmentnumber,
"orgNo": this.model.extkey
}
Api.post('/manager/pty/checkZXbanForExtkeyByEcif0930',data).then(res => {
......
......@@ -278,7 +278,7 @@ export default {
this.ptyData = list
this.ptyCondition.pageNum = res.data.pageNumber
this.ptyCondition.pageSize = res.data.pageSize
this.ptyCondition.total = res.data.total
this.ptyCondition.total = Number(res.data.total)
}
this.loadingPtyStatus=false;
......@@ -398,7 +398,8 @@ export default {
async checkZXbanForExtkeyBySSTF(ptyinr){
let data={
"orgBch":this.$store.state.UserContext.currentOrg.departmentNumber,
// "orgBch":this.$store.state.UserContext.currentOrg.departmentNumber,
"orgBch":JSON.parse(sessionStorage.getItem('currentOrg')).departmentnumber,
"ptyInr": ptyinr
};
await Api.post('/manager/pty/checkZXbanForExtkeyBySSTF',data).then(res => {
......@@ -425,9 +426,12 @@ export default {
async checkZXbanForExtkeyByEcif0930(extkey){
let data={
"orgBch":this.$store.state.UserContext.currentOrg.departmentNumber,
// "orgBch":this.$store.state.UserContext.currentOrg.departmentNumber,
"orgBch":JSON.parse(sessionStorage.getItem('currentOrg')).departmentnumber,
"orgNo": extkey
};
console.log("===========")
console.log(sessionStorage.currentOrg.departmentnumber)
await Api.post('/manager/pty/checkZXbanForExtkeyByEcif0930',data).then(res => {
if (res.respCode == SUCCESS) {
......
......@@ -581,13 +581,13 @@ export default {
let orgObj = this.header.orgList.find(item => item.id === param)
let roleObj = this.header.roleTypeList.find(item => item.key === this.header.curRole.id+"")
this.initRoleList(orgObj);
if(this.header.roleList && this.header.roleList.length>0 && ((orgObj.departmentNumber==="1000" && roleObj.value!=="HEAD")
||(orgObj.departmentNumber!=="1000" && roleObj.value==="HEAD"))){
if(this.header.roleList && this.header.roleList.length>0 && ((orgObj.departmentnumber==="1000" && roleObj.value!=="HEAD")
||(orgObj.departmentnumber!=="1000" && roleObj.value==="HEAD"))){
this.changeRoles(this.header.roleList[0].id);
sessionStorage.setItem('curRole', JSON.stringify(this.header.roleList[0]));
}
if(this.header.roleList && this.header.roleList.length===0 ) {
if (orgObj.departmentNumber === "1000") {
if (orgObj.departmentnumber === "1000") {
this.$notify({title: "失败", message: "请先维护总行机构角色!", type: "error",});
} else {
this.$notify({title: "失败", message: "请先维护分行机构角色!", type: "error",});
......
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