商品列表新增绑定耗材

This commit is contained in:
gyq
2024-09-24 13:47:09 +08:00
parent 673afeb5f3
commit 5c47408c96
7 changed files with 621 additions and 577 deletions

View File

@@ -612,11 +612,11 @@ export function callTabledelete(data) {
});
}
export function callTablepost(data) {
return request({
url: '/callTable',
method: 'post',
data
})
return request({
url: "/callTable",
method: "post",
data
});
}
// 桌型列表
export function callTable(params) {
@@ -636,44 +636,44 @@ export function callTabledataput(data) {
}
// 叫号列表
export function callTablequeue(params) {
return request({
url: '/callTable/queue',
method: 'get',
params
})
return request({
url: "/callTable/queue",
method: "get",
params
});
}
// 取消叫号
export function callTableput(data) {
return request({
url: `/callTable/updateState`,
method: "put",
data
});
return request({
url: `/callTable/updateState`,
method: "put",
data
});
}
export function callTabletakeNumber(data) {
return request({
url: '/callTable/takeNumber',
method: 'post',
data: {
...data
}
})
return request({
url: "/callTable/takeNumber",
method: "post",
data: {
...data
}
});
}
// 叫号配置获取
export function callTableconfig(params) {
return request({
url: '/callTable/config',
method: 'get',
params
})
return request({
url: "/callTable/config",
method: "get",
params
});
}
// 叫号配置修改
export function callTableconfigput(data) {
return request({
url: `/callTable/config`,
method: "put",
data
});
return request({
url: `/callTable/config`,
method: "put",
data
});
}
/**
* 员工删除
@@ -727,4 +727,13 @@ export function tbProductListV2(params) {
method: "get",
params
});
}
}
// 修改商品相关(快捷接口)
export function updateProductData(data) {
return request({
url: `/api/stock/updateProductData`,
method: "post",
data
});
}