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
f5645be7
Commit
f5645be7
authored
Jun 14, 2023
by
WF1020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
litdav修改
parent
19d59e9e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
6 deletions
+27
-6
Mt750p.vue
src/business/litdav/views/Mt750p.vue
+27
-6
No files found.
src/business/litdav/views/Mt750p.vue
View file @
f5645be7
...
...
@@ -136,13 +136,29 @@ export default {
created
:
function
()
{},
computed
:
{
totamt
(){
const
maxAmt
=
this
.
model
.
brdgrp
.
cbs
.
max
.
amt
const
max2Amt
=
this
.
model
.
brdgrp
.
cbs
.
max2
.
amt
this
.
model
.
brdgrp
.
rec
.
totamt
=
parseFloat
(
isNaN
(
this
.
model
.
brdgrp
.
cbs
.
max
.
amt
)
?
0
:
this
.
model
.
brdgrp
.
cbs
.
max
.
amt
)
+
parseFloat
(
isNaN
(
this
.
model
.
brdgrp
.
cbs
.
max2
.
amt
)
?
0
:
this
.
model
.
brdgrp
.
cbs
.
max2
.
amt
)
parseFloat
(
isNaN
(
maxAmt
)
||
!
maxAmt
?
0
:
maxAmt
)
+
parseFloat
(
isNaN
(
max2Amt
)
||
!
max2Amt
?
0
:
max2Amt
)
return
this
.
model
.
brdgrp
.
rec
.
totamt
}
}
// totamt(){
// this.model.brdgrp.rec.totamt = 0
// if(!isNaN(this.model.brdgrp.cbs.max.amt)){
// this.model.brdgrp.rec.totamt += parseFloat(this.model.brdgrp.cbs.max.amt)
// }else{
// this.model.brdgrp.cbs.max.amt = 0
// }
// if(!isNaN(this.model.brdgrp.cbs.max2.amt)){
// this.model.brdgrp.rec.totamt += parseFloat(this.model.brdgrp.cbs.max2.amt)
// }
// // this.model.brdgrp.rec.totamt =
// // parseFloat(isNaN(this.model.brdgrp.cbs.max.amt) ? 0 : this.model.brdgrp.cbs.max.amt) +
// // parseFloat(isNaN(this.model.brdgrp.cbs.max2.amt) ? 0 : this.model.brdgrp.cbs.max2.amt)
// return this.model.brdgrp.rec.totamt
// }
},
// watch:{
// "model.brdgrp.cbs.max.amt":{
// handler(val,oldVal){
...
...
@@ -160,9 +176,14 @@ export default {
// }
// }
// }
// "model.brdgrp.cbs":{
// handler(val,oldVal){
// isNaN(this.model.brdgrp.cbs.max.amt) ? 0 : this.model.brdgrp.cbs.max.amt
// isNaN(this.model.brdgrp.cbs.max2.amt) ? 0 : this.model.brdgrp.cbs.max2.amt
// }
};
// }
// }
};
</
script
>
<
style
>
</
style
>
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