This commit is contained in:
duan
2025-03-17 18:07:27 +08:00
5 changed files with 334 additions and 262 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>({
@@ -71,6 +89,37 @@ const AuthAPI = {
params
});
},
// 报损
reportDamage(data: any) {
return request<any, Responseres>({
url: `${baseURL}/reportDamage`,
method: "post",
data,
});
},
// 商品-绑定耗材
bind(data: any) {
return request<any, Responseres>({
url: `${baseURL}/bind`,
method: "post",
data,
});
},
// 库存预警
stockWarning(data: any) {
return request<any, Responseres>({
url: `${baseURL}/stockWarning?warnLine=${data}`,
method: "post",
});
},
// 售罄
markIsSoldOut(data: any) {
return request<any, Responseres>({
url: `${baseURL}/markIsSoldOut`,
method: "post",
data,
});
}
};