Commit 5b94e824 by wangguangchao

信用证查询、单据查询历史详情增加关闭按钮

parent 57921bf9
...@@ -251,7 +251,11 @@ ...@@ -251,7 +251,11 @@
title="历史信息" title="历史信息"
width="800" width="800"
trigger="click" trigger="click"
:ref="'popover_' + scope.row.IDX"
> >
<div style="text-align: right; margin-top: -30px; margin-right: 5px; font-size: 16px;">
<span class="el-icon-close" @click="closeTrn('popover_' + scope.row.IDX)"/>
</div>
<c-istream-table <c-istream-table
:list="trnData.data" :list="trnData.data"
:columns="trnData.columns" :columns="trnData.columns"
...@@ -346,8 +350,10 @@ export default { ...@@ -346,8 +350,10 @@ export default {
'8 6 "Beneficiary" 150', '8 6 "Beneficiary" 150',
'9 7 "Party Number" 140', '9 7 "Party Number" 140',
'10 8 "Presenting Bank" 220', '10 8 "Presenting Bank" 220',
'3 9 "Opened" 150', // '3 9 "Opened" 150',
'4 10 "Closed" 80', // '4 10 "Closed" 80',
{index:3,position:9,width:100,pattern:'date',label:'Opened'},
{index:4,position:10,width:100,pattern:'date',label:'Closed'},
'11 11 "Doc Amount Cur" 120', '11 11 "Doc Amount Cur" 120',
'12 12 "Doc Amount" 120', '12 12 "Doc Amount" 120',
'13 13 "Open Amount Cur" 130', '13 13 "Open Amount Cur" 130',
...@@ -377,8 +383,11 @@ export default { ...@@ -377,8 +383,11 @@ export default {
this.$router.history.push("/business/" + code) this.$router.history.push("/business/" + code)
this.initdialog = false this.initdialog = false
}, },
closeTrn(refId){
this.$refs[refId].doClose();
},
async getTrnInfo(idx, row) { async getTrnInfo(idx, row) {
debugger;
this.model.infcon.objinr = row["INR"]; this.model.infcon.objinr = row["INR"];
this.model.didgrp.rec.inr = row["INR"]; this.model.didgrp.rec.inr = row["INR"];
......
...@@ -317,7 +317,11 @@ ...@@ -317,7 +317,11 @@
title="历史信息" title="历史信息"
width="800" width="800"
trigger="click" trigger="click"
:ref="'popover_' + scope.row.IDX"
> >
<div style="text-align: right; margin-top: -30px; margin-right: 5px; font-size: 16px;">
<span class="el-icon-close" @click="closeTrn('popover_' + scope.row.IDX)"/>
</div>
<c-istream-table <c-istream-table
:list="trnData.data" :list="trnData.data"
:columns="trnData.columns" :columns="trnData.columns"
...@@ -342,6 +346,13 @@ ...@@ -342,6 +346,13 @@
> >
详情 详情
</c-button> </c-button>
<!-- <c-button
style="margin-left: 0"
size="small"
>
关闭
</c-button> -->
</el-popover> </el-popover>
<!-- <c-button <!-- <c-button
...@@ -670,6 +681,9 @@ export default { ...@@ -670,6 +681,9 @@ export default {
this.trnData.data = rtnmsg.data.infcon_trnstm.rows; this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
} }
}, },
closeTrn(refId){
this.$refs[refId].doClose();
},
toDitopn(){ toDitopn(){
this.$router.history.push("/business/ditopn") this.$router.history.push("/business/ditopn")
} }
......
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