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
da32dea3
Commit
da32dea3
authored
Jul 05, 2023
by
huxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
litrog
parent
c7c87527
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
4 deletions
+24
-4
index.js
src/business/litrog/event/index.js
+11
-3
index.js
src/business/litrog/model/index.js
+1
-1
Rog.vue
src/business/litrog/views/Rog.vue
+12
-0
No files found.
src/business/litrog/event/index.js
View file @
da32dea3
...
...
@@ -23,17 +23,25 @@ export default {
async
init
()
{
const
params
=
{
spt
:
JSON
.
parse
(
localStorage
.
getItem
(
'row_'
+
this
.
trnName
)),
lidgrp
:{
rec
:{
inr
:
this
.
$route
.
query
.
inr
trnmod
:{
trn
:
JSON
.
parse
(
localStorage
.
getItem
(
'review_'
+
this
.
trnName
))
}
}
if
(
typeof
(
this
.
$route
.
query
.
inr
)
==
'string'
){
params
.
spt
=
null
params
.
trnmod
.
trn
=
null
}
const
res
=
await
Api
.
post
(
'/service/litrog/init'
,
{
...
params
,
transName
:
this
.
trnName
,
userId
:
window
.
sessionStorage
.
userId
||
'ZL'
,
lidgrp
:{
rec
:{
inr
:
this
.
$route
.
query
.
inr
}
}
});
// loading.close();
if
(
!
res
.
data
)
{
return
}
...
...
src/business/litrog/model/index.js
View file @
da32dea3
...
...
@@ -32,7 +32,7 @@ export default class Litrog {
expdat
:
''
,
tradat
:
''
,
trpdoctyp
:
''
,
reltyp
:
''
,
reltyp
:
'
SG
'
,
tramod
:
''
,
nam
:
''
,
docprbrol
:
''
,
...
...
src/business/litrog/views/Rog.vue
View file @
da32dea3
...
...
@@ -433,6 +433,18 @@ export default {
data
()
{
return
{};
},
watch
:{
"model.brdgrp"
:{
immediate
:
true
,
deep
:
true
,
handler
(
val
,
oldval
){
const
res
=
this
.
model
.
brdgrp
if
(
res
.
cbs
.
max
.
cur
!==
""
||
res
.
cbs
.
max
.
amt
!==
""
||
res
.
apl
.
pts
.
nam
!==
""
){
this
.
model
.
brdgrp
.
rec
.
nam
=
(
res
.
cbs
.
max
.
cur
.
concat
(
" "
).
concat
(
res
.
cbs
.
max
.
amt
).
concat
(
" "
).
concat
(
res
.
apl
.
pts
.
nam
)).
substring
(
0
,
40
);
}
}
}
},
methods
:
{},
created
:
function
()
{},
};
...
...
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