完善小细节

This commit is contained in:
xuqiuyun
2025-10-24 17:32:42 +08:00
parent ecccd025d1
commit a40ce28318
73 changed files with 7238 additions and 114 deletions

View File

@@ -22,6 +22,50 @@ export function orderDel(id) {
method: 'GET',
});
}
// 清空设备delivery_id
export function clearDeviceDeliveryId(deliveryId) {
return request({
url: '/deliveryDevice/clearDeliveryId',
method: 'POST',
data: { deliveryId },
});
}
// 测试接口:检查订单设备数据
export function testOrderDevices(deliveryId) {
return request({
url: '/deliveryDevice/testOrderDevices',
method: 'POST',
data: { deliveryId },
});
}
// 更新设备delivery_id和weight
export function updateDeviceDeliveryId(data) {
return request({
url: '/deliveryDevice/updateDeviceDeliveryId',
method: 'POST',
data,
});
}
// 批量更新设备weight
export function updateDeviceWeights(data) {
return request({
url: '/deliveryDevice/updateDeviceWeights',
method: 'POST',
data,
});
}
// 获取订单绑定的智能主机
export function getOrderHostDevice(deliveryId) {
return request({
url: '/deliveryDevice/getOrderHostDevice',
method: 'POST',
data: { deliveryId },
});
}
// 装车订单 - 编辑
export function orderEdit(data) {
return request({