Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pad
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
ximai
mes-pad
Commits
d4896548
Commit
d4896548
authored
Aug 02, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报工数超报时以不同颜色标识。
parent
2ab736df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
index.vue
pages/mes/prodReport/index.vue
+5
-2
No files found.
pages/mes/prodReport/index.vue
View file @
d4896548
...
@@ -319,8 +319,8 @@
...
@@ -319,8 +319,8 @@
<u-row>
<u-row>
<u-col
:span=
"6"
>
<u-col
:span=
"6"
>
<u-form-item
:label=
"feedback.taskType&&feedback.taskType===3 ? '委外数量:' : '已报工数:'"
prop=
"quantity"
>
<u-form-item
:label=
"feedback.taskType&&feedback.taskType===3 ? '委外数量:' : '已报工数:'"
prop=
"quantity"
>
{{ feedback.taskType
&&
feedback.taskType===3 ? (feedback.quantityQualify) : (feedback.workorderFeedbackSum) }}
<span
v-if=
"feedback.taskType&&feedback.taskType===3"
>
{{ feedback.quantityQualify }}
</span>
<span
:style=
"{background: feedback.overFeedback ? '#f56c6c' : '#fff'}"
v-else
>
{{ feedback.workorderFeedbackSum }}
</span>
<!-- {{ computedQuantityV2 }} -->
<!-- {{ computedQuantityV2 }} -->
</u-form-item>
</u-form-item>
</u-col>
</u-col>
...
@@ -1900,6 +1900,7 @@ export default {
...
@@ -1900,6 +1900,7 @@ export default {
row
.
quantityQualify
=
res
.
data
.
workorderQualify
row
.
quantityQualify
=
res
.
data
.
workorderQualify
row
.
workorderFeedbackSum
=
res
.
data
.
workorderFeedbackSum
row
.
workorderFeedbackSum
=
res
.
data
.
workorderFeedbackSum
row
.
workorderUnfeedbackSum
=
res
.
data
.
workorderUnfeedbackSum
row
.
workorderUnfeedbackSum
=
res
.
data
.
workorderUnfeedbackSum
row
.
overFeedback
=
res
.
data
.
overFeedback
this
.
$set
(
this
.
feedbackForms
,
index
,
row
)
this
.
$set
(
this
.
feedbackForms
,
index
,
row
)
}
}
})
})
...
@@ -1996,6 +1997,7 @@ export default {
...
@@ -1996,6 +1997,7 @@ export default {
item
.
quantityQualify
=
res
.
data
.
workorderQualify
item
.
quantityQualify
=
res
.
data
.
workorderQualify
item
.
workorderFeedbackSum
=
res
.
data
.
workorderFeedbackSum
item
.
workorderFeedbackSum
=
res
.
data
.
workorderFeedbackSum
item
.
workorderUnfeedbackSum
=
res
.
data
.
workorderUnfeedbackSum
item
.
workorderUnfeedbackSum
=
res
.
data
.
workorderUnfeedbackSum
item
.
overFeedback
=
res
.
data
.
overFeedback
this
.
$set
(
this
.
feedbackForms
,
index
,
item
)
this
.
$set
(
this
.
feedbackForms
,
index
,
item
)
}
}
})
})
...
@@ -2380,6 +2382,7 @@ export default {
...
@@ -2380,6 +2382,7 @@ export default {
feedback
.
workorderUnfeedbackSum
=
res
.
data
.
workorderUnfeedbackSum
feedback
.
workorderUnfeedbackSum
=
res
.
data
.
workorderUnfeedbackSum
feedback
.
workorderFeedback
=
res
.
data
.
workorderFeedbackSum
feedback
.
workorderFeedback
=
res
.
data
.
workorderFeedbackSum
feedback
.
workorderUnfeedback
=
res
.
data
.
workorderUnfeedbackSum
feedback
.
workorderUnfeedback
=
res
.
data
.
workorderUnfeedbackSum
feedback
.
overFeedback
=
res
.
data
.
overFeedback
}
}
})
})
}
}
...
...
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