Commit fa167027 by liaoxing

交易详情、交易快照修改

parent 62e21665
...@@ -215,6 +215,34 @@ export default { ...@@ -215,6 +215,34 @@ export default {
}); });
}, },
//交易快照
async display(trnInr) {
let viewurl = 'business-new/inftrnpsDetail';
debugger
let params = {
inr: this.trn.inr,
transName: 'trnrel',
userId: sessionStorage.getItem('userId') || 'ZL',
};
debugger
const res = await Api.post('/service/trnrel/getTrnNameByInr', params);
debugger
if (res.respCode === 'AAAAAA') {
let model = res.data;
debugger
sessionStorage.setItem('InftrnpsDetail', JSON.stringify(model));
debugger
this.$router.push({ path: viewurl, query: {} });
} else {
const h = this.$createElement;
const msg = res.respMsg || '请求执行失败!';
this.$notify.error({
title: '错误',
message: h('p', { style: 'word-break:break-all;' }, msg),
});
}
},
//处理-退回 //处理-退回
async onReprow(idx) { async onReprow(idx) {
this.$confirm('您确定退回该笔交易?', '提示', { this.$confirm('您确定退回该笔交易?', '提示', {
......
...@@ -299,23 +299,28 @@ ...@@ -299,23 +299,28 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-table <el-table
:list="documentsData.data" :data="documentsData.data"
:columns="documentsData.columns"
:showButtonFlg="true"
> >
<el-table-column <el-table-column
v-for="(item, index) in documentsData.columns" v-for="(item, key) in documentsData.columns"
:key="key"
:label="item.label" :label="item.label"
:prop="item.prop" :prop="item.prop"
:key="index"
> >
<template slot-scope="scope">
<div>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column> </el-table-column>
<el-table-column label="介质" width="110px"> <!-- <el-table-column label="介质" width="110px">
<template slot-scope="scope"> <template slot-scope="scope">
<el-form-item <el-form-item
label-width="0" label-width="0"
:prop="'trnmod.trndoc.doceot.' + scope.$index + '.cortyp'" :prop="'trnmod.trndoc.doceot.' + scope.$index + '.cortyp'"
> >
<c-select <c-select
v-model="scope.row.cortyp" v-model="scope.row.extkey"
style="width: 100%" style="width: 100%"
disabled disabled
placeholder="请选择" placeholder="请选择"
...@@ -431,7 +436,7 @@ ...@@ -431,7 +436,7 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</template> </template>
</el-table-column> </el-table-column> -->
<el-table-column label="操作" width="200px" fixed="right"> <el-table-column label="操作" width="200px" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<c-button <c-button
...@@ -470,23 +475,27 @@ ...@@ -470,23 +475,27 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="24" :offset="0"> <c-col :span="24" :offset="0">
<el-table <el-table
:list="SignaturesData.data"
:columns="SignaturesData.columns" :columns="SignaturesData.columns"
:paginationShow="false" :paginationShow="false"
style="width: 100%" style="width: 100%"
:data="SignaturesData.data"
:showButtonFlg="true"
> >
<el-table-column <el-table-column
v-for="(item, index) in SignaturesData.columns" v-for="(item, key) in SignaturesData.columns"
:key="key"
:label="item.label" :label="item.label"
:prop="item.prop" :prop="item.prop"
:key="index"
> >
</el-table-column> </el-table-column>
<el-table-column label="行为" width="auto"> <!-- <template slot-scope="scope">
<div>{{ scope.row[item.prop] }}</div>
</template> -->
<!-- <el-table-column label="行为" width="auto">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ flg[scope.row.IDX] }}</span> <span>{{ flg[scope.row.IDX] }}</span>
</template> </template>
</el-table-column> </el-table-column> -->
</el-table> </el-table>
</c-col> </c-col>
</c-col> </c-col>
...@@ -503,22 +512,26 @@ ...@@ -503,22 +512,26 @@
<c-col :span="24" :offset="0"> <c-col :span="24" :offset="0">
<el-table <el-table
:data="stmData.data" :data="stmData.data"
:columns="stmData.columns"
:paginationShow="false" :paginationShow="false"
style="width: 100%" style="width: 100%"
> >
<el-table-column <el-table-column
v-for="(item, index) in stmData.columns" v-for="(item, key) in stmData.columns"
:key="key"
:label="item.label" :label="item.label"
:prop="item.prop" :prop="item.prop"
:key="index"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<span> <div>{{ scope.row[item.prop] }}</div>
{{ formatter(scope.row[scope.column.property]) }} </template>
<!-- <template slot-scope="scope"> -->
<!-- <span> -->
<!-- {{ formatter(scope.row[scope.column.property]) }} -->
<!-- {{ scope.column.renderCell(scope.row[scope.column.property]) }} --> <!-- {{ scope.column.renderCell(scope.row[scope.column.property]) }} -->
<!-- {{!item.formatter ? socpe.row[item.prop] : item.formatter(scope.row[item.prop])}} --> <!-- {{!item.formatter ? socpe.row[item.prop] : item.formatter(scope.row[item.prop])}} -->
</span> <!-- </span> -->
</template> <!-- </template> -->
</el-table-column> </el-table-column>
</el-table> </el-table>
</c-col> </c-col>
...@@ -548,8 +561,11 @@ ...@@ -548,8 +561,11 @@
trn: {}, trn: {},
documentsData: { documentsData: {
columns: [ columns: [
{ label: '收报人', prop: 'cortyp' }, // { label: '收报人', prop: 'cortyp' },
{ label: '描述', prop: 'extkey' }, // { label: '描述', prop: 'extkey' },
{ label: 'Type', prop: 'cortyp' },
{ label: 'External key', prop: 'extkey' },
{ label: 'Document', prop: 'nam' },
], ],
data: [], data: [],
}, },
...@@ -558,6 +574,7 @@ ...@@ -558,6 +574,7 @@
{ label: '类型', prop: 'sigidx' }, { label: '类型', prop: 'sigidx' },
{ label: '用户', prop: 'nam' }, { label: '用户', prop: 'nam' },
{ label: '日期/时间', prop: 'dattim' }, { label: '日期/时间', prop: 'dattim' },
{ label: '行为', prop: 'IDX' },
], ],
data: [], data: [],
}, },
......
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