仓库-毛坯仓库,毛坯仓库日志添加

This commit is contained in:
2024-05-13 17:33:03 +08:00
parent 43935ea410
commit 3595ca43dd
5 changed files with 456 additions and 4 deletions

View File

@@ -0,0 +1,57 @@
import request from '@/utils/request'
/**
* 毛坯库存表分页查询
* @param {查询条件} data
*/
export function listWmBlankInventory(query) {
return request({
url: '/mes/wm/WmBlankInventory/list',
method: 'get',
params: query,
})
}
/**
* 新增毛坯库存表
* @param data
*/
export function addWmBlankInventory(data) {
return request({
url: '/mes/wm/WmBlankInventory',
method: 'post',
data: data,
})
}
/**
* 修改毛坯库存表
* @param data
*/
export function updateWmBlankInventory(data) {
return request({
url: '/mes/wm/WmBlankInventory',
method: 'PUT',
data: data,
})
}
/**
* 获取毛坯库存表详情
* @param {Id}
*/
export function getWmBlankInventory(id) {
return request({
url: '/mes/wm/WmBlankInventory/' + id,
method: 'get'
})
}
/**
* 删除毛坯库存表
* @param {主键} pid
*/
export function delWmBlankInventory(pid) {
return request({
url: '/mes/wm/WmBlankInventory/' + pid,
method: 'delete'
})
}