Prechádzať zdrojové kódy

【修改】发货汇总退货按钮跳转

howie 2 rokov pred
rodič
commit
d20c5659be

+ 4 - 9
src/router/index.js

@@ -49,29 +49,24 @@ export const constantRoutes = [
   },
 
   {
-    path: "/supply",
+    path: "/return_goods",
     component: Layout,
     children: [
       {
-        path: "deliver/new_apply",
+        path: "new_apply",
         name: "new_apply",
         component: () => import("@/views/supply/apply/new_apply"),
         meta: { title: "零售退货申请", icon: "" },
       },
-    ],
-  },
-  {
-    path: "/supply",
-    component: Layout,
-    children: [
       {
-        path: "deliver/new_engin",
+        path: "new_engin",
         name: "new_apply",
         component: () => import("@/views/supply/apply/new_engin"),
         meta: { title: "工程退货申请", icon: "" },
       },
     ],
   },
+
   // {
   //   path: '/goods',
   //   component: Layout,

+ 2 - 2
src/views/supply/deliver/sum_list.vue

@@ -283,7 +283,7 @@
               type="primary"
               style="margin-right: 10px"
               icon="el-icon-plus"
-              @click="$router.push('/supply/deliver/new_apply?isShow=true')"
+              @click="$router.push('/return_goods/new_apply?isShow=true')"
               >零售退货申请</el-button
             >
             <el-button
@@ -292,7 +292,7 @@
               type="primary"
               style="margin-right: 10px"
               icon="el-icon-plus"
-              @click="$router.push('/supply/deliver/new_engin?isShow=true')"
+              @click="$router.push('/return_goods/new_engin?isShow=true')"
               >工程退货申请</el-button
             >
             <!-- <el-button   size="mini"