Commit ab0fe3d9 by 李少勇

公共组件优化

parent 60c6413e
......@@ -111,6 +111,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 {
......
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();
},
};
export default class Trnmod {
constructor() {
this.data = {
hvpmod: {
agnamedl: '', //.trnmod.hvpmod.agnamedl
agencydl: '', //.trnmod.hvpmod.agencydl
feecod: '', //.trnmod.hvpmod.feecod
feesen: '', //.trnmod.hvpmod.feesen
feecom: '', //.trnmod.hvpmod.feecom
skrmc2: '', //.trnmod.hvpmod.skrmc2
skrmc3: '', //.trnmod.hvpmod.skrmc3
skrdz2: '', //.trnmod.hvpmod.skrdz2
skrdz3: '', //.trnmod.hvpmod.skrdz3
skrdz4: '', //.trnmod.hvpmod.skrdz4
skrdz5: '', //.trnmod.hvpmod.skrdz5
skrzh2: '', //.trnmod.hvpmod.skrzh2
agname2: '', //.trnmod.hvpmod.agname2
agency2: '', //.trnmod.hvpmod.agency2
fecomm: '', //.trnmod.hvpmod.fecomm
fkrmc2: '', //.trnmod.hvpmod.fkrmc2
fkrmc3: '', //.trnmod.hvpmod.fkrmc3
fkrdz2: '', //.trnmod.hvpmod.fkrdz2
fkrdz3: '', //.trnmod.hvpmod.fkrdz3
fkrdz4: '', //.trnmod.hvpmod.fkrdz4
fkrdz5: '', //.trnmod.hvpmod.fkrdz5
fkrzh2: '', //.trnmod.hvpmod.fkrzh2
},
reconebchnam: '', // 收款直接参与者名称 .trnmod.reconebchnam
reconebch: '', // 收款直接参与者行号 .trnmod.reconebch
commen: '', // 附言 .trnmod.commen
bustyp: '', // 业务种类 .trnmod.bustyp
swiadd: {
amedat: '', // Amendment Date .trnmod.swiadd.amedat
amenbr: '', // Amend. No Received .trnmod.swiadd.amenbr
amecur: '', // Amended .trnmod.swiadd.amecur
ameamt: '', // Amended .trnmod.swiadd.ameamt
newcur: '', // New Data .trnmod.swiadd.newcur
newamt: '', // New Data .trnmod.swiadd.newamt
newnomtop: '', // New positive tolerance .trnmod.swiadd.newnomtop
newnomton: '', // New negative tolerance .trnmod.swiadd.newnomton
nomspc: '', // Amount Specification .trnmod.swiadd.nomspc
newexpdat: '', // New Expiry Date .trnmod.swiadd.newexpdat
newshpdat: '', // New Shipment Date .trnmod.swiadd.newshpdat
shpper: '', // Shipment Period .trnmod.swiadd.shpper
shpfro: '', // Dispatch from .trnmod.swiadd.shpfro
porloa: '', // Air-/Port of Loading .trnmod.swiadd.porloa
pordis: '', // Air-/Port of Discharge .trnmod.swiadd.pordis
purpos: '', // Purpose of message trnmod.swiadd.purpos
shpto: '', // Final Destination .trnmod.swiadd.shpto
addamtcov: '', // Amounts Covered .trnmod.swiadd.addamtcov
addamt: '', // Amounts Covered .trnmod.swiadd.addamt
insbnk: '', // Instruction to P/A/N Bank amendment .trnmod.swiadd.insbnk
nartxt: '',
newnomtopame: '',
newnomtoname: '',
prepers18: '', //New Presentation Period
prepertxts18: '', //交单期限描述 .trnmod.swiadd.prepertxts18
strinf: '', // Narrative of Maturity .trnmod.swiadd.strinf
trnchato: '', //费用承担人修改Amendm.charge by .trnmod.swiadd.trnchato
newmatpercnt: '', // New Tenor Data .trnmod.swiadd.newmatpercnt
newmatpertyp: '', // Days/Month or Year for Maturity Period .trnmod.swiadd.newmatpertyp
newmatperbeg: '', // Start of Maturity Period .trnmod.swiadd.newmatperbeg
newmatdat: '', // New Maturity Date .trnmod.swiadd.newmatdat
ametxt: '', // Further Amendments .trnmod.swiadd.ametxt
shptoelc: '', // 货物目的地/交货地(港) .trnmod.swiadd.shptoelc
shpfroelc: '', // Shipment from .trnmod.swiadd.shpfroelc
//nartxtflg: "", // Narrative modified .trnmod.swiadd.nartxtflg
lcrgod: '', // Description of Goods amendment .trnmod.swiadd.lcrgod
lcrdoc: '', // Documents Required amendment .trnmod.swiadd.lcrdoc
//adlcnd: "", // Additional Conditions amendment .trnmod.swiadd.adlcnd
purposamein: '', // Inc. Purpose of amend. .trnmod.swiadd.purposamein
purposame: '', // Purpose of amend. .trnmod.swiadd.purposame
orddat: '', // Order from .trnmod.swiadd.orddat
ameblk: '', // Text for Amendments .trnmod.swiadd.ameblk
reqcan: '', // Cancellation Request .trnmod.swiadd.reqcan
amemsgdonflg: '', // Create Amendment Message .trnmod.swiadd.amemsgdonflg
addamtflg: '', // Add. Amount Flag .trnmod.swiadd.addamtflg
addcur: '', // Additional Currency .trnmod.swiadd.addcur
addamtcovs20: '', // Additional Amount Covered .trnmod.swiadd.addamtcovs20
redrea: '', // Reason for Reduce / Discharge .trnmod.swiadd.redrea
exptyp: '', // New Expiry Type .trnmod.swiadd.exptyp
exptxt: '', // New Expiry Condition .trnmod.swiadd.exptxt
liatypc: '', // New Liability Type .trnmod.swiadd.liatypc
newliadat: '', // New Liability Date .trnmod.swiadd.newliadat
liatxtc: '', // New Liability Condition .trnmod.swiadd.liatxtc
newdtaappexpdat: '', // New appr. Expiry Date .trnmod.swiadd.newdtaappexpdat
ameblkc: '', // Text for Amendments .trnmod.swiadd.ameblkc
amecurc: '', // Amended Amount .trnmod.swiadd.amecurc
ameamtc: '', // Increase of Local Guarantee Amount .trnmod.swiadd.ameamtc
newcurc: '', // Local Undertaking .trnmod.swiadd.newcurc
newamtc: '', // New Amount Local Guarantee .trnmod.swiadd.newamtc
addamtflgc: '', // Additional Amount Flag Seq. C .trnmod.swiadd.addamtflgc
addcurc: '', // Additional Currency Seq. C .trnmod.swiadd.addcurc
addamtc: '', // Additional Amount Seq. C .trnmod.swiadd.addamtc
addamtcovc: '', // Add. Amount Covered .trnmod.swiadd.addamtcovc
newexpflg: '', // Unlimited Validity .trnmod.swiadd.newexpflg
newliaflg: '', // Unlimited Liability .trnmod.swiadd.newliaflg
chaamt: '', // charges amount .trnmod.swiadd.chaamt
chacur: '', //Amount of Charges .trnmod.swiadd.chacur
tracur: '',
traamt: '',
},
trndoc: {
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
},
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
},
filrecv: '', // File Receiver .trnmod.trndoc.filrecv
doceot: [],
addstr750: '', //trnmod.trndoc.addstr750
},
docimm: {
ascin: '', // Message as stream .trnmod.docimm.ascin
prtswtrpblk: '', // XMLPanel prtswtrp的内置block .trnmod.docimm.prtswtrpblk
xmldocblk: '', // XMLPanel xmldoc的内置block .trnmod.docimm.xmldocblk
prtswtpblk: '', // XMLPanel prtswtp的内置block .trnmod.docimm.prtswtpblk
},
cipmod: {
dddbsh: '', // 端到端标识号 .trnmod.cipmod.dddbsh
zjg1hh: '', // 中介机构1行号 .trnmod.cipmod.zjg1hh
zjg1mc: '', // 中介机构1名称 .trnmod.cipmod.zjg1mc
zjg2hh: '', // 中介机构2行号 .trnmod.cipmod.zjg2hh
zjg2mc: '', // 中介机构2名称 .trnmod.cipmod.zjg2mc
dafnzh: '', // 借记记账账号 .trnmod.cipmod.dafnzh
dafnmc: '', // 借记记账名称 .trnmod.cipmod.dafnmc
recsehbch: '', // 收款间接参与者行号 .trnmod.cipmod.recsehbch
staonebch: '', // 付款直接参与者行号 .trnmod.cipmod.staonebch
recsehbchnam: '', // 收款间接参与者名称 .trnmod.cipmod.recsehbchnam
staonebchnam: '', // 付款直接参与者名称 .trnmod.cipmod.staonebchnam
fuynh2: '', // 附言2 .trnmod.cipmod.fuynh2
fuynh3: '', // 附言3 .trnmod.cipmod.fuynh3
fuynh4: '', // 附言4 .trnmod.cipmod.fuynh4
skrdz2: '', // 收款人地址2 .trnmod.cipmod.skrdz2
skrdz3: '', // 收款人地址3 .trnmod.cipmod.skrdz3
skrdz4: '', // 收款人地址4 .trnmod.cipmod.skrdz4
skrdz5: '', // 收款人地址5 .trnmod.cipmod.skrdz5
fkrdz2: '', // 付款人地址2 .trnmod.cipmod.fkrdz2
fkrdz3: '', // 付款人地址3 .trnmod.cipmod.fkrdz3
fkrdz4: '', // 付款人地址4 .trnmod.cipmod.fkrdz4
fkrdz5: '', // 付款人地址5 .trnmod.cipmod.fkrdz5
pyebchkey: '', // 收款行开户行行号 .trnmod.cipmod.pyebchkey
pyebchnam: '', // 收款行开户行名称 .trnmod.cipmod.pyebchnam
stasehbch: '', // 付款间接参与者行号 .trnmod.cipmod.stasehbch
stasehbchnam: '', // 付款间接参与者名称 .trnmod.cipmod.stasehbchnam
fkrdz6: '', // 付款人地址6 .trnmod.cipmod.fkrdz6
fkrdz7: '', // 付款人地址7 .trnmod.cipmod.fkrdz7
skrdz6: '', // 收款人地址6 .trnmod.cipmod.skrdz6
skrdz7: '', // 收款人地址7 .trnmod.cipmod.skrdz7
covflg: '', // 112COV .trnmod.cipmod.covflg
fufeih: '', // 付费行号1 .trnmod.cipmod.fufeih
ffeih2: '', // 付费行号2 .trnmod.cipmod.ffeih2
fkrkhh: '', // 付款行开户行行号 .trnmod.cipmod.fkrkhh
fukrhm: '', // 付款行开户行名称 .trnmod.cipmod.fukrhm
feecod: '', // 费用承担方 .trnmod.cipmod.feecod
feiyon: '', // 费用1 .trnmod.cipmod.feiyon
feiyn2: '', // 费用2 .trnmod.cipmod.feiyn2
fuyns1: '', // 致收款人银行附言1 .trnmod.cipmod.fuyns1
fuyns2: '', // 致收款人银行附言2 .trnmod.cipmod.fuyns2
fuyns3: '', // 致收款人银行附言3 .trnmod.cipmod.fuyns3
fuyns4: '', // 致收款人银行附言4 .trnmod.cipmod.fuyns4
fyo1bz: '', // 费用1币种 .trnmod.cipmod.fyo1bz
fyo2bz: '', // 费用2币种 .trnmod.cipmod.fyo2bz
fkhkhh: '', // 付款行行号 .trnmod.cipmod.fkhkhh
fkkhmc: '', // 付款行行名 .trnmod.cipmod.fkkhmc
fkkhzh: '', // 付款行账号 .trnmod.cipmod.fkkhzh
fkhdzh: '', // 付款行地址 .trnmod.cipmod.fkhdzh
skkhhh: '', // 收款行行号 .trnmod.cipmod.skkhhh
skkhhm: '', // 收款行行名 .trnmod.cipmod.skkhhm
skkhzh: '', // 收款行账号 .trnmod.cipmod.skkhzh
skkhdz: '', // 收款行地址 .trnmod.cipmod.skkhdz
ddbhao: '', // 订单编号 .trnmod.cipmod.ddbhao
ddmisu: '', // 订单描述 .trnmod.cipmod.ddmisu
fkrzhj: '', // 付款人组织机构代码 .trnmod.cipmod.fkrzhj
fkrzjh: '', // 付款人证件号码 .trnmod.cipmod.fkrzjh
fkrzgj: '', // 付款人常驻国家(地区)代码 .trnmod.cipmod.fkrzgj
fkreid: '', // 付款人EID .trnmod.cipmod.fkreid
fkfyzh: '', // 付款非银行支付机构帐号 .trnmod.cipmod.fkfyzh
fkfdz1: '', // 付款非银行支付机构地址1 .trnmod.cipmod.fkfdz1
fkfdz2: '', // 付款非银行支付机构地址2 .trnmod.cipmod.fkfdz2
fkfdz3: '', // 付款非银行支付机构地址3 .trnmod.cipmod.fkfdz3
fkfdz4: '', // 付款非银行支付机构地址4 .trnmod.cipmod.fkfdz4
fkfdz5: '', // 付款非银行支付机构地址5 .trnmod.cipmod.fkfdz5
fkfdz6: '', // 付款非银行支付机构地址6 .trnmod.cipmod.fkfdz6
fkfdz7: '', // 付款非银行支付机构地址7 .trnmod.cipmod.fkfdz7
skrzhj: '', // 收款人组织机构代码 .trnmod.cipmod.skrzhj
skrzjh: '', // 收款人证件号码 .trnmod.cipmod.skrzjh
skrzgj: '', // 收款人常驻国家(地区)代码 .trnmod.cipmod.skrzgj
skreid: '', // 收款人EID .trnmod.cipmod.skreid
skfyzh: '', // 收款非银行支付机构帐号 .trnmod.cipmod.skfyzh
skfdz1: '', // 收款非银行支付机构地址1 .trnmod.cipmod.skfdz1
skfdz2: '', // 收款非银行支付机构地址2 .trnmod.cipmod.skfdz2
skfdz3: '', // 收款非银行支付机构地址3 .trnmod.cipmod.skfdz3
skfdz4: '', // 收款非银行支付机构地址4 .trnmod.cipmod.skfdz4
skfdz5: '', // 收款非银行支付机构地址5 .trnmod.cipmod.skfdz5
skfdz6: '', // 收款非银行支付机构地址6 .trnmod.cipmod.skfdz6
skfdz7: '', // 收款非银行支付机构地址7 .trnmod.cipmod.skfdz7
ddmsu1: '', // 订单描述1 .trnmod.cipmod.ddmsu1
ddmsu2: '', // 订单描述2 .trnmod.cipmod.ddmsu2
ddmsu3: '', // 订单描述3 .trnmod.cipmod.ddmsu3
ddmsu4: '', // 订单描述4 .trnmod.cipmod.ddmsu4
ddmsu5: '', // 订单描述5 .trnmod.cipmod.ddmsu5
ddmsu6: '', // 订单描述6 .trnmod.cipmod.ddmsu6
ddmsu7: '', // 订单描述7 .trnmod.cipmod.ddmsu7
ddmsu8: '', // 订单描述8 .trnmod.cipmod.ddmsu8
skrzjl: '', // 收款人证件类型 .trnmod.cipmod.skrzjl
fkrzjl: '', // 付款人证件类型 .trnmod.cipmod.fkrzjl
cfkfzh: '', // COV付款非银行支付机构帐号 .trnmod.cipmod.cfkfzh
cffdz1: '', // COV付款非银行支付机构地址1 .trnmod.cipmod.cffdz1
cffdz2: '', // COV付款非银行支付机构地址2 .trnmod.cipmod.cffdz2
cffdz3: '', // COV付款非银行支付机构地址3 .trnmod.cipmod.cffdz3
cffdz4: '', // COV付款非银行支付机构地址4 .trnmod.cipmod.cffdz4
cffdz5: '', // COV付款非银行支付机构地址5 .trnmod.cipmod.cffdz5
cffdz6: '', // COV付款非银行支付机构地址6 .trnmod.cipmod.cffdz6
cffdz7: '', // COV付款非银行支付机构地址7 .trnmod.cipmod.cffdz7
cfkrzj: '', // COV付款人组织机构代码 .trnmod.cipmod.cfkrzj
cfkzjh: '', // COV付款人证件号码 .trnmod.cipmod.cfkzjh
cfkrgj: '', // COV付款人常驻国家(地区)代码 .trnmod.cipmod.cfkrgj
cfkeid: '', // COV付款人EID .trnmod.cipmod.cfkeid
cskfzh: '', // COV收款非银行支付机构帐号 .trnmod.cipmod.cskfzh
csfdz1: '', // COV收款非银行支付机构地址1 .trnmod.cipmod.csfdz1
csfdz2: '', // COV收款非银行支付机构地址2 .trnmod.cipmod.csfdz2
csfdz3: '', // COV收款非银行支付机构地址3 .trnmod.cipmod.csfdz3
csfdz4: '', // COV收款非银行支付机构地址4 .trnmod.cipmod.csfdz4
csfdz6: '', // COV收款非银行支付机构地址6 .trnmod.cipmod.csfdz6
csfdz7: '', // COV收款非银行支付机构地址7 .trnmod.cipmod.csfdz7
cskrzj: '', // COV收款人组织机构代码 .trnmod.cipmod.cskrzj
csfdz5: '', // COV收款非银行支付机构地址5 .trnmod.cipmod.csfdz5
cskzjh: '', // COV收款人证件号码 .trnmod.cipmod.cskzjh
cskrgj: '', // COV收款人常驻国家(地区)代码 .trnmod.cipmod.cskrgj
cskeid: '', // COV收款人EID .trnmod.cipmod.cskeid
cskzjl: '', // COV收款人证件类型 .trnmod.cipmod.cskzjl
cfkzjl: '', // COV付款人证件类型 .trnmod.cipmod.cfkzjl
fqzyhh: '', // 发起直接参与者行号 .trnmod.cipmod.fqzyhh
jszyhh: '', // 接收直接参与者行号 .trnmod.cipmod.jszyhh
mxywbs: '', // 明细业务总笔数 .trnmod.cipmod.mxywbs
mxywje: '', // 明细业务总金额 .trnmod.cipmod.mxywje
mxywsh: '', // 明细业务标识号 .trnmod.cipmod.mxywsh
cfkkhh: '', // COV付款人开户行行号 .trnmod.cipmod.cfkkhh
cfkkhm: '', // COV付款人开户行名称\COV付款非银行支付机构名称 .trnmod.cipmod.cfkkhm
cfkrzh: '', // COV付款人账号 .trnmod.cipmod.cfkrzh
cfkrmc: '', // COV付款人名称 .trnmod.cipmod.cfkrmc
cskkhh: '', // COV收款人开户行行号 .trnmod.cipmod.cskkhh
cskkhm: '', // COV收款人开户行名称\COV收款非银行支付机构名称 .trnmod.cipmod.cskkhm
cskrzh: '', // COV收款人账号 .trnmod.cipmod.cskrzh
czjjg1: '', // COV中介机构1 .trnmod.cipmod.czjjg1
czj1mc: '', // COV中介机构1名称 .trnmod.cipmod.czj1mc
covfuy: '', // COV附言1 .trnmod.cipmod.covfuy
covfy2: '', // COV附言2 .trnmod.cipmod.covfy2
covfy3: '', // COV附言3 .trnmod.cipmod.covfy3
covfy4: '', // COV附言4 .trnmod.cipmod.covfy4
cfkdz1: '', // COV付款人地址1 .trnmod.cipmod.cfkdz1
cfkdz2: '', // COV付款人地址2 .trnmod.cipmod.cfkdz2
cfkdz3: '', // COV付款人地址3 .trnmod.cipmod.cfkdz3
cfkdz4: '', // COV付款人地址4 .trnmod.cipmod.cfkdz4
cfkdz5: '', // COV付款人地址5 .trnmod.cipmod.cfkdz5
cfkdz6: '', // COV付款人地址6 .trnmod.cipmod.cfkdz6
cfkdz7: '', // COV付款人地址7 .trnmod.cipmod.cfkdz7
cskdz1: '', // COV收款人地址1 .trnmod.cipmod.cskdz1
cskdz2: '', // COV收款人地址2 .trnmod.cipmod.cskdz2
cskdz3: '', // COV收款人地址3 .trnmod.cipmod.cskdz3
cskdz4: '', // COV收款人地址4 .trnmod.cipmod.cskdz4
cskdz5: '', // COV收款人地址5 .trnmod.cipmod.cskdz5
cskdz6: '', // COV收款人地址6 .trnmod.cipmod.cskdz6
cskdz7: '', // COV收款人地址7 .trnmod.cipmod.cskdz7
cskrmc: '', // COV收款人名称 .trnmod.cipmod.cskrmc
},
};
}
}
<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();
},
};
<template>
<div class="eibs-tab">
<!-- 左边-->
<c-col :span="len == true ? 12 : 8" @change="spanChange">
<!-- line2 -->
<c-row>
<c-col :span="24">
<el-form-item
label="额度主体"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
style="width: 100%"
disabled
></c-input>
<template slot="footer">
<c-button
style=""
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
/>
<c-button
style=""
size="small"
type="primary"
@click="onWrkpDet"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line3 -->
<c-row>
<c-col :span="24">
<el-form-item
label="主体名称"
>
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.nam"
maxlength="16"
placeholder=""
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line4 -->
<c-row>
<c-col :span="24" style="text-align: right">
<el-form-item label="额度类型">
<c-fullbox>
<c-select
v-model="model.liaall.limmod.limpts.nonrevflg1"
style="width: 100%"
placeholder="请选择额度类型"
@change="nonrevflg1Change"
>
<el-option
v-for="item in codes.nonrevflg1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer">
<c-button
style="padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onLimptsGet1"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line5 -->
<c-row>
<c-col :span="24">
<el-form-item label="合同流水号">
<c-input
v-model="model.liaall.limmod.limpts.pfcod1"
maxlength="14"
placeholder="请输入合同流水号"
:disabled="this.model.liaall.limmod.limpts.nonrevflg1 != '2'"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
</c-col>
<!-- 中间 -->
<!-- 随event方法改变 -->
<c-col :span="8" v-show="same" @change="show">
<!-- line2 -->
<c-row>
<c-col :span="24">
<el-form-item
label="对公账户"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.liaall.limmod.limpts.oth.pts.extkey"
maxlength="16"
placeholder="请输入地址编号"
style="width: 100%"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 5px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
/>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onOthpDet"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line3 -->
<c-row>
<c-col :span="24">
<el-form-item
label="主体名称"
>
<c-input
v-model="model.liaall.limmod.limpts.oth.pts.nam"
maxlength="16"
placeholder=""
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line4 -->
<c-row>
<c-col :span="24" style="text-align: right">
<el-form-item label="额度类型">
<c-fullbox>
<c-select
v-model="model.liaall.limmod.limpts.nonrevflg2"
style="width: 100%"
placeholder="请选择额度类型"
@change="nonrevflg2Change"
>
<el-option
v-for="item in codes.nonrevflg2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer">
<c-button
style="padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onLimptsGet2"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-row>
<!-- line5 -->
<c-row>
<c-col :span="24">
<el-form-item label="合同流水号">
<c-input
v-model="model.liaall.limmod.limpts.pfcod2"
maxlength="14"
placeholder="请输入合同流水号"
:disabled="this.model.liaall.limmod.limpts.nonrevflg2 != '2'"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
</c-col>
<!-- 右边-->
<c-col :span="len == true ? 12 : 8" @change="spanChange">
<!-- line1 -->
<c-row>
<c-col :span="24">
<el-form-item label="业务编号">
<c-input
v-model="model.liaall.limmod.ownref"
maxlength="16"
placeholder="请输入国结业务编号"
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务余额">
<c-input
v-model="model.liaall.limmod.comamt"
placeholder="请输入业务余额"
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item>
</c-col>
</c-row>
<!-- line1 -->
<c-row>
<c-col :span="24">
<el-form-item label="保证金余额">
<c-input
v-model="model.liaall.limmod.ccvamt"
placeholder="请输入保证金余额"
:disabled="true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24" style="text-align: right">
<c-button size="small" type="primary" @click="onLimmodTrycal">
试算
</c-button>
</c-col>
</c-row>
</c-col>
<br /><br /><br /><br /><br />
<c-col :span="24" style="">
<c-table :list="model.liaall.limmod.limgrd" :border="true">
<el-table-column prop="flg" label="可否串用" width="70px">
</el-table-column>
<el-table-column prop="shxh" label="序号" width="50px">
</el-table-column>
<el-table-column prop="limtyp" label="额度类型" width="70px">
</el-table-column>
<el-table-column prop="ruzhjg" label="入账机构" width="70px">
</el-table-column>
<el-table-column prop="limref" label="额度编号" width="70px">
</el-table-column>
<el-table-column prop="infref" label="额度明细编号" width="100px">
</el-table-column>
<el-table-column prop="limcodsave" label="额度品种代码" width="100px">
</el-table-column>
<el-table-column prop="limcod" label="品种代码描述" width="100px">
</el-table-column>
<el-table-column prop="cur" label="额度明细币种" width="100px">
</el-table-column>
<el-table-column prop="ccvpct" label="保证金比例" width="100px">
</el-table-column>
<el-table-column prop="cpsxed" label="产品授信额度" width="100px">
</el-table-column>
<el-table-column prop="balamt" label="产品可用额度" width="100px">
</el-table-column>
<el-table-column prop="useamt" label="产品已用额度" width="100px">
</el-table-column>
<el-table-column prop="cpsxck" label="产品授信敞口" width="100px">
</el-table-column>
<el-table-column prop="cpkyck" label="产品可用敞口" width="100px">
</el-table-column>
<el-table-column prop="cpyyck" label="产品已用敞口" width="100px">
</el-table-column>
<el-table-column prop="bxh" label="是否可循环" width="90px">
</el-table-column>
<el-table-column prop="bcy" label="是否可串用" width="90px">
</el-table-column>
<el-table-column prop="cyremark" label="串用说明" width="100px">
</el-table-column>
<el-table-column prop="credat" label="产品额度生效日期" width="120px">
</el-table-column>
<el-table-column prop="matdat" label="产品额度到期日" width="120px">
</el-table-column>
<el-table-column prop="lcpsta" label="额度产品状态" width="100px">
</el-table-column>
<el-table-column prop="fentyp" label="暴露分类" width="100px">
</el-table-column>
<el-table-column prop="fentxt" label="暴露分类说明" width="100px">
</el-table-column>
<el-table-column prop="limcur" label="额度币种" width="90px">
</el-table-column>
<el-table-column prop="bfx" label="是否低风险" width="90px">
</el-table-column>
</c-table>
</c-col>
</div>
</template>
<script>
import commonProcess from '~/mixin/commonProcess';
export default {
inject: ['root'],
props: ['model', 'codes'],
mixins: [commonProcess],
data() {
return {
tableData: {},
same: false,
len: true,
};
},
methods: {
onSeainf() {},
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule('preper_buttxmsel');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: '错误',
message: '服务请求失败!',
});
}
},
async onLimptsGet1() {
let rtnmsg = await this.executeRule('limpts_get1');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: '错误',
message: '服务请求失败!',
});
}
},
async onLimptsGet2() {
let rtnmsg = await this.executeRule('limpts_get2');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({
title: '错误',
message: '服务请求失败!',
});
}
},
nonrevflg1Change() {
if (this.model.liaall.limmod.limpts.nonrevflg1 == '1') {
this.model.liaall.limmod.limpts.pfcod1 = '';
}
},
nonrevflg2Change() {
if (this.model.liaall.limmod.limpts.nonrevflg2 == '1') {
this.model.liaall.limmod.limpts.pfcod2 = '';
}
},
async onWrkpDet() {
let rtnmsg = await this.executeRule('liaall.limmod.wrkp.det');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
console.log(rtnmsg.data);
} else {
this.$notify.error({
title: '错误',
message: '服务请求失败!',
});
}
},
async onOthpDet() {
let rtnmsg = await this.executeRule('liaall.limmod.othp.det');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
console.log(rtnmsg.data);
} else {
this.$notify.error({
title: '错误',
message: '服务请求失败!',
});
}
},
async onLimmodTrycal() {
let rtnmsg = await this.executeRule('liaall.limmod.trycal');
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
show() {
let len1 = this.model.liaall.limmod.tygrd['rows'].length || [];
let len2 = this.model.liaall.limmod.dggrd['rows'].length || [];
if (len1 > 0 && len2 > 0) {
this.same = true;
}
},
spanChange() {
if (same == false) {
len = true;
}
},
},
created() {},
};
</script>
<style></style>
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: {},
};
}
}
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: '',
};
}
}
<template>
<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.feecod" disabled />
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="中文描述">
<c-col :span="13">
<c-input v-model="formData.feetxt" />
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px">
<c-select
v-model="formData.modflg"
disabled
:code="codes.modflg"
/>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="6">
<el-form-item label="详细信息">
<c-input v-model="formData.feetxtinf" />
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="起算时间">
<!-- <c-input v-model="formData.dat1" type="date" /> -->
<c-date-picker
type="date"
v-model="formData.dat1"
format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择起算时间"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="结束时间">
<c-date-picker
type="date"
v-model="formData.dat2"
format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择结束时间"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="收取份数">
<c-input v-model="formData.unt" />
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="费用换算">
<c-col :span="13">
<c-select
v-model="formData.usrcur"
style="width: 100%"
>
<el-option
v-for="item in codes.cur"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px">
<c-input v-model="formData.usramt" />
</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.ogiamt"
disabled
/>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="付款方">
<c-select v-model="formData.rol" style="width:100%">
<el-option
v-for="item in codes.setfelRol"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="计算周期起始">
<c-input v-model="formData.datrefbeg" disabled />
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-col :span="12">
<el-form-item label="优惠百分比">
<c-input v-model="formData.dctrat" @keyup.enter.native="eventFunction('setmod.setfeg.setfel('+ (idx+1) +').dctrat')">
<template #suffix>%</template>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="优惠金额">
<c-input v-model="formData.dctamt" @keyup.enter.native=$event.target.blur() @blur="eventFunction('setmod.setfeg.setfel('+ (idx+1) +').dctamt')" />
</el-form-item>
</c-col>
</c-col>
<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.feecod" disabled />
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="中文描述">
<c-col :span="13">
<c-input v-model="formData.feetxt" />
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px">
<c-select
v-model="formData.modflg"
disabled
:code="codes.modflg"
/>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="6">
<el-form-item label="详细信息">
<c-input v-model="formData.feetxtinf" />
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="起算时间">
<!-- <c-input v-model="formData.dat1" type="date" /> -->
<c-date-picker
type="date"
v-model="formData.dat1"
format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择起算时间"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="结束时间">
<c-date-picker
type="date"
v-model="formData.dat2"
format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择结束时间"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="收取份数">
<c-input v-model="formData.unt" />
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="费用换算">
<c-col :span="13">
<c-select v-model="formData.usrcur" style="width: 100%">
<el-option
v-for="item in codes.cur"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px">
<c-input v-model="formData.usramt" />
</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.ogiamt" disabled />
</el-form-item>
</c-col>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="付款方">
<c-select v-model="formData.rol" style="width: 100%">
<el-option
v-for="item in codes.setfelRol"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="计算周期起始">
<c-input v-model="formData.datrefbeg" disabled />
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-col :span="12">
<el-form-item label="优惠百分比">
<c-input
v-model="formData.dctrat"
@keyup.enter.native="
eventFunction(
'setmod.setfeg.setfel(' + (idx + 1) + ').dctrat'
)
"
>
<template #suffix>%</template>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="优惠金额">
<c-input
v-model="formData.dctamt"
@keyup.enter.native="$event.target.blur()"
@blur="
eventFunction(
'setmod.setfeg.setfel(' + (idx + 1) + ').dctamt'
)
"
/>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="优惠后实收费用金额">
<c-input v-model="formData.amt" @keyup.enter.native="eventFunction('setmod.setfeg.setfel('+ (idx+1) +').amt')" />
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item
:label="
idx == 1
? 'Per mile fee depending on duration'
: 'A fixed amount per unit is caculated. This type will, for example, be used for correspondence charges.'
"
label-width="700px"
<c-col :span="12">
<el-form-item label="优惠后实收费用金额">
<c-input
v-model="formData.amt"
@keyup.enter.native="
eventFunction('setmod.setfeg.setfel(' + (idx + 1) + ').amt')
"
/>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item
:label="
idx == 1
? 'Per mile fee depending on duration'
: 'A fixed amount per unit is caculated. This type will, for example, be used for correspondence charges.'
"
label-width="700px"
/>
</c-col>
<c-col :span="12">
<c-col v-if="idx == 1">
<c-col>
<el-form-item label="千分率">
<c-input v-model="formData.wrkfec.ratcal" />
</el-form-item>
</c-col>
<c-col>
<el-form-item label="最小值">
<c-col :span="13">
<c-select
v-model="formData.wrkfec.mincur"
style="width: 100%"
>
<el-option
v-for="item in codes.cur"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
</c-col>
<c-col :span="12">
<c-col v-if="idx == 1">
<c-col>
<el-form-item label="千分率">
<c-input v-model="formData.wrkfec.ratcal" />
</el-form-item>
</c-col>
<c-col>
<el-form-item label="最小值">
<c-col :span="13">
<c-select
v-model="formData.wrkfec.mincur"
style="width: 100%"
>
<el-option
v-for="item in codes.cur"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px">
<c-input
v-model="formData.wrkfec.minamt"
/>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<c-col>
<el-form-item label="最大值">
<c-col :span="13">
<c-select
v-model="formData.wrkfec.maxcur"
style="width: 100%"
>
<el-option
v-for="item in codes.cur"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px">
<c-input
v-model="formData.wrkfec.maxamt"
/>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<c-col>
<el-form-item>
<c-checkbox
label="每个计费区间与最大值/最小值比较"
v-model="formData.fecp1.jnwshx"
/>
</el-form-item>
</c-col>
</c-col>
<c-col v-else>
<el-form-item label="Amount">
<c-col :span="13">
<c-select v-model="formData.wrkfec.ratcur">
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px">
<c-input v-model="formData.wrkfec.untamt">
</c-input>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<c-col>
<el-form-item label="销项税">
<c-input v-model="formData.fecp1.taxrat" disabled />
</el-form-item>
</c-col>
<c-col>
<el-form-item label="客户属性">
<c-input v-model="formData.fecp1.custyp" disabled />
</el-form-item>
</c-col>
<c-col >
<el-form-item label="收费的说明信息">
<c-input
v-model="formData.inftxt"
disabled
rows="10"
type="textarea"
/>
</el-form-item>
</c-col>
</c-col>
<c-col v-if="idx == 1" :span="12">
<el-form-item label="计费基础金额">
<c-input v-model="formData.wrkfec.calcbs" disabled />
</el-form-item>
<br />
<el-form-item label="计费周期">
<c-select v-model="formData.wrkfec.pertyp" @change="defaultFunction()">
<el-option
v-for="item in codes.pertyp"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
</el-form-item>
<br />
<el-form-item label="最小周期">
<c-input v-model="formData.wrkfec.permin" />
</el-form-item>
<br />
<el-form-item label="周期阶梯费率" />
<br />
<el-form-item label="周期">
<c-col :span="12">
<c-input v-model="formData.wrkfec.perbegtr2" />
</c-col>
<c-col :span="11" :offset="1">
<c-input v-model="formData.wrkfec.perrattr2" />
</c-col>
</el-form-item>
<el-form-item label="周期">
<c-col :span="12">
<c-input v-model="formData.wrkfec.perbegtr3" />
</c-col>
<c-col :span="11" :offset="1">
<c-input
disabled
v-model="formData.wrkfec.perrattr3"
/>
</c-col>
</el-form-item>
<el-form-item label="周期">
<c-col :span="12">
<c-input
disabled
v-model="formData.wrkfec.perbegtr4"
/>
</c-col>
<c-col :span="11" :offset="1">
<c-input
disabled
v-model="formData.wrkfec.perrattr4"
/>
</c-col>
</el-form-item>
<el-form-item label="周期">
<c-col :span="12">
<c-input
disabled
v-model="formData.wrkfec.perbegtr5"
/>
</c-col>
<c-col :span="11" :offset="1">
<c-input
disabled
v-model="formData.wrkfec.perrattr5"
/>
</c-col>
</el-form-item>
<c-col :span="11">
<el-form-item label="" label-width="5px">
<c-input v-model="formData.wrkfec.minamt" />
</el-form-item>
</c-col>
<c-col>&nbsp;</c-col>
<c-col :span="4" :offset="9">
<c-button type="primary" @click="saveDialog">
确 定
</c-button>
</el-form-item>
</c-col>
<c-col>
<el-form-item label="最大值">
<c-col :span="13">
<c-select
v-model="formData.wrkfec.maxcur"
style="width: 100%"
>
<el-option
v-for="item in codes.cur"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
</c-col>
<c-col :span="6">
<c-button @click="visiable = false">取 消</c-button>
<c-col :span="11">
<el-form-item label="" label-width="5px">
<c-input v-model="formData.wrkfec.maxamt" />
</el-form-item>
</c-col>
<c-col>&nbsp;</c-col>
</c-row>
</el-form>
</el-dialog>
</el-form-item>
</c-col>
<c-col>
<el-form-item>
<c-checkbox
label="每个计费区间与最大值/最小值比较"
v-model="formData.fecp1.jnwshx"
/>
</el-form-item>
</c-col>
</c-col>
<c-col v-else>
<el-form-item label="Amount">
<c-col :span="13">
<c-select v-model="formData.wrkfec.ratcur">
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px">
<c-input v-model="formData.wrkfec.untamt"> </c-input>
</el-form-item>
</c-col>
</el-form-item>
</c-col>
<c-col>
<el-form-item label="销项税">
<c-input v-model="formData.fecp1.taxrat" disabled />
</el-form-item>
</c-col>
<c-col>
<el-form-item label="客户属性">
<c-input v-model="formData.fecp1.custyp" disabled />
</el-form-item>
</c-col>
<c-col>
<el-form-item label="收费的说明信息">
<c-input
v-model="formData.inftxt"
disabled
rows="10"
type="textarea"
/>
</el-form-item>
</c-col>
</c-col>
<c-col v-if="idx == 1" :span="12">
<el-form-item label="计费基础金额">
<c-input v-model="formData.wrkfec.calcbs" disabled />
</el-form-item>
<br />
<el-form-item label="计费周期">
<c-select
v-model="formData.wrkfec.pertyp"
@change="defaultFunction()"
>
<el-option
v-for="item in codes.pertyp"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
</el-form-item>
<br />
<el-form-item label="最小周期">
<c-input v-model="formData.wrkfec.permin" />
</el-form-item>
<br />
<el-form-item label="周期阶梯费率" />
<br />
<el-form-item label="周期">
<c-col :span="12">
<c-input v-model="formData.wrkfec.perbegtr2" />
</c-col>
<c-col :span="11" :offset="1">
<c-input v-model="formData.wrkfec.perrattr2" />
</c-col>
</el-form-item>
<el-form-item label="周期">
<c-col :span="12">
<c-input v-model="formData.wrkfec.perbegtr3" />
</c-col>
<c-col :span="11" :offset="1">
<c-input disabled v-model="formData.wrkfec.perrattr3" />
</c-col>
</el-form-item>
<el-form-item label="周期">
<c-col :span="12">
<c-input disabled v-model="formData.wrkfec.perbegtr4" />
</c-col>
<c-col :span="11" :offset="1">
<c-input disabled v-model="formData.wrkfec.perrattr4" />
</c-col>
</el-form-item>
<el-form-item label="周期">
<c-col :span="12">
<c-input disabled v-model="formData.wrkfec.perbegtr5" />
</c-col>
<c-col :span="11" :offset="1">
<c-input disabled v-model="formData.wrkfec.perrattr5" />
</c-col>
</el-form-item>
</c-col>
<c-col>&nbsp;</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-row>
</el-form>
</el-dialog>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import commonProcess from '~/mixin/commonProcess';
export default {
inject: ['root'],
mixins: [commonProcess],
props: {
model: Object,
idx: Number,
codes: Object,
},
data() {
return {
visiable: false,
};
},
computed: {
formData() {
let formDataTmp = this.model.setmod.setfeg.setfel[this.idx];
inject: ['root'],
mixins: [commonProcess],
props: {
model: Object,
idx: Number,
codes: Object,
},
data() {
return {
visiable: false,
};
},
computed: {
formData() {
let formDataTmp = this.model.setmod.setfeg.setfel[this.idx];
formDataTmp.fecp1 = formDataTmp.fecp1 ? formDataTmp.fecp1 : {};
formDataTmp.fecp1.taxrat = formDataTmp.fecp1.taxrat ? formDataTmp.fecp1.taxrat : '';
formDataTmp.fecp1 = formDataTmp.fecp1 ? formDataTmp.fecp1 : {};
formDataTmp.fecp1.taxrat = formDataTmp.fecp1.taxrat
? formDataTmp.fecp1.taxrat
: '';
formDataTmp.wrkfec = formDataTmp.wrkfec ? formDataTmp.wrkfec : {};
formDataTmp.wrkfec.ratcur = formDataTmp.wrkfec.ratcur ? formDataTmp.wrkfec.ratcur : 0;
formDataTmp.wrkfec = formDataTmp.wrkfec ? formDataTmp.wrkfec : {};
formDataTmp.wrkfec.ratcur = formDataTmp.wrkfec.ratcur
? formDataTmp.wrkfec.ratcur
: 0;
return formDataTmp;
}
return formDataTmp;
},
methods: {
saveDialog() {
this.model.setmod.setfeg.setfel.splice(this.idx, 1, this.formData);
this.visiable = false;
},
beforeClose(done) {
this.visiable = false;
done();
},
},
methods: {
saveDialog() {
this.model.setmod.setfeg.setfel.splice(this.idx, 1, this.formData);
this.visiable = false;
},
beforeClose(done) {
this.visiable = false;
done();
},
},
};
</script>
<style>
</style>
<style></style>
......@@ -60,52 +60,12 @@
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col :span="18">
<el-form-item label="类型" label-width="120px">
<c-select
v-model="model.setmod.dspflg"
disabled
style="width: 100%"
placeholder=""
>
<el-option
v-for="item in codes.dspflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="6" style="text-align: right; float: right">
<c-button
style=""
size="small"
type="primary"
icon="el-icon-info"
@click="onSetmodDet"
>
</c-button>
</c-col> -->
</c-col>
<!-- ====================顶部==================== -->
<!--
<c-col :span="12">
<el-form-item label="自贸区账号">
<c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自贸区账号"></c-input>
</el-form-item>
</c-col>
<c-col :span="6" style="text-align:center">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
-->
<c-col :span="24" style="height: 25px">
<el-divider></el-divider>
</c-col>
<!-- ==============第一个表格===================== -->
<c-col :span="24" style="height: 24px">
<el-form-item class="formItemLabel" label="国外收费:" label-width="72px">
</el-form-item>
......@@ -184,10 +144,6 @@
label-width="0"
:prop="'setmod.setfog.setfol.' + scope.$index + '.amt'"
>
<!-- <c-input-currency
v-model="scope.row.amt"
placeholder="0.00"
></c-input-currency> -->
</el-form-item>
</template>
</el-table-column>
......@@ -269,12 +225,6 @@
style="width: 100%"
:code="codes.curtxt1"
>
<!-- <el-option
v-for="item in codes.cur"
:key="item.value"
:labelF="item.label"
:value="item.value"
/> -->
</c-select>
</el-form-item>
</c-col>
......@@ -393,12 +343,6 @@
</template>
</el-table-column>
<el-table-column label="应收金额" prop="ogiamt" width="110px">
<!-- <template slot-scope="scope">
<c-input-currency
v-model="scope.row.ogiamt"
placeholder="0.00"
></c-input-currency>
</template> -->
</el-table-column>
<el-table-column label="实收金额" prop="amt" width="auto">
<template slot-scope="scope">
......@@ -407,10 +351,6 @@
:prop="'setmod.setfeg.setfel.' + scope.$index + '.amt'"
>
{{ scope.row.amt }}
<!-- <c-input-currency
v-model="scope.row.amt"
placeholder="0.00"
></c-input-currency> -->
</el-form-item>
</template>
</el-table-column>
......@@ -496,11 +436,6 @@
v-model="scope.row.fmtaccamt"
@change="fmtaccamtChange(scope.$index)"
/>
<!-- <c-input-currency
v-model="scope.row.fmtaccamt"
placeholder="0.00"
@change="fmtaccamtChange(scope.$index)"
></c-input-currency> -->
</template>
</el-table-column>
<el-table-column label="处理方式" width="110px" prop="dsp">
......@@ -565,12 +500,6 @@
<el-table-column label="原始币种" prop="cur" width="70px">
</el-table-column>
<el-table-column label="原始金额" prop="fmtamt" width="110px">
<!-- <template slot-scope="scope">
<c-input-currency
v-model="scope.row.fmtamt"
placeholder="0.00"
></c-input-currency>
</template> -->
</el-table-column>
<el-table-column label="汇率" prop="rat" width="auto">
</el-table-column>
......@@ -588,35 +517,8 @@
></c-button>
</template>
</el-table-column>
<!-- <el-table-column label="" width="80px">
<template>
<c-button
style="margin-left:0"
size="small"
type="primary"
>详情</c-button
>
</template> </el-table-column> -->
</c-table>
</c-col>
<!-- <c-col :span="12" style="margin-bottom: 10px;">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg">
</span>
</c-col> -->
<!-- <c-col :span="12" style="margin-bottom: 10px;">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab">
</span>
</c-col> -->
<!-- <c-col :span="12" style="margin-bottom: 10px;">
<span
v-text="model.setmod.setglg.labdspflg"
data-path=".setmod.setglg.labdspflg"
>
</span>
</c-col> -->
<template>
<el-dialog
ref="detpDialog"
......@@ -634,12 +536,6 @@
<el-divider></el-divider>
</c-col>
<c-col :span="24"> &nbsp; </c-col>
<!-- <c-col :span="12">
<el-form-item label="rollab">
<c-input v-model="dialog3.rollab" maxlength="3" placeholder="请输入rollab"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24" v-if="dialog3.amt > 0">
<el-form-item label="付款人">
<c-select
......@@ -674,22 +570,6 @@
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-checkbox v-model="dialog3.act3flg">第三方还款</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onMtdbutButapy">
确定
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="setgll.actp.ptsget.sdamod.dadsnd">
<c-input v-model="dialog3.actp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="12">
<el-form-item label="处理" prop="setgll.dsp">
<c-select
......@@ -734,19 +614,6 @@
</c-col>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="核心业务代号" >
<c-input v-model="dialog3.acccode" maxlength="4" placeholder="请输入核心业务代号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetgllDetget">
Get
</c-button>
</c-col> -->
<c-col :span="12">
<el-form-item label="账号">
<c-select
......@@ -757,12 +624,6 @@
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Name of Party" >
<c-input v-model="dialog3.setgrp.act.pts.nam" maxlength="40" placeholder="请输入"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="科目代码">
......@@ -787,12 +648,6 @@
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Search type" >
<c-select v-model="dialog3.actpriflg" style="width:100%" placeholder="请选择Search type">
</c-select>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="原始金额">
<c-col :span="8">
......@@ -990,148 +845,6 @@
</el-form-item>
</c-col>
<!-- <div>
<c-col :span="12">
<el-form-item label="pre rate type" prop="setgll.selrattyp">
<c-select v-model="dialog3.selrattyp" style="width:100%" placeholder="请选择pre rate type">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sel" prop="setgll.preselrat">
<c-input v-model="dialog3.preselrat" placeholder="请输入Sel"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="dialog3.selpct" data-path=".setgll.selpct" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Amount handled" prop="setgll.fmtacccpramt">
<c-input v-model="dialog3.fmtacccpramt" placeholder="请输入Amount handled"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Pre rate type" prop="setgll.buyrattyp">
<c-select v-model="dialog3.buyrattyp" style="width:100%" placeholder="请选择Pre rate type">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Buy" prop="setgll.prebuyrat">
<c-input v-model="dialog3.prebuyrat" placeholder="请输入Buy"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="dialog3.buypct" data-path=".setgll.buypct" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="From Date" prop="setgll.xrttim">
<c-input v-model="dialog3.xrttim" maxlength="20" placeholder="请输入From Date"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="dialog3.ratcurlab" data-path=".setgll.ratcurlab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Codetable of supported rate types M-iddle, B-uying, S-elling, I-nput" prop="setgll.rattyp">
<c-select v-model="dialog3.rattyp" style="width:100%" placeholder="请选择Codetable of supported rate types M-iddle, B-uying, S-elling, I-nput">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="rate used" prop="setgll.rat">
<c-input v-model="dialog3.rat" placeholder="请输入rate used"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Selling Rate" prop="setgll.selrat">
<c-input v-model="dialog3.selrat" placeholder="请输入Selling Rate"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="dialog3.dcbratlab" data-path=".setgll.dcbratlab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Document Cur to Base RATe TYPe" prop="setgll.dcbrattyp">
<c-select v-model="dialog3.dcbrattyp" style="width:100%" placeholder="请选择Document Cur to Base RATe TYPe">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Cur to Base EXTernal RATe" prop="setgll.dcbextrat">
<c-input v-model="dialog3.dcbextrat" placeholder="请输入Document Cur to Base EXTernal RATe"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Begin-Date of XRT-Rate of CUR" prop="setgll.xrtdatcur">
<c-date-picker type="date" v-model="dialog3.xrtdatcur" style="width:100%" placeholder="请选择Begin-Date of XRT-Rate of CUR"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="setgll.xrtgetdcb.sdamod.seainf">
<c-input v-model="dialog3.xrtgetdcb.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Middle Rate" prop="setgll.midrat">
<c-input v-model="dialog3.midrat" placeholder="请输入Middle Rate"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="dialog3.scbratlab" data-path=".setgll.scbratlab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Settle Cur to Base RATe TYPe" prop="setgll.scbrattyp">
<c-select v-model="dialog3.scbrattyp" style="width:100%" placeholder="请选择Settle Cur to Base RATe TYPe">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Settle Cur to Base EXTernal RATe" prop="setgll.scbextrat">
<c-input v-model="dialog3.scbextrat" placeholder="请输入Settle Cur to Base EXTernal RATe"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Begin-Date of XRT-Rate of ACCCUR" prop="setgll.xrtdatacc">
<c-date-picker type="date" v-model="dialog3.xrtdatacc" style="width:100%" placeholder="请选择Begin-Date of XRT-Rate of ACCCUR"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="setgll.xrtgetscb.sdamod.seainf">
<c-input v-model="dialog3.xrtgetscb.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Buying Rate" prop="setgll.buyrat">
<c-input v-model="dialog3.buyrat" placeholder="请输入Buying Rate"></c-input>
</el-form-item>
</c-col>
</div> -->
<!-- ---------------------- -->
<c-col :span="23" style="height: 24px">
<el-form-item label="交易信息" class="messageLabel">
</el-form-item>
......@@ -1207,12 +920,6 @@
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-checkbox v-model="dialog3.modifyflg">Modify flg</c-checkbox>
</c-col> -->
<!-- ---------------------- -->
<c-col :span="23" style="height: 24px">
<el-form-item label="交易详情" class="messageLabel">
</el-form-item>
......@@ -1263,19 +970,6 @@
</c-col>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Which MT to beneficiary institution" prop="setgll.sftmt">
<c-select v-model="dialog3.sftmt" style="width:100%" placeholder="请选择Which MT to beneficiary institution">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Direct payment one message" prop="setgll.dirindflg">
<c-select v-model="dialog3.dirindflg" style="width:100%" placeholder="请选择Direct payment one message">
</c-select>
</el-form-item>
</c-col> -->
<c-col :span="12">
<el-form-item label="对方名称" prop="setgll.oppnam">
......@@ -1316,13 +1010,6 @@
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onMtdbutButcan">
取消
</c-button>
</c-col> -->
<c-col :span="12">
<el-form-item label="对方银行代码" prop="setgll.oppbnk">
<c-input
......@@ -1353,16 +1040,12 @@
</c-row>
</template>
<script>
// import Event from "~/model/Ditopn/Event";
import commonProcess from '~/mixin/commonProcess';
import SetpanDialog from './dialog.vue';
import Utils from '~/utils/index';
export default {
inject: ['root'],
components: { SetpanDialog },
props: ['model', 'codes'],
mixins: [commonProcess],
data() {
return {
dialogVisible: false,
......@@ -1477,14 +1160,6 @@ export default {
that.dialog2 = row;
that.root.model.setmod.setfeg.setfel[index] = row;
setTimeout(() => { that.$refs.setpanDialog.visiable = true }, 100);
/* const rule = 'setmod.setfeg.setfel(' + (index + 1) + ').det';
that.executeRule(rule).then((res) => {
that.index = index;
that.$refs.setpanDialog.visiable = true;
// that.$refs.setpanDialog.formData = that.model.setmod.setfeg.setfel[index];
that.dialog2 = row;
});*/
},
// 第三个表格
......@@ -1516,24 +1191,6 @@ export default {
that.detpDialogVisible = true;
that.dialog3.setgll = {};
// const rule = "setmod.setglg.setgll(" + (index + 1) + ").det";
// let rtnmsg = await this.executeRule(rule);
// if (rtnmsg.respCode == SUCCESS) {
// that.index = index;
// that.$refs.detpDialog.visiable = true;
// this.detpDialogVisible = true;
// that.dialog3 = that.model.setmod.setglg.setgll[index];
// that.rattyp = that.strCalCode(that.dialog3.rattyp, that.codes.ratetype);
// that.dcbrattyp = that.strCalCode(
// that.dialog3.dcbrattyp,
// that.codes.ratetype
// );
// that.scbrattyp = that.strCalCode(
// that.dialog3.scbrattyp,
// that.codes.ratetype
// );
// }
},
strCalCode(str, code) {
var result = '';
......@@ -1565,35 +1222,9 @@ export default {
},
async accucrChange(index) {
this.changeDsp(index, 'changeDsp');
/*let rtnmsg = await this.executeRule(
'setmod.setglg.setgll(' + (index + 1) + ').acccur'
);
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
this.$nextTick(() => {
this.executeRule('setmod.glemod.glepan').then((res) => {
//TODO 处理数据逻辑
if (res.respCode == SUCCESS) this.updateModel(res.data);
});
});
}*/
},
async fmtaccamtChange(index) {
this.changeDsp(index, 'changeDsp');
/* let rtnmsg = await this.executeRule(
'setmod.setglg.setgll(' + (index + 1) + ').fmtaccamt'
);
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
this.$nextTick(() => {
this.executeRule('setmod.glemod.glepan').then((res) => {
//TODO 处理数据逻辑
if (res.respCode == SUCCESS) this.updateModel(res.data);
});
});
}*/
},
async changeDsp(index, code) {
this.$emit('changeSetmodModel', {
......@@ -1601,21 +1232,6 @@ export default {
index: (index + 1),
list: this.stmData3
})
// this.root.setgllAccts((index + 1), this.stmData3);
// let rtnmsg = await this.executeDefault(
// "setmod.setglg.setgll(" + (index + 1) + ").dsp"
// );
// if (rtnmsg.respCode == SUCCESS) {
// //TODO 处理数据逻辑
// this.updateModel(rtnmsg.data);
// this.$nextTick(() => {
// this.executeRule("setmod.glemod.glepan").then((res) => {
// //TODO 处理数据逻辑
// if (res.respCode == SUCCESS) this.updateModel(res.data);
// });
// });
// }
},
},
created: function () {},
......
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