Commit fa167027 by liaoxing

交易详情、交易快照修改

parent 62e21665
......@@ -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) {
this.$confirm('您确定退回该笔交易?', '提示', {
......
......@@ -299,23 +299,28 @@
</c-col>
<c-col :span="24">
<el-table
:list="documentsData.data"
:data="documentsData.data"
:columns="documentsData.columns"
:showButtonFlg="true"
>
<el-table-column
v-for="(item, index) in documentsData.columns"
v-for="(item, key) in documentsData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
:key="index"
>
<template slot-scope="scope">
<div>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column>
<el-table-column label="介质" width="110px">
<!-- <el-table-column label="介质" width="110px">
<template slot-scope="scope">
<el-form-item
label-width="0"
:prop="'trnmod.trndoc.doceot.' + scope.$index + '.cortyp'"
>
<c-select
v-model="scope.row.cortyp"
v-model="scope.row.extkey"
style="width: 100%"
disabled
placeholder="请选择"
......@@ -431,7 +436,7 @@
</c-select>
</el-form-item>
</template>
</el-table-column>
</el-table-column> -->
<el-table-column label="操作" width="200px" fixed="right">
<template slot-scope="scope">
<c-button
......@@ -470,23 +475,27 @@
<c-col :span="24">
<c-col :span="24" :offset="0">
<el-table
:list="SignaturesData.data"
:columns="SignaturesData.columns"
:paginationShow="false"
style="width: 100%"
:data="SignaturesData.data"
:showButtonFlg="true"
>
<el-table-column
v-for="(item, index) in SignaturesData.columns"
v-for="(item, key) in SignaturesData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
:key="index"
>
</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">
<span>{{ flg[scope.row.IDX] }}</span>
</template>
</el-table-column>
</el-table-column> -->
</el-table>
</c-col>
</c-col>
......@@ -503,22 +512,26 @@
<c-col :span="24" :offset="0">
<el-table
:data="stmData.data"
:columns="stmData.columns"
:paginationShow="false"
style="width: 100%"
>
<el-table-column
v-for="(item, index) in stmData.columns"
v-for="(item, key) in stmData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
:key="index"
>
<template slot-scope="scope">
<span>
{{ formatter(scope.row[scope.column.property]) }}
<template slot-scope="scope">
<div>{{ scope.row[item.prop] }}</div>
</template>
<!-- <template slot-scope="scope"> -->
<!-- <span> -->
<!-- {{ formatter(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])}} -->
</span>
</template>
<!-- </span> -->
<!-- </template> -->
</el-table-column>
</el-table>
</c-col>
......@@ -548,8 +561,11 @@
trn: {},
documentsData: {
columns: [
{ label: '收报人', prop: 'cortyp' },
{ label: '描述', prop: 'extkey' },
// { label: '收报人', prop: 'cortyp' },
// { label: '描述', prop: 'extkey' },
{ label: 'Type', prop: 'cortyp' },
{ label: 'External key', prop: 'extkey' },
{ label: 'Document', prop: 'nam' },
],
data: [],
},
......@@ -558,6 +574,7 @@
{ label: '类型', prop: 'sigidx' },
{ label: '用户', prop: 'nam' },
{ label: '日期/时间', prop: 'dattim' },
{ label: '行为', prop: 'IDX' },
],
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