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
a4e11182
Commit
a4e11182
authored
Jul 02, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单管理,产品结构树
parent
c2f9f22d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
productTree.vue
components/page/productTree.vue
+1
-0
index.vue
pages/mesPlan/index.vue
+6
-5
No files found.
components/page/productTree.vue
View file @
a4e11182
...
@@ -81,6 +81,7 @@ export default {
...
@@ -81,6 +81,7 @@ export default {
])
])
},
},
change
(
v
,
b
)
{
change
(
v
,
b
)
{
// console.log(b)
let
ids
=
[];
let
ids
=
[];
ids
.
push
(
b
.
value
);
ids
.
push
(
b
.
value
);
if
(
b
.
children
)
{
if
(
b
.
children
)
{
...
...
pages/mesPlan/index.vue
View file @
a4e11182
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
>
</Tree>
>
</Tree>
</div>
</div>
</div>
</div>
</Sider>
-->
</Sider>
-->
<Sider
hide-trigger
v-if=
"showMenu"
class=
"menu_side"
width=
"300"
>
<Sider
hide-trigger
v-if=
"showMenu"
class=
"menu_side"
width=
"300"
>
<ProductTree
@
on-hide=
"onHide"
@
on-select=
"productSearch"
/>
<ProductTree
@
on-hide=
"onHide"
@
on-select=
"productSearch"
/>
</Sider>
</Sider>
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
<template
slot=
"easySearch"
>
<template
slot=
"easySearch"
>
<Form
ref=
"formInline"
:model=
"easySearch"
inline
>
<Form
ref=
"formInline"
:model=
"easySearch"
inline
>
<FormItem
prop=
"keys"
>
<FormItem
prop=
"keys"
>
<Input
placeholder=
"请输入订单编号/产品名称"
v-model=
"easySearch.keys.value"
v-width=
"300"
/>
<Input
placeholder=
"请输入订单编号/产品名称"
v-model=
"easySearch.keys.value"
v-width=
"300"
/>
</FormItem>
</FormItem>
<FormItem>
<FormItem>
<Button
type=
"primary"
@
click=
"search"
>
查询
</Button>
<Button
type=
"primary"
@
click=
"search"
>
查询
</Button>
...
@@ -112,12 +112,13 @@ import ProductTree from "@/components/page/productTree.vue";
...
@@ -112,12 +112,13 @@ import ProductTree from "@/components/page/productTree.vue";
export
default
{
export
default
{
name
:
"list"
,
name
:
"list"
,
components
:
{
components
:
{
Add
,
Add
,
Edit
,
Edit
,
Detail
,
Detail
,
Search
,
Search
,
Split
,
Split
,
Send
,
ProductTree
,
Send
,
ProductTree
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -782,7 +783,7 @@ export default {
...
@@ -782,7 +783,7 @@ export default {
this
.
showMenu
=
true
;
this
.
showMenu
=
true
;
},
},
productSearch
(
id
,
item
,
ids
)
{
productSearch
(
id
,
item
,
ids
)
{
let
where
=
{
productId
:
{
op
:
"In"
,
value
:
ids
}
};
let
where
=
{
bomId
:
{
op
:
"In"
,
value
:
item
.
bomId
}
};
this
.
$refs
.
grid
.
reload
(
where
);
this
.
$refs
.
grid
.
reload
(
where
);
},
},
//确定分解
//确定分解
...
...
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