仓库模块_当前货物表:init

This commit is contained in:
qianhao.xu
2024-03-22 09:29:20 +08:00
parent 27a92898b6
commit 2e1cc374ca
2 changed files with 441 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
import request from '@/utils/request'
/**
* 成品库当前货物表分页查询
* @param {查询条件} data
*/
export function listWmGoodsNowProduction(query) {
return request({
url: '/mes/wm/WmGoodsNowProduction/list',
method: 'get',
params: query,
})
}
/**
* 新增成品库当前货物表
* @param data
*/
export function addWmGoodsNowProduction(data) {
return request({
url: '/mes/wm/WmGoodsNowProduction',
method: 'post',
data: data,
})
}
/**
* 修改成品库当前货物表
* @param data
*/
export function updateWmGoodsNowProduction(data) {
return request({
url: '/mes/wm/WmGoodsNowProduction',
method: 'PUT',
data: data,
})
}
/**
* 获取成品库当前货物表详情
* @param {Id}
*/
export function getWmGoodsNowProduction(id) {
return request({
url: 'business/WmGoodsNowProduction/' + id,
method: 'get'
})
}
/**
* 删除成品库当前货物表
* @param {主键} pid
*/
export function delWmGoodsNowProduction(pid) {
return request({
url: 'business/WmGoodsNowProduction/' + pid,
method: 'delete'
})
}