Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fukai
vue-gjjs
Commits
fa167027
Commit
fa167027
authored
Oct 12, 2023
by
liaoxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
交易详情、交易快照修改
parent
62e21665
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
65 additions
and
20 deletions
+65
-20
index.js
src/business/trnrel/event/index.js
+28
-0
InftrnpsDetail.vue
src/business/trnrel/views/InftrnpsDetail.vue
+37
-20
No files found.
src/business/trnrel/event/index.js
View file @
fa167027
...
...
@@ -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
(
'您确定退回该笔交易?'
,
'提示'
,
{
...
...
src/business/trnrel/views/InftrnpsDetail.vue
View file @
fa167027
...
...
@@ -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
:
[],
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment