提交
This commit is contained in:
1 parent
5f0d7c70f9
commit
22685bfd23
132 files changed
+24992
-11338
No files matched your search
@@ -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
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user