From 69f7db5da3854c13eacee8ca976d3258fe55eb3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <963808678@qq.com> Date: Sun, 23 Apr 2023 12:13:17 +0800 Subject: [PATCH] 4/23 --- src/api/modular/main/SendCar.js | 34 ++++++--- src/views/main/SendCar/addForm.vue | 76 +++++++++++-------- .../main/Taskmanage/TaskmanageList/index.vue | 1 + 3 files changed, 69 insertions(+), 42 deletions(-) diff --git a/src/api/modular/main/SendCar.js b/src/api/modular/main/SendCar.js index 61805b3..29864d5 100644 --- a/src/api/modular/main/SendCar.js +++ b/src/api/modular/main/SendCar.js @@ -126,6 +126,30 @@ export function BookingTruckPrint(parameter) { params: parameter }) } +/** + * 获取订舱打印模板列表(带有当前用户打印历史排序) + * + * @author Myshipping + */ +export function TaskManageTruckPrintTemplateWithHistoryList(parameter) { + return axios({ + url: '/TaskManageTruck/PrintTemplateWithHistoryList', + method: 'get', + params: parameter + }) +} +/** + * 打印派车 + * + * @author Myshipping + */ +export function TaskManageTruckPrint(parameter) { + return axios({ + url: '/TaskManageTruck/Print', + method: 'get', + params: parameter + }) +} /** * 订舱主键获取相关派车列表 * @@ -168,16 +192,6 @@ export function TaskManageTruckSave(parameter) { data: parameter }) } -/** - * 打印派车 - */ -export function TaskManageTruckPrint(parameter) { - return axios({ - url: '/TaskManageTruck/Print', - method: 'get', - params: parameter - }) -} /** * 取消派车 */ diff --git a/src/views/main/SendCar/addForm.vue b/src/views/main/SendCar/addForm.vue index b26463e..53a43d7 100644 --- a/src/views/main/SendCar/addForm.vue +++ b/src/views/main/SendCar/addForm.vue @@ -55,14 +55,14 @@ -