生产工序

This commit is contained in:
砂糖
2025-08-14 16:30:13 +08:00
parent 970c550590
commit 0f279eaeec
19 changed files with 1268 additions and 63 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询批次(合并相同工艺的任务)列表
export function listBatch(query) {
return request({
url: '/klp/batch/list',
method: 'get',
params: query
})
}
// 查询批次(合并相同工艺的任务)详细
export function getBatch(batchId) {
return request({
url: '/klp/batch/' + batchId,
method: 'get'
})
}
// 新增批次(合并相同工艺的任务)
export function addBatch(data) {
return request({
url: '/klp/batch',
method: 'post',
data: data
})
}
// 修改批次(合并相同工艺的任务)
export function updateBatch(data) {
return request({
url: '/klp/batch',
method: 'put',
data: data
})
}
// 删除批次(合并相同工艺的任务)
export function delBatch(batchId) {
return request({
url: '/klp/batch/' + batchId,
method: 'delete'
})
}