feat: 仓库管理

This commit is contained in:
砂糖
2025-09-17 15:59:03 +08:00
parent 0346e09dd3
commit 2bd09e2cf4
43 changed files with 5473 additions and 33 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询订单明细列表
export function listOrderDetail(query) {
return request({
url: '/oa/orderDetail/list',
method: 'get',
params: query
})
}
// 查询订单明细详细
export function getOrderDetail(detailId) {
return request({
url: '/oa/orderDetail/' + detailId,
method: 'get'
})
}
// 新增订单明细
export function addOrderDetail(data) {
return request({
url: '/oa/orderDetail',
method: 'post',
data: data
})
}
// 修改订单明细
export function updateOrderDetail(data) {
return request({
url: '/oa/orderDetail',
method: 'put',
data: data
})
}
// 删除订单明细
export function delOrderDetail(detailId) {
return request({
url: '/oa/orderDetail/' + detailId,
method: 'delete'
})
}