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
bb9b5e9d
Commit
bb9b5e9d
authored
Jul 07, 2022
by
wanglianghe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
库域仓位管理
parent
d759053c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
117 additions
and
0 deletions
+117
-0
warehouseArea.js
src/api/ecw/warehouseArea.js
+63
-0
warehouseAreaPosition.js
src/api/ecw/warehouseAreaPosition.js
+54
-0
No files found.
src/api/ecw/warehouseArea.js
0 → 100644
View file @
bb9b5e9d
import
request
from
'
@/utils/request
'
// 创建库区库域
export
function
createWarehouseArea
(
data
)
{
return
request
({
url
:
'
/ecw/warehouse-area/create
'
,
method
:
'
post
'
,
data
:
data
})
}
// 更新库区库域
export
function
updateWarehouseArea
(
data
)
{
return
request
({
url
:
'
/ecw/warehouse-area/update
'
,
method
:
'
put
'
,
data
:
data
})
}
// 删除库区库域
export
function
deleteWarehouseArea
(
id
)
{
return
request
({
url
:
'
/ecw/warehouse-area/delete?id=
'
+
id
,
method
:
'
delete
'
})
}
// 获得库区库域
export
function
getWarehouseArea
(
id
)
{
return
request
({
url
:
'
/ecw/warehouse-area/get?id=
'
+
id
,
method
:
'
get
'
})
}
// 获得库区库域分页
export
function
getWarehouseAreaPage
(
query
)
{
return
request
({
url
:
'
/ecw/warehouse-area/page
'
,
method
:
'
get
'
,
params
:
query
})
}
// 导出库区库域 Excel
export
function
exportWarehouseAreaExcel
(
query
)
{
return
request
({
url
:
'
/ecw/warehouse-area/export-excel
'
,
method
:
'
get
'
,
params
:
query
,
responseType
:
'
blob
'
})
}
export
function
getWarehouseAreaList
(
query
)
{
return
request
({
url
:
'
/ecw/warehouse-area/list
'
,
method
:
'
get
'
,
params
:
query
})
}
src/api/ecw/warehouseAreaPosition.js
0 → 100644
View file @
bb9b5e9d
import
request
from
'
@/utils/request
'
// 创建仓位
export
function
createWarehouseAreaPosition
(
data
)
{
return
request
({
url
:
'
/ecw/warehouse-area-position/create
'
,
method
:
'
post
'
,
data
:
data
})
}
// 更新仓位
export
function
updateWarehouseAreaPosition
(
data
)
{
return
request
({
url
:
'
/ecw/warehouse-area-position/update
'
,
method
:
'
put
'
,
data
:
data
})
}
// 删除仓位
export
function
deleteWarehouseAreaPosition
(
id
)
{
return
request
({
url
:
'
/ecw/warehouse-area-position/delete?id=
'
+
id
,
method
:
'
delete
'
})
}
// 获得仓位
export
function
getWarehouseAreaPosition
(
id
)
{
return
request
({
url
:
'
/ecw/warehouse-area-position/get?id=
'
+
id
,
method
:
'
get
'
})
}
// 获得仓位分页
export
function
getWarehouseAreaPositionPage
(
query
)
{
return
request
({
url
:
'
/ecw/warehouse-area-position/page
'
,
method
:
'
get
'
,
params
:
query
})
}
// 导出仓位 Excel
export
function
exportWarehouseAreaPositionExcel
(
query
)
{
return
request
({
url
:
'
/ecw/warehouse-area-position/export-excel
'
,
method
:
'
get
'
,
params
:
query
,
responseType
:
'
blob
'
})
}
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