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
1b718964
Commit
1b718964
authored
May 07, 2020
by
康振飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单报价productree--OK
parent
3f96b035
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
13 deletions
+16
-13
index.vue
pages/order/quotation/index.vue
+7
-8
index.vue
pages/processManage/setProcess/index.vue
+9
-5
No files found.
pages/order/quotation/index.vue
View file @
1b718964
<
template
>
<Layout
class=
"quotation"
>
<!-- 左侧树 -->
<Sider
hide-trigger
:style=
"
{background: '#fff'}" width="260">
<
!--
<
Sider
hide-trigger
:style=
"
{background: '#fff'}" width="260">
<Tree-Type
@
func=
"getMsgFormSon"
:style=
"
{ height: treeHeight + 'px' }">
</Tree-Type>
</Sider>
<
!--
<
Sider
hide-trigger
v-if=
"showMenu"
class=
"menu_side"
width=
"300"
>
</Sider>
-->
<Sider
hide-trigger
v-if=
"showMenu"
class=
"menu_side"
width=
"300"
>
<ProductTree
@
on-hide=
"onHide"
@
on-select=
"productSearch"
/>
</Sider>
<div
v-if=
"!showMenu"
class=
"show_menu"
>
<a
class=
"menu_play fr"
@
click=
"showMenuFn"
title=
"展开"
>
<Icon
type=
"ios-arrow-forward"
size=
"24"
/>
</a>
</div>
-->
</div>
<!-- 右侧内容 -->
<Content
class=
"content"
:class=
"!showMenu?'con_bord':''"
>
<Tabs
v-model=
"selectName"
@
on-click=
"handleClick"
>
...
...
@@ -397,9 +397,8 @@ export default {
this
.
showMenu
=
true
;
},
productSearch
(
id
,
item
,
ids
)
{
console
.
log
(
item
)
// this.productId = data.join(",");
// this.tableTata(this.selectName);
// console.log(item)
this
.
getMsgFormSon
(
ids
)
// let where = { productId: { op: "In", value: ids } };
// this.$refs.grid.reload(where);
},
...
...
@@ -407,7 +406,7 @@ export default {
this
.
tableTata
(
this
.
selectName
);
},
getMsgFormSon
(
data
)
{
console
.
log
(
data
)
//
console.log(data)
this
.
productId
=
data
.
join
(
","
);
this
.
tableTata
(
this
.
selectName
);
},
...
...
pages/processManage/setProcess/index.vue
View file @
1b718964
...
...
@@ -2,7 +2,8 @@
<Layout
class=
"lay100"
>
<!--
<div>
-->
<!-- 左侧树 -->
<div
class=
"zh-tree"
:style=
"
{height:treeHeight+'px'}">
<Sider
hide-trigger
v-if=
"showMenu"
class=
"menu_side"
width=
"300"
>
<!--
<div
class=
"zh-tree"
:style=
"
{height:treeHeight+'px'}"> -->
<h3
class=
"zh-title"
>
产品结构
</h3>
<div
class=
"zh-box"
>
<Input
search
placeholder=
"请输入查询条件"
v-model=
"treeInputSearch"
/>
...
...
@@ -14,15 +15,16 @@
@on-select-change="selectTreeNode"
>
</Tree>
</div>
</div>
<!--
<Sider
hide-trigger
v-if=
"showMenu"
class=
"menu_side"
width=
"300"
>
</Sider>
<!--
</div>
-->
<Sider
hide-trigger
v-if=
"showMenu"
class=
"menu_side"
width=
"300"
>
<ProductTree
@
on-hide=
"onHide"
@
on-select=
"productSearch"
/>
</Sider>
<div
v-if=
"!showMenu"
class=
"show_menu"
>
<a
class=
"menu_play fr"
@
click=
"showMenuFn"
title=
"展开"
>
<Icon
type=
"ios-arrow-forward"
size=
"24"
/>
</a>
</div>
-->
</div>
<!-- 右侧内容 -->
<Content
class=
"con"
:class=
"!showMenu?'con_bord':''"
>
<div
class=
"title_box"
>
...
...
@@ -707,7 +709,7 @@ export default {
};
},
computed
:
{
searchList
()
{
searchList
()
{
//产品树左侧
let
nodeList
=
this
.
treeData
;
var
text
=
this
.
treeInputSearch
;
var
newNodeList
=
[];
...
...
@@ -736,7 +738,9 @@ export default {
this
.
showMenu
=
true
;
},
productSearch
(
id
,
item
,
ids
)
{
console
.
log
(
id
)
console
.
log
(
item
)
console
.
log
(
ids
)
// this.productId = data.join(",");
// this.tableTata(this.selectName);
// let where = { productId: { op: "In", value: ids } };
...
...
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