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
af0348f8
Commit
af0348f8
authored
Jan 29, 2021
by
yiyu.li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
0a021699
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
35 deletions
+46
-35
feedingBlanking.vue
Html/src/view/fml/operation_manage/feedingBlanking.vue
+46
-35
No files found.
Html/src/view/fml/operation_manage/feedingBlanking.vue
View file @
af0348f8
...
...
@@ -154,7 +154,7 @@
>
工单信息:
</span
>
<span
class=
"info"
>
{{
orderDetail
.
orderNumber
orderDetail
2
.
orderNumber
}}
</span>
</p>
<p
class=
"flex"
>
...
...
@@ -162,7 +162,7 @@
>
产品编号:
</span
>
<span
class=
"info"
>
{{
orderDetail
.
productCode
orderDetail
2
.
productCode
}}
</span>
</p>
<p
class=
"flex"
>
...
...
@@ -170,7 +170,7 @@
>
产品名称:
</span
>
<span
class=
"info"
>
{{
orderDetail
.
productName
orderDetail
2
.
productName
}}
</span>
</p>
<p
class=
"flex"
>
...
...
@@ -178,7 +178,7 @@
>
工件编号:
</span
>
<span
class=
"info"
>
{{
orderDetail
.
sn
orderDetail
2
.
sn
}}
</span>
</p>
</div>
...
...
@@ -188,11 +188,11 @@
>
状态:
</span
>
<span
class=
"info"
>
{{
orderDetail
.
status
==
1
orderDetail
2
.
status
==
1
?
"待上料"
:
orderDetail
.
status
==
2
:
orderDetail
2
.
status
==
2
?
"运行中"
:
orderDetail
.
status
==
3
:
orderDetail
2
.
status
==
3
?
"待下料"
:
""
}}
</span>
...
...
@@ -202,7 +202,7 @@
>
储位编号:
</span
>
<span
class=
"info"
>
{{
orderDetail
.
location
orderDetail
2
.
location
}}
</span>
</p>
<p
class=
"flex"
>
...
...
@@ -210,7 +210,7 @@
>
工装编号:
</span
>
<span
class=
"info"
>
{{
orderDetail
.
fixtureGuid
orderDetail
2
.
fixtureGuid
}}
</span>
</p>
</div>
...
...
@@ -277,7 +277,7 @@ export default {
a
:
-
1
,
b
:
-
1
,
attr1
:
false
,
//上料、下料、上下料
attr2
:
tru
e
,
//上料、下料、上下料
attr2
:
fals
e
,
//上料、下料、上下料
modal
:
false
,
code
:
""
,
//工令单
columns1
:
[
...
...
@@ -331,6 +331,7 @@ export default {
],
data2
:
[],
orderDetail
:
{},
orderDetail2
:
{},
detailobj
:
{},
sectionid
:
0
,
tabindex
:
"1"
,
...
...
@@ -385,20 +386,23 @@ export default {
let
status
=
this
.
stationList
[
index
].
status
;
this
.
sectionid
=
this
.
stationList
[
index
].
section
;
// status = 2;
if
(
status
==
3
)
{
this
.
attr1
=
true
;
this
.
tabindex
=
"2"
;
//
if (status == 3) {
//
this.attr1 = true;
//
this.tabindex = "2";
this
.
getRunningDetail
(
index
);
}
else
{
this
.
attr2
=
true
;
}
//
} else {
//
this.attr2 = true;
//
}
if
(
status
==
2
)
{
this
.
getRunningDetail
(
index
);
}
// //
if (status == 2) {
//
this.getRunningDetail(index);
//
}
},
getIndex
(
name
)
{
this
.
tabindex
=
name
;
if
(
this
.
tabindex
==
'2'
){
this
.
orderDetail
=
{};
}
this
.
getStorages
();
},
//获取储位
...
...
@@ -430,22 +434,27 @@ export default {
this
.
request
(
"/acc/AutomationOperate/ScanCode"
,
data
,
"get"
)
.
then
((
res
)
=>
{
if
(
res
.
data
.
ret
==
1
)
{
let
obj
=
res
.
data
.
data
;
if
(
obj
.
url
==
null
||
obj
.
url
==
""
||
obj
.
url
==
undefined
)
{
obj
.
url
=
""
;
if
(
this
.
tabindex
==
"2"
)
{
this
.
orderDetail
=
{};
}
else
{
obj
.
url
=
this
.
axios
.
publicPath
+
obj
.
url
.
slice
(
4
);
let
obj
=
res
.
data
.
data
;
if
(
obj
.
url
==
null
||
obj
.
url
==
""
||
obj
.
url
==
undefined
)
{
obj
.
url
=
""
;
}
else
{
obj
.
url
=
this
.
axios
.
publicPath
+
obj
.
url
.
slice
(
4
);
}
this
.
orderDetail
=
Object
.
assign
(
{},
this
.
orderDetail
,
obj
);
this
.
getStorages
();
}
this
.
orderDetail
=
Object
.
assign
(
{},
this
.
orderDetail
,
obj
);
this
.
getStorages
();
}
else
{
this
.
$Message
.
error
(
this
.
$t
(
res
.
data
.
msg
));
this
.
orderDetail
=
{};
...
...
@@ -482,6 +491,7 @@ export default {
obj
);
if
(
this
.
tabindex
==
"2"
)
{
this
.
orderDetail2
=
res
.
data
.
data
;
this
.
getStorages
();
}
}
else
{
...
...
@@ -592,6 +602,7 @@ export default {
this
.
orderDetail
.
fixtureGuid
=
this
.
detailobj
.
fixtureguid
;
this
.
orderDetail
.
location
=
this
.
detailobj
.
locationid
;
if
(
this
.
locationobj
.
id
)
{
// this.getRunningDetail();
this
.
request
(
"/acc/AutomationOperate/ScanCode?id="
+
this
.
locationobj
.
id
,
""
,
...
...
@@ -600,9 +611,9 @@ export default {
.
then
((
res
)
=>
{
if
(
res
.
data
.
ret
==
1
)
{
let
obj
=
res
.
data
.
data
;
this
.
orderDetail
=
Object
.
assign
(
this
.
orderDetail
2
=
Object
.
assign
(
{},
this
.
orderDetail
,
this
.
orderDetail
2
,
obj
);
}
else
{
...
...
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