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
01068f2c
Commit
01068f2c
authored
Mar 09, 2024
by
chenzj
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://git.local.topsunit.com/mes/mes-pad
into dev
parents
1479db3e
8d489203
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
13 deletions
+17
-13
index.vue
pages/mes/prodReport/index.vue
+17
-13
No files found.
pages/mes/prodReport/index.vue
View file @
01068f2c
...
...
@@ -716,9 +716,15 @@ export default {
label
:
'计划结束时间'
,
width
:
140
},
{
name
:
'quantity'
,
label
:
'排产数量'
,
width
:
80
,
align
:
'center'
},
{
name
:
'quantityWait'
,
label
:
'
待
加工数量'
,
label
:
'
可
加工数量'
,
width
:
80
},
{
...
...
@@ -763,12 +769,6 @@ export default {
label
:
'工序'
,
width
:
60
},
{
name
:
'quantity'
,
label
:
'排产数量'
,
width
:
80
,
align
:
'center'
},
{
name
:
'quantityQuanlify'
,
label
:
'合格数量'
,
...
...
@@ -971,7 +971,7 @@ export default {
if
(
item
.
status
===
'BEGINNING'
)
{
status
=
true
;
}
else
{
this
.
changeStatus
(
item
.
taskId
,
'BEGINNING'
);
this
.
changeStatus
(
item
.
taskId
,
item
.
taskWorkunitId
,
'BEGINNING'
);
}
});
if
(
status
)
{
...
...
@@ -986,7 +986,7 @@ export default {
break
;
case
'FinshTask'
:
this
.
tableSelectData
.
forEach
((
item
)
=>
{
this
.
changeStatus
(
item
.
taskId
,
'FINISHED'
);
this
.
changeStatus
(
item
.
taskId
,
item
.
taskWorkunitId
,
'FINISHED'
);
});
this
.
getTaskList
();
break
;
...
...
@@ -1111,7 +1111,7 @@ export default {
},
stopReasonSubmit
()
{
this
.
tableSelectData
.
forEach
((
item
)
=>
{
this
.
changeStop
(
item
.
taskId
,
'PAUSE'
);
this
.
changeStop
(
item
.
taskId
,
item
.
taskWorkunitId
,
'PAUSE'
);
});
this
.
getTaskList
();
},
...
...
@@ -1238,12 +1238,13 @@ export default {
}
});
},
changeStatus
(
taskId
,
status
)
{
changeStatus
(
taskId
,
taskWorkunitId
,
status
)
{
// this.form.status = status;
this
.
$u
.
api
.
changeStatus
({
taskId
:
taskId
,
status
:
status
,
taskWorkunitId
:
taskWorkunitId
,
attr1
:
this
.
stopReason
})
.
then
((
res
)
=>
{
...
...
@@ -1255,12 +1256,13 @@ export default {
});
},
//暂停作业
changeStop
(
taskId
,
status
)
{
changeStop
(
taskId
,
taskWorkunitId
,
status
)
{
// this.form.status = status;
this
.
$u
.
api
.
changeStatus
({
taskId
:
taskId
,
status
:
status
,
taskWorkunitId
:
taskWorkunitId
,
attr1
:
this
.
stopReasonForm
.
reason
,
attr2
:
this
.
stopReasonForm
.
desc
})
...
...
@@ -1295,9 +1297,10 @@ export default {
workstationId
:
item
.
workstationId
,
userName
:
this
.
vuex_user
.
userName
,
taskId
:
item
.
taskId
,
taskWorkunitId
:
item
.
taskWorkunitId
,
feedbackChannel
:
'PAD'
,
quantity
:
item
.
quantity
,
quantityQualify
:
item
.
quantity
Wait
,
//默认为待加工
数
quantityQualify
:
item
.
quantity
-
item
.
quantityQuanlify
-
item
.
quantityUnquanlify
,
//默认为排产数量-合格数-不合格
数
quantityUnqualify
:
0
,
printName
:
false
,
nickName
:
this
.
vuex_user
.
nicfeedbackkName
,
...
...
@@ -1351,6 +1354,7 @@ export default {
}
this
.
$u
.
api
.
feedback
({
taskWorkunitId
:
item
.
taskWorkunitId
,
taskId
:
item
.
taskId
,
taskCode
:
item
.
taskCode
,
quantityFeedback
:
item
.
quantityQualify
+
item
.
quantityUnqualify
,
...
...
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