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 listDeliveryWaybill(query) {
return request({
url: '/wms/deliveryWaybill/list',
method: 'get',
params: query
})
}
// 查询发货单主详细
export function getDeliveryWaybill(waybillId) {
return request({
url: '/wms/deliveryWaybill/' + waybillId,
method: 'get'
})
}
// 新增发货单主
export function addDeliveryWaybill(data) {
return request({
url: '/wms/deliveryWaybill',
method: 'post',
data: data
})
}
// 修改发货单主
export function updateDeliveryWaybill(data) {
return request({
url: '/wms/deliveryWaybill',
method: 'put',
data: data
})
}
// 删除发货单主
export function delDeliveryWaybill(waybillId) {
return request({
url: '/wms/deliveryWaybill/' + waybillId,
method: 'delete'
})
}