Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
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
mes
mes-ui
Commits
388b6143
Commit
388b6143
authored
Feb 24, 2025
by
tanjunxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 保密发料单粒子重量计算保留3位小数
parent
eb62546d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
index.vue
src/views/mes/pro/secretSend/index.vue
+2
-2
No files found.
src/views/mes/pro/secretSend/index.vue
View file @
388b6143
...
...
@@ -86,7 +86,7 @@
</el-table-column>
<el-table-column
label=
"粒子重量(KG)"
align=
"center"
prop=
"particleCoefficient"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
particleCoefficient
?
scope
.
row
.
quantity
*
scope
.
row
.
particleCoefficient
:
0
}}
</span>
<span>
{{
scope
.
row
.
particleCoefficient
?
(
scope
.
row
.
quantity
*
scope
.
row
.
particleCoefficient
>
0
?
(
scope
.
row
.
quantity
*
scope
.
row
.
particleCoefficient
).
toFixed
(
3
)
:
0
)
:
0
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"需求日期"
align=
"center"
prop=
"requestDate"
width=
"180"
>
...
...
@@ -373,7 +373,7 @@ export default {
return
prev
+
0
}
}
,
0
)
sums
[
index
]
=
Number
.
isInteger
(
temp
)
?
temp
:
temp
.
toFixed
(
6
);
sums
[
index
]
=
Number
.
isInteger
(
temp
)
?
temp
:
temp
.
toFixed
(
3
);
}
else
{
sums
[
index
]
=
''
}
...
...
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