Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
01503792
Commit
01503792
authored
Jul 14, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款单详情优化2.2
parent
c09c8a70
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
receiptDetail.vue
src/views/ecw/financial/receiptDetail.vue
+5
-3
No files found.
src/views/ecw/financial/receiptDetail.vue
View file @
01503792
...
@@ -838,12 +838,14 @@ export default {
...
@@ -838,12 +838,14 @@ export default {
this
.
addForm
.
amount
=
''
this
.
addForm
.
amount
=
''
this
.
$modal
.
msgError
(
this
.
$t
(
'
输入金额不对
'
));
this
.
$modal
.
msgError
(
this
.
$t
(
'
输入金额不对
'
));
}
else
{
}
else
{
if
(
this
.
addForm
&&
this
.
addForm
.
amount
&&
this
.
addForm
.
amount
.
indexOf
(
'
.
'
)
>-
1
){
// console.log(this.addForm.amount)
pointArr
=
this
.
addForm
.
amount
.
split
(
'
.
'
)
// this.addForm.amount = this.addForm.amount.toFixed(2)
// if(this.addForm&&this.addForm.amount&&this.addForm.amount.indexOf('.')>-1)
{
pointArr
=
this
.
addForm
.
amount
.
toString
().
split
(
'
.
'
)
if
(
pointArr
.
length
>
1
&&
pointArr
[
1
]){
if
(
pointArr
.
length
>
1
&&
pointArr
[
1
]){
this
.
addForm
.
amount
=
Math
.
round
(
this
.
addForm
.
amount
*
100
)
/
100
this
.
addForm
.
amount
=
Math
.
round
(
this
.
addForm
.
amount
*
100
)
/
100
}
}
}
//
}
}
}
this
.
$set
(
this
.
addForm
,
'
writeOffAmount
'
,
NP
.
times
(
this
.
addForm
.
rate
||
0
,
this
.
addForm
.
amount
||
0
))
this
.
$set
(
this
.
addForm
,
'
writeOffAmount
'
,
NP
.
times
(
this
.
addForm
.
rate
||
0
,
this
.
addForm
.
amount
||
0
))
}
,
}
,
...
...
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