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
5cb5262d
Commit
5cb5262d
authored
Jan 25, 2021
by
yiyu.li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
e0c0ef05
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
11 deletions
+48
-11
feedingBlanking.vue
Html/src/view/fml/operation_manage/feedingBlanking.vue
+12
-2
assemblyInfo.vue
Html/src/view/fms/associate/assemblyInfo.vue
+36
-9
No files found.
Html/src/view/fml/operation_manage/feedingBlanking.vue
View file @
5cb5262d
...
...
@@ -29,7 +29,15 @@
:class=
"
{ active: b == index }"
>
<p>
{{
item
.
title
}}
</p>
<p>
{{
item
.
status
==
1
?
"待上料"
:
"运行中"
}}
</p>
<p>
{{
item
.
status
==
1
?
"待上料"
:
orderDetail
.
status
==
2
?
"运行中"
:
"待下料"
}}
</p>
</div>
</div>
</div>
...
...
@@ -107,7 +115,9 @@
<Button
type=
"primary"
@
click=
"feedReady()"
>
准备上料
</Button
>
<Button
type=
"primary"
@
click=
"installOver()"
>
安装完成
</Button>
<Button
type=
"primary"
@
click=
"installOver()"
>
安装完成
</Button
>
</div>
</TabPane>
<TabPane
label=
"下料"
:disabled=
"attr2"
name=
"2"
...
...
Html/src/view/fms/associate/assemblyInfo.vue
View file @
5cb5262d
...
...
@@ -106,8 +106,11 @@
class=
"tableClass"
:columns=
"columns1"
:data=
"data1"
highlight-row
@
on-row-click=
"onExpand"
></Table>
<!-- @on-row-click="onExpand" -->
<div
class=
"pageDiv"
>
<div
class=
"pageDirection"
>
<Page
...
...
@@ -283,7 +286,6 @@ export default {
)
=>
{
this
.
childObj
=
{};
this
.
childObj
=
currentRow
;
console
.
log
(
currentRow
);
},
},
});
...
...
@@ -432,6 +434,7 @@ export default {
fileurl
:
""
,
filename
:
""
,
UploadAction
:
this
.
axios
.
publicPath
+
"config/upload/UploadImage"
,
detailobj
:
{},
childObj
:
{},
};
},
...
...
@@ -472,15 +475,25 @@ export default {
});
},
add
()
{
this
.
parentType
=
[];
this
.
parentId
=
0
;
this
.
sonType
=
[];
this
.
sonId
=
0
;
this
.
remark
=
""
;
this
.
fileurl
=
""
;
this
.
filename
=
""
;
this
.
modal
=
true
;
this
.
toolingId2
=
0
;
this
.
disabled
=
false
;
if
(
!
this
.
detailobj
.
id
)
{
this
.
parentType
=
[];
this
.
parentId
=
0
;
}
else
{
this
.
parentType
=
this
.
detailobj
.
categoryids
;
this
.
parentId
=
this
.
detailobj
.
categoryid
;
this
.
getToolingList
(
1
);
this
.
$nextTick
(()
=>
{
this
.
toolingId1
=
this
.
detailobj
.
fixturetoolid
;
});
}
this
.
type
=
1
;
},
addPost
()
{
...
...
@@ -504,6 +517,8 @@ export default {
if
(
res
.
data
.
ret
==
1
)
{
this
.
$Message
.
success
(
this
.
$t
(
res
.
data
.
msg
));
this
.
modal
=
false
;
this
.
detailobj
=
{};
this
.
childObj
=
{};
this
.
search
(
this
.
page
,
this
.
pagesize
);
}
else
{
this
.
$Message
.
error
(
this
.
$t
(
res
.
data
.
msg
));
...
...
@@ -540,12 +555,12 @@ export default {
this
.
$Message
.
error
(
this
.
$t
(
"1017"
));
return
false
;
}
else
{
if
(
!
this
.
childObj
.
id
)
{
this
.
$Message
.
error
(
"请选择子工装信息"
);
return
false
;
}
//
if (!this.childObj.id) {
//
this.$Message.error("请选择子工装信息");
//
return false;
//
}
var
params
=
{
id
:
this
.
childObj
.
id
,
id
:
this
.
childObj
.
id
?
this
.
childObj
.
id
:
this
.
detailobj
.
id
,
};
this
.
$Modal
.
confirm
({
title
:
this
.
$t
(
"1018"
),
...
...
@@ -655,6 +670,14 @@ export default {
},
handleRowChange
(
currentRow
,
oldCurrentRow
)
{
this
.
detailobj
=
currentRow
;
console
.
log
(
currentRow
);
// this.data1.forEach((item, i) => {
// //这个循环是为了每次只能展开一个,其他自动收起,不需要可以去掉
// i !== currentRow.index ? (this.data1[currentRow.index]._expanded = false) : "";
// });
// this.data1[currentRow.index]._expanded = !this.data1[currentRow.index]._expanded;
// this.data1.sort();
// this.childObj = {};
},
onExpand
(
row
,
index
)
{
this
.
detailobj
=
row
;
...
...
@@ -664,8 +687,12 @@ export default {
i
!==
index
?
(
this
.
data1
[
i
].
_expanded
=
false
)
:
""
;
});
this
.
data1
[
index
].
_expanded
=
!
this
.
data1
[
index
].
_expanded
;
this
.
data1
.
sort
();
if
(
this
.
data1
[
index
].
_expanded
==
false
)
{
this
.
detailobj
=
{};
this
.
toolingId1
=
0
;
this
.
childObj
=
{};
}
this
.
data1
.
sort
();
},
handlePageSize
(
value
)
{
this
.
page
=
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