仓库管理:checklog_init

This commit is contained in:
qianhao.xu
2024-03-26 15:16:53 +08:00
parent 1d6bfb01cb
commit d239bc4f4b
2 changed files with 432 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
import request from '@/utils/request'
/**
* 盘点记录分页查询
* @param {查询条件} data
*/
export function listWmCheckLog(query) {
return request({
url: '/mes/wm/WmCheckLog/list',
method: 'get',
params: query,
})
}
/**
* 新增盘点记录
* @param data
*/
export function addWmCheckLog(data) {
return request({
url: '/mes/wm/WmCheckLog',
method: 'post',
data: data,
})
}
/**
* 修改盘点记录
* @param data
*/
export function updateWmCheckLog(data) {
return request({
url: '/mes/wm/WmCheckLog',
method: 'PUT',
data: data,
})
}
/**
* 获取盘点记录详情
* @param {Id}
*/
export function getWmCheckLog(id) {
return request({
url: '/mes/wm/WmCheckLog/' + id,
method: 'get'
})
}
/**
* 删除盘点记录
* @param {主键} pid
*/
export function delWmCheckLog(pid) {
return request({
url: '/mes/wm/WmCheckLog/' + pid,
method: 'delete'
})
}