feat(发货): 新增发货功能模块及相关页面
- 添加发货功能页面及API接口 - 更新tabbar图标和路由配置 - 修改物料信息展示逻辑 - 优化页面跳转和权限控制 - 更新应用版本至1.3.29
This commit is contained in:
52
apps/hand-factory/api/wms/deliveryWaybill.js
Normal file
52
apps/hand-factory/api/wms/deliveryWaybill.js
Normal file
@@ -0,0 +1,52 @@
|
||||
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'
|
||||
})
|
||||
}
|
||||
|
||||
export function updateDeliveryWaybillStatus(data) {
|
||||
return request({
|
||||
url: '/wms/deliveryWaybill/status',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user