Step F8:药品管理(IMP)

This commit is contained in:
Cheng Zhou
2025-12-17 12:46:58 +08:00
parent 88d2502812
commit 25fa11b9cc
49 changed files with 989 additions and 4 deletions
+16
View File
@@ -0,0 +1,16 @@
import { apiGet } from "./axios";
import type { AxiosResponse } from "axios";
import type { ApiListResponse } from "../types/api";
export interface ImpInventoryRow {
site_id: string;
batch_id: string;
quantity_on_hand: number;
updated_at: string;
}
export const fetchImpInventory = (
studyId: string,
params?: Record<string, any>
): Promise<AxiosResponse<ApiListResponse<ImpInventoryRow>>> =>
apiGet(`/api/v1/studies/${studyId}/imp/inventory/`, { params });