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
e68eee19
Commit
e68eee19
authored
Apr 09, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单报价样式
parent
b8e00f52
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
17 deletions
+15
-17
treeType.vue
pages/order/quotation/components/treeType.vue
+2
-4
index.vue
pages/order/quotation/index.vue
+13
-13
No files found.
pages/order/quotation/components/treeType.vue
View file @
e68eee19
<
template
>
<div
class=
"
tree-typ
e"
>
<div
class=
"
zh-tre
e"
>
<h3
class=
"zh-title"
>
产品结构
</h3>
<div
class=
"zh-box"
>
<Input
placeholder=
"输入内容"
style=
"width: auto"
v-model=
"treeInputSearch"
>
...
...
@@ -81,7 +81,5 @@ export default {
</
script
>
<
style
lang=
"less"
scoped
>
.tree-content {
margin-top: 15px;
}
</
style
>
pages/order/quotation/index.vue
View file @
e68eee19
<
template
>
<Layout
class=
"quotation"
>
<!-- 左侧树 -->
<Sider
hide-trigger
:style=
"
{background: '#fff'}" width="260">
<div
class=
"zh-tree"
:style=
"
{ height: treeHeight + 'px' }">
<Tree-Type
@
func=
"getMsgFormSon"
></Tree-Type>
</div>
<Sider
hide-trigger
:style=
"
{background: '#fff',marginRight:'10px'}" width="260">
<Tree-Type
@
func=
"getMsgFormSon"
:style=
"
{ height: treeHeight + 'px' }">
</Tree-Type>
</Sider>
<!-- 右侧内容 -->
<Content
class=
"content"
>
...
...
@@ -364,8 +362,8 @@ export default {
};
},
created
()
{
this
.
treeHeight
=
window
.
innerHeight
-
1
5
0
;
this
.
tableHeight
=
window
.
innerHeight
-
2
8
0
;
this
.
treeHeight
=
window
.
innerHeight
-
1
4
0
;
this
.
tableHeight
=
window
.
innerHeight
-
2
1
0
;
this
.
newColumn
=
this
.
column
;
this
.
tableTata
(
this
.
selectName
);
},
...
...
@@ -377,8 +375,8 @@ export default {
///浏览器窗口大小变化
return
(()
=>
{
window
.
screenHeight
=
window
.
innerHeight
;
this
.
treeHeight
=
window
.
screenHeight
-
1
5
0
;
this
.
tableHeight
=
window
.
innerHeight
-
2
8
0
;
this
.
treeHeight
=
window
.
screenHeight
-
1
4
0
;
this
.
tableHeight
=
window
.
innerHeight
-
2
1
0
;
})();
};
},
...
...
@@ -817,6 +815,13 @@ export default {
};
</
script
>
<
style
lang=
"less"
scoped
>
.quotation {
margin-right: 10px;
.zh-tree {
margin-left: 15px;
height: inherit !important;
}
}
.table {
margin-top: 15px;
}
...
...
@@ -824,9 +829,4 @@ export default {
margin-top: 15px;
}
</
style
>
<
style
>
.ivu-layout.ivu-layout-has-sider
>
.ivu-layout
{
overflow-y
:
hidden
!important
;
}
</
style
>
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