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
b30467db
Commit
b30467db
authored
May 29, 2022
by
wanglianghe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
货架管理
parent
0397b3f9
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
430 additions
and
1 deletion
+430
-1
shelf.js
src/api/ecw/shelf.js
+54
-0
warehouse.js
src/api/ecw/warehouse.js
+9
-0
index.js
src/router/index.js
+1
-1
index.vue
src/views/ecw/shelf/index.vue
+366
-0
No files found.
src/api/ecw/shelf.js
0 → 100644
View file @
b30467db
import
request
from
'
@/utils/request
'
// 创建货架
export
function
createShelf
(
data
)
{
return
request
({
url
:
'
/ecw/shelf/create
'
,
method
:
'
post
'
,
data
:
data
})
}
// 更新货架
export
function
updateShelf
(
data
)
{
return
request
({
url
:
'
/ecw/shelf/update
'
,
method
:
'
put
'
,
data
:
data
})
}
// 删除货架
export
function
deleteShelf
(
id
)
{
return
request
({
url
:
'
/ecw/shelf/delete?id=
'
+
id
,
method
:
'
delete
'
})
}
// 获得货架
export
function
getShelf
(
id
)
{
return
request
({
url
:
'
/ecw/shelf/get?id=
'
+
id
,
method
:
'
get
'
})
}
// 获得货架分页
export
function
getShelfPage
(
query
)
{
return
request
({
url
:
'
/ecw/shelf/page
'
,
method
:
'
get
'
,
params
:
query
})
}
// 导出货架 Excel
export
function
exportShelfExcel
(
query
)
{
return
request
({
url
:
'
/ecw/shelf/export-excel
'
,
method
:
'
get
'
,
params
:
query
,
responseType
:
'
blob
'
})
}
src/api/ecw/warehouse.js
View file @
b30467db
...
...
@@ -43,6 +43,15 @@ export function getWarehousePage(query) {
})
}
// 获得仓库列表
export
function
getWarehouseList
(
query
)
{
return
request
({
url
:
'
/ecw/warehouse/list
'
,
method
:
'
get
'
,
params
:
query
})
}
// 导出仓库 Excel
export
function
exportWarehouseExcel
(
query
)
{
return
request
({
...
...
src/router/index.js
View file @
b30467db
...
...
@@ -171,7 +171,7 @@ export const constantRoutes = [
path
:
'
warehouse
'
,
component
:
(
resolve
)
=>
require
([
'
@/views/ecw/warehouse/index
'
],
resolve
),
name
:
'
warehouse
'
,
meta
:
{
title
:
'
网点仓库
'
,
activeMenu
:
'
/
config
/node
'
}
meta
:
{
title
:
'
网点仓库
'
,
activeMenu
:
'
/
warehouse
/node
'
}
}
]
},
...
...
src/views/ecw/shelf/index.vue
0 → 100644
View file @
b30467db
This diff is collapsed.
Click to expand it.
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