Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
Laisi_AutoMES2
Overview
Overview
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
jiawei.su
Laisi_AutoMES2
Commits
f24b729c
Commit
f24b729c
authored
Mar 23, 2021
by
lyy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
function
parent
50fc4ae3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
13 deletions
+35
-13
feedingBlanking.vue
Html/src/view/fml/operation_manage/feedingBlanking.vue
+35
-13
No files found.
Html/src/view/fml/operation_manage/feedingBlanking.vue
View file @
f24b729c
...
...
@@ -334,8 +334,10 @@
type=
"text"
class=
"searchInput"
style=
"width: 250px"
v-model=
"code"
@
on-keyup
.
enter=
"scanOrder()"
v-model=
"code2"
@
on-keyup
.
enter=
"
scanOrder(0, code2)
"
/>
<Button
type=
"primary"
...
...
@@ -472,6 +474,7 @@ export default {
sectionid
:
0
,
tabindex
:
"1"
,
locationobj
:
{},
code2
:
""
,
loading1
:
false
,
loading2
:
false
,
loading3
:
false
,
...
...
@@ -748,31 +751,50 @@ export default {
}
});
},
scanOrder
(
)
{
scanOrder
(
section
,
code
)
{
// 上下料扫工单
let
data
=
{
section
:
sectionid
,
code
:
''
}
let
data
=
{
section
:
section
,
code
:
code
,
}
;
this
.
request
(
""
,
"
acc/AutomationOperate/CurrentOrder
"
,
data
,
""
"
post
"
).
then
((
res
)
=>
{
if
(
res
.
data
.
ret
==
1
)
{
this
.
$Message
.
success
(
this
.
$t
(
res
.
data
.
msg
));
this
.
orderDetail2
=
res
.
data
.
data
;
}
else
{
this
.
$Message
.
error
(
this
.
$t
(
res
.
data
.
msg
));
}
});
},
sameFeed
()
{
// 同工单上料
this
.
scanOrder
(
this
.
sectionid
,
""
);
},
complexFeed
(){
complexFeed
()
{
// 复合操作上料
if
(
this
.
sectionid
==
0
)
{
this
.
$Message
.
error
(
"请选择生产线、工位"
);
return
false
;
}
let
data
=
{
section
:
this
.
sectionid
,
};
this
.
request
(
" acc/AutomationOperate/DisassembleAndAssemble"
,
data
,
"post"
).
then
((
res
)
=>
{
if
(
res
.
data
.
ret
==
1
)
{
this
.
$Message
.
success
(
this
.
$t
(
res
.
data
.
msg
));
this
.
orderDetail2
=
res
.
data
.
data
;
}
else
{
this
.
$Message
.
error
(
this
.
$t
(
res
.
data
.
msg
));
}
});
},
handleRowChange
(
currentRow
,
oldCurrentRow
)
{
this
.
detailobj
=
currentRow
;
...
...
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