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
f1ed7f9b
Commit
f1ed7f9b
authored
Jul 26, 2023
by
闫泽浩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
letdrw letrsv代码更新
parent
acc08ee4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
2 deletions
+33
-2
Ovwp1.vue
src/business/letdrw/views/Ovwp1.vue
+31
-0
index.js
src/business/letrsv/model/index.js
+2
-2
No files found.
src/business/letdrw/views/Ovwp1.vue
View file @
f1ed7f9b
...
@@ -436,12 +436,43 @@ export default {
...
@@ -436,12 +436,43 @@ export default {
data
()
{
data
()
{
return
{}
return
{}
},
},
watch
:{
"model.ledgrp"
:{
immediate
:
true
,
deep
:
true
,
handler
(
val
,
oldval
){
const
res
=
this
.
model
.
ledgrp
if
(
res
.
cbs
.
nom1
.
cur
!==
""
||
res
.
cbs
.
nom1
.
amt
!==
""
||
res
.
apl
.
pts
.
adrblk
!==
""
||
res
.
rec
.
stacty
!==
""
){
this
.
model
.
ledgrp
.
rec
.
nam
=
(
res
.
cbs
.
nom1
.
cur
.
concat
(
" "
).
concat
(
res
.
cbs
.
nom1
.
amt
).
concat
(
" "
).
concat
(
res
.
rec
.
stacty
).
concat
(
"."
).
concat
(
res
.
ben
.
pts
.
nam
)).
substring
(
0
,
40
);
}
}
},
"model.ledgrp.iss"
:{
immediate
:
true
,
deep
:
true
,
handler
(
val
,
oldval
){
if
(
this
.
model
.
ledgrp
.
iss
.
pts
!==
""
){
this
.
getstacty
()
}
}
}
},
methods
:
{
methods
:
{
apprulChange
(
v
)
{
apprulChange
(
v
)
{
if
(
v
!==
'OTHR'
)
{
if
(
v
!==
'OTHR'
)
{
this
.
model
.
ledgrp
.
rec
.
apprultxt
=
''
this
.
model
.
ledgrp
.
rec
.
apprultxt
=
''
}
}
},
},
async
getstacty
()
{
let
params
=
{
ptainr
:
this
.
model
.
ledgrp
.
iss
.
pts
.
ptainr
}
let
res
=
await
Api
.
post
(
'/service/letopn/stacty'
,
params
);
if
(
res
.
respCode
==
SUCCESS
)
{
this
.
model
.
ledgrp
.
rec
.
stacty
=
res
.
data
;
}
}
},
},
created
:
function
()
{},
created
:
function
()
{},
computed
:{
computed
:{
...
...
src/business/letrsv/model/index.js
View file @
f1ed7f9b
...
@@ -9,11 +9,11 @@ export default class Letrsv {
...
@@ -9,11 +9,11 @@ export default class Letrsv {
cbs
:
{
cbs
:
{
max
:
{
max
:
{
cur
:
''
,
cur
:
''
,
amt
:
''
amt
:
'
0.00
'
},
},
max2
:
{
max2
:
{
cur
:
''
,
cur
:
''
,
amt
:
''
amt
:
'
0.00
'
}
}
}
}
},
},
...
...
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