- 新增仓库信息列表、添加、编辑、删除和详情功能 - 新增仓库存储列表、添加、编辑、删除和详情功能 - 实现仓库产品存储的查询、重置数量和强制校验功能 - 优化查询条件和表格展示
27 lines
884 B
TypeScript
27 lines
884 B
TypeScript
import request from '@/utils/request'
|
|
|
|
// 仓库信息列表
|
|
export function apiPsiWarehouseLists(params: any) {
|
|
return request.get({ url: '/warehouse/warehouse/lists', params }, { urlPrefix: 'psi' })
|
|
}
|
|
|
|
// 添加仓库信息
|
|
export function apiPsiWarehouseAdd(params: any) {
|
|
return request.post({ url: '/warehouse/warehouse/add', params }, { urlPrefix: 'psi' })
|
|
}
|
|
|
|
// 编辑仓库信息
|
|
export function apiPsiWarehouseEdit(params: any) {
|
|
return request.post({ url: '/warehouse/warehouse/edit', params }, { urlPrefix: 'psi' })
|
|
}
|
|
|
|
// 删除仓库信息
|
|
export function apiPsiWarehouseDelete(params: any) {
|
|
return request.post({ url: '/warehouse/warehouse/delete', params }, { urlPrefix: 'psi' })
|
|
}
|
|
|
|
// 仓库信息详情
|
|
export function apiPsiWarehouseDetail(params: any) {
|
|
return request.get({ url: '/warehouse/warehouse/detail', params }, { urlPrefix: 'psi' })
|
|
}
|