Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NLT-e-cigarette
Project
Project
Details
Activity
Releases
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
张伯涛
NLT-e-cigarette
Commits
386f5068
Commit
386f5068
authored
Sep 02, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
6b4a8935
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
ModelDetails.vue
src/views/productionInfo/ModelDetails.vue
+8
-2
No files found.
src/views/productionInfo/ModelDetails.vue
View file @
386f5068
...
@@ -1257,10 +1257,16 @@ export default {
...
@@ -1257,10 +1257,16 @@ export default {
this
.
$message
.
error
(
'请至少添加一个工站'
)
this
.
$message
.
error
(
'请至少添加一个工站'
)
return
return
}
}
if
(
!
(
this
.
form
.
modelType
===
'3'
&&
this
.
positionList
[
0
].
dictLabel
===
'扫描工站'
&&
this
.
positionList
[
1
].
dictLabel
===
'测试工站'
)
)
{
if
(
this
.
form
.
modelType
===
'3'
&&
this
.
positionList
.
length
===
1
)
{
this
.
$message
.
error
(
'包装测试需要第一站为扫描站第二站为测试站'
)
this
.
$message
.
error
(
'包装测试需要
有两站
第一站为扫描站第二站为测试站'
)
return
return
}
}
if
(
this
.
form
.
modelType
===
'3'
&&
this
.
positionList
.
length
===
2
)
{
if
(
!
(
this
.
positionList
[
0
].
dictLabel
===
'扫描工站'
&&
this
.
positionList
[
1
].
dictLabel
===
'测试工站'
))
{
this
.
$message
.
error
(
'包装测试需要第一站为扫描站第二站为测试站'
)
return
}
}
const
params
=
this
.
initData
()
const
params
=
this
.
initData
()
for
(
let
i
=
0
;
this
.
positionList
.
length
>
i
;
i
++
)
{
for
(
let
i
=
0
;
this
.
positionList
.
length
>
i
;
i
++
)
{
// if (i === 0) continue
// if (i === 0) continue
...
...
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