Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
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
胡宝山
template_vue
Commits
3acc7b44
Commit
3acc7b44
authored
Mar 20, 2024
by
孙浩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增库存管理,标签管理
parent
1d176c9e
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
993 additions
and
0 deletions
+993
-0
incomeWmsBox.js
src/api/incomeWmsBox.js
+68
-0
incomeWmsLabel.js
src/api/incomeWmsLabel.js
+68
-0
incomeWmsBox.vue
src/views/template/incomeWmsBox.vue
+434
-0
incomeWmsLabel.vue
src/views/template/incomeWmsLabel.vue
+423
-0
No files found.
src/api/incomeWmsBox.js
0 → 100644
View file @
3acc7b44
import
request
from
'@/utils/request'
import
Qs
from
'qs'
/**
* 1. 列表查询
* 2. 查询详细信息
* 3. 新增
* 4. 修改
* 5. 逻辑删除
* 6. 导出
*
*/
// 1. 查询库存管理列表
export
function
listIncomeWmsBox
(
query
)
{
return
request
({
url
:
'/incomewmsbox/list'
,
method
:
'get'
,
params
:
query
})
}
// 2. 查询库存管理详细信息
export
function
getIncomeWmsBox
(
businessId
)
{
return
request
({
url
:
'/incomewmsbox/detail/'
+
businessId
,
method
:
'get'
})
}
// 3. 新增库存管理
export
function
addIncomeWmsBox
(
data
)
{
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/incomewmsbox/add'
,
method
:
'post'
,
data
:
data
})
}
// 4. 修改库存管理
export
function
updateIncomeWmsBox
(
data
)
{
const
businessId
=
data
.
businessId
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/incomewmsbox/update/'
+
businessId
,
method
:
'put'
,
data
})
}
// 5. 逻辑删除库存管理
export
function
delIncomeWmsBox
(
businessId
)
{
return
request
({
url
:
'/incomewmsbox/deleteLogical/'
+
businessId
,
method
:
'delete'
})
}
// 6. 导出库存管理
export
function
exportIncomeWmsBox
(
query
)
{
return
request
({
url
:
'/incomewmsbox/export'
,
method
:
'get'
,
params
:
query
,
responseType
:
'blob'
})
}
src/api/incomeWmsLabel.js
0 → 100644
View file @
3acc7b44
import
request
from
'@/utils/request'
import
Qs
from
'qs'
/**
* 1. 列表查询
* 2. 查询详细信息
* 3. 新增
* 4. 修改
* 5. 逻辑删除
* 6. 导出
*
*/
// 1. 查询标签管理列表
export
function
listIncomeWmsLabel
(
query
)
{
return
request
({
url
:
'/incomewmslabel/list'
,
method
:
'get'
,
params
:
query
})
}
// 2. 查询标签管理详细信息
export
function
getIncomeWmsLabel
(
businessId
)
{
return
request
({
url
:
'/incomewmslabel/detail/'
+
businessId
,
method
:
'get'
})
}
// 3. 新增标签管理
export
function
addIncomeWmsLabel
(
data
)
{
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/incomewmslabel/add'
,
method
:
'post'
,
data
:
data
})
}
// 4. 修改标签管理
export
function
updateIncomeWmsLabel
(
data
)
{
const
businessId
=
data
.
businessId
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/incomewmslabel/update/'
+
businessId
,
method
:
'put'
,
data
})
}
// 5. 逻辑删除标签管理
export
function
delIncomeWmsLabel
(
businessId
)
{
return
request
({
url
:
'/incomewmslabel/deleteLogical/'
+
businessId
,
method
:
'delete'
})
}
// 6. 导出标签管理
export
function
exportIncomeWmsLabel
(
query
)
{
return
request
({
url
:
'/incomewmslabel/export'
,
method
:
'get'
,
params
:
query
,
responseType
:
'blob'
})
}
src/views/template/incomeWmsBox.vue
0 → 100644
View file @
3acc7b44
This diff is collapsed.
Click to expand it.
src/views/template/incomeWmsLabel.vue
0 → 100644
View file @
3acc7b44
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