From f57ba895491e788fcb544c347f1fcb8c413b4b14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <963808678@qq.com> Date: Mon, 14 Aug 2023 17:40:10 +0800 Subject: [PATCH] 8/14 --- .../modular/main/tmsaip/tmsTruckerOrder.js | 27 ++++++++++--------- .../main/tmsaip/tmsTruckerOrder/details.vue | 9 +++---- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/src/api/modular/main/tmsaip/tmsTruckerOrder.js b/src/api/modular/main/tmsaip/tmsTruckerOrder.js index 47d64f4..b95de97 100644 --- a/src/api/modular/main/tmsaip/tmsTruckerOrder.js +++ b/src/api/modular/main/tmsaip/tmsTruckerOrder.js @@ -4,20 +4,22 @@ import { axios } from '@/utils/request' */ export function TmsForwarderOrderCreate(parameter) { return axios({ - url: '/tmsaip/TmsForwarderOrder/create', + // url: '/tmsaip/TmsForwarderOrder/create', + url: '/tmsaip/tmsTruckerOrder/create', method: 'post', data: parameter }) } -/** - * 根据id删除货代派车单信息 - */ -export function TmsForwarderOrderDelete(parameter) { - return axios({ - url: `/tmsaip/TmsForwarderOrder/delete/${parameter.id}`, - method: 'post' - }) -} +// /** +// * 根据id删除货代派车单信息 +// */ +// export function TmsForwarderOrderDelete(parameter) { +// return axios({ +// // url: `/tmsaip/TmsForwarderOrder/delete/${parameter.id}`, +// url: `/tmsaip/tmsTruckerOrder/delete/${parameter.id}`, +// method: 'post' +// }) +// } /** * 根据id查询车队派车单信息 */ @@ -40,9 +42,10 @@ export function TmsTruckerOrderList(parameter) { /** * 根据id更新货代派车单信息 */ -export function TmsForwarderOrderUpdate(parameter) { +export function tmsTruckerOrderUpdate(parameter) { return axios({ - url: '/tmsaip/TmsForwarderOrder/update', + // url: '/tmsaip/TmsForwarderOrder/update', + url: `/tmsaip/tmsTruckerOrder/update/${parameter.id}`, method: 'post', data: parameter.values }) diff --git a/src/views/main/tmsaip/tmsTruckerOrder/details.vue b/src/views/main/tmsaip/tmsTruckerOrder/details.vue index a6b1cf5..eeb6aca 100644 --- a/src/views/main/tmsaip/tmsTruckerOrder/details.vue +++ b/src/views/main/tmsaip/tmsTruckerOrder/details.vue @@ -5,9 +5,9 @@