From 3b4e86e44d7baca5670702710f7c10f631d6e45f Mon Sep 17 00:00:00 2001 From: yinq Date: Fri, 10 Jan 2025 15:26:36 +0800 Subject: [PATCH] =?UTF-8?q?update=20add=E7=94=9F=E4=BA=A7=E6=B4=BE?= =?UTF-8?q?=E5=B7=A5=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mes/baseRoute/index.ts | 2 +- src/router/index.ts | 15 + src/views/mes/orderInfo/editProductPlan.vue | 1561 +++++++++++++++++++ src/views/mes/orderInfo/index.vue | 122 +- 4 files changed, 1662 insertions(+), 38 deletions(-) create mode 100644 src/views/mes/orderInfo/editProductPlan.vue diff --git a/src/api/mes/baseRoute/index.ts b/src/api/mes/baseRoute/index.ts index 6bdf79b..4e69adc 100644 --- a/src/api/mes/baseRoute/index.ts +++ b/src/api/mes/baseRoute/index.ts @@ -70,7 +70,7 @@ export const delBaseRoute = (routeId: string | number | Array) */ export function getBaseRouteList(query) { return request({ - url: '/mes/baseRoute/getBaseRouteList', + url: '/mes/baseRoute/getProdBaseRouteList', method: 'get', params: query }); diff --git a/src/router/index.ts b/src/router/index.ts index 8d61065..943c7fe 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -218,7 +218,22 @@ export const dynamicRoutes: RouteRecordRaw[] = [ meta: { title: '请假申请', activeMenu: '/workflow/leave', noCache: true } } ] + }, +{ + path: '/mes/product-plan', + component: Layout, + hidden: true, + permissions: ['mes:orderInfo:edit'], + children: [ + { + path: 'index/:productOrderId(\\d+)', + component: () => import('@/views/mes/orderInfo/editProductPlan.vue'), + name: 'productPlanEdit', + meta: { title: '生产派工', activeMenu: '/mes/productplan', noCache: true } } +] +}, + ]; /** diff --git a/src/views/mes/orderInfo/editProductPlan.vue b/src/views/mes/orderInfo/editProductPlan.vue new file mode 100644 index 0000000..7a36222 --- /dev/null +++ b/src/views/mes/orderInfo/editProductPlan.vue @@ -0,0 +1,1561 @@ + + + + + diff --git a/src/views/mes/orderInfo/index.vue b/src/views/mes/orderInfo/index.vue index 742252e..c30e966 100644 --- a/src/views/mes/orderInfo/index.vue +++ b/src/views/mes/orderInfo/index.vue @@ -5,10 +5,6 @@
- - - @@ -41,8 +37,8 @@ - - + + @@ -93,25 +89,22 @@ - - + + - - + + - + - + - + @@ -155,7 +148,7 @@ - + @@ -163,16 +156,21 @@ - + @@ -212,7 +210,7 @@ - + - - + + + + @@ -284,6 +289,9 @@