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
f05aa71d
Commit
f05aa71d
authored
Jun 14, 2023
by
WF1020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
litdav修改
parent
4ecb05f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
20 deletions
+28
-20
Mt750p.vue
src/business/litdav/views/Mt750p.vue
+28
-20
No files found.
src/business/litdav/views/Mt750p.vue
View file @
f05aa71d
...
@@ -60,8 +60,8 @@
...
@@ -60,8 +60,8 @@
<c-col
:span=
"5"
>
<c-col
:span=
"5"
>
<el-form-item
label=
"待支付金额"
prop=
"brdgrp.rec.totamt"
>
<el-form-item
label=
"待支付金额"
prop=
"brdgrp.rec.totamt"
>
<c-input
v-model=
"
model.brdgrp.rec.
totamt"
placeholder=
"请输入金额"
></c-input>
<c-input
v-model=
"totamt"
placeholder=
"请输入金额"
></c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
...
@@ -134,25 +134,33 @@ export default {
...
@@ -134,25 +134,33 @@ export default {
},
},
methods
:
{},
methods
:
{},
created
:
function
()
{},
created
:
function
()
{},
computed
:
{
watch
:{
totamt
(){
"model.brdgrp.cbs.max.amt"
:{
this
.
model
.
brdgrp
.
rec
.
totamt
=
handler
(
val
,
oldVal
){
parseFloat
(
isNaN
(
this
.
model
.
brdgrp
.
cbs
.
max
.
amt
)
?
0
:
this
.
model
.
brdgrp
.
cbs
.
max
.
amt
)
+
this
.
model
.
brdgrp
.
rec
.
totamt
=
parseFloat
(
val
)
+
parseFloat
(
this
.
model
.
brdgrp
.
cbs
.
max2
.
amt
)
parseFloat
(
isNaN
(
this
.
model
.
brdgrp
.
cbs
.
max2
.
amt
)
?
0
:
this
.
model
.
brdgrp
.
cbs
.
max2
.
amt
)
if
(
isNaN
(
this
.
model
.
brdgrp
.
rec
.
totamt
)){
this
.
model
.
brdgrp
.
rec
.
totamt
=
0
return
this
.
model
.
brdgrp
.
rec
.
totamt
}
}
}
},
"model.brdgrp.cbs.max2.amt"
:{
handler
(
val
,
oldVal
){
this
.
model
.
brdgrp
.
rec
.
totamt
=
parseFloat
(
val
)
+
parseFloat
(
this
.
model
.
brdgrp
.
cbs
.
max
.
amt
)
if
(
isNaN
(
this
.
model
.
brdgrp
.
rec
.
totamt
)){
this
.
model
.
brdgrp
.
rec
.
totamt
=
0
}
}
}
}
}
// watch:{
// "model.brdgrp.cbs.max.amt":{
// handler(val,oldVal){
// this.model.brdgrp.rec.totamt = parseFloat(val)+parseFloat(this.model.brdgrp.cbs.max2.amt)
// if(isNaN(this.model.brdgrp.rec.totamt)){
// this.model.brdgrp.rec.totamt=0
// }
// }
// },
// "model.brdgrp.cbs.max2.amt":{
// handler(val,oldVal){
// this.model.brdgrp.rec.totamt = parseFloat(val)+parseFloat(this.model.brdgrp.cbs.max.amt)
// if(isNaN(this.model.brdgrp.rec.totamt)){
// this.model.brdgrp.rec.totamt=0
// }
// }
// }
// }
};
};
</
script
>
</
script
>
...
...
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