parent
36b4cf01ec
commit
0b93cd3219
@ -0,0 +1,54 @@
|
|||||||
|
import request from '@/utils/request'
|
||||||
|
|
||||||
|
// 查询生产完成明细列表
|
||||||
|
export function listProduceStatisticsDetail(query) {
|
||||||
|
return request({
|
||||||
|
url: '/mes/produceStatisticsDetail/list',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询生产完成明细详细
|
||||||
|
export function getProduceStatisticsDetail(statisticsDetailId) {
|
||||||
|
return request({
|
||||||
|
url: '/mes/produceStatisticsDetail/' + statisticsDetailId,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 新增生产完成明细
|
||||||
|
export function addProduceStatisticsDetail(data) {
|
||||||
|
return request({
|
||||||
|
url: '/mes/produceStatisticsDetail',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改生产完成明细
|
||||||
|
export function updateProduceStatisticsDetail(data) {
|
||||||
|
return request({
|
||||||
|
url: '/mes/produceStatisticsDetail',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除生产完成明细
|
||||||
|
export function delProduceStatisticsDetail(statisticsDetailId) {
|
||||||
|
return request({
|
||||||
|
url: '/mes/produceStatisticsDetail/' + statisticsDetailId,
|
||||||
|
method: 'delete'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 获取用户列表
|
||||||
|
export function getUserList(query) {
|
||||||
|
return request({
|
||||||
|
url: '/system/user/getUserList',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
Loading…
Reference in New Issue