Commit 664f0172 by zhangliding

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs into settle-test-20230110
parents f0489625 54ce30aa
......@@ -50,7 +50,18 @@ export default {
if (res.respCode === SUCCESS) {
}
},
async showGridPromptDialog() {},
async showSelectGridDialog(arg) {
let params = {
}
let res = await Api.post('/service/getopn/fetch', params);
this.$refs['gridSelectDialog'].show = true;
if(res.respCode === SUCCESS) {
this.$refs['gridSelectDialog'].show = true;
this.$refs['gridSelectDialog'].tableData = res.data && res.data.list;
}
},
async onGitpButgetref() {
let rtnmsg = await this.executeRule('gitp.butgetref');
......
......@@ -615,7 +615,7 @@
v-model="model.gidgrp.apl.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native=""
@keyup.enter.native="showSelectGridDialog('gidgrp.apl.pts.extkey')"
:disabled="model.gidgrp.ghd.segtyp == '02'"
>
</c-input>
......@@ -1130,6 +1130,9 @@
</c-col>
</c-col>
</c-col>
<!-- 带分页请求的选择弹框 -->
<c-grid-select-dialog ref="gridSelectDialog" :promptData="promptData"></c-grid-select-dialog>
</div>
</template>
<script>
......@@ -1144,7 +1147,9 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess, commonApi, Event],
data() {
return {};
return {
promptData: {}
};
},
computed: {
......@@ -1165,7 +1170,7 @@ export default {
methods: {
},
created: function () {},
created() {},
};
</script>
<style>
......
......@@ -75,6 +75,8 @@ export default {
let params = {
...this.buildCommonData(model, trnName),
setfeg: model.setmod.setfeg,
liaall: model.liaall,
liaccv: model.liaccv,
};
return params
},
......@@ -111,6 +113,29 @@ export default {
};
return params
},
buildLimitbody (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'GID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
},
};
return params
},
buildDoctre (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'GID',
objinr: model.gidgrp.rec.objinr,
ownref: model.gidgrp.rec.ownref,
swiftflg: model.gitp.swiftflg,
},
};
return params
},
// 公共组件setmod中dsp字段改变,触发联动时候的入参
buildSetgllAccts (model, trnName, setglg) {
let params = {
......
......@@ -6,6 +6,8 @@ import glentry from '~/components/business/glentry/event';
import engp from '~/components/business/engp/event';
import docpan from '~/components/business/docpan/event';
import ccvpan from '~/components/business/ccvpan/event';
import limitbody from '~/components/business/limitbody/event';
import doctre from '~/components/business/doctre/event';
import Utils from "~/utils"
export default {
......@@ -16,6 +18,8 @@ export default {
...engp,
...docpan,
...ccvpan,
...limitbody,
...doctre,
async init () {
const params = {
spt: this.toHandleRowData['row_' + this.trnName]
......@@ -75,6 +79,14 @@ export default {
let glentryRequest = buildFn.buildGlentry(this.model, this.trnName);
this.processGlentry(glentryRequest);
break;
case 'limitbody':
let limitbodyRequest = buildFn.buildLimitbody(this.model, this.trnName);
this.processLimitbody(limitbodyRequest);
break;
case 'doctre':
let doctreRequest = buildFn.buildDoctre(this.model, this.trnName);
this.processDoctre(doctreRequest);
break;
default:
return;
}
......
import Pts from '~/model/Common/Pts';
import Pub from '~/model/Public';
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Gitopn {
constructor() {
this.data = {
......
......@@ -139,8 +139,8 @@ import Ccvpan from "~/components/business/ccvpan/views";
import Setmod from "~/components/business/setmod/views";
import Glentry from "~/components/business/glentry/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/components/business/limitbody/views";
import { mapState } from 'vuex';
export default {
......
......@@ -82,13 +82,14 @@ export default {
//查询接口
const loading = this.loading();
const res = await Api.post('/service/trnrel/getTenrelList', params);
if (res.respCode === 'AAAAAA') {
if (res.respCode === SUCCESS) {
this.stmData.data = res.data.list;
this.pagination.total = Number(res.data.total);
this.$store.commit('setTaskList', {
key: 'trnrel',
val: this.stmData.data && this.stmData.data.length,
});
this.$store.commit('setLoadingFreshReview', false)
}
loading.close();
},
......@@ -101,6 +102,7 @@ export default {
let viewurl = 'business-new/inftrnpsDetail';
let params = {
inr: row.inr,
userId: sessionStorage.getItem('userId') || 'ZL'
};
const res = await Api.post('/service/trnrel/getTenrelDetailData', params);
if (res.respCode === 'AAAAAA') {
......
......@@ -203,7 +203,21 @@
created() {
this.getInidatfro();
},
computed: {
reload() {
return this.$store.state.Status.loading.freshReview;
}
},
watch: {
reload(val) {
if(val) {
debugger
this.handleSearch()
}
}
},
created() {
//适配不同页面下的table高度
//其中159为form表单高度,不同页面高度不同,可以考虑获取dom高度
this.maxHeight = (document.body.clientHeight || document.documentElement.clientHeight) - 60 - 40 - 40 - 42 - 40 - 159 - 10 - 37 - 60;
......
<!-- 带分页请求的选择弹框 -->
<template>
<el-dialog
:title="promptData.title"
:visible.sync="show"
custom-class="grid-ety"
:highlight-current-row="true"
width="60%"
:before-close="beforeClose"
>
<el-table
:data="tableData"
border
@row-dblclick="selectEty"
>
<el-table-column
v-for="(item, idx) in promptData.columns"
:key="idx"
:property="item.prop"
:label="item.label"
:width="item.width"
>
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next, total, jumper"
:total="pagination.total"
:page-sizes="pagination.pageSizes"
:page-size="pagination.pageSize"
:current-page="pagination.currentPage"
@current-change="currentChange"
@size-change="handleSizeChange"
>
</el-pagination>
</el-dialog>
</template>
<script>
import Api from "~/service/Api";
import commonApi from '~/mixin/commonApi';
export default {
mixins: [commonApi],
props: {
promptData: {
type: Object,
required: true,
default: () => {
return {
title: '',
columns: [],
apiUrl: '',
apiArgs: {}
}
}
}
},
data() {
return {
show: false,
cod: '',
tableData: [],
pagination: {
currentPage: 1,
pageSizes: [10, 20, 50, 100, 500],
pageSize: 10,
total: 0,
},
};
},
methods: {
async handleSearch() {
let params = {
...this.promptData.apiArgs,
pageNum: this.pagination.currentPage,
pageSize: this.pagination.pageSize,
};
const loading = this.loading();
let res = await Api.post(this.promptData.apiUrl, params);
if (res.respCode == SUCCESS) {
this.tableData = res.data && res.data.atpList.list;
this.pagination.total = Number((res.data && res.data.atpList.total) || 0);
}
loading.close();
},
currentChange(val) {
this.pagination.currentPage = val;
this.handleSearch()
},
handleSizeChange(val) {
this.pagination.currentPage = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
selectEty(row) {
this.$emit("selectEty", {
...row,
role: this.promptData.type
});
this.show = false;
this.currentPage = 1;
},
beforeClose(done) {
this.show = false;
this.currentPage = 1;
done();
},
},
};
</script>
<style>
.grid-ety .el-table .cell {
white-space: pre-wrap;
}
</style>
\ No newline at end of file
export default class LiaccvRequest {
constructor() {
this.data = {
transName: "",
userId: "",
rec: {},
amdRec: {
engamt: "",
amecur: ""
},
cbsMap: {
OPN2: {
cur: "",
amt: ""
},
NOM1: {
cur: "",
amt: ""
},
OPN1: {
cur: "",
amt: ""
},
MAX: {
cur: "",
amt: ""
},
MAX2: {
cur: "",
amt: ""
}
},
ptsList: [],
liaccvg: [],
fcdVo: {},
oldamt: "",
chgamt: "",
concur: ""
}
}
}
\ No newline at end of file
constructor() {
this.data = {
transName: '',
userId: '',
rec: {},
amdRec: {
engamt: '',
amecur: '',
},
cbsMap: {
OPN2: {
cur: '',
amt: '',
},
NOM1: {
cur: '',
amt: '',
},
OPN1: {
cur: '',
amt: '',
},
MAX: {
cur: '',
amt: '',
},
MAX2: {
cur: '',
amt: '',
},
},
ptsList: [],
liaccvg: [],
fcdVo: {},
oldamt: '',
chgamt: '',
concur: '',
};
}
}
export default class Liaccv {
constructor() {
this.data = {
oldamt: "",
chgamt: "",
newamt: "", // 合同金额 .liaall.liaccv.newamt
concur: "", // 应付保证金金额 .liaall.liaccv.concur
totcovamt: "", // 金额总和 .liaall.liaccv.totcovamt
newresamt: "", // Reserved Amount .liaall.liaccv.newresamt
addinf: "", // Additional Information .liaall.liaccv.addinf
cshpct: "", // 保证金应收比例 .liaall.liaccv.cshpct
relcshpct: "", // 保证金实收比例 .liaall.liaccv.relcshpct
gleflg: "", // Create gle flag .liaall.liaccv.gleflg
chgcurflg: "", // Change currency flag .liaall.liaccv.chgcurflg
pctresamt: "", // reserve amount based percent .liaall.liaccv.pctresamt
liaccvg: [],
stgstm:[],
dnfmod:{
kehuzh:"", //保证金账户 liaall.liaccv.dnfmod.kehuzh
ccvtyp:"", //操作类型 liaall.liaccv.dnfmod.ccvtyp
zhqtyp:"", //支取类型 liaall.liaccv.dnfmod.zhqtyp
zhqucs:"", //支取次数 liaall.liaccv.dnfmod.zhqucs
tizamt:"", //部分提支金额 liaall.liaccv.dnfmod.tizamt
yewudh:"", //业务代号 liaall.liaccv.dnfmod.yewudh
pridsp:"", //本金转入账户 liaall.liaccv.dnfmod.pridsp
zhruzh:"", //本金转入账户 liaall.liaccv.dnfmod.zhruzh
qicuje:"", //起存金额 liaall.liaccv.dnfmod.qicuje
intdsp:"", //利息转入账户 liaall.liaccv.dnfmod.intdsp
lxzyzh:"", //利息转入账户 liaall.liaccv.dnfmod.lxzyzh
zhhuye:"", //帐户余额 liaall.liaccv.dnfmod.zhhuye
stm8023:"", //8023STREAM liaall.liaccv.dnfmod.stm8023
},
}
}
}
\ No newline at end of file
constructor() {
this.data = {
oldamt: '',
chgamt: '',
newamt: '', // 合同金额 .liaall.liaccv.newamt
concur: '', // 应付保证金金额 .liaall.liaccv.concur
totcovamt: '', // 金额总和 .liaall.liaccv.totcovamt
newresamt: '', // Reserved Amount .liaall.liaccv.newresamt
addinf: '', // Additional Information .liaall.liaccv.addinf
cshpct: '', // 保证金应收比例 .liaall.liaccv.cshpct
relcshpct: '', // 保证金实收比例 .liaall.liaccv.relcshpct
gleflg: '', // Create gle flag .liaall.liaccv.gleflg
chgcurflg: '', // Change currency flag .liaall.liaccv.chgcurflg
pctresamt: '', // reserve amount based percent .liaall.liaccv.pctresamt
liaccvg: [],
stgstm: [],
dnfmod: {
kehuzh: '', //保证金账户 liaall.liaccv.dnfmod.kehuzh
ccvtyp: '', //操作类型 liaall.liaccv.dnfmod.ccvtyp
zhqtyp: '', //支取类型 liaall.liaccv.dnfmod.zhqtyp
zhqucs: '', //支取次数 liaall.liaccv.dnfmod.zhqucs
tizamt: '', //部分提支金额 liaall.liaccv.dnfmod.tizamt
yewudh: '', //业务代号 liaall.liaccv.dnfmod.yewudh
pridsp: '', //本金转入账户 liaall.liaccv.dnfmod.pridsp
zhruzh: '', //本金转入账户 liaall.liaccv.dnfmod.zhruzh
qicuje: '', //起存金额 liaall.liaccv.dnfmod.qicuje
intdsp: '', //利息转入账户 liaall.liaccv.dnfmod.intdsp
lxzyzh: '', //利息转入账户 liaall.liaccv.dnfmod.lxzyzh
zhhuye: '', //帐户余额 liaall.liaccv.dnfmod.zhhuye
stm8023: '', //8023STREAM liaall.liaccv.dnfmod.stm8023
},
};
}
}
......@@ -2,20 +2,10 @@
<template>
<div class="eibs-tab">
<!--
<c-col :span="12">
<el-form-item label="应付保证金金额">
<c-input v-model="model.liaccv.concur" maxlength="3" placeholder="请输入应付保证金金额"></c-input>
</el-form-item>
</c-col>
-->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="合同金额" prop="liaall.liaccv.concur">
<c-row>
<!-- <c-col :span="8">-->
<!-- <c-input type="text" :readonly="true" value="CNY"></c-input>-->
<!-- </c-col>-->
<c-col :span="8">
<c-select
v-model="model.liaccv.concur"
......@@ -104,9 +94,6 @@
<c-col :span="12">
<el-form-item label="应付金额" prop="liaccv.concur">
<c-row>
<!-- <c-col :span="8">-->
<!-- <c-input type="text" :readonly="true" value="CNY"></c-input>-->
<!-- </c-col>-->
<c-col :span="8">
<c-select
v-model="model.liaccv.concur"
......@@ -134,10 +121,6 @@
</c-col>
<c-col :span="12">
<!-- <c-col :span="20">
</c-col> -->
<el-form-item label="" style="text-align: left" prop="liaccv.gleflg">
<c-col :span="7" class="">
<el-form-item
......@@ -149,9 +132,6 @@
<c-checkbox v-model="model.liaccv.gleflg">过账</c-checkbox>
</el-form-item>
</c-col>
<!-- <c-col :span="3" style="float: right;"> -->
<!-- <c-row> -->
<!-- <c-col :span="24" style="margin-left:35px;text-align:right"> -->
<c-button
size="small"
type="primary"
......@@ -160,8 +140,6 @@
>
添加
</c-button>
<!-- </c-col> -->
<!-- </c-col> -->
</el-form-item>
</c-col>
</c-col>
......@@ -209,20 +187,8 @@
<el-table-column prop="cur" label="币种" width="70px">
</el-table-column>
<el-table-column prop="oldamt" label="余额" width="110px">
<!-- <template slot-scope="scope">
<c-input-currency
v-model="scope.row.oldamt"
placeholder="0.00"
></c-input-currency>
</template>-->
</el-table-column>
<el-table-column prop="amt" label="变动金额" width="110px">
<!-- <template slot-scope="scope">
<c-input-currency
v-model="scope.row.amt"
placeholder="0.00"
></c-input-currency>
</template> -->
</el-table-column>
<el-table-column prop="acc" label="保证金账号" width="180px">
</el-table-column>
......@@ -231,20 +197,8 @@
<el-table-column prop="concur" label="币种" width="70px">
</el-table-column>
<el-table-column prop="covamt" label="折算后金额" width="110px">
<!-- <template slot-scope="scope">
<c-input-currency
v-model="scope.row.covamt"
placeholder="0.00"
></c-input-currency>
</template>-->
</el-table-column>
<el-table-column prop="acccovamt" label="实际折算金额" width="150px">
<!-- <template slot-scope="scope">
<c-input-currency
v-model="scope.row.acccovamt"
placeholder="0.00"
></c-input-currency>
</template> -->
</el-table-column>
<el-table-column label="操作" width="auto" fixed="right" align="center">
<template slot-scope="scope">
......@@ -310,7 +264,6 @@
import Event from '../event';
import Api from '~/service/Api';
import commonProcess from '~/mixin/commonProcess';
import CodeTable from '~/config/CodeTable';
import Utils from '~/utils/index';
export default {
......@@ -405,7 +358,7 @@ export default {
}
},
},
created () {},
created() {},
};
</script>
<style></style>
export default class Pts {
constructor() {
this.data = {
inr: '',
objtyp: '',
objinr: '',
rol: '',
ptainr: '',
ptyinr: '',
extkey: '',
adrblk: '',
ref: '',
nam: '',
ownref: '',
dftcur: '',
dftdsp: '',
dftact: '',
dftfeecur: '',
dftactptainr: '',
glggrpflg: '',
extact: '',
ver: '',
issbaninf: '',
bankno: '',
jigomc: '', //联行名称 电证用
dizhii: '', //地址 电证用
youzbm: '', //邮编 电证用
dihdig: '', //电话 电证用
};
}
}
import Trnmod from '~/components/business/doctre/model';
// 附言
import Mtabut from '~/components/business/coninfp/model';
import Setmod from '~/components/business/setmod/model';
import Liaall from '~/components/business/engp/model';
import Liaccv from '~/components/business/ccvpan/model';
import Docpan from '~/components/business/docpan/model';
export default class Publics {
constructor() {
this.data = {
Trnmod: new Trnmod().data,
Mtabut: new Mtabut().data,
Setmod: new Setmod().data,
Liaall: new Liaall().data,
Liaccv: new Liaccv().data,
Docpan: new Docpan().data,
};
}
}
export default class Mtabut {
constructor() {
this.data = {
coninf: {
oitinf: {
labinftxt: '', // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit: {
inftxt: {}, // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev: '', // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset: {
labinftxt: '', // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit: {
inftxt: {}, // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev: '', // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat: '', // 执行日期 .mtabut.coninf.conexedat
usr: {
extkey: '', // User ID .mtabut.coninf.usr.extkey
},
},
syswrn: {
dsp: '', // Display .mtabut.syswrn.dsp
},
clsflg: '',
entmod: {
entsubpenl1blk: '', //XMLPanel entsubpenl1的内置block
},
};
}
}
<!-- 附言公共页面 -->
<template>
<div class="eibs">
<c-row>
<c-col :span="24">
<c-col :span="15">
<el-form-item
style="height: 200px"
label="一般提示"
prop="mtabut.coninf.oitinf.oit.inftxt"
>
<c-input-xml
:maxRows="10"
maxlength="60"
resize="none"
show-word-limit
placeholder="请输入提示内容"
@change="selectOrCheckboxRule('mtabut.coninf.oitinf.oit.inftxt')"
:model="model.mtabut.coninf.oitinf.oit.inftxt"
></c-input-xml>
</el-form-item>
</c-col>
<c-col :span="7" :offset="1">
<el-form-item label="提示类型" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select
v-model="model.mtabut.coninf.oitinf.oit.inflev"
:disabled="GeneralIsEmpty"
placeholder="请选择"
style="width: 100%,margin-left:70px"
:code="inflev"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="15">
<el-form-item
label="付款提示"
style="height: 200px"
prop="mtabut.coninf.oitset.oit.inftxt"
>
<c-input-xml
type="textarea"
:maxRows="10"
maxlength="60"
resize="none"
show-word-limit
placeholder="请输入提示内容"
@change="selectOrCheckboxRule('mtabut.coninf.oitset.oit.inftxt')"
:model="model.mtabut.coninf.oitset.oit.inftxt"
></c-input-xml>
</el-form-item>
</c-col>
<c-col :span="7" :offset="1">
<el-form-item label="提示类型" prop="mtabut.coninf.oitset.oit.inflev">
<c-select
v-model="model.mtabut.coninf.oitset.oit.inflev"
:disabled="SettlementIsEmpty"
placeholder="请选择"
style="width: 100%,margin-left:70px"
:code="inflev"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="15">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker
type="date"
v-model="model.mtabut.coninf.conexedat"
style="width: 60%,margin-left:70px"
placeholder="请选择执行日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="7" :offset="1">
<el-form-item
label="指定复核人"
style="display: inline-block"
prop="mtabut.coninf.usr.extkey"
>
<c-input
v-model="model.mtabut.coninf.usr.extkey"
maxlength="8"
disabled="disabled"
placeholder="请输入用户编码"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
// 附言页签,勿改
import _ from '~/utils/Lodash.js';
import commonProcess from '~/mixin/commonProcess';
import IStreamInput from '~/components/IStreamInput';
export default {
components: { IStreamInput },
inject: ['root'],
props: ['model', 'codes'],
mixins: [commonProcess],
data() {
return {
inflev: [
{ label: '显示', value: '$' },
{ label: '不显示', value: '!' },
{ label: '提醒', value: '0' },
], //码表
test: '',
};
},
methods: {
valueChange(event, type) {
if (!event) {
_.set(this.model, type, '');
}
},
},
computed: {
GeneralIsEmpty: {
get() {
var temp = this.model.mtabut.coninf.oitinf.oit.inftxt.rows;
if (temp != null) {
for (let i = 0; i < temp.length; i++) {
if (temp[i].trim().length > 0) {
return false;
}
}
}
return true;
},
},
SettlementIsEmpty: {
get() {
var temp = this.model.mtabut.coninf.oitset.oit.inftxt.rows;
if (temp != null) {
for (let i = 0; i < temp.length; i++) {
if (temp[i].trim().length > 0) {
return false;
}
}
}
return true;
},
},
},
created: function () {},
};
</script>
<style></style>
export default class TrndocRequest {
constructor() {
this.data = {
transName: "",
userId: "",
rec: {},
amdRec: {},
ptsList: []
}
}
}
\ No newline at end of file
constructor() {
this.data = {
transName: '',
userId: '',
rec: {},
amdRec: {},
ptsList: [],
};
}
}
export default class Docpan {
constructor() {
this.data = {
dtamod:{
dtatagm03:"", // Courier Service Name .trnmod.trndoc.dtamod.dtatagm03
dtamod: {
dtatagm03: '', // Courier Service Name .trnmod.trndoc.dtamod.dtatagm03
},
dtemod:{
dtetagm06:"", // Information about Confirmation Instruction .trnmod.trndoc.dtemod.dtetagm06
dtetagm07:"", // Notes from Advising Bank .trnmod.trndoc.dtemod.dtetagm07
dtetagm08:"", // Fee of Advising Bank .trnmod.trndoc.dtemod.dtetagm08
dtetagm53typ:"", // Document Sending Type .trnmod.trndoc.dtemod.dtetagm53typ
dtetagm53nam:"", // Courier Name .trnmod.trndoc.dtemod.dtetagm53nam
dtetagm53num:"", // Courier Number .trnmod.trndoc.dtemod.dtetagm53num
dtemod: {
dtetagm06: '', // Information about Confirmation Instruction .trnmod.trndoc.dtemod.dtetagm06
dtetagm07: '', // Notes from Advising Bank .trnmod.trndoc.dtemod.dtetagm07
dtetagm08: '', // Fee of Advising Bank .trnmod.trndoc.dtemod.dtetagm08
dtetagm53typ: '', // Document Sending Type .trnmod.trndoc.dtemod.dtetagm53typ
dtetagm53nam: '', // Courier Name .trnmod.trndoc.dtemod.dtetagm53nam
dtetagm53num: '', // Courier Number .trnmod.trndoc.dtemod.dtetagm53num
},
nar754: "", // Narrative :77A: .trnmod.trndoc.nar754
advlabel: "", // ADVLABEL .trnmod.trndoc.advlabel
amdnam: "", // AMDNAM .trnmod.trndoc.amdnam
advdoc: "", // 国内证通知书 .trnmod.trndoc.advdoc
advnam: "", // 国内证落款 .trnmod.trndoc.advnam
amdapl: "", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl: "", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm: "", // Document tree .trnmod.trndoc.doctrestm
shwinc: "", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout: "", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm: "", // Connected Documents .trnmod.trndoc.condocstm
nar754: '', // Narrative :77A: .trnmod.trndoc.nar754
advlabel: '', // ADVLABEL .trnmod.trndoc.advlabel
amdnam: '', // AMDNAM .trnmod.trndoc.amdnam
advdoc: '', // 国内证通知书 .trnmod.trndoc.advdoc
advnam: '', // 国内证落款 .trnmod.trndoc.advnam
amdapl: '', // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl: '', // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm: '', // Document tree .trnmod.trndoc.doctrestm
shwinc: '', // Show Incoming Messages .trnmod.trndoc.shwinc
shwout: '', // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm: '', // Connected Documents .trnmod.trndoc.condocstm
rcvatt: {
seainf: "", // .trnmod.trndoc.rcvatt.seainf
seainf: '', // .trnmod.trndoc.rcvatt.seainf
},
filrecv: "", // File Receiver .trnmod.trndoc.filrecv
filrecv: '', // File Receiver .trnmod.trndoc.filrecv
doceot: [],
addstr750:""//trnmod.trndoc.addstr750
}
addstr750: '', //trnmod.trndoc.addstr750
};
}
}
\ No newline at end of file
}
......@@ -513,14 +513,14 @@ export default {
],
data: [],
},
gitopn:{
"gidgrp":{},
"gitp":{},
"trnmodVo":{},
"addbcb":{},
"cnybop":{},
"codcny":{},
"doceot":{}
gitopn: {
gidgrp: {},
gitp: {},
trnmodVo: {},
addbcb: {},
cnybop: {},
codcny: {},
doceot: {},
},
suppress: false,
};
......@@ -594,13 +594,13 @@ export default {
let params = {
docVo: row,
};
this.gitopn.gidgrp = this.model.gidgrp
this.gitopn.gitp = this.model.gitp
this.gitopn.trnmodVo = this.model.trnmod
this.gitopn.addbcb = this.model.addbcb
this.gitopn.cnybop = this.model.cnybop
this.gitopn.doceot = this.model.docpan.doceot
console.log(this.gitopn)
this.gitopn.gidgrp = this.model.gidgrp;
this.gitopn.gitp = this.model.gitp;
this.gitopn.trnmodVo = this.model.trnmod;
this.gitopn.addbcb = this.model.addbcb;
this.gitopn.cnybop = this.model.cnybop;
this.gitopn.doceot = this.model.docpan.doceot;
console.log(this.gitopn);
rtnmsg = await Api.post(
`${this.requestPrefix}/executeDocpan`,
this.gitopn
......@@ -645,11 +645,11 @@ export default {
u8arr[length] = bstr.charCodeAt(length); // 返回在指定的位置的字符的 Unicode 编码
}
let blob = new Blob([u8arr]);
let param={
blob:blob,
docnam:row.docnam
}
window["params"] = param;
let param = {
blob: blob,
docnam: row.docnam,
};
window['params'] = param;
window.open(
viewurl,
'newwindow',
......
import Api from '~/service/Api';
export default {
async processDoctre(doctreRequest) {
const loading = this.loading('正在请求数据');
let objtyp = doctreRequest.rec.objtyp;
let rtnmsg = await Api.post(`/service/${objtyp.toLowerCase()}/doctre/assertDoctre`, doctreRequest);
if (rtnmsg.respCode == SUCCESS) {
this.model.trnmod = rtnmsg.data;
}
loading.close();
},
};
<template>
<div class="eibs-tab">
<c-col :span="24" style="height: 24px; margin-bottom: 20px">
<el-form-item
label="发出面函/报文"
class="messageLabel"
label-width="96px"
></el-form-item>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
<c-istream-table-docpan :border="true" :list="data1">
<el-table-column label="类型" width="auto">
<template slot-scope="scope">
<span>{{ getType(scope.row.index) }}</span>
</template>
</el-table-column>
<el-table-column label="名称" width="auto">
<template slot-scope="scope">
<span>{{
model.trnmod.trndoc.doceot[scope.row.index].pandsc
}}</span>
</template>
</el-table-column>
<el-table-column label="创建交易" width="auto"></el-table-column>
<el-table-column label="创建日期" width="auto">
<template>
<span>{{ getNow() }}</span>
</template>
</el-table-column>
</c-istream-table-docpan>
</c-col>
<c-col
:span="24"
style="height: 24px; margin-top: 20px; margin-bottom: 20px"
>
<el-form-item
label="前置面函/报文"
class="messageLabel"
label-width="96px"
></el-form-item>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
<c-istream-table-docpan :border="true" :list="data2">
<el-table-column label="类型" width="auto"></el-table-column>
<el-table-column label="名称" width="auto"></el-table-column>
<el-table-column label="创建日期" width="auto"></el-table-column>
<el-table-column label="创建日期" width="auto"></el-table-column>
</c-istream-table-docpan>
</c-col>
</div>
</template>
<script>
import moment from 'moment';
export default {
inject: ['root'],
mixins: [],
props: ['model', 'codes'],
data() {
return {
data1: [],
data2: [],
isShow1: false,
isShow2: false,
aDisabled: true,
atoDisabled: true,
delDisabled: true,
data: [
{
label: '中国光大银行',
children: [{ label: "'企业当前管理信息'via" }],
},
{
label: 'Internal',
children: [{ label: "'收账通知'via" }],
},
],
};
},
methods: {
getType(idx) {
for (let i = 0; i < this.codes.doceotCortyp.length; i++) {
const c = this.codes.doceotCortyp[i];
if (this.model.trnmod.trndoc.doceot[idx].cortyp === c.value) {
return c.label;
}
}
return '';
},
getNow() {
return moment().format('yyyy-MM-DD');
},
handleNodeClick(data) {
if (!data.children) {
//如果没有叶子节点 ,按钮置灰
this.atoDisabled = false;
this.delDisabled = false;
} else {
this.atoDisabled = true;
this.delDisabled = true;
}
},
defaultProps() {},
async onTrndocButshw() {
let rtnmsg = await this.executeRule('trndoc.butshw');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButadd() {
let rtnmsg = await this.executeRule('trndoc.butadd');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButnew() {
let rtnmsg = await this.executeRule('trndoc.butnew');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButattto() {
let rtnmsg = await this.executeRule('trndoc.butattto');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButdel() {
let rtnmsg = await this.executeRule('trndoc.butdel');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButatt() {
let rtnmsg = await this.executeRule('trndoc.butatt');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
},
watch: {
'model.trnmod.trndoc.doceot': {
handler(val, oldVal) {
var arr = [];
let k = 0;
for (let i = 0; i < val.length; i++) {
if (val[i].role != '') {
arr[k++] = val[i];
}
}
this.data1 = arr;
},
immediate: true,
},
},
created: function () {},
};
</script>
<style scoped>
.formItemLabel >>> .el-form-item__label {
text-align: left;
}
</style>
export default class LiaallRequest {
constructor() {
this.data = {
transName: "",
userId: "",
rec: {},
amdRec: {
engamt: "",
amecur: ""
},
cbsMap: {
OPN2: {
cur: "",
amt: ""
},
NOM1: {
cur: "",
amt: ""
},
OPN1: {
cur: "",
amt: ""
},
MAX: {
cur: "",
amt: ""
},
MAX2: {
cur: "",
amt: ""
}
},
ptsList: [],
liaallg: []
}
}
}
\ No newline at end of file
constructor() {
this.data = {
transName: '',
userId: '',
rec: {},
amdRec: {
engamt: '',
amecur: '',
},
cbsMap: {
OPN2: {
cur: '',
amt: '',
},
NOM1: {
cur: '',
amt: '',
},
OPN1: {
cur: '',
amt: '',
},
MAX: {
cur: '',
amt: '',
},
MAX2: {
cur: '',
amt: '',
},
},
ptsList: [],
liaallg: [],
};
}
}
import Pts from "../../../../model/Public/Pts"
import Pts from '~/components/business/commonModel/Pts';
export default class Liaall {
constructor() {
this.data = {
tenstm: "",
tensetstm:"",
misamt: "", // Amount not yet assigned .liaall.misamt
concur: "", // External Booking Amount .liaall.concur
outpct: "", // Sight Amount Percentage .liaall.outpct
outamt: "", // Sight Amount .liaall.outamt
exttotoldamt: "", // Old Amount booked externally .liaall.exttotoldamt
exttotamt: "",
liaallg: [], // Total booking amount external assinged .liaall.exttotamt
limmod: {
limpfp:{
clmcbe:[],
clmcbb:[],
clmpty:[],
},
limgrd: [],
lmegrd: [],
limpts: {
wrklab: "", // Label .liaall.limmod.limpts.wrklab
othlab: "", // Label .liaall.limmod.limpts.othlab
othlabss: "", // Label .liaall.limmod.limpts.othlabss
wrk: {
pts: new Pts().data,
},
oth: {
pts: new Pts().data,
},
lsh: "", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1: "", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2: "", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
ptspta: {
pta: {
bic: "", // BIC of Address .liaall.limmod.wrkp.ptspta.pta.bic
},
},
},
othp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref: "", // 国结业务编号 .liaall.limmod.ownref
comamt: "", // 业务余额 .liaall.limmod.comamt
ccvamt: "", // 保证金余额 .liaall.limmod.ccvamt
ecifno: "", // ECIFNO .liaall.limmod.ecifno
tygrd:"", //.liaall.limmod.tygrd
dggrd:"", //.liaall.limmod.dggrd
constructor() {
this.data = {
tenstm: '',
tensetstm: '',
misamt: '', // Amount not yet assigned .liaall.misamt
concur: '', // External Booking Amount .liaall.concur
outpct: '', // Sight Amount Percentage .liaall.outpct
outamt: '', // Sight Amount .liaall.outamt
exttotoldamt: '', // Old Amount booked externally .liaall.exttotoldamt
exttotamt: '',
liaallg: [], // Total booking amount external assinged .liaall.exttotamt
limmod: {
limpfp: {
clmcbe: [],
clmcbb: [],
clmpty: [],
},
limgrd: [],
lmegrd: [],
limpts: {
wrklab: '', // Label .liaall.limmod.limpts.wrklab
othlab: '', // Label .liaall.limmod.limpts.othlab
othlabss: '', // Label .liaall.limmod.limpts.othlabss
wrk: {
pts: new Pts().data,
},
oth: {
pts: new Pts().data,
},
lsh: '', // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1: '', // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1: '', // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2: '', // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2: '', // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp: {
ptsget: {
sdamod: {
dadsnd: '', // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf: '', // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
liaccv: {
newamt: "", // 合同金额 .liaall.liaccv.newamt
concur: "", // 应付保证金金额 .liaall.liaccv.concur
totcovamt: "", // 金额总和 .liaall.liaccv.totcovamt
newresamt: "", // Reserved Amount .liaall.liaccv.newresamt
addinf: "", // Additional Information .liaall.liaccv.addinf
cshpct: "", // 保证金应收比例 .liaall.liaccv.cshpct
relcshpct: "", // 保证金实收比例 .liaall.liaccv.relcshpct
gleflg: "", // Create gle flag .liaall.liaccv.gleflg
chgcurflg: "", // Change currency flag .liaall.liaccv.chgcurflg
pctresamt: "", // reserve amount based percent .liaall.liaccv.pctresamt
liaccvg: [],
stgstm:[],
dnfmod:{
kehuzh:"", //保证金账户 liaall.liaccv.dnfmod.kehuzh
ccvtyp:"", //操作类型 liaall.liaccv.dnfmod.ccvtyp
zhqtyp:"", //支取类型 liaall.liaccv.dnfmod.zhqtyp
zhqucs:"", //支取次数 liaall.liaccv.dnfmod.zhqucs
tizamt:"", //部分提支金额 liaall.liaccv.dnfmod.tizamt
yewudh:"", //业务代号 liaall.liaccv.dnfmod.yewudh
pridsp:"", //本金转入账户 liaall.liaccv.dnfmod.pridsp
zhruzh:"", //本金转入账户 liaall.liaccv.dnfmod.zhruzh
qicuje:"", //起存金额 liaall.liaccv.dnfmod.qicuje
intdsp:"", //利息转入账户 liaall.liaccv.dnfmod.intdsp
lxzyzh:"", //利息转入账户 liaall.liaccv.dnfmod.lxzyzh
zhhuye:"", //帐户余额 liaall.liaccv.dnfmod.zhhuye
stm8023:"", //8023STREAM liaall.liaccv.dnfmod.stm8023
},
},
ptspta: {
pta: {
bic: '', // BIC of Address .liaall.limmod.wrkp.ptspta.pta.bic
},
}
}
}
\ No newline at end of file
},
},
othp: {
ptsget: {
sdamod: {
dadsnd: '', // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf: '', // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref: '', // 国结业务编号 .liaall.limmod.ownref
comamt: '', // 业务余额 .liaall.limmod.comamt
ccvamt: '', // 保证金余额 .liaall.limmod.ccvamt
ecifno: '', // ECIFNO .liaall.limmod.ecifno
tygrd: '', //.liaall.limmod.tygrd
dggrd: '', //.liaall.limmod.dggrd
},
liaccv: {
newamt: '', // 合同金额 .liaall.liaccv.newamt
concur: '', // 应付保证金金额 .liaall.liaccv.concur
totcovamt: '', // 金额总和 .liaall.liaccv.totcovamt
newresamt: '', // Reserved Amount .liaall.liaccv.newresamt
addinf: '', // Additional Information .liaall.liaccv.addinf
cshpct: '', // 保证金应收比例 .liaall.liaccv.cshpct
relcshpct: '', // 保证金实收比例 .liaall.liaccv.relcshpct
gleflg: '', // Create gle flag .liaall.liaccv.gleflg
chgcurflg: '', // Change currency flag .liaall.liaccv.chgcurflg
pctresamt: '', // reserve amount based percent .liaall.liaccv.pctresamt
liaccvg: [],
stgstm: [],
dnfmod: {
kehuzh: '', //保证金账户 liaall.liaccv.dnfmod.kehuzh
ccvtyp: '', //操作类型 liaall.liaccv.dnfmod.ccvtyp
zhqtyp: '', //支取类型 liaall.liaccv.dnfmod.zhqtyp
zhqucs: '', //支取次数 liaall.liaccv.dnfmod.zhqucs
tizamt: '', //部分提支金额 liaall.liaccv.dnfmod.tizamt
yewudh: '', //业务代号 liaall.liaccv.dnfmod.yewudh
pridsp: '', //本金转入账户 liaall.liaccv.dnfmod.pridsp
zhruzh: '', //本金转入账户 liaall.liaccv.dnfmod.zhruzh
qicuje: '', //起存金额 liaall.liaccv.dnfmod.qicuje
intdsp: '', //利息转入账户 liaall.liaccv.dnfmod.intdsp
lxzyzh: '', //利息转入账户 liaall.liaccv.dnfmod.lxzyzh
zhhuye: '', //帐户余额 liaall.liaccv.dnfmod.zhhuye
stm8023: '', //8023STREAM liaall.liaccv.dnfmod.stm8023
},
},
};
}
}
<template>
<el-dialog v-if="visiable" :visible.sync="visiable" center destroy-on-close :before-close="beforeClose" width="70%">
<el-dialog
v-if="visiable"
:visible.sync="visiable"
center
destroy-on-close
:before-close="beforeClose"
width="70%"
>
<el-form v-model="formData" label-width="150px">
<c-row>
<c-col>
<c-col :span="12">
<el-form-item label="记账角色">
<c-input v-model="formData.rol" disabled />
</el-form-item>
</c-col>
<c-row>
<c-col>
<c-col :span="12">
<el-form-item label="记账角色">
<c-input v-model="formData.rol" disabled />
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="起息日">
<!-- <c-input v-model="formData.dat1" type="date" /> -->
<c-date-picker type="date" v-model="formData.valdat" format="yyyy-MM-dd" style="width: 100%" placeholder="请选择起算时间"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="起息日">
<!-- <c-input v-model="formData.dat1" type="date" /> -->
<c-date-picker
type="date"
v-model="formData.valdat"
format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择起算时间"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="到期日">
<!-- <c-input v-model="formData.dat1" type="date" /> -->
<c-date-picker type="date" v-model="formData.matdat" format="yyyy-MM-dd" style="width: 100%" placeholder="请选择起算时间"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="到期日">
<!-- <c-input v-model="formData.dat1" type="date" /> -->
<c-date-picker
type="date"
v-model="formData.matdat"
format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择起算时间"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="原始金额">
<c-col :span="13">
<c-input v-model="formData.cur" disabled />
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px">
<c-input v-model="formData.oldamt" disabled />
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="原始金额">
<c-col :span="13">
<c-input v-model="formData.cur" disabled />
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px">
<c-input v-model="formData.oldamt" disabled />
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="记账金额">
<c-col :span="13">
<c-input v-model="formData.cur" disabled />
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px">
<c-input v-model="formData.amt" disabled />
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="记账金额">
<c-col :span="13">
<c-input v-model="formData.cur" disabled />
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px">
<c-input v-model="formData.amt" disabled />
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="记账账号">
<c-col>
<c-select v-model="formData.acc" />
</c-col>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="记账账号">
<c-col >
<c-select v-model="formData.acc" />
</c-col>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="抵扣账号">
<c-col>
<c-input v-model="formData.acc2" disabled />
</c-col>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="抵扣账号">
<c-col >
<c-input v-model="formData.acc2" disabled />
</c-col>
</el-form-item>
</c-col>
<c-col :span="4" :offset="9">
<c-button type="primary" @click="saveDialog">
确 定
</c-button>
</c-col>
<c-col :span="6">
<c-button @click="visiable = false">取 消</c-button>
</c-col>
<c-col>&nbsp;</c-col>
</c-col>
</c-row>
<c-col :span="4" :offset="9">
<c-button type="primary" @click="saveDialog"> 确 定 </c-button>
</c-col>
<c-col :span="6">
<c-button @click="visiable = false">取 消</c-button>
</c-col>
<c-col>&nbsp;</c-col>
</c-col>
</c-row>
</el-form>
</el-dialog>
</el-dialog>
</template>
<script>
export default {
props: {
model: Object,
idx: Number,
codes: Object,
},
data() {
return {
formData: {},
visiable: false,
};
props: {
model: Object,
idx: Number,
codes: Object,
},
data() {
return {
formData: {},
visiable: false,
};
},
methods: {
saveDialog() {
this.model.liaall.liaallg.splice(this.idx, 1, this.formData);
this.visiable = false;
},
methods: {
saveDialog() {
this.model.liaall.liaallg.splice(this.idx, 1, this.formData);
this.visiable = false;
},
beforeClose(done) {
this.visiable = false;
done();
},
beforeClose(done) {
this.visiable = false;
done();
},
},
};
</script>
......
<template>
<div class="eibs">
<!-- <c-col :span="24" style="margin-bottom:18px">
Liability
</c-col> -->
<c-col :span="24" style="">
<c-table
:list="model.liaall.liaallg"
......@@ -50,34 +47,13 @@
</el-table-column>
<el-table-column prop="rol" label="债务人" width="70px">
</el-table-column>
<!--
<el-table-column prop="nam" label="Name" width="300"> </el-table-column>
-->
<el-table-column prop="cdtrol" label="债权人" width="70px">
</el-table-column>
<el-table-column prop="cur" label="币种" width="70px">
</el-table-column>
<el-table-column prop="oldamt" label="原始金额" width="110px">
<!-- <template slot-scope="scope">
<c-input-currency
v-model="scope.row.oldamt"
placeholder="0.00"
></c-input-currency>
</template> -->
<!-- <template slot-scope="scope">
{{moneyFormat(scope.row.oldamt)}}
</template> -->
</el-table-column>
<el-table-column prop="amt" label="记账金额" width="110px">
<!-- <template slot-scope="scope">
{{moneyFormat(scope.row.amt)}}
</template> -->
<!-- <template slot-scope="scope">
<c-input-currency
v-model="scope.row.amt"
placeholder="0.00"
></c-input-currency>
</template> -->
</el-table-column>
<el-table-column prop="tenpct" label="%" width="70px">
</el-table-column>
......@@ -89,12 +65,6 @@
:prop="'liaall.liaallg.' + scope.$index + '.acc'"
>
{{ scope.row.acc }}
<!-- <c-input
v-model="scope.row.acc"
style="width: 100%"
placeholder="请输入"
>
</c-input> -->
</el-form-item>
</template>
</el-table-column>
......@@ -149,25 +119,6 @@
:codes="codes"
/>
</div>
<!-- <c-col :span="12">
<el-form-item label="Sight Amount">
<c-input style="width:50%" v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sight Amount Percentage">
<c-input style="width:50%" v-model="model.liaall.outpct" placeholder="请输入Sight Amount Percentage"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Booking Amount">
<c-input style="width:70%" v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="16" style="margin-top: 10px">
<el-form-item label="未分配金额">
<c-input
......@@ -194,40 +145,10 @@
</c-button>
</el-form-item>
</c-col>
<!-- <c-col :span="1" style="text-align:left;margin-left:0">
<el-form-item label="">
<c-button size="small" disabled type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="">
<c-button size="small" type="primary" @click="onLiaallButmissig">
Add to Sight Amount
</c-button>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Old Amount booked externally">
<c-input style="width:50%" v-model="model.liaall.exttotoldamt" placeholder="请输入Old Amount booked externally"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total booking amount external assinged">
<c-input style="width:50%" v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input>
</el-form-item>
</c-col> -->
</div>
</template>
<script>
import Api from '~/service/Api';
import commonProcess from '~/mixin/commonProcess';
import CodeTable from '~/config/CodeTable';
import EngpDialog from './dialog.vue';
export default {
......
export default class GlentryRequest {
constructor() {
this.data = {
transName: "",
userId: "",
rec: {
},
cbsMap: {
OPN2: {
cur: "",
amt: ""
},
NOM1: {
cur: "",
amt: ""
},
OPN1: {
cur: "",
amt: ""
},
MAX: {
cur: "",
amt: ""
},
MAX2: {
cur: "",
amt: ""
}
},
ptsList: [],
setfog: {
setfol: []
},
setfeg: {
setfel: []
},
setglg: {
setgll: []
},
liaallg:[]
}
}
}
\ No newline at end of file
constructor() {
this.data = {
transName: '',
userId: '',
rec: {},
cbsMap: {
OPN2: {
cur: '',
amt: '',
},
NOM1: {
cur: '',
amt: '',
},
OPN1: {
cur: '',
amt: '',
},
MAX: {
cur: '',
amt: '',
},
MAX2: {
cur: '',
amt: '',
},
},
ptsList: [],
setfog: {
setfol: [],
},
setfeg: {
setfel: [],
},
setglg: {
setgll: [],
},
liaallg: [],
};
}
}
<template>
<div class="eibs">
<c-col :span="24" style="">
<el-table
:data="data"
:columns="columns"
:showButtonFlg="true"
>
<el-table-column
v-for="(item, key) in columns"
:key="key"
:label="item.label"
:prop="item.prop"
></el-table-column>
<el-table :data="data" :columns="columns" :showButtonFlg="true">
<el-table-column
v-for="(item, key) in columns"
:key="key"
:label="item.label"
:prop="item.prop"
></el-table-column>
</el-table>
</c-col>
</div>
</template>
<script>
import Api from '~/service/Api';
import commonProcess from '~/mixin/commonProcess';
import CodeTable from '~/config/CodeTable';
export default {
inject: ['root'],
mixins: [commonProcess],
props: ['model', 'codes'],
data() {
return {
columns: [
{
label: '借/贷',
prop: 'dbtcdt'
prop: 'dbtcdt',
},
{
label: '账号',
prop: 'act'
prop: 'act',
},
{
label:'币种',
prop:'cur'
label: '币种',
prop: 'cur',
},
{
label:'金额',
prop:'amt'
label: '金额',
prop: 'amt',
},
{
label:'起息日',
prop:'valdat'
label: '起息日',
prop: 'valdat',
},
{
label:'牌价类型',
prop:'trmtyp'
label: '牌价类型',
prop: 'trmtyp',
},
{
label:'牌价',
prop:'sysamt'
label: '牌价',
prop: 'sysamt',
},
{
label:'会计科目',
prop:'trnman'
label: '会计科目',
prop: 'trnman',
},
],
data: [],
};
},
watch: {
//this.$refs.glepan.stmData.data = res.data.setmod_glemod_gleshwstm.rows;
'model.setmod.glemod.gleshwstm': {
handler(val) {
this.data = val;
......
import Api from '~/service/Api';
export default {
async processLimitbody(limitbodyRequest) {
const loading = this.loading('正在请求数据');
let objtyp = limitbodyRequest.rec.objtyp;
let rtnmsg = await Api.post(`/service/${objtyp.toLowerCase()}/limit/assertLimit`, limitbodyRequest);
if (rtnmsg.respCode == SUCCESS) {
this.copyValueFromVoData(this.model.liaall.limmod, rtnmsg.data)
}
loading.close();
},
};
......@@ -3,7 +3,7 @@ export default {
async processSetpan(setfegRequest, fn) {
let loading = this.loading('正在请求试算费用');
let objtyp = setfegRequest.rec.objtyp;
let rtnmsg = await Api.post(`/service/${ objtyp.toLowerCase() }/setmod/calcSettleDetail`, setfegRequest);
let rtnmsg = await Api.post(`/service/${ objtyp.toLowerCase() }/calcFeeDetail`, setfegRequest);
if (rtnmsg.respCode === SUCCESS) {
this.model.setmod.setfeg = rtnmsg.data.setfeg;
this.model.setmod.ref = rtnmsg.data.ref;
......@@ -15,7 +15,7 @@ export default {
loading = this.loading('正在请求试算账务');
let setglgRequestParams = fn()
let res = await Api.post(`/service/${ objtyp.toLowerCase() }/setmod/calcPayDetail`, setglgRequestParams);
let res = await Api.post(`/service/${ objtyp.toLowerCase() }/calcSettleDetail`, setglgRequestParams);
if (res.respCode == SUCCESS) {
this.model.setmod.setglg = res.data.setglg;
}
......@@ -25,7 +25,8 @@ export default {
},
async calcPayDetail(setglgRequest) {
let loading = this.loading('正在请求试算账务');
let rtnmsg = await Api.post('/service/gid/setmod/calcPayDetail', setglgRequest);
let objtyp = setglgRequest.rec.objtyp;
let rtnmsg = await Api.post(`/service/${ objtyp.toLowerCase() }/calcSettleDetail`, setglgRequest);
if (rtnmsg.respCode == SUCCESS) {
this.model.setmod.setglg = rtnmsg.data.setglg;
}
......@@ -33,7 +34,7 @@ export default {
},
async setgllAccts(reqParams, index) {
let loading = this.loading();
let rulePath = '/service/gid/setmod/setgll/' + index + '/accts';
let rulePath = '/service/gid/setmod/setgll/' + index + '/accts';//TODO 这里的gid应该是变量
let rtnmsg = await Api.post(rulePath, reqParams);
if (rtnmsg.respCode == SUCCESS) {
this.model.setmod.setglg = rtnmsg.data.setglg;
......
export default class SetfegRequest {
constructor() {
this.data = {
transName: "",
userId: "",
rec: {
},
amdRec: {
maxamt: "",
newexpdat: ""
},
cbsMap: {
OPN2: {
cur: "",
amt: ""
},
NOM1: {
cur: "",
amt: ""
},
OPN1: {
cur: "",
amt: ""
},
MAX: {
cur: "",
amt: ""
},
MAX2: {
cur: "",
amt: ""
}
},
ptsList: [],
ptydet: [],
doceot: [],
setfeg: {
setfel: []
},
setglg: {
setgll: []
},
liaall:{}
}
}
}
\ No newline at end of file
constructor() {
this.data = {
transName: '',
userId: '',
rec: {},
amdRec: {
maxamt: '',
newexpdat: '',
},
cbsMap: {
OPN2: {
cur: '',
amt: '',
},
NOM1: {
cur: '',
amt: '',
},
OPN1: {
cur: '',
amt: '',
},
MAX: {
cur: '',
amt: '',
},
MAX2: {
cur: '',
amt: '',
},
},
ptsList: [],
ptydet: [],
doceot: [],
setfeg: {
setfel: [],
},
setglg: {
setgll: [],
},
liaall: {},
};
}
}
export default class SetglgRequest {
constructor() {
this.data = {
transName: "",
userId: "",
rec: {
},
amdRec: {
maxamt: "",
newexpdat: ""
},
cbsMap: {
OPN2: {
cur: "",
amt: ""
},
NOM1: {
cur: "",
amt: ""
},
OPN1: {
cur: "",
amt: ""
},
MAX: {
cur: "",
amt: ""
},
MAX2: {
cur: "",
amt: ""
}
},
ptsList: [],
setfeg: {
setfel: []
},
liaall:{}
}
}
}
\ No newline at end of file
constructor() {
this.data = {
transName: '',
userId: '',
rec: {},
amdRec: {
maxamt: '',
newexpdat: '',
},
cbsMap: {
OPN2: {
cur: '',
amt: '',
},
NOM1: {
cur: '',
amt: '',
},
OPN1: {
cur: '',
amt: '',
},
MAX: {
cur: '',
amt: '',
},
MAX2: {
cur: '',
amt: '',
},
},
ptsList: [],
setfeg: {
setfel: [],
},
liaall: {},
liaccv: {}
};
}
}
export default class Setmod {
constructor() {
this.data = {
ogiamt:"",
docamttyplab: "", // settled amount description as label .setmod.docamttyplab
retmsg: "", // Label showing Retry overflow condition .setmod.retmsg
ref: "", // our reference .setmod.ref
doccur: "", // document currency .setmod.doccur
docamt: "", // document amount .setmod.docamt
dspflg: "", // Type of settlement .setmod.dspflg
xreflg: "", // Recalculate Rates .setmod.xreflg
setglg: {
sespay: {
strinf202: "",
evebnk: "",
corbnk: "",
oriacc: "",
awiacc: "",
beiacc: "",
awip: {
ptspta: {
pts: {
extkey: "",
adrblk: "",
},
},
},
actserp: {
ptspta: {
pts: {
extkey: "",
adrblk: "",
},
},
},
triacc: "",
rcvcoracc: "",
setgrp: {
snd756: {
pts: {
extkey: "",
adrblk: "",
},
},
bei: {
pts: {
extkey: "",
adrblk: "",
},
},
tri: {
pts: {
extkey: "",
adrblk: "",
},
},
rcvcor: {
pts: {
extkey: "",
adrblk: "",
},
},
rcvcor2: {
pts: {
extkey: "",
adrblk: "",
},
},
ori: {
pts: {
extkey: "",
adrblk: "",
},
},
},
},
labdspflg: "", // Label for Type of Settlement .setmod.setglg.labdspflg
setgll:[],
constructor() {
this.data = {
ogiamt: '',
docamttyplab: '', // settled amount description as label .setmod.docamttyplab
retmsg: '', // Label showing Retry overflow condition .setmod.retmsg
ref: '', // our reference .setmod.ref
doccur: '', // document currency .setmod.doccur
docamt: '', // document amount .setmod.docamt
dspflg: '', // Type of settlement .setmod.dspflg
xreflg: '', // Recalculate Rates .setmod.xreflg
setglg: {
sespay: {
strinf202: '',
evebnk: '',
corbnk: '',
oriacc: '',
awiacc: '',
beiacc: '',
awip: {
ptspta: {
pts: {
extkey: '',
adrblk: '',
},
},
zmqacclab: "", // 主�'�号LABEL .setmod.zmqacclab
zmqacc: "", // 自�'�区主�'�号 .setmod.zmqacc
setfog: {
setfol: []
},
actserp: {
ptspta: {
pts: {
extkey: '',
adrblk: '',
},
},
setfeg: {
setfel: []
},
triacc: '',
rcvcoracc: '',
setgrp: {
snd756: {
pts: {
extkey: '',
adrblk: '',
},
},
glemod: {
gleshwstm: {}
bei: {
pts: {
extkey: '',
adrblk: '',
},
},
setamt:"", // 扣费后付款金额 .setmod.setamt
redamt:"", // 扣减金额 .setmod.redamt
refdat:"",
}
}
}
\ No newline at end of file
tri: {
pts: {
extkey: '',
adrblk: '',
},
},
rcvcor: {
pts: {
extkey: '',
adrblk: '',
},
},
rcvcor2: {
pts: {
extkey: '',
adrblk: '',
},
},
ori: {
pts: {
extkey: '',
adrblk: '',
},
},
},
},
labdspflg: '', // Label for Type of Settlement .setmod.setglg.labdspflg
setgll: [],
},
zmqacclab: '', // 主�'�号LABEL .setmod.zmqacclab
zmqacc: '', // 自�'�区主�'�号 .setmod.zmqacc
setfog: {
setfol: [],
},
setfeg: {
setfel: [],
},
glemod: {
gleshwstm: {},
},
setamt: '', // 扣费后付款金额 .setmod.setamt
redamt: '', // 扣减金额 .setmod.redamt
refdat: '',
};
}
}
......@@ -59,7 +59,8 @@ import MulRowInput from "./MulRowInput.vue"
import RichTextEditor from "./RichTextEditor.vue"
import XmlFormatEditor from "./XmlFormatEditor.vue"
import XmlFormatEditorNew from "./XmlFormatEditorNew.vue"
// 带分页请求的弹框组件
import GridSelectDialog from './GridSelectDialog.vue'
export default {
install(Vue) {
Vue.component("c-page", c_page)
......@@ -119,5 +120,6 @@ export default {
Vue.component("c-rich-text-editor", RichTextEditor)
Vue.component("c-xml-format-editor", XmlFormatEditor)
Vue.component("c-xml-format-editor-new", XmlFormatEditorNew)
Vue.component("c-grid-select-dialog", GridSelectDialog)
}
}
\ No newline at end of file
import Api from "~/service/Api"
import Api from '~/service/Api';
export default {
methods: {
async init () {
async init() {
const params = {
spt: this.toHandleRowData
}
spt: this.toHandleRowData,
};
const res = await Api.post('/service/gitopn/init', {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
});
if (!res.data) {
return
return;
}
if (res.data.addbcb) {
this.$set(this.model, 'addbcb', res.data.addbcb)
this.$set(this.model, 'addbcb', res.data.addbcb);
}
if (res.data.gitp) {
this.$set(this.model, 'gitp', res.data.gitp)
this.$set(this.model, 'gitp', res.data.gitp);
}
if (res.data.gidgrp) {
this.$set(this.model, 'gidgrp', res.data.gidgrp)
this.$set(this.model, 'gidgrp', res.data.gidgrp);
}
if (res.data.cfagit) {
this.$set(this.model, 'cfagit', res.data.cfagit)
this.$set(this.model, 'cfagit', res.data.cfagit);
}
if (res.data.cnybop) {
this.$set(this.model, 'cnybop', res.data.cnybop)
this.$set(this.model, 'cnybop', res.data.cnybop);
}
this.$set(this.model, 'setmod', {
...this.model.setmod,
setfeg: res.data.setfeg,
setfog: res.data.setfog,
setglg: res.data.setglg,
})
console.log(res)
});
console.log(res);
},
async tabClick(tab) {
if (this.isInDisplay) {
......@@ -72,106 +72,127 @@ export default {
//处理-复核
async handlePass(val) {
let params = {
}
let params = {};
let rtnmsg = await Api.post('', params);
if(rtnmsg.respCode === SUCCESS) {
let errorMsg = "";
let fieldErrorsFlag = (JSON.stringify(rtnmsg.fieldErrors) == "{}");
if (rtnmsg.respCode === SUCCESS) {
let errorMsg = '';
let fieldErrorsFlag = JSON.stringify(rtnmsg.fieldErrors) == '{}';
if (!fieldErrorsFlag) {
let errorMsgkey = "";
let errorMsgVal = "";
for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
}
errorMsg = errorMsgkey + ':' + errorMsgVal;
this.$notify.error({ title: '错误', message: '复核失败!错误信息[' + errorMsg + ']' });
let errorMsgkey = '';
let errorMsgVal = '';
for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
}
errorMsg = errorMsgkey + ':' + errorMsgVal;
this.$notify.error({
title: '错误',
message: '复核失败!错误信息[' + errorMsg + ']',
});
} else {
this.$notify({
title: '成功',
message: '复核成功',
type: 'success'
});
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.history.push("/taskList", () => {
this.$store.commit("setTaskListTabVal", 'trnrel');
this.handleSearch()
});
this.$notify({
title: '成功',
message: '复核成功',
type: 'success',
});
this.$store.dispatch('TagsView/delView', this.$route);
this.$router.history.push('/taskList', () => {
this.$store.commit('setTaskListTabVal', 'trnrel');
// 刷新表格
this.$store.commit('setLoadingFreshReview', true);
});
}
} else {
let errorMsg = "";
let fieldErrorsFlag = (JSON.stringify(rtnmsg.fieldErrors) == "{}");
let errorMsg = '';
let fieldErrorsFlag = JSON.stringify(rtnmsg.fieldErrors) == '{}';
if (!fieldErrorsFlag) {
let errorMsgkey = "";
let errorMsgVal = "";
for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
errorMsg = errorMsg + errorMsgkey + ':' + errorMsgVal + ";";
}
let errorMsgkey = '';
let errorMsgVal = '';
for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
errorMsg = errorMsg + errorMsgkey + ':' + errorMsgVal + ';';
}
} else if (rtnmsg.respMsg) {
errorMsg = rtnmsg.respMsg;
errorMsg = rtnmsg.respMsg;
}
this.$notify.error({ title: '错误', message: '复核失败!错误信息[' + errorMsg + ']' });
this.$notify.error({
title: '错误',
message: '复核失败!错误信息[' + errorMsg + ']',
});
}
},
//处理-打回
async handleRefuse(val) {
let params = {
}
let rtnmsg = await Api.post('', params);
trninr: this.$route.query.trn,
transName: 'TRNREL',
userId: sessionStorage.getItem('userId') || 'ZL',
pageId: this.model.pageId || '1',
dflg: '',
relflg: '',
inidatfro: '',
inidattol: '',
};
let rtnmsg = await Api.post('/service/trnrel/reprow', params);
if (rtnmsg.respCode == SUCCESS) {
let errorMsg = "";
let fieldErrorsFlag = (JSON.stringify(rtnmsg.fieldErrors) == "{}");
let errorMsg = '';
let fieldErrorsFlag =
!rtnmsg.fieldErrors || JSON.stringify(rtnmsg.fieldErrors) == '{}';
if (!fieldErrorsFlag) {
let errorMsgkey = "";
let errorMsgVal = "";
for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
}
errorMsg = errorMsgkey + ':' + errorMsgVal;
this.$notify.error({ title: '错误', message: '退回失败!错误信息[' + errorMsg + ']' });
let errorMsgkey = '';
let errorMsgVal = '';
for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
}
errorMsg = errorMsgkey + ':' + errorMsgVal;
this.$notify.error({
title: '错误',
message: '退回失败!错误信息[' + errorMsg + ']',
});
} else {
this.$notify({
title: '成功',
message: '退回成功',
type: 'success'
});
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.history.push("/taskList", () => {
this.$store.commit("setTaskListTabVal", 'trnrel');
this.handleSearch()
});
this.$notify({
title: '成功',
message: '退回成功',
type: 'success',
});
this.$store.dispatch('TagsView/delView', this.$route);
this.$router.history.push('/taskList', () => {
this.$store.commit('setTaskListTabVal', 'trnrel');
// 刷新表格
this.$store.commit('setLoadingFreshReview', true);
});
}
}
else {
let errorMsg = "";
let fieldErrorsFlag = (JSON.stringify(rtnmsg.fieldErrors) == "{}");
if (!fieldErrorsFlag) {
let errorMsgkey = "";
let errorMsgVal = "";
for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
errorMsg = errorMsg + errorMsgkey + ':' + errorMsgVal + ";";
}
} else if (rtnmsg.respMsg) {
errorMsg = rtnmsg.respMsg;
} else {
let errorMsg = '';
let fieldErrorsFlag =
!rtnmsg.fieldErrors || JSON.stringify(rtnmsg.fieldErrors) == '{}';
if (!fieldErrorsFlag) {
let errorMsgkey = '';
let errorMsgVal = '';
for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
errorMsg = errorMsg + errorMsgkey + ':' + errorMsgVal + ';';
}
this.$notify.error({ title: '错误', message: '退回失败!错误信息[' + errorMsg + ']' });
} else if (rtnmsg.respMsg) {
errorMsg = rtnmsg.respMsg;
}
this.$notify.error({
title: '错误',
message: '退回失败!错误信息[' + errorMsg + ']',
});
}
},
//处理-退出
handleExit() {
}
}
}
\ No newline at end of file
this.$store.dispatch('TagsView/delView', this.$route);
this.$router.history.push('/taskList', () => {
this.$store.commit('setTaskListTabVal', 'trnrel');
});
},
},
};
......@@ -257,7 +257,7 @@ export default {
}
}
}
let res = await Api.post('/gjjs/service/gitopn/init', params);
let res = await Api.post('/service/gitopn/init', params);
if (res && res.respCode == SUCCESS) {
this.model = res.data
//TODO 处理数据逻辑
......
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/manager/cty/queryByPage", data)
return Api.post("/service/cty/queryByPage", data)
}
export function queryById(inr) {
return Api.post(`/manager/cty/queryById?inr=${inr}`)
return Api.post(`/service/cty/queryById?inr=${inr}`)
}
export function add(data) {
return Api.post("/manager/cty/add", data)
return Api.post("/service/cty/add", data)
}
export function hasCod(cod) {
return Api.post(`/manager/cty/hasCod?cod=${cod}`)
return Api.post(`/service/cty/hasCod?cod=${cod}`)
}
export function edit(data) {
return Api.post("/manager/cty/edit", data)
return Api.post("/service/cty/edit", data)
}
export function deleteById(inr) {
......@@ -25,13 +25,13 @@ export function deleteById(inr) {
}
export function addBopctyData(inr, data) {
return Api.post(`/manager/cty/addBopctyData?inr=${inr}`, data)
return Api.post(`/service/cty/addBopctyData?inr=${inr}`, data)
}
export function editBopctyData(inr, data) {
return Api.post(`/manager/cty/editBopctyData?inr=${inr}`, data)
return Api.post(`/service/cty/editBopctyData?inr=${inr}`, data)
}
export function deleteBopctyById(data) {
return Api.post(`/manager/cty/deleteBopctyById`, data)
return Api.post(`/service/cty/deleteBopctyById`, data)
}
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/manager/cur/queryByPage", data)
return Api.post("/service/cur/queryByPage", data)
}
export function curInfo(inr) {
return Api.post(`/manager/cur/queryById?inr=${inr}`)
return Api.post(`/service/cur/queryById?inr=${inr}`)
}
export function add(data) {
return Api.post("/manager/cur/add", data)
return Api.post("/service/cur/add", data)
}
export function hasCod(cod) {
return Api.post(`/manager/cur/hasCod?cod=${cod}`)
return Api.post(`/service/cur/hasCod?cod=${cod}`)
}
export function edit(data) {
return Api.post("/manager/cur/edit", data)
return Api.post("/service/cur/edit", data)
}
export function deleteById(data) {
......
import Api from '~/service/Api'
export function queryByPage(data) {
return Api.post('/service/oit/queryByPage', data)
}
export function queryById(data) {
return Api.post('/service/oit/queryById', data)
}
export function add(data) {
return Api.post('/service/oit/add', data)
}
export function edit(data) {
return Api.post('/service/oit/edit', data)
}
export function deleteById(data) {
return Api.post('/service/oit/deleteById', data)
}
......@@ -288,17 +288,23 @@ import Dbabch from "~/views/Statics/Dbabch";
import Dbebch from "~/views/Statics/Dbebch";
import Dbdbch from "~/views/Statics/Dbdbch";
import Infcty from "~/views/Statics/Infcty";
import Dbicty from "~/views/Statics/Dbicty";
import Dbacty from "~/views/Statics/Dbacty";
import Dbecty from "~/views/Statics/Dbecty";
import Dbdcty from "~/views/Statics/Dbdcty";
import Infcur from "~/views/Statics/Infcur";
import Dbacur from "~/views/Statics/Dbacur";
import Dbicur from "~/views/Statics/Dbicur";
import Dbecur from "~/views/Statics/Dbecur";
import Dbdcur from "~/views/Statics/Dbdcur";
import Infcty from "~/views/Statics/cty/views/Infcty";
import Dbicty from "~/views/Statics/cty/views/Dbicty";
import Dbacty from "~/views/Statics/cty/views/Dbacty";
import Dbecty from "~/views/Statics/cty/views/Dbecty";
import Dbdcty from "~/views/Statics/cty/views/Dbdcty";
import Infoit from "~/views/Statics/Act/views/Infoit"
import Dbioit from "~/views/Statics/Act/views/Dbioit"
import Dbaoit from "~/views/Statics/Act/views/Dbaoit"
import Dbdoit from "~/views/Statics/Act/views/Dbdoit"
import Dbeoit from "~/views/Statics/Act/views/Dbeoit"
import Infcur from "~/views/Statics/cur/views/Infcur";
import Dbacur from "~/views/Statics/cur/views/Dbacur";
import Dbicur from "~/views/Statics/cur/views/Dbicur";
import Dbecur from "~/views/Statics/cur/views/Dbecur";
import Dbdcur from "~/views/Statics/cur/views/Dbdcur";
import Inffec from "~/views/Statics/Inffec";
import Dbifec from "~/views/Statics/Dbifec";
......@@ -619,6 +625,12 @@ const BusRouter = [
{ path: 'dbeact/:inr', component: Dbeact, name: 'StaticsDbeact', meta: { title: (tag) => { return '资金账户修改: ' + tag.params.inr } } },
{ path: 'dbdact/:inr', component: Dbdact, name: 'StaticsDbdact', meta: { title: (tag) => { return '资金账户删除: ' + tag.params.inr } } },
{ path: 'infoit', component: Infoit, name: 'StaticsInfoit', meta: { title: '查询消息信息' } },
{ path: 'dbaoit', component: Dbaoit, name: 'StaticsDbaoit', meta: { title: '新增消息信息' } },
{ path: 'dbioit/:inr', component: Dbioit, name: 'StaticsDbioit', meta: { title: (tag) => { return '查看消息信息: ' + tag.params.inr } } },
{ path: 'dbeoit/:inr', component: Dbeoit, name: 'StaticsDbeoit', meta: { title: (tag) => { return '修改消息信息: ' + tag.params.inr } } },
{ path: 'dbdoit/:inr', component: Dbdoit, name: 'StaticsDbdoit', meta: { title: (tag) => { return '删除消息信息: ' + tag.params.inr } } },
{ path: 'infatp', component: Infatp, name: 'StaticsInfatp', meta: { title: '交易配置信息查询' } },
{ path: 'dbaatp', component: Dbaatp, name: 'StaticsDbaatp', meta: { title: '交易配置信息新增' } },
......
......@@ -193,6 +193,7 @@ export default {
{ inifrm: "infact", ininam: "账号信息查询", pntmiu: "10" },
{ inifrm: "infatp", ininam: "交易模式配置查询", pntmiu: "10" },
{ inifrm: "infbch", ininam: "机构信息查询", pntmiu: "10" },
{ inifrm: 'infoit', ininam: '消息信息查询OIT', pntmiu: '10' },
{ inifrm: "infcty", ininam: "国别信息查询", pntmiu: "10" },
{ inifrm: "infcur", ininam: "币种信息查询", pntmiu: "10" },
{ inifrm: "inffec", ininam: "费率信息查询", pntmiu: "10" },
......
export default class Oit {
constructor() {
this.data = {
inr: '',
objtyp: '',
objinr: '',
subtyp: '',
subbus: '',
inflev: '',
inftxt: '',
ver: '',
etgextkey: '',
ownref: '',
nam: '',
cod: '',
extkey: '',
}
}
}
export const Pattern = {
inr: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 8, message: '最大长度8个字符', trigger: 'blur' },
],
objtyp: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 6, message: '最大长度6个字符', trigger: 'blur' },
],
objinr: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 8, message: '最大长度8个字符', trigger: 'blur' },
],
subtyp: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 3, message: '最大长度3个字符', trigger: 'blur' },
],
subbus: [
{ required: false, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 2, message: '最大长度2个字符', trigger: 'blur' },
],
inflev: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 1, message: '最大长度1个字符', trigger: 'blur' },
],
inftxt: [],
}
<template>
<m-oit ref="oit" title="dbaoit" type="add"></m-oit>
</template>
<script>
import Dbioit from '~/views/Statics/Act/views/Dbioit'
export default {
name: 'StaticsDbaoit',
components: {
'm-oit': Dbioit,
},
data() {
return {}
},
mounted() {},
}
</script>
<style></style>
<template>
<m-oit title="dbdoit" type="delete"></m-oit>
</template>
<script>
import Dbioit from '~/views/Statics/Act/views/Dbioit'
export default {
name: 'StaticsDbdoit',
components: {
'm-oit': Dbioit,
},
data() {
return {}
},
}
</script>
<style></style>
<template>
<m-oit title="dbeoit" type="edit"></m-oit>
</template>
<script>
import Dbioit from '~/views/Statics/Act/views/Dbioit'
export default {
name: 'StaticsDbeoit',
components: {
'm-oit': Dbioit,
},
data() {
return {}
},
}
</script>
<style></style>
export default class Oit {
constructor() {
this.data = {
inr: '',
objtyp: '',
objinr: '',
subtyp: '',
subbus: '',
inflev: '',
inftxt: '',
ver: '',
etgextkey: '',
ownref: '',
nam: '',
cod: '',
extkey: '',
}
}
}
export const Pattern = {
inr: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 8, message: '最大长度8个字符', trigger: 'blur' },
],
objtyp: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 6, message: '最大长度6个字符', trigger: 'blur' },
],
objinr: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 8, message: '最大长度8个字符', trigger: 'blur' },
],
subtyp: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 3, message: '最大长度3个字符', trigger: 'blur' },
],
subbus: [
{ required: false, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 2, message: '最大长度2个字符', trigger: 'blur' },
],
inflev: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 1, message: '最大长度1个字符', trigger: 'blur' },
],
inftxt: [],
}
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<!-- <c-col :span="24">
<el-form-item label="inr" prop="inr">
<c-input
v-model="model.inr"
placeholder="请输入inr"
>
</c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="关联的表名" prop="objtyp">
<c-select
v-model="model.objtyp"
placeholder="请输入关联的表名"
:code="getCodesByKey('objtypcodetable')"
:disabled="isDisabled"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Key" prop="ownref">
<c-input
v-model="model.ownref"
placeholder="请输入ownref"
:disabled="isDisabled"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Name" prop="nam">
<c-input
v-model="model.nam"
placeholder="请输入nam"
:disabled="isDisabled"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="提示类型" prop="subtyp">
<c-select
v-model="model.subtyp"
placeholder="请输入提示类型"
:code="getCodesByKey('subtypcodetable')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="相关业务品种" prop="subbus">
<c-select
v-model="model.subbus"
placeholder="请输入相关业务品种"
:code="getCodesByKey('bustxt')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="提示信息级别" prop="inflev">
<c-select
v-model="model.inflev"
placeholder="请输入提示信息级别"
:code="getCodesByKey('inflevcodetable')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="提示信息内容" prop="inftxt">
<c-input v-model="model.inftxt" placeholder="请输入提示信息内容">
</c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="机构层次" prop="lev">
<c-select style="width: 100%"
v-model="model.lev"
placeholder="请选择机构层次"
:code="getCodesByKey('lev')"
>
</c-select>
</el-form-item>
</c-col> -->
</c-col>
</div>
</template>
<script>
import codes from '~/config/CodeTable'
export default {
name: '',
props: ['model'],
data() {
return {}
},
computed: {
isDisabled() {
//return this.type === 'edit'
return false
},
},
methods: {
getCodesByKey(key) {
return codes[key] ?? []
},
},
}
</script>
<style></style>
<template>
<div class="eibs-tab">
<c-table :list="model.oitList" :columnsConfig="columns"></c-table>
</div>
</template>
<script>
export default {
props: ['model'],
data() {
return {
columns: [
{ label: 'client name', prop: 'mannam', width: 'auto' },
{ label: 'OITINR', prop: 'oitinr', width: 'auto' },
{ label: 'Default Client', prop: 'oitref', width: 'auto' },
],
}
},
}
</script>
<style></style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<!-- ======================= 左边 ========================= -->
<c-col :span="17" class="col-left" style="padding-right: 20px"> </c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="7" class="col-right" style="padding-left: 20px"> </c-col>
</c-col>
</div>
</template>
<script>
export default {
props: ['model'],
data() {
return {
columns: [
{ label: '机构编码', prop: 'bchkey', width: 'auto' },
{ label: '交易代码', prop: 'trn', width: 'auto' },
{ label: '授权货币', prop: 'relcur', width: 'auto' },
{ label: '授权金额', prop: 'relamt', width: 'auto' },
{ label: '交易属性', prop: 'relflg', width: 'auto' },
],
}
},
}
</script>
<style></style>
<template>
<div class="eContainer">
<c-page :title="title">
<el-form
ref="modelForm"
label-width="140px"
size="small"
label-position="right"
:model="model"
:rules="rules"
:validate-on-rule-change="false"
:disabled="isDisabled"
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="消息信息" name="oit">
<c-content>
<m-oitp0 :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<div style="text-align: center">
<c-button
type="primary"
style="margin-right: 10px"
@click="commitAdd"
v-if="type === 'add'"
>提 交</c-button
>
<c-button
type="primary"
style="margin-right: 10px"
@click="commitEdit"
v-if="type === 'edit'"
>提 交</c-button
>
<c-button
type="primary"
style="margin-right: 10px"
@click="commitDelete"
v-if="type === 'delete'"
>提 交</c-button
>
<c-button type="primary" @click="goBack">返 回</c-button>
</div>
</c-page>
</div>
</template>
<script>
import Utils from '~/utils'
import Oit, { Pattern } from './Oit.js'
// import Bchp0 from "./Bchp0.vue";
import OitInfo from './OitInfo.vue'
import Oitp1 from './Oitp1.vue'
import Oitp2 from './Oitp2.vue'
import { queryById, add, edit, deleteById } from '~/service/test/oit.js'
export default {
name: 'StaticsDbioit',
components: {
'm-oitp0': OitInfo,
'm-oitp1': Oitp1,
'm-oitp2': Oitp2,
},
provide() {
return {
root: this,
}
},
props: {
type: {
type: String,
default: 'info',
},
title: {
type: String,
default: 'dbioit',
},
},
data() {
return {
model: new Oit().data,
tabVal: 'oit',
rules: Pattern,
}
},
computed: {
isDisabled() {
return this.type === 'info' || this.type === 'delete'
},
},
created() {
if (this.type !== 'add') {
//const inr = this.$route.params.inr
const params = this.$route.params
queryById(params).then((res) => {
if (res.inr) {
this.model = res
} else {
this.$message.error('客户不存在')
}
})
}
},
methods: {
commitAdd() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
add(this.model)
.then((res) => {
this.$message.success('保存成功!')
this.goBack(true)
})
.catch((err) => {
this.$message.error('保存失败!')
})
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
})
},
commitEdit() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
edit(this.model)
.then((res) => {
this.$message.success('保存成功!')
this.goBack()
})
.catch((err) => {
this.$message.error('保存失败!')
})
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
})
},
commitDelete() {
this.$confirm('是否确认删除?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
})
.then(() => {
const params = this.$route.params
deleteById(params)
.then((res) => {
this.$message.success('删除成功!')
this.goBack(true)
})
.catch((err) => {
this.$message.error('删除失败!')
})
})
.catch(() => {
this.$message({
type: 'info',
message: '已取消删除',
})
})
},
/**
* update 是否更新infbch的查询列表
*/
goBack(update) {
this.$store.dispatch('TagsView/delView', this.$route)
this.$router.push({ name: 'StaticsInfoit', params: { update } })
},
},
}
</script>
<style></style>
<template>
<div class="eContainer">
<c-page title="消息及停用信息查询">
<el-form
:model="model"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="消息及停用信息查询" name="infsea">
<c-content>
<m-infsea :model="model" ref="infsea" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Infsea from './infsea'
export default {
name: 'StaticsInfoit',
components: {
'm-infsea': Infsea,
},
provide() {
return {
root: this,
}
},
data() {
return {
tabVal: 'infsea',
model: {
// oit 查询条件的字段
objtyp: '',
subtyp: '',
subbus: '',
// paging
pageNum: 1,
pageSize: 5,
total: 0,
},
}
},
}
</script>
<style></style>
<template>
<div class="eibs-tab">
<!-- ----------左 ---------->
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="关联的表名" prop="objtyp">
<c-select
v-model="model.objtyp"
placeholder="请选择关联的表名"
style="width: 100%"
:code="getCodesByKey('objtypcodetable')"
></c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="提示类型" prop="subtyp">
<c-select
v-model="model.subtyp"
style="width: 100%"
placeholder="请选择提示类型"
:code="getCodesByKey('subtypcodetable')"
></c-select>
</el-form-item>
</c-col>
</c-col>
<!------------- 右 ---------->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="相关业务品种" prop="subbus">
<c-select
v-model="model.subbus"
style="width: 100%"
placeholder="请选择相关业务品种"
:code="getCodesByKey('subbuscodetable')"
></c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="XXX" prop="bchtyp">
<c-select
v-model="model.bchtyp"
style="width: 100%"
placeholder="XXX"
:code="getCodesByKey('bchtyp')"
>
</c-select>
</el-form-item>
</c-col> -->
</c-col>
<c-col :span="24">
<c-col :span="12" style="text-align: left">
<el-button type="primary" size="small" @click="oitAdd">新增</el-button>
</c-col>
<c-col :span="12" style="text-align: right">
<el-button size="small" @click="handleReset">重置</el-button>
<el-button
type="primary"
icon="el-icon-search"
size="small"
@click="onSearch()"
>查询
</el-button>
</c-col>
</c-col>
<c-col :span="24">
<c-paging-table
:data="oitData"
:columns="oitColumns"
:pageNumber="model.pageNum"
:pageSize="model.pageSize"
:total="model.total"
v-on:queryFunc="queryFunc"
:border="true"
>
<c-table-column fixed="right" prop="op" label="操作" width="240px">
<template slot-scope="{ scope }">
<c-button
style="margin-left: 0"
size="small"
@click="oitInfo(scope.$index, scope.row)"
>详情</c-button
>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="oitEdit(scope.$index, scope.row)"
>修改</c-button
>
<c-button
size="small"
style="margin-left: 5px"
@click="oitDelete(scope.$index, scope.row)"
>删除</c-button
>
<el-popover placement="top-start" width="50" trigger="click">
<ul class="table-button-item-list">
<li>
<c-button size="small" style="margin-left: 0">指派</c-button>
</li>
<li>
<c-button size="small" style="margin-left: 0">删除</c-button>
</li>
</ul>
<a
slot="reference"
href="javascript:void(0)"
style="margin-left: 5px"
>
<i class="el-icon-more"></i>
</a>
</el-popover>
</template>
</c-table-column>
</c-paging-table>
</c-col>
</div>
</template>
<script>
import codes from '~/config/CodeTable'
import { queryByPage } from '~/service/test/oit.js'
export default {
name: '',
props: ['model'],
inject: ['root'],
data() {
return {
oitData: [],
oitColumns: [
{
label: '关联的表名',
prop: 'objtypCn',
width: '120',
},
{ label: 'Key', prop: 'ownref', width: '120' },
{ label: 'Name', prop: 'nam', width: '120' },
{ label: '提示类型', prop: 'subtypCn', width: '120' },
{ label: '相关业务品种', prop: 'subbus', width: '150' },
{ label: '提示信息级别', prop: 'inflevCn', width: '200' },
],
}
},
computed: {},
activated() {
const { update } = this.$route.params
if (update) {
this.onInfOitSearch()
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields()
},
onSearch() {
this.model.pageNum = 1
this.model.pageSize = 5
this.onInfOitSearch()
},
onInfOitSearch() {
queryByPage(this.model).then((res) => {
/**
* pageNumber: 0
* pageSize: 0
* total: 69
* totalPage: 0
*/
const list = res.list
// Object.keys(list).forEach((item) => {
// let obj = list[item]
// let typArr = codes['objtypcodetable']
// console.log('testabc:' + typArr[0].label)
// obj.objtypCn = typArr[0].label
// })BDD\CLD\DID\GCD
Object.keys(list).forEach((item) => {
let obj = list[item]
let objtypArr = codes['objtypcodetable'].filter((i) => {
return i.value == obj.objtyp
})
obj.objtypCn = objtypArr[0].label
let subtypArr = codes['subtypcodetable'].filter((i) => {
return i.value == obj.subtyp
})
obj.subtypCn = subtypArr[0].label
let inflevArr = codes['inflevcodetable'].filter((i) => {
return i.value == obj.inflev
})
obj.inflevCn = inflevArr[0].label
})
this.oitData = list
this.model.pageNum = res.pageNumber
this.model.pageSize = res.pageSize
this.model.total = res.total
})
},
queryFunc(pageNumber, pageSize) {
this.model.pageNum = pageNumber
this.model.pageSize = pageSize
this.onInfOitSearch()
},
getCodesByKey(key) {
return codes[key] ?? []
},
oitAdd() {
this.$router.push(`/statics/dbaoit`)
},
oitInfo(index, row) {
this.$router.push(`/statics/dbioit/${row.inr}`)
},
oitEdit(index, row) {
this.$router.push(`/statics/dbeoit/${row.inr}`)
},
oitDelete(index, row) {
this.$router.push(`/statics/dbdoit/${row.inr}`)
},
},
}
</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>
......@@ -14,11 +14,17 @@ import Dbiusr from "./Dbiusr";
import Dbeusr from "./Dbeusr";
import Dbdusr from "./Dbdusr";
import Infcty from "./Infcty";
import Dbicty from "./Dbicty";
import Dbacty from "./Dbacty";
import Dbecty from "./Dbecty";
import Dbdcty from "./Dbdcty";
import Infcty from "./cty/views/Infcty";
import Dbicty from "./cty/views/Dbicty";
import Dbacty from "./cty/views/Dbacty";
import Dbecty from "./cty/views/Dbecty";
import Dbdcty from "./cty/views/Dbdcty";
import Infoit from "./Act/views/Infoit"
import Dbioit from "./Act/views/Dbioit"
import Dbaoit from "./Act/views/Dbaoit"
import Dbdoit from "./Act/views/Dbdoit"
import Dbeoit from "./Act/views/Dbeoit"
import Inffec from "./Inffec";
import Dbifec from "./Dbifec";
......@@ -32,11 +38,11 @@ import Dbagtx from "./Dbagtx";
import Dbegtx from "./Dbegtx";
import Dbdgtx from "./Dbdgtx";
import Infcur from "./Infcur";
import Dbacur from "./Dbacur";
import Dbicur from "./Dbicur";
import Dbecur from "./Dbecur";
import Dbdcur from "./Dbdcur";
import Infcur from "./cur/views/Infcur";
import Dbacur from "./cur/views/Dbacur";
import Dbicur from "./cur/views/Dbicur";
import Dbecur from "./cur/views/Dbecur";
import Dbdcur from "./cur/views/Dbdcur";
import Infbch from "./Infbch";
import Dbibch from "./Dbibch";
......@@ -128,6 +134,12 @@ const StaticsRouter = [
{ path: 'dbiatx/:inr', component: Dbiatx, name: 'StaticsDbiatx', meta: { title: (tag) => { return '保函文本详情: ' + tag.params.inr } } },
{ path: 'dbeatx/:inr', component: Dbeatx, name: 'StaticsDbeatx', meta: { title: (tag) => { return '保函文本修改: ' + tag.params.inr } } },
{ path: 'dbdatx/:inr', component: Dbdatx, name: 'StaticsDbdatx', meta: { title: (tag) => { return '保函文本删除: ' + tag.params.inr } } },
{ path: 'infoit', component: Infoit, name: 'StaticsInfoit', meta: { title: '查询消息信息' } },
{ path: 'dbaoit', component: Dbaoit, name: 'StaticsDbaoit', meta: { title: '新增消息信息' } },
{ path: 'dbioit/:inr', component: Dbioit, name: 'StaticsDbioit', meta: { title: (tag) => { return '查看消息信息: ' + tag.params.inr } } },
{ path: 'dbeoit/:inr', component: Dbeoit, name: 'StaticsDbeoit', meta: { title: (tag) => { return '修改消息信息: ' + tag.params.inr } } },
{ path: 'dbdoit/:inr', component: Dbdoit, name: 'StaticsDbdoit', meta: { title: (tag) => { return '删除消息信息: ' + tag.params.inr } } },
]
export default StaticsRouter
......@@ -3,7 +3,7 @@
</template>
<script>
import Dbicty from "~/views/Statics/Dbicty";
import Dbicty from "~/views/Statics/cty/views/Dbicty";
export default {
name: "StaticsDbacty",
......
......@@ -3,7 +3,7 @@
</template>
<script>
import Dbicty from "~/views/Statics/Dbicty";
import Dbicty from "~/views/Statics/cty/views/Dbicty";
export default {
name: "StaticsDbdcty",
......
......@@ -3,7 +3,7 @@
</template>
<script>
import Dbicty from "~/views/Statics/Dbicty";
import Dbicty from "~/views/Statics/cty/views/Dbicty";
export default {
name: "StaticsDbecty",
......
......@@ -54,7 +54,7 @@
<script>
import Utils from "~/utils";
import Cty, { Pattern } from "./Cty.js";
import Cty, { Pattern } from "../../model/Cty.js";
import CtyInfo from "./CtyInfo.vue";
import BopctyInfo from "./BopctyInfo.vue";
......
......@@ -16,7 +16,7 @@
</template>
<script>
import Dbicur from "~/views/Statics/Dbicur"
import Dbicur from "~/views/Statics/cur/views/Dbicur"
export default {
name: "StaticsDbacur",
......
......@@ -3,7 +3,7 @@
</template>
<script>
import Dbicur from "~/views/Statics/Dbicur";
import Dbicur from "~/views/Statics/cur/views/Dbicur";
export default {
name: "StaticsDbdcur",
......
......@@ -19,7 +19,7 @@
// import Utils from "~/utils";
// import commonFuncs from "~/mixin/commonFuncs";
// import Cur, { Pattern } from "../Infcur/Cur.js";
import Dbicur from "@/views/Statics/Dbicur";
import Dbicur from "~/views/Statics/cur/views/Dbicur";
// import { curInfo, add, edit, curDelete } from "~/service/test/cur.js";
......
......@@ -154,7 +154,7 @@
</el-form-item>
</c-col>
<c-col :span="24" style="padding-left: 120px">
<el-table :data="stmData.data" border>
<el-table :data="stmData.data">
<el-table-column prop="uilcod" label="语言" sortable width="220">
</el-table-column>
<el-table-column prop="nam" label="描述" sortable width="300">
......
......@@ -19,7 +19,7 @@
<script>
import Utils from "~/utils";
import Cur, { Pattern } from "../Infcur/Cur.js";
import Cur, { Pattern } from "../../model/Cur.js";
import Currency from "./Currency.vue";
......
......@@ -23,7 +23,7 @@ import Utils from "~/utils";
import CodeTable from "~/config/CodeTable"
// import commonProcess from "~/mixin/commonProcess"
// import commonFuncs from "~/mixin/commonFuncs";
import Cur, { Pattern } from "./Cur.js";
import Cur, { Pattern } from "../../model/Cur.js";
import Infsea from "./Infsea";
// import Currency from "./Currency";
......
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