食谱计划页面、逻辑优化

This commit is contained in:
xiezhijun
2021-01-18 19:12:55 +08:00
parent 072b0a1f36
commit 5588aa2e4c
22 changed files with 1122 additions and 80 deletions

View File

@ -51,3 +51,13 @@ export function exportCustomer(query) {
params: query
})
}
// 查询客户信息详细
export function getCustomerAndSignByPhone(query) {
return request({
url: '/custom/customer/getCustomerAndSignByPhone',
method: 'get',
params: query
})
}

View File

@ -58,3 +58,12 @@ export function getOptions() {
method: 'get'
})
}
// 查询销售订单详细
export function getInfoDetail(query) {
return request({
url: '/custom/order/getInfoDetail',
method: 'get',
params: query
})
}

View File

@ -0,0 +1,36 @@
import request from '@/utils/request'
// 查询食谱计划列表
export function listRecipesPlan(query) {
return request({
url: '/recipes/recipesPlan/list',
method: 'get',
params: query
})
}
// 查询食谱计划详细
export function getRecipesPlan(id) {
return request({
url: '/recipes/recipesPlan/' + id,
method: 'get'
})
}
// 修改食谱计划
export function updateRecipesPlan(data) {
return request({
url: '/recipes/recipesPlan',
method: 'put',
data: data
})
}
// 导出食谱计划
export function exportRecipesPlan(query) {
return request({
url: '/recipes/recipesPlan/export',
method: 'get',
params: query
})
}