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
1a8abcdc
Commit
1a8abcdc
authored
Nov 12, 2024
by
chenzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
返修工单下达
parent
09a0bd47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
indexApply.vue
src/views/mes/pro/workorder/indexApply.vue
+2
-2
No files found.
src/views/mes/pro/workorder/indexApply.vue
View file @
1a8abcdc
...
@@ -801,7 +801,7 @@ export default {
...
@@ -801,7 +801,7 @@ export default {
}
,
}
,
handleCommandClick
()
{
handleCommandClick
()
{
this
.
currentData
=
this
.
selectedRows
[
0
]
this
.
currentData
=
this
.
selectedRows
[
0
]
if
((
this
.
selectedRows
[
0
].
workorderType
==
'prototype'
||
this
.
selectedRows
[
0
].
workorderType
==
'cutting'
)
&&
this
.
selectedRows
[
0
].
status
===
"PUBLISHED"
)
{
if
((
this
.
selectedRows
[
0
].
workorderType
==
'prototype'
||
this
.
selectedRows
[
0
].
workorderType
==
'cutting'
||
this
.
selectedRows
[
0
].
workorderType
==
'reback'
)
&&
this
.
selectedRows
[
0
].
status
===
"PUBLISHED"
)
{
this
.
commandVisible
=
true
this
.
commandVisible
=
true
}
else
{
}
else
{
this
.
$message
.
warning
(
'请选择工单类型为打样工单、切料工单、状态为已发布的数据'
)
this
.
$message
.
warning
(
'请选择工单类型为打样工单、切料工单、状态为已发布的数据'
)
...
@@ -1168,7 +1168,7 @@ export default {
...
@@ -1168,7 +1168,7 @@ export default {
this.multiple = !this.selectedRows.length
this.multiple = !this.selectedRows.length
this.combinationDisable = false
this.combinationDisable = false
this.selectedRows.forEach(item => {
this.selectedRows.forEach(item => {
if (['cutting', 'prototype'].indexOf(item.workorderType) > -1) {
if (['cutting', 'prototype'
,'reback'
].indexOf(item.workorderType) > -1) {
this.combinationDisable = true
this.combinationDisable = true
}
}
if (['reback', 'prototype'].indexOf(item.workorderType) > -1) {
if (['reback', 'prototype'].indexOf(item.workorderType) > -1) {
...
...
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