shgx_tz_WMS_PDA/api/warehouse/wmGoodsNowProduction.js
2024-03-22 17:29:04 +08:00

61 lines
1.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
* 主键id
* goodsNumAction 盘点零件号
* locationCode 库存编号
*/
export function updateWmGoodsNowProduction(data) {
return request({
url: '/mes/wm/WmGoodsNowProduction',
method: 'PUT',
data: data,
})
}
/**
* 获取成品库当前货物表详情
* @param {Id}
*/
export function getWmGoodsNowProduction(id) {
return request({
url: '/mes/wm/WmGoodsNowProduction/' + id,
method: 'get'
})
}
/**
* 删除成品库当前货物表
* @param {主键} pid
*/
export function delWmGoodsNowProduction(pid) {
return request({
url: '/mes/wm/WmGoodsNowProduction/' + pid,
method: 'delete'
})
}