feat: 商品列表-报损-售罄-库存预警

This commit is contained in:
duan
2025-03-17 16:06:51 +08:00
parent f403426164
commit e97424262b
5 changed files with 182 additions and 257 deletions

View File

@@ -71,6 +71,29 @@ const AuthAPI = {
params
});
},
// 报损
reportDamage(data: any) {
return request<any, Responseres>({
url: `${baseURL}/reportDamage`,
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,
});
}
};