feat: 商品列表,绑定耗材

This commit is contained in:
duan
2025-03-17 18:06:57 +08:00
parent e97424262b
commit 5cb3378217
2 changed files with 167 additions and 20 deletions

View File

@@ -41,6 +41,24 @@ const AuthAPI = {
method: "delete",
});
},
// 退款退回
refundToStock(data: any) {
return request<any, Responseres>({
url: `${baseURL}/refundToStock`,
method: "post",
data,
});
},
// 耗材列表
productcons(params: any) {
return request<any, Responseres>({
url: `/product/admin/product/cons/page`,
method: "get",
params
});
},
// 上下架
onOff(data: any) {
return request<any, Responseres>({
@@ -79,6 +97,14 @@ const AuthAPI = {
data,
});
},
// 商品-绑定耗材
bind(data: any) {
return request<any, Responseres>({
url: `${baseURL}/bind`,
method: "post",
data,
});
},
// 库存预警
stockWarning(data: any) {
return request<any, Responseres>({