feat(wms): 新增发货计划、发货单及相关功能

- 添加发货计划管理页面及API接口
- 添加发货单管理页面及API接口
- 添加发货单明细管理API接口
- 在钢卷操作流程中新增通过库区编辑钢卷操作类型
- 修改发货操作使用updateMaterialCoilSimple接口
This commit is contained in:
砂糖
2025-11-25 17:29:14 +08:00
parent 63813ba130
commit 8367eeeabb
7 changed files with 431 additions and 2 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询发货单明细列表
export function listDeliveryWaybillDetail(query) {
return request({
url: '/wms/deliveryWaybillDetail/list',
method: 'get',
params: query
})
}
// 查询发货单明细详细
export function getDeliveryWaybillDetail(detailId) {
return request({
url: '/wms/deliveryWaybillDetail/' + detailId,
method: 'get'
})
}
// 新增发货单明细
export function addDeliveryWaybillDetail(data) {
return request({
url: '/wms/deliveryWaybillDetail',
method: 'post',
data: data
})
}
// 修改发货单明细
export function updateDeliveryWaybillDetail(data) {
return request({
url: '/wms/deliveryWaybillDetail',
method: 'put',
data: data
})
}
// 删除发货单明细
export function delDeliveryWaybillDetail(detailId) {
return request({
url: '/wms/deliveryWaybillDetail/' + detailId,
method: 'delete'
})
}