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
0f255876
Commit
0f255876
authored
May 16, 2024
by
张海景
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:修改生产工单的逻辑
parent
1a2e761d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
index.vue
pages/mes/prodReport/index.vue
+8
-0
No files found.
pages/mes/prodReport/index.vue
View file @
0f255876
...
...
@@ -1942,7 +1942,9 @@ export default {
// this.reset();
console
.
log
(
this
.
dict
.
type
,
'this.dicts.type'
)
this
.
feedbackForms
=
[];
let
flagPackage
=
[]
this
.
tableSelectData
.
forEach
((
item
,
index
)
=>
{
flagPackage
.
push
(
item
.
isPackage
===
'1'
)
let
defQualify
=
item
.
quantity
-
item
.
quantityQualify
-
item
.
quantityUnqualify
;
defQualify
=
defQualify
<
0
?
0
:
defQualify
;
defQualify
=
defQualify
>
item
.
quantityWait
?
item
.
quantityWait
:
defQualify
;
...
...
@@ -2035,6 +2037,12 @@ export default {
this
.
getWorkorderWithSizeAndDirective
(
feedback
,
index
);
this
.
feedbackForms
.
push
(
feedback
);
});
console
.
log
(
flagPackage
,
Array
.
from
(
new
Set
(
flagPackage
)))
if
(
Array
.
from
(
new
Set
(
flagPackage
)).
length
===
2
)
{
this
.
$u
.
toast
(
'包装工序禁止多选报工'
)
return
}
// 如果选择了包装工序、非包装工序提示:“包装工序禁止多选报工”
this
.
proVisible
=
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