提交
This commit is contained in:
1 parent
5254eea4a2
commit
320f7e75f0
61 files changed
+8022
-4595
No files matched your search
@@ -1388,6 +1388,47 @@ export function fetchDeleteStorageSlot(id: string) {
|
||||
return request.del({ url: `/web/admin/storage-facility-slots/${id}` })
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// 库位占用记录
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
export function fetchSlotOccupancies(params: {
|
||||
slotId: string
|
||||
occupancyStatus?: string
|
||||
itemType?: string
|
||||
page?: number
|
||||
pageSize?: number
|
||||
}) {
|
||||
return request.get({ url: '/web/admin/storage-slot-occupancies', params })
|
||||
}
|
||||
|
||||
export function fetchSlotOccupancyHistory(params?: {
|
||||
slotId?: string
|
||||
facilityNodeId?: string
|
||||
itemType?: string
|
||||
startDate?: string
|
||||
endDate?: string
|
||||
page?: number
|
||||
pageSize?: number
|
||||
}) {
|
||||
return request.get({ url: '/web/admin/storage-slot-occupancies/history', params })
|
||||
}
|
||||
|
||||
export function fetchCreateOccupancy(data: {
|
||||
slotId: string
|
||||
itemType?: string
|
||||
itemCode: string
|
||||
itemName: string
|
||||
itemSource?: string
|
||||
remark?: string
|
||||
}) {
|
||||
return request.post({ url: '/web/admin/storage-slot-occupancies', params: data })
|
||||
}
|
||||
|
||||
export function fetchRemoveOccupancy(id: string) {
|
||||
return request.put({ url: `/web/admin/storage-slot-occupancies/${id}/remove` })
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// 展馆预约
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user