运单调整

This commit is contained in:
2026-09-11 14:39:30 +08:00
parent 1a9cd55d66
commit 764c0f4581
7 changed files with 610 additions and 59 deletions
+3 -4
View File
@@ -92,13 +92,12 @@ export const createCrudApi = baseUrl => ({
data,
});
},
reassign(id) {
reassign(data) {
const payload = data && typeof data === 'object' ? data : { id: data };
return request({
url: `${baseUrl}/reassign`,
method: 'post',
params: {
id,
},
data: payload,
});
},
batchComplete(ids) {
+7
View File
@@ -26,6 +26,13 @@ export const maintainMileage = data =>
method: 'post',
data,
});
/** 运单打卡记录 + 司机上传凭证图 */
export const getPunchRecords = waybillId =>
request({
url: `${baseUrl}/punch-records`,
method: 'get',
params: { waybillId },
});
export const roadLoading = ids =>
request({
url: `${baseUrl}/road-loading`,