Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
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
周远喜
mes-ui
Commits
99e54afc
Commit
99e54afc
authored
Jul 03, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
55
parent
7655afa7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
bom.vue
pages/technology/productMix/product/bom.vue
+11
-4
bomEdit.vue
pages/technology/productMix/product/bomEdit.vue
+1
-1
No files found.
pages/technology/productMix/product/bom.vue
View file @
99e54afc
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
:mask-closable=
"false"
:mask-closable=
"false"
:fullscreen=
"fullscreen"
:fullscreen=
"fullscreen"
>
>
<component
:is=
"detail"
:eid=
"curId"
@
on-close=
"cancel"
@
on-ok=
"ok"
:parents=
"parents"
/>
<component
:is=
"detail"
:eid=
"curId"
@
on-close=
"cancel"
@
on-ok=
"ok"
:parents=
"parents"
@
on-oks=
"oks"
/>
</Modal>
</Modal>
</div>
</div>
</
template
>
</
template
>
...
@@ -52,7 +52,7 @@ export default {
...
@@ -52,7 +52,7 @@ export default {
detail
:
null
,
detail
:
null
,
curId
:
0
,
curId
:
0
,
fullscreen
:
false
,
fullscreen
:
false
,
bomId
:
0
,
bomId
:
0
,
entity
:
{
entity
:
{
id
:
""
,
id
:
""
,
levelId
:
0
,
levelId
:
0
,
...
@@ -228,7 +228,7 @@ export default {
...
@@ -228,7 +228,7 @@ export default {
},
},
edit
(
row
)
{
edit
(
row
)
{
console
.
log
(
row
);
console
.
log
(
row
);
this
.
bomId
=
row
.
upId
this
.
bomId
=
row
.
upId
;
this
.
curId
=
row
.
bomId
;
this
.
curId
=
row
.
bomId
;
this
.
parents
.
id
=
row
.
levelId
;
this
.
parents
.
id
=
row
.
levelId
;
this
.
parents
.
parentName
=
row
.
levelTitle
;
this
.
parents
.
parentName
=
row
.
levelTitle
;
...
@@ -272,8 +272,15 @@ export default {
...
@@ -272,8 +272,15 @@ export default {
clickData
(
data
)
{
clickData
(
data
)
{
window
.
open
(
data
,
"_blank"
);
window
.
open
(
data
,
"_blank"
);
},
},
oks
()
{
this
.
parents
.
bomId
=
this
.
bomId
;
this
.
init
();
// this.load(this.eid);
this
.
modal
=
false
;
this
.
curId
=
0
;
},
ok
()
{
ok
()
{
this
.
parents
.
bomId
=
this
.
bomId
//
this.parents.bomId=this.bomId
this
.
init
();
this
.
init
();
// this.load(this.eid);
// this.load(this.eid);
this
.
modal
=
false
;
this
.
modal
=
false
;
...
...
pages/technology/productMix/product/bomEdit.vue
View file @
99e54afc
...
@@ -106,7 +106,7 @@ export default {
...
@@ -106,7 +106,7 @@ export default {
this
.
disabled
=
false
;
this
.
disabled
=
false
;
if
(
r
.
success
)
{
if
(
r
.
success
)
{
this
.
$Message
.
success
(
"保存成功"
);
this
.
$Message
.
success
(
"保存成功"
);
this
.
$emit
(
"on-ok"
);
this
.
$emit
(
"on-ok
s
"
);
}
else
{
}
else
{
this
.
$Message
.
error
(
"保存失败"
);
this
.
$Message
.
error
(
"保存失败"
);
}
}
...
...
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