feat: 新增盘库和维修计划初版
This commit is contained in:
44
klp-ui/src/api/flow/countDiscrepancy.js
Normal file
44
klp-ui/src/api/flow/countDiscrepancy.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询盘库差异记录列表
|
||||
export function listCountDiscrepancy(query) {
|
||||
return request({
|
||||
url: '/flow/countDiscrepancy/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询盘库差异记录详细
|
||||
export function getCountDiscrepancy(discrepancyId) {
|
||||
return request({
|
||||
url: '/flow/countDiscrepancy/' + discrepancyId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增盘库差异记录
|
||||
export function addCountDiscrepancy(data) {
|
||||
return request({
|
||||
url: '/flow/countDiscrepancy',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改盘库差异记录
|
||||
export function updateCountDiscrepancy(data) {
|
||||
return request({
|
||||
url: '/flow/countDiscrepancy',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除盘库差异记录
|
||||
export function delCountDiscrepancy(discrepancyId) {
|
||||
return request({
|
||||
url: '/flow/countDiscrepancy/' + discrepancyId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user