Просмотр исходного кода

.vue 文件,,路由 完成

李楠 4 лет назад
Родитель
Сommit
b5ac8f0f0d

+ 6 - 6
src/router/routes.js

@@ -185,14 +185,14 @@ export default [
 			},
 			/* 成品仓储 */
 			{
-				path: 'finishedProductBatch',
-				name: 'finishedProductBatch',
-				component: () => import('@/views/finishedProduct/finishedProductBatch.vue')
+				path: 'finishedProductEnterBatch',
+				name: 'finishedProductEnterBatch',
+				component: () => import('@/views/finishedProduct/finishedProductEnterBatch.vue')
 			},
 			{
-				path: 'finishedProduct',
-				name: 'finishedProduct',
-				component: () => import('@/views/finishedProduct/finishedProduct.vue')
+				path: 'finishedProductEnter',
+				name: 'finishedProductEnter',
+				component: () => import('@/views/finishedProduct/finishedProductEnter.vue')
 			},
 			{
 				path: 'finishedProductOuterBatch',

+ 2 - 2
src/views/Home/mencCofig.js

@@ -237,11 +237,11 @@ export const menuData = [
         childList: [
             {
                 optionName: '成品入库批次管理',
-                routerName: "finishedProductBatch"
+                routerName: "finishedProductEnterBatch"
             },
             {
                 optionName: '成品入库',
-                routerName: "finishedProduct"
+                routerName: "finishedProductEnter"
             },
             {
                 optionName: '成品出库批次管理',

src/views/finishedProduct/finishedProduct.vue → src/views/finishedProduct/finishedProductEnter.vue


src/views/finishedProduct/finishedProductBatch.vue → src/views/finishedProduct/finishedProductEnterBatch.vue


+ 1 - 1
src/views/sheepEnter/sheepEnter.vue

@@ -3,7 +3,7 @@
         <h2
             style="margin-bottom: 20px;padding-bottom:7px;border-bottom:2px solid #ddd"
         >
-            sheepEnter
+            羊只入栏
         </h2>
     </div>
 </template>