45 lines
927 B
JavaScript
45 lines
927 B
JavaScript
|
|
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'
|
||
|
|
})
|
||
|
|
}
|