新增存酒管理

This commit is contained in:
gyq
2024-05-29 18:00:40 +08:00
parent 80b713c3d5
commit 075db76d00
6 changed files with 594 additions and 108 deletions

View File

@@ -25,3 +25,75 @@ export function appCenterGet() {
method: "get"
});
}
/**
* 新增/编辑酒品
* @returns
*/
export function tbShopStorageGood(data, method = "post") {
return request({
url: "/api/tbShopStorageGood",
method: method,
data: {
shopId: localStorage.getItem("shopId"),
...data
}
});
}
/**
* 查询酒品列表
* @returns
*/
export function tbShopStorageGoodlist(data) {
return request({
url: "/api/tbShopStorageGood/list",
method: "post",
data: {
shopId: localStorage.getItem("shopId"),
...data
}
});
}
/**
* 新增存酒
* @returns
*/
export function storageWin(data) {
return request({
url: "/api/storage",
method: "post",
data: {
shopId: localStorage.getItem("shopId"),
...data
}
});
}
/**
* 查询存酒列表
* @returns
*/
export function storageList(data) {
return request({
url: "/api/storage/list",
method: "post",
data: {
shopId: localStorage.getItem("shopId"),
...data
}
});
}
/**
* 存取酒
* @returns
*/
export function storagePut(data) {
return request({
url: "/api/storage",
method: "put",
data
});
}