Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
enterprise-serevice-platform-web
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
张伯涛
enterprise-serevice-platform-web
Commits
15bb989e
Commit
15bb989e
authored
Oct 26, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
千分位显示
parent
1cdc21e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
index.vue
src/views/ServiceShare/index.vue
+18
-2
No files found.
src/views/ServiceShare/index.vue
View file @
15bb989e
...
@@ -78,8 +78,12 @@
...
@@ -78,8 +78,12 @@
<!--
</div>
-->
<!--
</div>
-->
</div>
</div>
<div
class=
"right-content"
>
<div
class=
"right-content"
>
<div
class=
"row"
><span
class=
"rc-title"
>
成立日期:
</span><span
class=
"rc-value"
>
{{
item
.
establishmentDate
}}
</span></div>
<div
class=
"row"
><span
class=
"rc-title"
>
成立日期:
</span>
<div
class=
"row"
><span
class=
"rc-title"
>
注册资金:
</span><span
class=
"rc-value"
>
{{
item
.
registerCapital
+
'万元人民币'
}}
</span></div>
<span
class=
"rc-value"
>
{{
item
.
establishmentDate
}}
</span>
</div>
<div
class=
"row"
><span
class=
"rc-title"
>
注册资金:
</span>
<span
class=
"rc-value"
>
{{
numFormat
(
item
.
registerCapital
)
+
'万元人民币'
}}
</span>
</div>
<div
class=
"row"
><span
class=
"rc-title"
>
地址:
</span><div
:title=
"item.address"
class=
"value"
>
{{
item
.
address
}}
</div></div>
<div
class=
"row"
><span
class=
"rc-title"
>
地址:
</span><div
:title=
"item.address"
class=
"value"
>
{{
item
.
address
}}
</div></div>
<div
class=
"row"
><span
class=
"rc-title"
>
主营业务:
</span><div
:title=
"item.mainBusiness"
class=
"value"
>
{{
item
.
mainBusiness
}}
</div></div>
<div
class=
"row"
><span
class=
"rc-title"
>
主营业务:
</span><div
:title=
"item.mainBusiness"
class=
"value"
>
{{
item
.
mainBusiness
}}
</div></div>
<div
style=
"display: flex;justify-content: space-between"
>
<div
style=
"display: flex;justify-content: space-between"
>
...
@@ -297,6 +301,18 @@ export default {
...
@@ -297,6 +301,18 @@ export default {
gotoTop
()
{
gotoTop
()
{
document
.
getElementById
(
'topAnchor'
).
scrollIntoView
()
// 数据加载完跳转到顶部
document
.
getElementById
(
'topAnchor'
).
scrollIntoView
()
// 数据加载完跳转到顶部
},
},
numFormat
(
val
)
{
const
stringVal
=
val
.
toString
()
if
(
stringVal
.
indexOf
(
'.'
)
!==
-
1
)
{
// 截取整数
const
integer
=
stringVal
.
substring
(
0
,
stringVal
.
indexOf
(
'.'
))
// 截取小数
const
decimal
=
stringVal
.
substring
(
stringVal
.
indexOf
(
'.'
),
stringVal
.
length
)
return
this
.
thousand
.
fmoney
(
integer
)
+
decimal
.
substring
(
0
,
3
)
// 千分位格式化
}
else
{
return
this
.
thousand
.
fmoney
(
stringVal
)
// 千分位格式化
}
},
handleCheckAllChange
(
val
)
{
handleCheckAllChange
(
val
)
{
console
.
log
(
'val'
,
val
)
console
.
log
(
'val'
,
val
)
if
(
val
===
true
)
{
if
(
val
===
true
)
{
...
...
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