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 @@
-
+
+
+ {{ parseTime(scope.row.xuStartTime, '{y}-{m}-{d}') }}
+
+
+
+
+ {{ parseTime(scope.row.xuEndTime, '{y}-{m}-{d}') }}
+
+
@@ -269,16 +278,7 @@
{{ parseTime(scope.row.planEndTime, '{y}-{m}-{d}') }}
-
-
- {{ parseTime(scope.row.xuStartTime, '{y}-{m}-{d}') }}
-
-
-
-
- {{ parseTime(scope.row.xuEndTime, '{y}-{m}-{d}') }}
-
-
+
@@ -401,7 +401,15 @@