Commit ab0fe3d9 by 李少勇

公共组件优化

parent 60c6413e
...@@ -111,6 +111,29 @@ export default { ...@@ -111,6 +111,29 @@ export default {
}; };
return params 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字段改变,触发联动时候的入参 // 公共组件setmod中dsp字段改变,触发联动时候的入参
buildSetgllAccts (model, trnName, setglg) { buildSetgllAccts (model, trnName, setglg) {
let params = { let params = {
......
...@@ -6,6 +6,8 @@ import glentry from '~/components/business/glentry/event'; ...@@ -6,6 +6,8 @@ import glentry from '~/components/business/glentry/event';
import engp from '~/components/business/engp/event'; import engp from '~/components/business/engp/event';
import docpan from '~/components/business/docpan/event'; import docpan from '~/components/business/docpan/event';
import ccvpan from '~/components/business/ccvpan/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" import Utils from "~/utils"
export default { export default {
...@@ -16,6 +18,8 @@ export default { ...@@ -16,6 +18,8 @@ export default {
...engp, ...engp,
...docpan, ...docpan,
...ccvpan, ...ccvpan,
...limitbody,
...doctre,
async init () { async init () {
const params = { const params = {
spt: this.toHandleRowData['row_' + this.trnName] spt: this.toHandleRowData['row_' + this.trnName]
...@@ -75,6 +79,14 @@ export default { ...@@ -75,6 +79,14 @@ export default {
let glentryRequest = buildFn.buildGlentry(this.model, this.trnName); let glentryRequest = buildFn.buildGlentry(this.model, this.trnName);
this.processGlentry(glentryRequest); this.processGlentry(glentryRequest);
break; 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: default:
return; return;
} }
......
import Pts from '~/model/Common/Pts'; import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/model/Public'; import Pub from '~/components/business/commonModel/index.js';
export default class Gitopn { export default class Gitopn {
constructor() { constructor() {
this.data = { this.data = {
......
...@@ -139,8 +139,8 @@ import Ccvpan from "~/components/business/ccvpan/views"; ...@@ -139,8 +139,8 @@ import Ccvpan from "~/components/business/ccvpan/views";
import Setmod from "~/components/business/setmod/views"; import Setmod from "~/components/business/setmod/views";
import Glentry from "~/components/business/glentry/views"; import Glentry from "~/components/business/glentry/views";
import Docpan from "~/components/business/docpan/views"; import Docpan from "~/components/business/docpan/views";
import Doctre from "~/views/Public/Doctre"; import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/components/business/limitbody/views";
import { mapState } from 'vuex'; import { mapState } from 'vuex';
export default { export default {
......
export default class LiaccvRequest { export default class LiaccvRequest {
constructor() { constructor() {
this.data = { this.data = {
transName: "", transName: '',
userId: "", userId: '',
rec: {}, rec: {},
amdRec: { amdRec: {
engamt: "", engamt: '',
amecur: "" amecur: '',
}, },
cbsMap: { cbsMap: {
OPN2: { OPN2: {
cur: "", cur: '',
amt: "" amt: '',
}, },
NOM1: { NOM1: {
cur: "", cur: '',
amt: "" amt: '',
}, },
OPN1: { OPN1: {
cur: "", cur: '',
amt: "" amt: '',
}, },
MAX: { MAX: {
cur: "", cur: '',
amt: "" amt: '',
}, },
MAX2: { MAX2: {
cur: "", cur: '',
amt: "" amt: '',
} },
}, },
ptsList: [], ptsList: [],
liaccvg: [], liaccvg: [],
fcdVo: {}, fcdVo: {},
oldamt: "", oldamt: '',
chgamt: "", chgamt: '',
concur: "" concur: '',
} };
} }
} }
\ No newline at end of file
export default class Liaccv { export default class Liaccv {
constructor() { constructor() {
this.data = { this.data = {
oldamt: "", oldamt: '',
chgamt: "", chgamt: '',
newamt: "", // 合同金额 .liaall.liaccv.newamt newamt: '', // 合同金额 .liaall.liaccv.newamt
concur: "", // 应付保证金金额 .liaall.liaccv.concur concur: '', // 应付保证金金额 .liaall.liaccv.concur
totcovamt: "", // 金额总和 .liaall.liaccv.totcovamt totcovamt: '', // 金额总和 .liaall.liaccv.totcovamt
newresamt: "", // Reserved Amount .liaall.liaccv.newresamt newresamt: '', // Reserved Amount .liaall.liaccv.newresamt
addinf: "", // Additional Information .liaall.liaccv.addinf addinf: '', // Additional Information .liaall.liaccv.addinf
cshpct: "", // 保证金应收比例 .liaall.liaccv.cshpct cshpct: '', // 保证金应收比例 .liaall.liaccv.cshpct
relcshpct: "", // 保证金实收比例 .liaall.liaccv.relcshpct relcshpct: '', // 保证金实收比例 .liaall.liaccv.relcshpct
gleflg: "", // Create gle flag .liaall.liaccv.gleflg gleflg: '', // Create gle flag .liaall.liaccv.gleflg
chgcurflg: "", // Change currency flag .liaall.liaccv.chgcurflg chgcurflg: '', // Change currency flag .liaall.liaccv.chgcurflg
pctresamt: "", // reserve amount based percent .liaall.liaccv.pctresamt pctresamt: '', // reserve amount based percent .liaall.liaccv.pctresamt
liaccvg: [], liaccvg: [],
stgstm:[], stgstm: [],
dnfmod:{ dnfmod: {
kehuzh:"", //保证金账户 liaall.liaccv.dnfmod.kehuzh kehuzh: '', //保证金账户 liaall.liaccv.dnfmod.kehuzh
ccvtyp:"", //操作类型 liaall.liaccv.dnfmod.ccvtyp ccvtyp: '', //操作类型 liaall.liaccv.dnfmod.ccvtyp
zhqtyp:"", //支取类型 liaall.liaccv.dnfmod.zhqtyp zhqtyp: '', //支取类型 liaall.liaccv.dnfmod.zhqtyp
zhqucs:"", //支取次数 liaall.liaccv.dnfmod.zhqucs zhqucs: '', //支取次数 liaall.liaccv.dnfmod.zhqucs
tizamt:"", //部分提支金额 liaall.liaccv.dnfmod.tizamt tizamt: '', //部分提支金额 liaall.liaccv.dnfmod.tizamt
yewudh:"", //业务代号 liaall.liaccv.dnfmod.yewudh yewudh: '', //业务代号 liaall.liaccv.dnfmod.yewudh
pridsp:"", //本金转入账户 liaall.liaccv.dnfmod.pridsp pridsp: '', //本金转入账户 liaall.liaccv.dnfmod.pridsp
zhruzh:"", //本金转入账户 liaall.liaccv.dnfmod.zhruzh zhruzh: '', //本金转入账户 liaall.liaccv.dnfmod.zhruzh
qicuje:"", //起存金额 liaall.liaccv.dnfmod.qicuje qicuje: '', //起存金额 liaall.liaccv.dnfmod.qicuje
intdsp:"", //利息转入账户 liaall.liaccv.dnfmod.intdsp intdsp: '', //利息转入账户 liaall.liaccv.dnfmod.intdsp
lxzyzh:"", //利息转入账户 liaall.liaccv.dnfmod.lxzyzh lxzyzh: '', //利息转入账户 liaall.liaccv.dnfmod.lxzyzh
zhhuye:"", //帐户余额 liaall.liaccv.dnfmod.zhhuye zhhuye: '', //帐户余额 liaall.liaccv.dnfmod.zhhuye
stm8023:"", //8023STREAM liaall.liaccv.dnfmod.stm8023 stm8023: '', //8023STREAM liaall.liaccv.dnfmod.stm8023
}, },
} };
} }
} }
\ No newline at end of file
...@@ -2,20 +2,10 @@ ...@@ -2,20 +2,10 @@
<template> <template>
<div class="eibs-tab"> <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="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="合同金额" prop="liaall.liaccv.concur"> <el-form-item label="合同金额" prop="liaall.liaccv.concur">
<c-row> <c-row>
<!-- <c-col :span="8">-->
<!-- <c-input type="text" :readonly="true" value="CNY"></c-input>-->
<!-- </c-col>-->
<c-col :span="8"> <c-col :span="8">
<c-select <c-select
v-model="model.liaccv.concur" v-model="model.liaccv.concur"
...@@ -104,9 +94,6 @@ ...@@ -104,9 +94,6 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="应付金额" prop="liaccv.concur"> <el-form-item label="应付金额" prop="liaccv.concur">
<c-row> <c-row>
<!-- <c-col :span="8">-->
<!-- <c-input type="text" :readonly="true" value="CNY"></c-input>-->
<!-- </c-col>-->
<c-col :span="8"> <c-col :span="8">
<c-select <c-select
v-model="model.liaccv.concur" v-model="model.liaccv.concur"
...@@ -134,10 +121,6 @@ ...@@ -134,10 +121,6 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<!-- <c-col :span="20">
</c-col> -->
<el-form-item label="" style="text-align: left" prop="liaccv.gleflg"> <el-form-item label="" style="text-align: left" prop="liaccv.gleflg">
<c-col :span="7" class=""> <c-col :span="7" class="">
<el-form-item <el-form-item
...@@ -149,9 +132,6 @@ ...@@ -149,9 +132,6 @@
<c-checkbox v-model="model.liaccv.gleflg">过账</c-checkbox> <c-checkbox v-model="model.liaccv.gleflg">过账</c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="3" style="float: right;"> -->
<!-- <c-row> -->
<!-- <c-col :span="24" style="margin-left:35px;text-align:right"> -->
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
...@@ -160,8 +140,6 @@ ...@@ -160,8 +140,6 @@
> >
添加 添加
</c-button> </c-button>
<!-- </c-col> -->
<!-- </c-col> -->
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -209,20 +187,8 @@ ...@@ -209,20 +187,8 @@
<el-table-column prop="cur" label="币种" width="70px"> <el-table-column prop="cur" label="币种" width="70px">
</el-table-column> </el-table-column>
<el-table-column prop="oldamt" label="余额" width="110px"> <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>
<el-table-column prop="amt" label="变动金额" width="110px"> <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>
<el-table-column prop="acc" label="保证金账号" width="180px"> <el-table-column prop="acc" label="保证金账号" width="180px">
</el-table-column> </el-table-column>
...@@ -231,20 +197,8 @@ ...@@ -231,20 +197,8 @@
<el-table-column prop="concur" label="币种" width="70px"> <el-table-column prop="concur" label="币种" width="70px">
</el-table-column> </el-table-column>
<el-table-column prop="covamt" label="折算后金额" width="110px"> <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>
<el-table-column prop="acccovamt" label="实际折算金额" width="150px"> <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>
<el-table-column label="操作" width="auto" fixed="right" align="center"> <el-table-column label="操作" width="auto" fixed="right" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -310,7 +264,6 @@ ...@@ -310,7 +264,6 @@
import Event from '../event'; import Event from '../event';
import Api from '~/service/Api'; import Api from '~/service/Api';
import commonProcess from '~/mixin/commonProcess'; import commonProcess from '~/mixin/commonProcess';
import CodeTable from '~/config/CodeTable';
import Utils from '~/utils/index'; import Utils from '~/utils/index';
export default { export default {
...@@ -405,7 +358,7 @@ export default { ...@@ -405,7 +358,7 @@ export default {
} }
}, },
}, },
created () {}, created() {},
}; };
</script> </script>
<style></style> <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 { export default class TrndocRequest {
constructor() { constructor() {
this.data = { this.data = {
transName: "", transName: '',
userId: "", userId: '',
rec: {}, rec: {},
amdRec: {}, amdRec: {},
ptsList: [] ptsList: [],
} };
} }
} }
\ No newline at end of file
export default class Docpan { export default class Docpan {
constructor() { constructor() {
this.data = { this.data = {
dtamod:{ dtamod: {
dtatagm03:"", // Courier Service Name .trnmod.trndoc.dtamod.dtatagm03 dtatagm03: '', // Courier Service Name .trnmod.trndoc.dtamod.dtatagm03
}, },
dtemod:{ dtemod: {
dtetagm06:"", // Information about Confirmation Instruction .trnmod.trndoc.dtemod.dtetagm06 dtetagm06: '', // Information about Confirmation Instruction .trnmod.trndoc.dtemod.dtetagm06
dtetagm07:"", // Notes from Advising Bank .trnmod.trndoc.dtemod.dtetagm07 dtetagm07: '', // Notes from Advising Bank .trnmod.trndoc.dtemod.dtetagm07
dtetagm08:"", // Fee of Advising Bank .trnmod.trndoc.dtemod.dtetagm08 dtetagm08: '', // Fee of Advising Bank .trnmod.trndoc.dtemod.dtetagm08
dtetagm53typ:"", // Document Sending Type .trnmod.trndoc.dtemod.dtetagm53typ dtetagm53typ: '', // Document Sending Type .trnmod.trndoc.dtemod.dtetagm53typ
dtetagm53nam:"", // Courier Name .trnmod.trndoc.dtemod.dtetagm53nam dtetagm53nam: '', // Courier Name .trnmod.trndoc.dtemod.dtetagm53nam
dtetagm53num:"", // Courier Number .trnmod.trndoc.dtemod.dtetagm53num dtetagm53num: '', // Courier Number .trnmod.trndoc.dtemod.dtetagm53num
}, },
nar754: "", // Narrative :77A: .trnmod.trndoc.nar754 nar754: '', // Narrative :77A: .trnmod.trndoc.nar754
advlabel: "", // ADVLABEL .trnmod.trndoc.advlabel advlabel: '', // ADVLABEL .trnmod.trndoc.advlabel
amdnam: "", // AMDNAM .trnmod.trndoc.amdnam amdnam: '', // AMDNAM .trnmod.trndoc.amdnam
advdoc: "", // 国内证通知书 .trnmod.trndoc.advdoc advdoc: '', // 国内证通知书 .trnmod.trndoc.advdoc
advnam: "", // 国内证落款 .trnmod.trndoc.advnam advnam: '', // 国内证落款 .trnmod.trndoc.advnam
amdapl: "", // 修改申请人名称 .trnmod.trndoc.amdapl amdapl: '', // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl: "", // Lable for CONDOCSTM .trnmod.trndoc.doclbl doclbl: '', // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm: "", // Document tree .trnmod.trndoc.doctrestm doctrestm: '', // Document tree .trnmod.trndoc.doctrestm
shwinc: "", // Show Incoming Messages .trnmod.trndoc.shwinc shwinc: '', // Show Incoming Messages .trnmod.trndoc.shwinc
shwout: "", // Show Outgoing Messages .trnmod.trndoc.shwout shwout: '', // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm: "", // Connected Documents .trnmod.trndoc.condocstm condocstm: '', // Connected Documents .trnmod.trndoc.condocstm
rcvatt: { rcvatt: {
seainf: "", // .trnmod.trndoc.rcvatt.seainf seainf: '', // .trnmod.trndoc.rcvatt.seainf
}, },
filrecv: "", // File Receiver .trnmod.trndoc.filrecv filrecv: '', // File Receiver .trnmod.trndoc.filrecv
doceot: [], doceot: [],
addstr750:""//trnmod.trndoc.addstr750 addstr750: '', //trnmod.trndoc.addstr750
} };
} }
} }
\ No newline at end of file
...@@ -513,14 +513,14 @@ export default { ...@@ -513,14 +513,14 @@ export default {
], ],
data: [], data: [],
}, },
gitopn:{ gitopn: {
"gidgrp":{}, gidgrp: {},
"gitp":{}, gitp: {},
"trnmodVo":{}, trnmodVo: {},
"addbcb":{}, addbcb: {},
"cnybop":{}, cnybop: {},
"codcny":{}, codcny: {},
"doceot":{} doceot: {},
}, },
suppress: false, suppress: false,
}; };
...@@ -594,13 +594,13 @@ export default { ...@@ -594,13 +594,13 @@ export default {
let params = { let params = {
docVo: row, docVo: row,
}; };
this.gitopn.gidgrp = this.model.gidgrp this.gitopn.gidgrp = this.model.gidgrp;
this.gitopn.gitp = this.model.gitp this.gitopn.gitp = this.model.gitp;
this.gitopn.trnmodVo = this.model.trnmod this.gitopn.trnmodVo = this.model.trnmod;
this.gitopn.addbcb = this.model.addbcb this.gitopn.addbcb = this.model.addbcb;
this.gitopn.cnybop = this.model.cnybop this.gitopn.cnybop = this.model.cnybop;
this.gitopn.doceot = this.model.docpan.doceot this.gitopn.doceot = this.model.docpan.doceot;
console.log(this.gitopn) console.log(this.gitopn);
rtnmsg = await Api.post( rtnmsg = await Api.post(
`${this.requestPrefix}/executeDocpan`, `${this.requestPrefix}/executeDocpan`,
this.gitopn this.gitopn
...@@ -645,11 +645,11 @@ export default { ...@@ -645,11 +645,11 @@ export default {
u8arr[length] = bstr.charCodeAt(length); // 返回在指定的位置的字符的 Unicode 编码 u8arr[length] = bstr.charCodeAt(length); // 返回在指定的位置的字符的 Unicode 编码
} }
let blob = new Blob([u8arr]); let blob = new Blob([u8arr]);
let param={ let param = {
blob:blob, blob: blob,
docnam:row.docnam docnam: row.docnam,
} };
window["params"] = param; window['params'] = param;
window.open( window.open(
viewurl, viewurl,
'newwindow', '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 { export default class LiaallRequest {
constructor() { constructor() {
this.data = { this.data = {
transName: "", transName: '',
userId: "", userId: '',
rec: {}, rec: {},
amdRec: { amdRec: {
engamt: "", engamt: '',
amecur: "" amecur: '',
}, },
cbsMap: { cbsMap: {
OPN2: { OPN2: {
cur: "", cur: '',
amt: "" amt: '',
}, },
NOM1: { NOM1: {
cur: "", cur: '',
amt: "" amt: '',
}, },
OPN1: { OPN1: {
cur: "", cur: '',
amt: "" amt: '',
}, },
MAX: { MAX: {
cur: "", cur: '',
amt: "" amt: '',
}, },
MAX2: { MAX2: {
cur: "", cur: '',
amt: "" amt: '',
} },
}, },
ptsList: [], ptsList: [],
liaallg: [] liaallg: [],
} };
} }
} }
\ No newline at end of file
import Pts from "../../../../model/Public/Pts" import Pts from '~/components/business/commonModel/Pts';
export default class Liaall { export default class Liaall {
constructor() { constructor() {
this.data = { this.data = {
tenstm: "", tenstm: '',
tensetstm:"", tensetstm: '',
misamt: "", // Amount not yet assigned .liaall.misamt misamt: '', // Amount not yet assigned .liaall.misamt
concur: "", // External Booking Amount .liaall.concur concur: '', // External Booking Amount .liaall.concur
outpct: "", // Sight Amount Percentage .liaall.outpct outpct: '', // Sight Amount Percentage .liaall.outpct
outamt: "", // Sight Amount .liaall.outamt outamt: '', // Sight Amount .liaall.outamt
exttotoldamt: "", // Old Amount booked externally .liaall.exttotoldamt exttotoldamt: '', // Old Amount booked externally .liaall.exttotoldamt
exttotamt: "", exttotamt: '',
liaallg: [], // Total booking amount external assinged .liaall.exttotamt liaallg: [], // Total booking amount external assinged .liaall.exttotamt
limmod: { limmod: {
limpfp:{ limpfp: {
clmcbe:[], clmcbe: [],
clmcbb:[], clmcbb: [],
clmpty:[], clmpty: [],
}, },
limgrd: [], limgrd: [],
lmegrd: [], lmegrd: [],
limpts: { limpts: {
wrklab: "", // Label .liaall.limmod.limpts.wrklab wrklab: '', // Label .liaall.limmod.limpts.wrklab
othlab: "", // Label .liaall.limmod.limpts.othlab othlab: '', // Label .liaall.limmod.limpts.othlab
othlabss: "", // Label .liaall.limmod.limpts.othlabss othlabss: '', // Label .liaall.limmod.limpts.othlabss
wrk: { wrk: {
pts: new Pts().data, pts: new Pts().data,
}, },
oth: { oth: {
pts: new Pts().data, pts: new Pts().data,
}, },
lsh: "", // 合同流�'号 .liaall.limmod.limpts.lsh lsh: '', // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1 nonrevflg1: '', // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1: "", // 合同流�'号 .liaall.limmod.limpts.pfcod1 pfcod1: '', // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2 nonrevflg2: '', // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2: "", // 合同流�'号 .liaall.limmod.limpts.pfcod2 pfcod2: '', // 合同流�'号 .liaall.limmod.limpts.pfcod2
}, },
wrkp: { wrkp: {
ptsget: { ptsget: {
sdamod: { sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd dadsnd: '', // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.wrkp.ptsget.sdamod.seainf 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
}, },
liaccv: { },
newamt: "", // 合同金额 .liaall.liaccv.newamt ptspta: {
concur: "", // 应付保证金金额 .liaall.liaccv.concur pta: {
totcovamt: "", // 金额总和 .liaall.liaccv.totcovamt bic: '', // BIC of Address .liaall.limmod.wrkp.ptspta.pta.bic
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
},
}, },
} },
} },
} othp: {
\ No newline at end of file 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> <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"> <el-form v-model="formData" label-width="150px">
<c-row> <c-row>
<c-col> <c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="记账角色"> <el-form-item label="记账角色">
<c-input v-model="formData.rol" disabled /> <c-input v-model="formData.rol" disabled />
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="起息日"> <el-form-item label="起息日">
<!-- <c-input v-model="formData.dat1" type="date" /> --> <!-- <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> <c-date-picker
</el-form-item> type="date"
</c-col> v-model="formData.valdat"
format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择起算时间"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="到期日"> <el-form-item label="到期日">
<!-- <c-input v-model="formData.dat1" type="date" /> --> <!-- <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> <c-date-picker
</el-form-item> type="date"
</c-col> v-model="formData.matdat"
format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择起算时间"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="原始金额"> <el-form-item label="原始金额">
<c-col :span="13"> <c-col :span="13">
<c-input v-model="formData.cur" disabled /> <c-input v-model="formData.cur" disabled />
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" label-width="5px"> <el-form-item label="" label-width="5px">
<c-input v-model="formData.oldamt" disabled /> <c-input v-model="formData.oldamt" disabled />
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="记账金额"> <el-form-item label="记账金额">
<c-col :span="13"> <c-col :span="13">
<c-input v-model="formData.cur" disabled /> <c-input v-model="formData.cur" disabled />
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" label-width="5px"> <el-form-item label="" label-width="5px">
<c-input v-model="formData.amt" disabled /> <c-input v-model="formData.amt" disabled />
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </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"> <c-col :span="12">
<el-form-item label="记账账号"> <el-form-item label="抵扣账号">
<c-col > <c-col>
<c-select v-model="formData.acc" /> <c-input v-model="formData.acc2" disabled />
</c-col> </c-col>
</el-form-item>
</el-form-item> </c-col>
</c-col>
<c-col :span="12"> <c-col :span="4" :offset="9">
<el-form-item label="抵扣账号"> <c-button type="primary" @click="saveDialog"> 确 定 </c-button>
<c-col > </c-col>
<c-input v-model="formData.acc2" disabled /> <c-col :span="6">
</c-col> <c-button @click="visiable = false">取 消</c-button>
</c-col>
</el-form-item> <c-col>&nbsp;</c-col>
</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-form>
</el-dialog> </el-dialog>
</template> </template>
<script> <script>
export default { export default {
props: { props: {
model: Object, model: Object,
idx: Number, idx: Number,
codes: Object, codes: Object,
}, },
data() { data() {
return { return {
formData: {}, formData: {},
visiable: false, visiable: false,
}; };
},
methods: {
saveDialog() {
this.model.liaall.liaallg.splice(this.idx, 1, this.formData);
this.visiable = false;
}, },
methods: { beforeClose(done) {
saveDialog() { this.visiable = false;
this.model.liaall.liaallg.splice(this.idx, 1, this.formData); done();
this.visiable = false;
},
beforeClose(done) {
this.visiable = false;
done();
},
}, },
},
}; };
</script> </script>
......
<template> <template>
<div class="eibs"> <div class="eibs">
<!-- <c-col :span="24" style="margin-bottom:18px">
Liability
</c-col> -->
<c-col :span="24" style=""> <c-col :span="24" style="">
<c-table <c-table
:list="model.liaall.liaallg" :list="model.liaall.liaallg"
...@@ -50,34 +47,13 @@ ...@@ -50,34 +47,13 @@
</el-table-column> </el-table-column>
<el-table-column prop="rol" label="债务人" width="70px"> <el-table-column prop="rol" label="债务人" width="70px">
</el-table-column> </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 prop="cdtrol" label="债权人" width="70px">
</el-table-column> </el-table-column>
<el-table-column prop="cur" label="币种" width="70px"> <el-table-column prop="cur" label="币种" width="70px">
</el-table-column> </el-table-column>
<el-table-column prop="oldamt" label="原始金额" width="110px"> <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>
<el-table-column prop="amt" label="记账金额" width="110px"> <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>
<el-table-column prop="tenpct" label="%" width="70px"> <el-table-column prop="tenpct" label="%" width="70px">
</el-table-column> </el-table-column>
...@@ -89,12 +65,6 @@ ...@@ -89,12 +65,6 @@
:prop="'liaall.liaallg.' + scope.$index + '.acc'" :prop="'liaall.liaallg.' + scope.$index + '.acc'"
> >
{{ scope.row.acc }} {{ scope.row.acc }}
<!-- <c-input
v-model="scope.row.acc"
style="width: 100%"
placeholder="请输入"
>
</c-input> -->
</el-form-item> </el-form-item>
</template> </template>
</el-table-column> </el-table-column>
...@@ -149,25 +119,6 @@ ...@@ -149,25 +119,6 @@
:codes="codes" :codes="codes"
/> />
</div> </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"> <c-col :span="16" style="margin-top: 10px">
<el-form-item label="未分配金额"> <el-form-item label="未分配金额">
<c-input <c-input
...@@ -194,40 +145,10 @@ ...@@ -194,40 +145,10 @@
</c-button> </c-button>
</el-form-item> </el-form-item>
</c-col> </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> </div>
</template> </template>
<script> <script>
import Api from '~/service/Api';
import commonProcess from '~/mixin/commonProcess'; import commonProcess from '~/mixin/commonProcess';
import CodeTable from '~/config/CodeTable';
import EngpDialog from './dialog.vue'; import EngpDialog from './dialog.vue';
export default { export default {
......
export default class GlentryRequest { export default class GlentryRequest {
constructor() { constructor() {
this.data = { this.data = {
transName: "", transName: '',
userId: "", userId: '',
rec: { rec: {},
cbsMap: {
}, OPN2: {
cbsMap: { cur: '',
OPN2: { amt: '',
cur: "", },
amt: "" NOM1: {
}, cur: '',
NOM1: { amt: '',
cur: "", },
amt: "" OPN1: {
}, cur: '',
OPN1: { amt: '',
cur: "", },
amt: "" MAX: {
}, cur: '',
MAX: { amt: '',
cur: "", },
amt: "" MAX2: {
}, cur: '',
MAX2: { amt: '',
cur: "", },
amt: "" },
} ptsList: [],
}, setfog: {
ptsList: [], setfol: [],
setfog: { },
setfol: [] setfeg: {
}, setfel: [],
setfeg: { },
setfel: [] setglg: {
}, setgll: [],
setglg: { },
setgll: [] liaallg: [],
}, };
liaallg:[] }
} }
}
}
\ No newline at end of file
<template> <template>
<div class="eibs"> <div class="eibs">
<c-col :span="24" style=""> <c-col :span="24" style="">
<el-table <el-table :data="data" :columns="columns" :showButtonFlg="true">
:data="data" <el-table-column
:columns="columns" v-for="(item, key) in columns"
:showButtonFlg="true" :key="key"
> :label="item.label"
<el-table-column :prop="item.prop"
v-for="(item, key) in columns" ></el-table-column>
:key="key"
:label="item.label"
:prop="item.prop"
></el-table-column>
</el-table> </el-table>
</c-col> </c-col>
</div> </div>
</template> </template>
<script> <script>
import Api from '~/service/Api';
import commonProcess from '~/mixin/commonProcess';
import CodeTable from '~/config/CodeTable';
export default { export default {
inject: ['root'], inject: ['root'],
mixins: [commonProcess],
props: ['model', 'codes'], props: ['model', 'codes'],
data() { data() {
return { return {
columns: [ columns: [
{ {
label: '借/贷', label: '借/贷',
prop: 'dbtcdt' prop: 'dbtcdt',
}, },
{ {
label: '账号', label: '账号',
prop: 'act' prop: 'act',
}, },
{ {
label:'币种', label: '币种',
prop:'cur' prop: 'cur',
}, },
{ {
label:'金额', label: '金额',
prop:'amt' prop: 'amt',
}, },
{ {
label:'起息日', label: '起息日',
prop:'valdat' prop: 'valdat',
}, },
{ {
label:'牌价类型', label: '牌价类型',
prop:'trmtyp' prop: 'trmtyp',
}, },
{ {
label:'牌价', label: '牌价',
prop:'sysamt' prop: 'sysamt',
}, },
{ {
label:'会计科目', label: '会计科目',
prop:'trnman' prop: 'trnman',
}, },
], ],
data: [], data: [],
}; };
}, },
watch: { watch: {
//this.$refs.glepan.stmData.data = res.data.setmod_glemod_gleshwstm.rows;
'model.setmod.glemod.gleshwstm': { 'model.setmod.glemod.gleshwstm': {
handler(val) { handler(val) {
this.data = 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 { export default class SetfegRequest {
constructor() { constructor() {
this.data = { this.data = {
transName: "", transName: '',
userId: "", userId: '',
rec: { rec: {},
amdRec: {
}, maxamt: '',
amdRec: { newexpdat: '',
maxamt: "", },
newexpdat: "" cbsMap: {
}, OPN2: {
cbsMap: { cur: '',
OPN2: { amt: '',
cur: "", },
amt: "" NOM1: {
}, cur: '',
NOM1: { amt: '',
cur: "", },
amt: "" OPN1: {
}, cur: '',
OPN1: { amt: '',
cur: "", },
amt: "" MAX: {
}, cur: '',
MAX: { amt: '',
cur: "", },
amt: "" MAX2: {
}, cur: '',
MAX2: { amt: '',
cur: "", },
amt: "" },
} ptsList: [],
}, ptydet: [],
ptsList: [], doceot: [],
ptydet: [], setfeg: {
doceot: [], setfel: [],
setfeg: { },
setfel: [] setglg: {
}, setgll: [],
setglg: { },
setgll: [] liaall: {},
}, };
liaall:{} }
} }
}
}
\ No newline at end of file
export default class SetglgRequest { export default class SetglgRequest {
constructor() { constructor() {
this.data = { this.data = {
transName: "", transName: '',
userId: "", userId: '',
rec: { rec: {},
amdRec: {
}, maxamt: '',
amdRec: { newexpdat: '',
maxamt: "", },
newexpdat: "" cbsMap: {
}, OPN2: {
cbsMap: { cur: '',
OPN2: { amt: '',
cur: "", },
amt: "" NOM1: {
}, cur: '',
NOM1: { amt: '',
cur: "", },
amt: "" OPN1: {
}, cur: '',
OPN1: { amt: '',
cur: "", },
amt: "" MAX: {
}, cur: '',
MAX: { amt: '',
cur: "", },
amt: "" MAX2: {
}, cur: '',
MAX2: { amt: '',
cur: "", },
amt: "" },
} ptsList: [],
}, setfeg: {
ptsList: [], setfel: [],
setfeg: { },
setfel: [] liaall: {},
}, };
liaall:{} }
} }
}
}
\ No newline at end of file
export default class Setmod { export default class Setmod {
constructor() { constructor() {
this.data = { this.data = {
ogiamt:"", ogiamt: '',
docamttyplab: "", // settled amount description as label .setmod.docamttyplab docamttyplab: '', // settled amount description as label .setmod.docamttyplab
retmsg: "", // Label showing Retry overflow condition .setmod.retmsg retmsg: '', // Label showing Retry overflow condition .setmod.retmsg
ref: "", // our reference .setmod.ref ref: '', // our reference .setmod.ref
doccur: "", // document currency .setmod.doccur doccur: '', // document currency .setmod.doccur
docamt: "", // document amount .setmod.docamt docamt: '', // document amount .setmod.docamt
dspflg: "", // Type of settlement .setmod.dspflg dspflg: '', // Type of settlement .setmod.dspflg
xreflg: "", // Recalculate Rates .setmod.xreflg xreflg: '', // Recalculate Rates .setmod.xreflg
setglg: { setglg: {
sespay: { sespay: {
strinf202: "", strinf202: '',
evebnk: "", evebnk: '',
corbnk: "", corbnk: '',
oriacc: "", oriacc: '',
awiacc: "", awiacc: '',
beiacc: "", beiacc: '',
awip: { awip: {
ptspta: { ptspta: {
pts: { pts: {
extkey: "", extkey: '',
adrblk: "", 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:[],
}, },
zmqacclab: "", // 主�'�号LABEL .setmod.zmqacclab },
zmqacc: "", // 自�'�区主�'�号 .setmod.zmqacc actserp: {
setfog: { ptspta: {
setfol: [] pts: {
extkey: '',
adrblk: '',
},
}, },
setfeg: { },
setfel: [] triacc: '',
rcvcoracc: '',
setgrp: {
snd756: {
pts: {
extkey: '',
adrblk: '',
},
}, },
glemod: { bei: {
gleshwstm: {} pts: {
extkey: '',
adrblk: '',
},
}, },
setamt:"", // 扣费后付款金额 .setmod.setamt tri: {
redamt:"", // 扣减金额 .setmod.redamt pts: {
refdat:"", extkey: '',
} adrblk: '',
} },
} },
\ No newline at end of file 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