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
0
Merge Requests
0
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
3d0f40a6
Commit
3d0f40a6
authored
Jul 10, 2025
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 仓库预警新增修改自定义sku和修改款号
parent
a3b4caf9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
src/api/warehouse.ts
+26
-0
No files found.
src/api/warehouse.ts
View file @
3d0f40a6
...
...
@@ -64,6 +64,14 @@ export interface factoryLocation {
locationId
?:
string
idList
?:
string
|
number
[]
}
export
interface
productNo
{
productNo
?:
string
idList
?:
string
|
number
[]
}
export
interface
customSku
{
customSku
?:
string
idList
?:
string
|
number
[]
}
export
interface
ExportFactoryWarehouseInfo
{
pageSize
?:
number
currentPage
?:
number
...
...
@@ -124,6 +132,8 @@ export interface WarehouseWarning {
number
:
string
locationName
:
string
warehouseId
:
string
|
number
customSku
?:
string
productNo
?:
string
}
export
interface
positionInfo
{
...
...
@@ -182,12 +192,28 @@ export function getFactoryLocation(data: factoryWarehouseInfo) {
data
,
)
}
// 修改库位
export
function
updateLocationApi
(
data
:
factoryLocation
)
{
return
axios
.
post
<
never
,
BasePaginationData
<
never
>>
(
'factoryWarehouseInventory/updateLocation'
,
data
,
)
}
// 修改款号
export
function
updateProductNoApi
(
data
:
productNo
)
{
return
axios
.
post
<
never
,
BasePaginationData
<
never
>>
(
'factoryWarehouseInventory/updateProductNo'
,
data
,
)
}
// 修改自定义sku
export
function
updateCustomSkuApi
(
data
:
customSku
)
{
return
axios
.
post
<
never
,
BasePaginationData
<
never
>>
(
'factoryWarehouseInventory/updateCustomSku'
,
data
,
)
}
export
function
exportWarehouseInfo
(
data
:
ExportFactoryWarehouseInfo
)
{
return
axios
.
post
<
never
,
BasePaginationData
<
positionInfo
>>
(
'factoryWarehouseInventory/inventory'
,
...
...
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