You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.0 KiB
JavaScript

import request from '@/utils/request'
// 查询盘点记录列表
export function listInventoryCheck(query) {
return request({
url: '/wms/inventoryCheck/list',
method: 'get',
params: query
})
}
// 查询盘点记录详细
export function getInventoryCheck(inventoryCheckId) {
return request({
url: '/wms/inventoryCheck/' + inventoryCheckId,
method: 'get'
})
}
// 新增盘点记录
export function addInventoryCheck(data) {
return request({
url: '/wms/inventoryCheck',
method: 'post',
data: data
})
}
// 修改盘点记录
export function updateInventoryCheck(data) {
return request({
url: '/wms/inventoryCheck',
method: 'put',
data: data
})
}
// 删除盘点记录
export function delInventoryCheck(inventoryCheckId) {
return request({
url: '/wms/inventoryCheck/' + inventoryCheckId,
method: 'delete'
})
}
// 查询仓库列表
export function getWarehouses(query) {
return request({
url: '/wms/inventoryCheck/getWarehouses',
method: 'get',
params: query
})
}