You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
865 B
JavaScript
45 lines
865 B
JavaScript
1 year ago
|
import request from '@/utils/request'
|
||
|
|
||
|
// 查询成品销售出库列表
|
||
|
export function listSellout(query) {
|
||
|
return request({
|
||
|
url: '/wms/sellout/list',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
});
|
||
|
}
|
||
|
|
||
|
// 查询成品销售出库详细
|
||
|
export function getSellout(id) {
|
||
|
return request({
|
||
|
url: '/wms/sellout/' + id,
|
||
|
method: 'get'
|
||
|
});
|
||
|
}
|
||
|
|
||
|
// 新增成品销售出库
|
||
|
export function addSellout(data) {
|
||
|
return request({
|
||
|
url: '/wms/sellout',
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
});
|
||
|
}
|
||
|
|
||
|
// 修改成品销售出库
|
||
|
export function updateSellout(data) {
|
||
|
return request({
|
||
|
url: '/wms/sellout',
|
||
|
method: 'put',
|
||
|
data: data
|
||
|
});
|
||
|
}
|
||
|
|
||
|
// 删除成品销售出库
|
||
|
export function delSellout(id) {
|
||
|
return request({
|
||
|
url: '/wms/sellout/' + id,
|
||
|
method: 'delete'
|
||
|
});
|
||
|
}
|