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 @@