This commit is contained in:
zlwu committed 2026-06-15 11:43:16 +08:00
1 parent 427bcb1551
commit 31b04575e2
247 files changed
+39284 -20367

No files matched your search

+20 -1
View File
@@ -1402,10 +1402,29 @@ export function fetchDeleteStorageFacility(id: string) {
return request.del({ url: `/web/admin/storage-facilities/${id}` })
}
export function fetchStorageSlotList(params?: { facilityNodeId?: string }) {
export function fetchStorageSlotList(params?: { facilityNodeId?: string; availableOnly?: boolean }) {
return request.get({ url: '/web/admin/storage-facility-slots', params })
}
export function fetchStorageSlotSelectOptions(params?: {
keyword?: string
availableOnly?: boolean
includeSlotIds?: string
page?: number
pageSize?: number
}) {
return request.get<{
list: Array<{ id: string; name: string; fullSlotCode?: string; slotCode?: string }>
total: number
page: number
pageSize: number
totalPages: number
}>({
url: '/web/admin/storage-facility-slots/select-options',
params
})
}
export function fetchCreateStorageSlot(data: Record<string, any>) {
return request.post({ url: '/web/admin/storage-facility-slots', params: data })
}