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
zhouqian
vue-gjjs
Commits
5f4d4274
Commit
5f4d4274
authored
May 15, 2022
by
hulei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
从model获取交易代码
parent
757199d3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
10 deletions
+20
-10
index.js
src/model/Trnrel/index.js
+1
-0
InftrnpsDetail.vue
src/views/Business/Trnrel/InftrnpsDetail.vue
+9
-5
TrnfndsDetail.vue
src/views/Business/Trnrel/Trnfnd/TrnfndsDetail.vue
+10
-5
No files found.
src/model/Trnrel/index.js
View file @
5f4d4274
...
...
@@ -91,6 +91,7 @@ export default class Trnrel {
exedat
:
""
,
// Execution Date .trn.exedat
inftxt
:
""
,
// Infotext .trn.inftxt
infdsp
:
""
,
// Infoflag .trn.infdsp
inifrm
:
""
,
},
wfmmod
:
{
wfs
:
{
...
...
src/views/Business/Trnrel/InftrnpsDetail.vue
View file @
5f4d4274
...
...
@@ -484,13 +484,17 @@ export default {
display
()
{
debugger
const
inr
=
this
.
model
.
trn
.
inr
;
Api
.
post
(
"getTrnNameByInr"
,
{
inr
:
inr
}).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
const
trnName
=
res
.
data
.
toLowerCase
();
const
trnName
=
this
.
model
.
trn
.
inifrm
;
let
viewurl
=
"/#/display/"
+
trnName
+
"?trn="
+
inr
window
.
open
(
viewurl
,
'newwindow'
,
'height=1500,width=1200,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no'
);
}
});
// const inr = this.model.trn.inr;
// Api.post("getTrnNameByInr", { inr: inr}).then((res) => {
// if (res.respCode == SUCCESS) {
// const trnName = res.data.toLowerCase();
// let viewurl = "/#/display/" + trnName + "?trn=" + inr
// window.open(viewurl, 'newwindow', 'height=1500,width=1200,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
// }
// });
},
async
show
(
idx
,
row
){
var
params
=
{
selDst
:
"recpan.smhstm"
,
selIds
:[
idx
+
1
],
selBtnId
:
"A"
}
...
...
src/views/Business/Trnrel/Trnfnd/TrnfndsDetail.vue
View file @
5f4d4274
...
...
@@ -482,13 +482,18 @@ export default {
display
()
{
debugger
const
inr
=
this
.
model
.
trn
.
inr
;
Api
.
post
(
"getTrnNameByInr"
,
{
inr
:
inr
}).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
const
trnName
=
res
.
data
.
toLowerCase
();
const
trnName
=
this
.
model
.
trn
.
inifrm
;
let
viewurl
=
"/#/display/"
+
trnName
+
"?trn="
+
inr
window
.
open
(
viewurl
,
'newwindow'
,
'height=1500,width=1200,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no'
);
}
});
// const inr = this.model.trn.inr;
// Api.post("getTrnNameByInr", { inr: inr}).then((res) => {
// if (res.respCode == SUCCESS) {
// const trnName = res.data.toLowerCase();
// let viewurl = "/#/display/" + trnName + "?trn=" + inr
// window.open(viewurl, 'newwindow', 'height=1500,width=1200,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
// }
// });
},
async
show
(
idx
,
row
){
var
params
=
{
selDst
:
"recpan.smhstm"
,
selIds
:[
idx
+
1
],
selBtnId
:
"A"
}
...
...
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