feat(wms): 增加发货单状态更新功能并优化请求超时时间
- 在deliveryWaybill.js中新增updateDeliveryWaybillStatus API - 修改waybill/index.vue使用新API处理状态更新 - 将axios请求超时时间从10秒增加到20秒 - 新增delivery/bills/index.vue发货单管理页面
This commit is contained in:
@@ -42,3 +42,11 @@ export function delDeliveryWaybill(waybillId) {
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
export function updateDeliveryWaybillStatus(data) {
|
||||
return request({
|
||||
url: '/wms/deliveryWaybill/status',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user