新增耗材入库-ai批量入库

This commit is contained in:
gyq
2025-11-28 18:02:17 +08:00
parent 89f9283163
commit abcec9f62b
9 changed files with 494 additions and 58 deletions

View File

@@ -149,6 +149,38 @@ const AuthAPI = {
method: "post",
data,
});
},
// 入库单识别
stockOcr(data: any) {
return request<any, Responseres>({
url: `${baseURL}/stock/ocr`,
method: "post",
data,
});
},
// ocr识别结果
ocrResult(params: any) {
return request<any, Responseres>({
url: `${baseURL}/stock/ocrResult`,
method: "get",
params,
});
},
// 耗材入库
stockIn(data: any) {
return request<any, Responseres>({
url: `${baseURL}/stock/in`,
method: "POST",
data,
});
},
// 供应商-列表
vendorList(params: any) {
return request<any, Responseres>({
url: `${baseURL}/vendor/list`,
method: "get",
params,
});
}
};