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();
},
};
<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();
},
};
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: '',
};
}
}
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