From d86036d443d03aeff8c68e992f26e34294cc3b83 Mon Sep 17 00:00:00 2001 From: tzy1042411602 <1042411602@qq.com> Date: Mon, 18 Nov 2024 09:01:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=9B=B4=E6=96=B0,=E5=B7=A5?= =?UTF-8?q?=E8=89=BA=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/route.js | 20 ++++++- src/views/system/route/index.vue | 99 +++++++++++++++++++++++++++----- 2 files changed, 103 insertions(+), 16 deletions(-) diff --git a/src/api/system/route.js b/src/api/system/route.js index 590dd6a..a29a469 100644 --- a/src/api/system/route.js +++ b/src/api/system/route.js @@ -76,8 +76,24 @@ export function delRoute(id) { export function pushRouteBom(rooteProdet) { return request({ - url: '/system/route/pushRouteBom', // 后端接口地址 + url: '/system/route/pushRouteBom', method: 'post', - params: { rooteProdet }, // 将生产订单号封装成一个对象 + params: { rooteProdet }, }); } +export function updateProcessPlan(rooteProdet) { + return request({ + url: '/system/route/updateProcessPlan', + method: 'post', + params: { rooteProdet }, + }); +} + +export function generatePDFs(rooteProdet) { + return request({ + url: '/system/route/generatePDFs', + method: 'post', + params: { rooteProdet }, + }); +} + diff --git a/src/views/system/route/index.vue b/src/views/system/route/index.vue index 666420e..67607a6 100644 --- a/src/views/system/route/index.vue +++ b/src/views/system/route/index.vue @@ -160,12 +160,12 @@ - 更新计划时间 - 生成PDF @@ -254,7 +254,16 @@ - + + + + + + @@ -269,16 +278,7 @@ {{ parseTime(scope.row.planEndTime, '{y}-{m}-{d}') }} - - - - - - +