基本完成,修复细节
This commit is contained in:
@@ -263,4 +263,40 @@ export function orderGetDetail(id) {
|
||||
url: `/order/detail?id=${id}`,
|
||||
method: 'GET',
|
||||
});
|
||||
}
|
||||
|
||||
// ==================== 运送清单管理新增 API ====================
|
||||
|
||||
// 逻辑删除运送清单
|
||||
export function deleteDeliveryLogic(id) {
|
||||
return request({
|
||||
url: `/delivery/deleteLogic?id=${id}`,
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
||||
// 打包运送清单文件(图片、视频、信息)
|
||||
export function downloadDeliveryPackage(id) {
|
||||
return request({
|
||||
url: `/delivery/downloadPackage?id=${id}`,
|
||||
method: 'GET',
|
||||
responseType: 'blob', // 重要:用于下载文件
|
||||
});
|
||||
}
|
||||
|
||||
// 获取运送清单详情(用于编辑)
|
||||
export function getDeliveryDetail(id) {
|
||||
return request({
|
||||
url: `/delivery/detail?id=${id}`,
|
||||
method: 'GET',
|
||||
});
|
||||
}
|
||||
|
||||
// 更新运送清单信息
|
||||
export function updateDeliveryInfo(data) {
|
||||
return request({
|
||||
url: '/delivery/updateDeliveryInfo',
|
||||
method: 'POST',
|
||||
data,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user