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
a07dad2b
Commit
a07dad2b
authored
Jan 25, 2021
by
yiyu.li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
6de01783
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
13 deletions
+50
-13
feedingBlanking.vue
Html/src/view/fml/operation_manage/feedingBlanking.vue
+1
-1
assemblyInfo.vue
Html/src/view/fms/associate/assemblyInfo.vue
+49
-12
No files found.
Html/src/view/fml/operation_manage/feedingBlanking.vue
View file @
a07dad2b
...
...
@@ -103,7 +103,7 @@
<Button
type=
"primary"
@
click=
"feedReady()"
>
准备上料
</Button
>
<Button
type=
"primary"
>
安装完成
</Button>
<Button
type=
"primary"
@
click=
"installOver()"
>
安装完成
</Button>
</div>
</TabPane>
<TabPane
label=
"下料"
:disabled=
"attr2"
name=
"2"
...
...
Html/src/view/fms/associate/assemblyInfo.vue
View file @
a07dad2b
...
...
@@ -106,7 +106,6 @@
class=
"tableClass"
:columns=
"columns1"
:data=
"data1"
@
on-row-click=
"onExpand"
></Table>
<div
class=
"pageDiv"
>
...
...
@@ -275,7 +274,10 @@ export default {
highlightRow
:
true
,
},
on
:
{
'on-current-change'
:
(
currentRow
,
oldCurrentRow
)
=>
{
"on-current-change"
:
(
currentRow
,
oldCurrentRow
)
=>
{
this
.
childObj
=
currentRow
;
console
.
log
(
currentRow
);
},
...
...
@@ -426,7 +428,7 @@ export default {
fileurl
:
""
,
filename
:
""
,
UploadAction
:
this
.
axios
.
publicPath
+
"config/upload/UploadImage"
,
childObj
:
{}
childObj
:
{},
};
},
created
()
{
...
...
@@ -477,7 +479,7 @@ export default {
this
.
type
=
1
;
},
addPost
()
{
let
url
=
''
;
let
url
=
""
;
let
data
=
{
parentid
:
this
.
toolingId1
,
//父级工装ID
fixturetoolid
:
this
.
toolingId2
,
//工装ID
...
...
@@ -486,7 +488,7 @@ export default {
status
:
1
,
};
if
(
this
.
type
==
1
)
{
url
=
'/acc/FixtureToolsAssembly/Add'
url
=
"/acc/FixtureToolsAssembly/Add"
;
}
if
(
this
.
type
==
2
)
{
data
.
id
=
this
.
childObj
.
id
;
...
...
@@ -501,8 +503,8 @@ export default {
);
},
edit
()
{
if
(
!
this
.
childObj
.
id
)
{
this
.
$Message
.
error
(
'请先选择子工装信息'
);
if
(
!
this
.
childObj
.
id
)
{
this
.
$Message
.
error
(
"请先选择子工装信息"
);
return
false
;
}
this
.
parentType
=
this
.
childObj
.
parentcategoryids
;
...
...
@@ -511,15 +513,49 @@ export default {
this
.
getToolingList
(
1
);
this
.
sonId
=
this
.
childObj
.
categoryid
;
this
.
getToolingList
(
2
);
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
toolingId1
=
this
.
childObj
.
parentid
;
this
.
toolingId2
=
this
.
childObj
.
fixturetoolid
;
})
});
this
.
filename
=
this
.
childObj
.
filename
;
this
.
fileurl
=
this
.
childObj
.
fileurl
;
this
.
remark
=
this
.
childObj
.
remark
;
this
.
modal
=
true
;
},
dele
()
{},
dele
()
{
return
;
if
(
this
.
detailobj
.
id
===
undefined
||
this
.
detailobj
.
id
===
null
)
{
this
.
$Message
.
error
(
this
.
$t
(
"1017"
));
return
false
;
}
else
{
var
params
=
{
id
:
this
.
detailobj
.
id
,
};
this
.
$Modal
.
confirm
({
title
:
this
.
$t
(
"1018"
),
content
:
""
,
width
:
"290px"
,
closable
:
true
,
okText
:
this
.
$t
(
"1004"
),
onOk
:
()
=>
{
this
.
axios
.
request
({
url
:
"/acc/FixtureToolsProduct/Delete"
,
params
,
method
:
"get"
,
})
.
then
((
res
)
=>
{
if
(
res
.
data
.
ret
===
1
)
{
this
.
$Message
.
success
(
this
.
$t
(
"1058"
));
this
.
search
(
0
);
}
else
{
this
.
$Message
.
error
(
this
.
$t
(
res
.
data
.
msg
));
}
});
},
});
}
},
loadExcel
()
{},
exportEecel
()
{},
//工装类型
...
...
@@ -617,6 +653,7 @@ export default {
});
this
.
data1
[
index
].
_expanded
=
!
this
.
data1
[
index
].
_expanded
;
this
.
data1
.
sort
();
this
.
childObj
=
{};
},
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