增加耗材单位

This commit is contained in:
2024-07-19 17:56:50 +08:00
parent 58bf05d7c4
commit f13dbd580a
2 changed files with 404 additions and 1 deletions

View File

@@ -176,4 +176,45 @@ export function viewConInfoFlow(data) {
...data
}
});
}
}
/**
* 查询耗材单位列表
*/
export function queryTbConUnitInfo(data) {
return request({
url: "/api/tbConUnit/queryTbConUnitInfo",
method: "get",
params: {
shopId: localStorage.getItem("shopId"),
...data
}
});
}
/**
* 新增耗材单位
*/
export function addtbConUnit(data) {
return request({
url: '/api/tbConUnit',
method: "post",
data:{
shopId: localStorage.getItem("shopId"),
...data
}
});
}
/**
* 修改耗材单位
*/
export function edittbConUnit(data) {
return request({
url: '/api/tbConUnit',
method: "put",
data:{
shopId: localStorage.getItem("shopId"),
...data
}
});
}