干物质矫正界面代码修正,新增胎次矫正界面,新增称重矫正界面

This commit is contained in:
ll
2025-07-14 17:29:12 +08:00
parent b0ca2d334b
commit e0fc742ce6
6 changed files with 565 additions and 71 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询称重校正列表
export function listWeightCorrection(query) {
return request({
url: '/weightCorrection/weightCorrection/list',
method: 'get',
params: query
})
}
// 查询称重校正详细
export function getWeightCorrection(id) {
return request({
url: '/weightCorrection/weightCorrection/' + id,
method: 'get'
})
}
// 新增称重校正
export function addWeightCorrection(data) {
return request({
url: '/weightCorrection/weightCorrection',
method: 'post',
data: data
})
}
// 修改称重校正
export function updateWeightCorrection(data) {
return request({
url: '/weightCorrection/weightCorrection',
method: 'put',
data: data
})
}
// 删除称重校正
export function delWeightCorrection(id) {
return request({
url: '/weightCorrection/weightCorrection/' + id,
method: 'delete'
})
}