Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
681244f3
Commit
681244f3
authored
Nov 13, 2025
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 备货计划页面1000860
parent
38d2938d
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
108 additions
and
6 deletions
+108
-6
src/api/warehouse.ts
+96
-0
src/types/api/warehouse.ts
+12
-6
src/views/warehouse/stockingPlan.vue
+0
-0
No files found.
src/api/warehouse.ts
View file @
681244f3
...
...
@@ -10,6 +10,8 @@ import {
AnyObject
,
InterProductList
,
ExportInWarehouseInfo
,
stockingPlanSearchForm
,
InterStackingPlanDetail
}
from
'@/types/api/warehouse'
export
interface
LogListData
{
createTime
:
string
...
...
@@ -596,3 +598,96 @@ export function deleteWarehouseOutRecordApi(ids: string) {
},
)
}
// 备货计划 树状图
export
function
getStackingPlanStatusTree
()
{
return
axios
.
get
<
never
,
BaseRespData
<
InterWarehouseTree
[]
>>
(
'factoryStockingPlanRecord/status_tree'
,
)
}
// 备货计划 列表
export
function
getStackingPlanListPage
(
data
:
stockingPlanSearchForm
,
currentPage
:
number
,
pageSize
:
number
,)
{
return
axios
.
post
<
never
,
BasePaginationData
<
InterWarehousePage
>>
(
'factoryStockingPlanRecord/list_page'
,
{
...
data
,
currentPage
,
pageSize
,
},
)
}
// 备货计划 新增
export
function
addStackingPlanApi
(
data
:
InterWarehouseDetail
)
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
'factoryStockingPlanRecord/add'
,
data
,
)
}
// 备货计划 编辑
export
function
updateStackingPlanApi
(
data
:
InterStackingPlanDetail
)
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
'factoryStockingPlanRecord/update'
,
data
,
)
}
// 备货计划 详情
export
function
getStackingPlanDetailApi
(
id
:
number
|
undefined
)
{
return
axios
.
get
<
never
,
BaseRespData
<
InterStackingPlanDetail
>>
(
'factoryStockingPlanRecord/get'
,
{
params
:
{
id
,
},
},
)
}
// 备货计划 日志
export
function
getStackingPlanLogApi
(
stockingPlanRecordId
?:
number
)
{
return
axios
.
get
<
never
,
BaseRespData
<
LogListData
[]
>>
(
`factoryStockingPlanRecord/log/
${
stockingPlanRecordId
}
`
,
)
}
// 备货计划 驳回
export
function
rejectStackingPlanApi
({
list
,
rejectReason
,
status
,
}:
{
list
:
WarehouseParams
[]
rejectReason
:
string
status
:
string
})
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
'factoryStockingPlanRecord/reject'
,
{
list
,
rejectReason
,
status
,
},
)
}
// 备货计划 删除
export
function
deleteStackingPlanApi
(
ids
:
string
)
{
return
axios
.
get
<
never
,
BaseRespData
<
never
>>
(
'factoryStockingPlanRecord/delete'
,
{
params
:
{
ids
},
},
)
}
// 备货计划 审核
export
function
auditStackingPlanApi
(
data
:
WarehouseParams
)
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
'factoryStockingPlanRecord/audit'
,
{
data
},
)
}
\ No newline at end of file
src/types/api/warehouse.ts
View file @
681244f3
...
...
@@ -118,11 +118,17 @@ export interface ILocation {
locationCode
?:
string
|
null
}
export
interface
stockingPlanSearchForm
{
warehouseId
?:
number
|
string
warehouseSku
?:
string
outNo
?:
string
// 备货计划 查询
export
interface
stockingPlanSearchForm
extends
InterWarehouseBase
{
timeType
?:
string
startTime
?:
string
endTime
?:
string
startDate
?:
string
endDate
?:
string
dateStr
?:
string
warehouseSku
?:
string
}
// 备货计划 新增编辑
export
interface
InterStackingPlanDetail
extends
InterWarehouseDetail
{
boxSum
?:
number
checkBoxSum
?:
number
}
src/views/warehouse/stockingPlan.vue
View file @
681244f3
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