This commit is contained in:
zlwu committed 2026-06-15 17:17:26 +08:00
1 parent 5f0d7c70f9
commit 22685bfd23
132 files changed
+24992 -11338

No files matched your search

+17
View File
@@ -101,3 +101,20 @@ export function fetchSampleReceptionSubmit(data: {
data
})
}
/**
* 根据样本编码查询样本接收记录
* @returns 包含 receptionId(有记录时)和 sampleInfo(样本信息)的对象;无记录时 receptionId 为空
*/
export function fetchSampleReceptionBySampleCode(params: {
sampleCode: string
sourceType?: string
}) {
return request.get<{
receptionId?: string
sampleInfo?: Record<string, unknown> | null
}>({
url: '/web/admin/sample-receptions/by-sample-code',
params
})
}