Showing
10 changed files
with
41 additions
and
12 deletions
@@ -47,9 +47,7 @@ export default { | @@ -47,9 +47,7 @@ export default { | ||
47 | let menu = _.find(this.$purviews, purview => purview.id === menuId); | 47 | let menu = _.find(this.$purviews, purview => purview.id === menuId); |
48 | 48 | ||
49 | if (menu) { | 49 | if (menu) { |
50 | - setTimeout(() => { | ||
51 | this.$router.push(menu.menu_url); | 50 | this.$router.push(menu.menu_url); |
52 | - }, 100); | ||
53 | } | 51 | } |
54 | } | 52 | } |
55 | }, | 53 | }, |
@@ -75,10 +73,6 @@ $collapseLeftBorder: 2px; | @@ -75,10 +73,6 @@ $collapseLeftBorder: 2px; | ||
75 | } | 73 | } |
76 | } | 74 | } |
77 | 75 | ||
78 | -.ivu-menu-item-group-title { | ||
79 | - color: #9ea7b4 !important; | ||
80 | -} | ||
81 | - | ||
82 | .ivu-menu-submenu-title { | 76 | .ivu-menu-submenu-title { |
83 | .collapse { | 77 | .collapse { |
84 | display: none; | 78 | display: none; |
@@ -122,6 +116,7 @@ $collapseLeftBorder: 2px; | @@ -122,6 +116,7 @@ $collapseLeftBorder: 2px; | ||
122 | } | 116 | } |
123 | 117 | ||
124 | .ivu-menu { | 118 | .ivu-menu { |
119 | + background: #313540 !important; | ||
125 | display: none; | 120 | display: none; |
126 | position: absolute; | 121 | position: absolute; |
127 | top: 49px; | 122 | top: 49px; |
@@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
8 | 8 | ||
9 | <layout-action> | 9 | <layout-action> |
10 | <Button type="error" @click="onClickCreate" :disabled="this.selection.length === 0">发货</Button> | 10 | <Button type="error" @click="onClickCreate" :disabled="this.selection.length === 0">发货</Button> |
11 | - <Button type="primary" @click="back">返回发货入库列表</Button> | 11 | + <Button type="primary" @click="$router.go(-1)">返回发货入库列表</Button> |
12 | </layout-action> | 12 | </layout-action> |
13 | 13 | ||
14 | <layout-list> | 14 | <layout-list> |
@@ -85,14 +85,14 @@ export default { | @@ -85,14 +85,14 @@ export default { | ||
85 | return this.search(); | 85 | return this.search(); |
86 | }, | 86 | }, |
87 | getParams() { | 87 | getParams() { |
88 | - let params = _.toPairs(Object.assign(this.query, { | 88 | + let params = Object.assign(this.query, { |
89 | maxSortId: _.get(this.category, '[0].value'), | 89 | maxSortId: _.get(this.category, '[0].value'), |
90 | middleSortId: _.get(this.category, '[1].value'), | 90 | middleSortId: _.get(this.category, '[1].value'), |
91 | smallSortId: _.get(this.category, '[2].value') | 91 | smallSortId: _.get(this.category, '[2].value') |
92 | - }, this.pageData)); | 92 | + }, this.pageData); |
93 | 93 | ||
94 | delete params.total; | 94 | delete params.total; |
95 | - return _.fromPairs(params.filter(item => item[1])); | 95 | + return _.pickBy(params, val => val); |
96 | }, | 96 | }, |
97 | reset() { | 97 | reset() { |
98 | this.category = []; | 98 | this.category = []; |
1 | import overview from './overview-iframe'; | 1 | import overview from './overview-iframe'; |
2 | -import sale from './sale'; | 2 | +import sale from './sale-iframe'; |
3 | +import outinstore from './outinstore-iframe'; | ||
4 | +import stock from './stock-iframe'; | ||
3 | 5 | ||
4 | export default { | 6 | export default { |
5 | overview, | 7 | overview, |
6 | - sale | 8 | + sale, |
9 | + outinstore, | ||
10 | + stock | ||
7 | }; | 11 | }; |
app/pages/statistics/stock-iframe/index.js
0 → 100644
-
Please register or login to post a comment