Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
136e02e9
Commit
136e02e9
authored
Jul 08, 2022
by
wanglianghe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
库区新增查看仓位
parent
88826839
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
index.vue
src/views/ecw/warehouseArea/index.vue
+4
-5
index.vue
src/views/ecw/warehouseAreaPosition/index.vue
+4
-0
No files found.
src/views/ecw/warehouseArea/index.vue
View file @
136e02e9
...
...
@@ -7,9 +7,6 @@
<el-col
:span=
"1.5"
>
<el-button
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['ecw:warehouse-area:create']"
>
新增库域
</el-button>
<el-button
type=
"primary"
plain
size=
"mini"
@
click=
"positionManager"
>
仓位管理
</el-button>
</el-col>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
...
...
@@ -37,6 +34,8 @@
v-hasPermi=
"['ecw:warehouse-area:delete']"
>
删除
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleCreate(scope.row)"
v-if=
"scope.row.pid==0"
v-hasPermi=
"['ecw:warehouse-area:create']"
>
添加库区
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"positionManager(scope.row)"
v-if=
"scope.row.pid>0"
v-hasPermi=
"['ecw:warehouse-area:create']"
>
查看仓位
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -142,8 +141,8 @@ export default {
this
.
getList
();
},
methods
:
{
positionManager
()
{
this
.
$router
.
push
(
'
/warehouse/warehouse-area-position
'
);
positionManager
(
row
)
{
this
.
$router
.
push
(
'
/warehouse/warehouse-area-position
?areaId=
'
+
row
.
id
);
},
/**查询仓库 */
...
...
src/views/ecw/warehouseAreaPosition/index.vue
View file @
136e02e9
...
...
@@ -221,6 +221,10 @@ computed: {
},
created
()
{
let
areaId
=
this
.
$route
.
query
.
areaId
;
if
(
areaId
)
{
this
.
queryParams
.
areaId
=
areaId
;
}
this
.
requestWarehouseList
();
this
.
requestWarehouseAreaList
();
this
.
getList
();
...
...
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