Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pda-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
pda
pda-ui
Commits
a686f53f
Commit
a686f53f
authored
May 10, 2024
by
张海景
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:修改生产报工新增报工数量
parent
d52930f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
index.vue
src/views/mes/pro/feedback/index.vue
+10
-0
No files found.
src/views/mes/pro/feedback/index.vue
View file @
a686f53f
...
...
@@ -133,6 +133,11 @@
<el-table-column
label=
"规格型号"
width=
"100"
align=
"center"
prop=
"specification"
/>
<el-table-column
label=
"指令号"
width=
"120"
align=
"center"
prop=
"clientCmd"
/>
<el-table-column
label=
"标准SIZE"
width=
"120"
align=
"center"
prop=
"standardSize"
/>
<el-table-column
label=
"报工数量"
align=
"center"
prop=
"feedbackTime"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<span>
{{
getSumNumber
(
scope
.
row
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"合格数量"
width=
"100"
align=
"center"
prop=
"quantityQualify"
/>
<el-table-column
label=
"不合格数量"
width=
"100"
align=
"center"
prop=
"quantityUnqualify"
/>
<el-table-column
label=
"报工人"
width=
"100"
align=
"center"
prop=
"nickName"
/>
...
...
@@ -430,6 +435,11 @@ export default {
this
.
getList
();
}
,
methods
:
{
getSumNumber
(
row
)
{
const
first
=
row
.
quantityQualify
?
Number
(
row
.
quantityQualify
):
0
const
last
=
row
.
quantityUnqualify
?
Number
(
row
.
quantityUnqualify
):
0
return
first
+
last
}
,
/** 查询生产报工记录列表 */
getList
()
{
this
.
loading
=
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