抛光仓库完成入库,查询功能

This commit is contained in:
2024-07-25 17:35:41 +08:00
parent b97de0c483
commit 0c7fe4e059
6 changed files with 669 additions and 0 deletions

View File

@@ -0,0 +1,79 @@
import request from '@/utils/request'
/**
* 工艺路线-抛光 库存表分页查询
* @param {查询条件} data
*/
export function listWmPolishInventory(query) {
return request({
url: '/mes/wm/WmPolishInventory/list',
method: 'get',
params: query,
})
}
/**
* 新增工艺路线-抛光 库存表
* @param data
*/
export function addWmPolishInventory(data) {
return request({
url: '/mes/wm/WmPolishInventory',
method: 'post',
data: data,
})
}
/**
* 修改工艺路线-抛光 库存表
* @param data
*/
export function updateWmPolishInventory(data) {
return request({
url: '/mes/wm/WmPolishInventory',
method: 'PUT',
data: data,
})
}
/**
* 获取工艺路线-抛光 库存表详情
* @param {Id}
*/
export function getWmPolishInventory(id) {
return request({
url: '/mes/wm/WmPolishInventory/' + id,
method: 'get'
})
}
/**
* 删除工艺路线-抛光 库存表
* @param {主键} pid
*/
export function delWmPolishInventory(pid) {
return request({
url: '/mes/wm/WmPolishInventory/' + pid,
method: 'delete'
})
}
/**
* 物料下拉菜单查看
* @param data
*/
export function getMaterialSelectOption(params) {
return request({
url: '/mes/wm/WmPolishInventory/getMaterialSelectOption',
method: 'get',
params: params,
})
}
/**
* 抛光库手动入库
* @param data
*/
export function doWmPolishWarehousing(data) {
return request({
url: '/mes/wm/WmPolishInventory/doWmPolishWarehousing',
method: 'post',
data: data,
})
}