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
efd64148
Commit
efd64148
authored
Jan 29, 2021
by
yiyu.li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
b57238d3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
16 deletions
+46
-16
feedingBlanking.vue
Html/src/view/fml/operation_manage/feedingBlanking.vue
+46
-16
No files found.
Html/src/view/fml/operation_manage/feedingBlanking.vue
View file @
efd64148
...
...
@@ -43,7 +43,12 @@
<div
class=
"choose"
>
<p
class=
"selectTitle"
>
3.操作
</p>
<Tabs
type=
"card"
:value=
"tabindex"
>
<TabPane
label=
"上料"
:disabled=
"attr1"
name=
"1"
>
<TabPane
label=
"上料"
:disabled=
"attr1"
name=
"1"
@
click=
"getStorages()"
>
<div
class=
"filter"
>
<label
style=
"font-size: 16px"
>
上料信息:
</label
...
...
@@ -116,8 +121,7 @@
<p
class=
"infoLabel"
>
产品图片:
</p>
<div>
<img
:src=
"orderDetail.url
"
:src=
"orderDetail.url"
alt=
""
style=
"width: 100%"
/>
...
...
@@ -132,7 +136,11 @@
>
</div>
</TabPane>
<TabPane
label=
"下料"
:disabled=
"attr2"
name=
"2"
<TabPane
label=
"下料"
:disabled=
"attr2"
name=
"2"
@
click=
"getStorages()"
><div
class=
"flex"
>
<div>
<Table
...
...
@@ -332,12 +340,11 @@ export default {
detailobj
:
{},
sectionid
:
0
,
tabindex
:
"1"
,
locationobj
:
{}
locationobj
:
{},
};
},
created
()
{
this
.
getProLine
();
},
mounted
()
{
// this.getStations()
...
...
@@ -397,9 +404,15 @@ export default {
},
//获取储位
getStorages
()
{
let
code
=
''
;
code
=
this
.
orderDetail
.
productCode
?
this
.
orderDetail
.
productCode
:
''
;
this
.
request
(
"/acc/AutomationLocation/GetLocationList?fillsn=1&code="
+
code
,
""
,
"get"
)
let
code
=
""
;
code
=
this
.
orderDetail
.
productCode
?
this
.
orderDetail
.
productCode
:
""
;
let
data
=
{
fillsn
:
this
.
tabindex
==
"1"
?
0
:
1
,
code
:
code
,
};
this
.
request
(
"/acc/AutomationLocation/GetLocationList"
,
data
,
"get"
)
.
then
((
res
)
=>
{
if
(
res
.
data
.
ret
==
1
)
{
this
.
data1
=
res
.
data
.
data
;
...
...
@@ -419,10 +432,14 @@ export default {
.
then
((
res
)
=>
{
if
(
res
.
data
.
ret
==
1
)
{
let
obj
=
res
.
data
.
data
;
if
(
obj
.
url
==
null
||
obj
.
url
==
''
||
obj
.
url
==
undefined
){
obj
.
url
=
''
}
else
{
obj
.
url
=
this
.
axios
.
publicPath
+
obj
.
url
;
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
(
{},
...
...
@@ -451,6 +468,15 @@ export default {
.
then
((
res
)
=>
{
if
(
res
.
data
.
ret
==
1
)
{
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
,
...
...
@@ -521,7 +547,7 @@ export default {
}
let
data
=
{
section
:
this
.
sectionid
,
id
:
this
.
locationobj
.
id
,
id
:
this
.
locationobj
.
id
,
};
this
.
request
(
"/acc/AutomationOperate/Unloading"
,
data
,
"post"
).
then
(
(
res
)
=>
{
...
...
@@ -564,8 +590,12 @@ export default {
this
.
locationobj
=
currentRow
;
this
.
orderDetail
.
fixtureGuid
=
this
.
detailobj
.
fixtureguid
;
this
.
orderDetail
.
location
=
this
.
detailobj
.
locationid
;
if
(
this
.
locationobj
.
id
){
this
.
request
(
"/acc/AutomationOperate/ScanCode?id="
+
this
.
locationobj
.
id
,
''
,
"get"
)
if
(
this
.
locationobj
.
id
)
{
this
.
request
(
"/acc/AutomationOperate/ScanCode?id="
+
this
.
locationobj
.
id
,
""
,
"get"
)
.
then
((
res
)
=>
{
if
(
res
.
data
.
ret
==
1
)
{
let
obj
=
res
.
data
.
data
;
...
...
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