parent
69f0859f67
commit
1efab04d66
@ -0,0 +1,47 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
//获取仓库采购单列表
|
||||
export function getWarePurchaseList(parms) {
|
||||
return request({
|
||||
url: '/mall-ware/ware/purchase/list',
|
||||
method: 'get',
|
||||
params: parms
|
||||
})
|
||||
}
|
||||
|
||||
//删除仓库采购单
|
||||
export function delWarePurchase(ids) {
|
||||
return request({
|
||||
url: '/mall-ware/ware/purchase/delete',
|
||||
method: 'delete',
|
||||
data: ids
|
||||
})
|
||||
}
|
||||
|
||||
//获取仓库采购单详情
|
||||
export function getWarePurchase(id) {
|
||||
return request({
|
||||
url: `/mall-ware/ware/purchase/info/${id}`,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
//保存仓库采购单
|
||||
export function saveWarePurchase(data) {
|
||||
return request({
|
||||
url: `/mall-ware/ware/purchase/save`,
|
||||
method: 'post',
|
||||
data: data,
|
||||
})
|
||||
}
|
||||
|
||||
//修改仓库采购单
|
||||
export function editWarePurchase(data) {
|
||||
return request({
|
||||
url: `/mall-ware/ware/purchase/update`,
|
||||
method: 'put',
|
||||
data: data,
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in new issue