菜品管理页面

This commit is contained in:
huangdeliang
2020-12-31 16:11:00 +08:00
parent eeaa3d36e9
commit 46f2b7c46f
14 changed files with 480 additions and 145 deletions

View File

@ -14,6 +14,19 @@ export function listIngredient(query) {
})
}
export function listAllIngredient(query) {
const {recIds, notRecIds} = query;
return request({
url: '/custom/ingredient/listAll',
method: 'post',
data: {
...query,
recIds: recIds && recIds.length ? recIds : null,
notRecIds: notRecIds && notRecIds.length ? notRecIds : null,
}
})
}
// 查询食材详细
export function getIngredient(id) {
return request({