完善小细节
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user