Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
account-book
Project
Project
Details
Activity
Releases
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
刘文虎
account-book
Commits
91bfac35
Commit
91bfac35
authored
Nov 08, 2022
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve: 样式修改
parent
2a2f5530
Pipeline
#3961
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
bill-detail.vue
pages/workpoint/project-bill/components/bill-detail.vue
+5
-2
No files found.
pages/workpoint/project-bill/components/bill-detail.vue
View file @
91bfac35
...
...
@@ -11,13 +11,13 @@
</view>
<view
class=
"detail-right"
>
<view
class=
"detail-right-label"
>
{{
detail
.
type
.
desc
}}
</view>
<view
class=
"detail-right-value"
:class=
"
{ 'detail-right-status': redAmount }">
{{
detail
.
amount
}}
</view>
<view
class=
"detail-right-value"
:class=
"
{ 'detail-right-status': redAmount }">
{{
amount
}}
</view>
</view>
</view>
</
template
>
<
script
>
import
{
workTypeOptions
}
from
'@/utils/options/workpoint
'
;
import
{
formatCount
}
from
'@/utils/common.js
'
;
export
default
{
props
:
{
detail
:
{
...
...
@@ -36,6 +36,9 @@ export default {
return
false
;
}
return
parseFloat
(
amount
)
<
0
;
},
amount
()
{
return
formatCount
(
Number
(
this
.
detail
.
amount
||
0
))
}
},
data
()
{
...
...
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