Commit 54382f5b by wangguangchao

面函添加事件,fince页面元素赋值修正,排版优化

parent ce8c64da
......@@ -205,6 +205,7 @@ export default class Cptopn{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
doceot:[],
},
},
finmod:{
......
......@@ -3,13 +3,13 @@
<!-- ======================top--left================== -->
<el-col :span="11">
<el-col :span="24">
<el-form-item label="Parent Contract" prop="trdgrp.rec.ownref">
<el-form-item label="Parent Contract" prop="trdgrp.rec.pntref">
<c-input
v-model="model.trdgrp.rec.ownref"
v-model="model.trdgrp.rec.pntref"
maxlength="16"
style="width: 80%"
placeholder=""
readonly
disabled
></c-input>
</el-form-item>
</el-col>
......@@ -20,7 +20,7 @@
maxlength="16"
style="width: 80%"
placeholder=""
readonly
disabled
></c-input>
</el-form-item>
</el-col>
......@@ -28,12 +28,12 @@
<!-- ======================top--right==================== -->
<el-col :span="11" :offset="1">
<el-col :span="24">
<el-form-item label="Name">
<el-form-item label="Name" prop="trdgrp.rec.pntnam">
<c-input
v-model="temp1"
v-model="model.trdgrp.rec.pntnam"
maxlength="40"
placeholder=""
readonly
disabled
></c-input>
</el-form-item>
</el-col>
......@@ -43,7 +43,7 @@
v-model="model.trdgrp.rec.nam"
maxlength="40"
placeholder=""
readonly
disabled
></c-input>
</el-form-item>
</el-col>
......@@ -58,7 +58,7 @@
v-model="model.trdgrp.rec.issdat"
style="width: 50%"
placeholder=""
readonly
disabled
></c-input>
</el-form-item>
</el-col>
......@@ -77,38 +77,38 @@
v-model="model.trdgrp.rec.fintyp"
style="width: 85%"
placeholder=""
readonly
disabled
>
</c-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="Financing of">
<el-form-item label="Financing of" prop="trdgrp.rec.pctfin">
<c-input
v-model="temp2"
v-model="model.trdgrp.rec.pctfin"
style="width: 20%"
placeholder=""
readonly
disabled
></c-input>
%
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="Finance Amount" prop="trdgrp.fip.namelc">
<el-form-item label="Finance Amount" prop="trdgrp.cbs.max.cur">
<el-col :span="5">
<c-input
v-model="model.trdgrp.fip.namelc"
v-model="model.trdgrp.cbs.max.cur"
style="width: 70%"
placeholder=""
readonly
disabled
></c-input>
</el-col>
<el-col :span="10">
<el-col :span="10" prop="trdgrp.cbs.max.amt">
<c-input
v-model="temp2"
v-model="model.trdgrp.cbs.max.amt"
style="width: 100%"
placeholder=""
readonly
disabled
></c-input>
</el-col>
</el-form-item>
......@@ -134,7 +134,7 @@
maxlength="16"
style="width: 90%"
placeholder=""
readonly
disabled
></c-input>
</el-form-item>
</el-col>
......@@ -149,33 +149,36 @@
</el-form-item>
</el-col> -->
<el-col :span="16">
<el-form-item label="" prop="fipp.ptsget.sdamod.seainf">
<el-col :span="17">
<el-form-item label="" prop="trdgrp.fip.pts.extkey">
<c-input
v-model="model.fipp.ptsget.sdamod.seainf"
v-model="model.trdgrp.fip.pts.extkey"
placeholder=""
style="width: 100%"
readonly
disabled
></c-input>
</el-form-item>
</el-col>
<el-col :span="5" :offset="1">
<c-button size="small" type="primary" @click="onFippDet"> i </c-button>
<el-col :span="7" >
<c-button size="small" type="primary;width:10%" @click="onSeainf"
>i</c-button
>
<c-button size="small" type="primary" @click="onFippDet">
Details
</c-button>
</el-col>
<el-col :span="24">
<el-form-item label="" prop="trdgrp.fip.adrelc">
<el-form-item label="" prop="trdgrp.fip.pts.adrblk">
<c-input
type="textarea"
v-model="model.trdgrp.fip.adrelc"
v-model="model.trdgrp.fip.pts.adrblk"
maxlength="150"
style="width: 90%"
show-word-limit
placeholder=""
readonly
disabled
rows="4"
></c-input>
</el-form-item>
......@@ -208,29 +211,29 @@
<!-- ==========================bottom-left========================== -->
<el-col :span="11" style="margin-top: 20px">
<el-col :span="24">
<el-form-item label="融资金额" prop="trdgrp.cbs.max.amt">
<el-form-item label="融资金额" prop="trdgrp.cbs.max.cur">
<el-col :span="5">
<c-input
v-model="model.trdgrp.cbs.max.amt"
v-model="model.trdgrp.cbs.max.cur"
style="width: 70%"
placeholder=""
readonly
disabled
></c-input>
</el-col>
<el-col :span="14">
<el-col :span="14" prop="trdgrp.cbs.max.amt">
<c-input
v-model="temp2"
v-model="model.trdgrp.cbs.max.amt"
style="width: 90%"
placeholder=""
readonly
disabled
></c-input>
</el-col>
<el-col :span="5">
<el-col :span="5" prop="trdgrp.rec.pctfin">
<c-input
v-model="temp2"
v-model="model.trdgrp.rec.pctfin"
style="width: 70%"
placeholder=""
readonly
disabled
></c-input>
%
</el-col>
......@@ -253,7 +256,7 @@
v-model="model.finmod.intprd"
style="width: 60%"
placeholder=""
readonly
disabled
>
</c-input>
</el-form-item>
......@@ -265,7 +268,7 @@
v-model="model.finmod.ratchgtyp"
style="width: 70%"
placeholder=""
readonly
disabled
>
</c-input>
</el-form-item>
......@@ -278,7 +281,7 @@
v-model="model.trdgrp.rec.stttendat"
style="width: 100%"
placeholder=""
readonly
disabled
></c-input>
</el-form-item>
</el-col>
......@@ -289,7 +292,7 @@
v-model="model.trdgrp.rec.matdat"
style="width: 50%"
placeholder=""
readonly
disabled
></c-input>
</el-form-item>
</el-form>
......@@ -297,22 +300,23 @@
</el-col>
<el-col :span="24">
<el-form-item label="基准利率">
<el-form-item label="基准利率" prop="trdgrp.rec.intrat">
<c-input
v-model="temp3"
v-model="model.trdgrp.rec.intrat"
style="width: 60%"
placeholder=""
disabled
></c-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="执行利率">
<el-form-item label="执行利率" prop="trdgrp.rec.actrat">
<c-input
v-model="temp3"
v-model="model.trdgrp.rec.actrat"
style="width: 50%"
placeholder=""
readonly
disabled
></c-input>
</el-form-item>
</el-col>
......@@ -324,18 +328,18 @@
maxlength="21"
style="width: 80%"
placeholder=""
readonly
disabled
></c-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="预收息金额">
<el-form-item label="预收息金额" prop="finmod.intamt">
<c-input
v-model="temp2"
v-model="model.finmod.intamt"
style="width: 70%"
placeholder=""
readonly
disabled
></c-input>
</el-form-item>
</el-col>
......@@ -343,12 +347,12 @@
<!-- =========================bottom--right======================== -->
<el-col :span="11" :offset="1" style="margin-top: 20px">
<el-col :span="24">
<el-form-item label="借据号" prop="trdgrp.cbs.max.cur">
<el-form-item label="借据号" prop="finmod.fincod">
<c-input
v-model="model.trdgrp.cbs.max.cur"
v-model="model.finmod.fincod"
style="width: 50%"
placeholder=""
readonly
disabled
>
</c-input>
</el-form-item>
......@@ -360,7 +364,7 @@
v-model="model.finmod.intdat"
style="width: 15%"
placeholder=""
readonly
disabled
></c-input>
</el-form-item>
</el-col>
......@@ -371,7 +375,7 @@
v-model="model.finmod.ratchgprd"
style="width: 90%"
placeholder=""
readonly
disabled
>
</c-input>
</el-form-item>
......@@ -383,28 +387,28 @@
v-model="model.finmod.ratchgdat"
style="width: 50%"
placeholder=""
readonly
disabled
></c-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-col :span="12">
<el-form-item label="融资天数">
<el-form-item label="融资天数" prop="trdgrp.rec.tenday">
<c-input
v-model="temp4"
v-model="model.trdgrp.rec.tenday"
placeholder=""
readonly
disabled
></c-input>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="宽限期" label-width="120px">
<el-form-item label="宽限期" label-width="120px" prop="finmod.graday">
<c-input
v-model="temp4"
v-model="model.finmod.graday"
style="width: 70%"
placeholder=""
readonly
disabled
></c-input>
</el-form-item>
</el-col>
......@@ -417,19 +421,19 @@
v-model="model.finmod.flttyp"
style="width: 90%"
placeholder=""
readonly
disabled
>
</c-input>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="浮动值" label-width="120px">
<el-form-item label="浮动值" label-width="120px" prop="finmod.fltval">
<c-input
v-model="temp3"
v-model="model.finmod.fltval"
style="width: 80%"
placeholder=""
readonly
disabled
></c-input>
</el-form-item>
</el-col>
......@@ -445,19 +449,19 @@
v-model="model.finmod.ovdinttyp"
style="width: 90%"
placeholder=""
readonly
disabled
>
</c-input>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="罚息比率" label-width="120px">
<el-form-item label="罚息比率" label-width="120px" prop="finmod.ovdintrat">
<c-input
v-model="temp3"
v-model="model.finmod.ovdintrat"
placeholder=""
style="width: 60%"
readonly
disabled
></c-input>
%
</el-form-item>
......@@ -471,7 +475,7 @@
v-model="model.finmod.acttyp"
style="width: 100%"
placeholder=""
readonly
disabled
>
</c-input>
</el-form-item>
......@@ -483,7 +487,7 @@
v-model="model.finmod.accbch"
style="width: 50%"
placeholder=""
readonly
disabled
>
</c-input>
</el-form-item>
......@@ -497,7 +501,7 @@
maxlength="21"
style="width: 70%"
placeholder=""
readonly
disabled
></c-input>
</el-form-item>
</el-col>
......@@ -514,10 +518,6 @@ export default {
props: ["model", "codes"],
data() {
return {
temp1:'O USD 0.00 /',
temp2:'0.00',
temp3:'0.000000',
temp4:'0',
};
},
methods: { ...Event },
......
......@@ -145,6 +145,30 @@ export default {
this.$refs.glepan.stmData.data = res.data.setmod_glemod_gleshwstm.rows;
})
}
if (label === "Messages") {
this.executeRule("trnmod.trndoc.docpan").then(res => {
if (res.respCode == "AAAAAA"){
const data = res.data;
Utils.copyValueFromVO(this.model, data)
var stm = [];
let k = 0;
for(let i = 0; i < res.data.trnmod_trndoc_doceot.length; i++){
if(res.data.trnmod_trndoc_doceot[i].role != ""){
stm[k++] = res.data.trnmod_trndoc_doceot[i];
}
}
this.$refs.docpan.stmData.data = stm
}
})
}
if (label === "Attachments") {
this.executeRule("trnmod.trndoc.doctre").then(res => {
if (res.respCode == "AAAAAA"){
const data = res.data;
Utils.copyValueFromVO(this.model, data)
}
})
}
}
},
created: async 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