wangchao 2 gadi atpakaļ
vecāks
revīzija
90c071c0d7

+ 1 - 0
src/lang/zh.js

@@ -1120,6 +1120,7 @@ export default {
         fixedAssets: '固定资产',
 
         //出库管理
+        outbound: '出库',
         outboundManagement: '出库管理',
         weighingManagement: '检斤管理',
         qualityInspectionManagement: '质检管理',

+ 1 - 0
src/router/index.js

@@ -81,6 +81,7 @@ const createRouter = () =>
 const router = createRouter()
 
 export function resetRouter() {
+    debugger
     const newRouter = createRouter()
     router.matcher = newRouter.matcher // reset router
 }

+ 33 - 0
src/views/cost/component/route.js

@@ -0,0 +1,33 @@
+import Layout from '@/layout/index';
+
+const record = {
+    path: '/cost',
+    component: Layout,
+    redirect: { name: 'cost' },
+    name: 'cost',
+    alwaysShow: true, // will always show the root menu
+    meta: {
+        title: '费用',
+        module: 'outbound',
+        icon: '-chukuguanlibeifen'
+    },
+    children: [
+        {
+            path: 'cost',
+            component: () =>
+              import(/* webpackChunkName: "sparepartList" */ '@/views/cost/cost'),
+            name: 'cost',
+            meta: {
+              shortcutEntrance: 'outbound',
+              module: 'outbound.acquisitionWeightOut.view',
+              permissicon: [],
+              keepAlive: true,
+              _title:'费用'
+            },
+            hidden: true
+          }
+    ],
+
+};
+
+export default record;

+ 53 - 0
src/views/cost/cost.vue

@@ -0,0 +1,53 @@
+
+<template>
+    <div class="bg" id="index">
+      1发11
+    </div>
+  </template>
+  
+  <script>
+  import {
+    gChartsData,
+  } from '@/model/home/index'
+  // import CenterMap from "./center-map.vue";
+  export default {
+    components: {
+    },
+    data() {
+      return {
+       
+      };
+    },
+    filters: {
+      numsFilter(msg) {
+        return msg || 0;
+      },
+    },
+    created() {
+    },
+    mounted() {
+     
+  
+    },
+    beforeDestroy() {
+   
+      
+    },
+    methods: {
+    },
+  };
+  </script>
+  <style lang="scss" scoped>
+  
+  .bg {
+    width: 100%;
+    height: 100%;
+    padding: 16px 16px 10px 16px;
+    box-sizing: border-box;
+    // background-image: url("../../assets/images/pageBg.png");
+    background-size: cover;
+    background-position: center center;
+  }
+  
+  </style>
+  

+ 33 - 0
src/views/customer/component/route.js

@@ -0,0 +1,33 @@
+import Layout from '@/layout/index';
+
+const record = {
+    path: '/customer',
+    component: Layout,
+    redirect: { name: 'customer' },
+    name: '客户',
+    alwaysShow: true, // will always show the root menu
+    meta: {
+        title: '客户',
+        module: 'outbound',
+        icon: '-chukuguanlibeifen'
+    },
+    children: [
+        {
+            path: 'customer',
+            component: () =>
+              import(/* webpackChunkName: "sparepartList" */ '@/views/customer/customer'),
+            name: 'customer',
+            meta: {
+              shortcutEntrance: 'outbound',
+              module: 'outbound.acquisitionWeightOut.view',
+              permissicon: [],
+              keepAlive: true,
+              _title:'客户'
+            },
+            hidden: true
+          }
+    ],
+
+};
+
+export default record;

+ 53 - 0
src/views/customer/customer.vue

@@ -0,0 +1,53 @@
+
+<template>
+    <div class="bg" id="index">
+      1发1111
+    </div>
+  </template>
+  
+  <script>
+  import {
+    gChartsData,
+  } from '@/model/home/index'
+  // import CenterMap from "./center-map.vue";
+  export default {
+    components: {
+    },
+    data() {
+      return {
+       
+      };
+    },
+    filters: {
+      numsFilter(msg) {
+        return msg || 0;
+      },
+    },
+    created() {
+    },
+    mounted() {
+     
+  
+    },
+    beforeDestroy() {
+   
+      
+    },
+    methods: {
+    },
+  };
+  </script>
+  <style lang="scss" scoped>
+  
+  .bg {
+    width: 100%;
+    height: 100%;
+    padding: 16px 16px 10px 16px;
+    box-sizing: border-box;
+    // background-image: url("../../assets/images/pageBg.png");
+    background-size: cover;
+    background-position: center center;
+  }
+  
+  </style>
+  

+ 8 - 9
src/views/outboundManagement/component/route.js

@@ -3,11 +3,11 @@ import Layout from '@/layout/index';
 const outboundManagementRouter = {
     path: '/outboundManagement',
     component: Layout,
-    redirect: '/outboundManagement',
-    name: 'outboundManagement',
+    redirect: { name: 'outbound' },
+    name: 'outbound',
     alwaysShow: true, // will always show the root menu
     meta: {
-        title: 'outboundManagement',
+        title: 'outbound',
         module: 'outbound',
         icon: '-chukuguanlibeifen'
     },
@@ -15,17 +15,16 @@ const outboundManagementRouter = {
     
         //检斤信息
         {
-            path: 'weighing',
+            path: 'outbound',
             component: () =>
-              import(/* webpackChunkName: "sparepartList" */ '@/views/outboundManagement/weighing'),
-            name: 'weighing',
+              import(/* webpackChunkName: "sparepartList" */ '@/views/outboundManagement/outbound'),
+            name: 'outbound',
             meta: {
-              title: 'weighing',
-              shortcutEntrance: 'weighing',
+              shortcutEntrance: 'outbound',
               module: 'outbound.acquisitionWeightOut.view',
               permissicon: [],
               keepAlive: true,
-              _title:'出库管理检斤信息'
+              _title:'出库'
             },
             hidden: true
           }

+ 0 - 0
src/views/outboundManagement/weighing.vue → src/views/outboundManagement/outbound.vue


+ 33 - 0
src/views/record/component/route.js

@@ -0,0 +1,33 @@
+import Layout from '@/layout/index';
+
+const record = {
+    path: '/record',
+    component: Layout,
+    redirect: { name: 'record' },
+    name: 'record',
+    alwaysShow: true, // will always show the root menu
+    meta: {
+        title: '记录',
+        module: 'outbound',
+        icon: '-chukuguanlibeifen'
+    },
+    children: [
+        {
+            path: 'record',
+            component: () =>
+              import(/* webpackChunkName: "sparepartList" */ '@/views/record/record'),
+            name: 'record',
+            meta: {
+              shortcutEntrance: 'outbound',
+              module: 'outbound.acquisitionWeightOut.view',
+              permissicon: [],
+              keepAlive: true,
+              _title:'记录'
+            },
+            hidden: true
+          }
+    ],
+
+};
+
+export default record;

+ 53 - 0
src/views/record/record.vue

@@ -0,0 +1,53 @@
+
+<template>
+    <div class="bg" id="index">
+      1发11
+    </div>
+  </template>
+  
+  <script>
+  import {
+    gChartsData,
+  } from '@/model/home/index'
+  // import CenterMap from "./center-map.vue";
+  export default {
+    components: {
+    },
+    data() {
+      return {
+       
+      };
+    },
+    filters: {
+      numsFilter(msg) {
+        return msg || 0;
+      },
+    },
+    created() {
+    },
+    mounted() {
+     
+  
+    },
+    beforeDestroy() {
+   
+      
+    },
+    methods: {
+    },
+  };
+  </script>
+  <style lang="scss" scoped>
+  
+  .bg {
+    width: 100%;
+    height: 100%;
+    padding: 16px 16px 10px 16px;
+    box-sizing: border-box;
+    // background-image: url("../../assets/images/pageBg.png");
+    background-size: cover;
+    background-position: center center;
+  }
+  
+  </style>
+  

+ 45 - 0
src/views/setup/component/route.js

@@ -0,0 +1,45 @@
+import Layout from '@/layout/index';
+
+const setup = {
+    path: '/setup',
+    component: Layout,
+    redirect: { name: 'setup' },
+    name: '设置',
+    alwaysShow: true, // will always show the root menu
+    meta: {
+      title: '设置',
+      module: 'customerMoneyManagement.customerMoney.view',
+      icon: '-kehuzijin'
+    },
+    children: [
+      {
+        path: 'goodsSettings',
+        component: () =>
+          import(/* webpackChunkName: "applDetail" */ '@/views/setup/goodsSettings'),
+        name: '货名设置',
+        meta: {
+          title: '货名设置',
+          shortcutEntrance: 'customerFundList',
+          module: 'customerMoneyManagement.customerMoney.view',
+          permissicon: [],
+          keepAlive: true,
+          _title:'货名设置'
+        },
+      },
+      {
+        path: 'warehouseSettings',
+        component: () =>
+          import(/* webpackChunkName: "applDetail" */ '@/views/setup/warehouseSettings'),
+        name: '仓库设置',
+        meta: {
+          title: '仓库设置',
+          shortcutEntrance: 'customerFundList',
+          module: 'customerMoneyManagement.customerMoney.view',
+          permissicon: [],
+          keepAlive: true,
+          _title:'仓库设置'
+        },
+      },
+  ],
+};
+export default setup;  

+ 53 - 0
src/views/setup/goodsSettings.vue

@@ -0,0 +1,53 @@
+
+<template>
+    <div class="bg" id="index">
+      1发11
+    </div>
+  </template>
+  
+  <script>
+  import {
+    gChartsData,
+  } from '@/model/home/index'
+  // import CenterMap from "./center-map.vue";
+  export default {
+    components: {
+    },
+    data() {
+      return {
+       
+      };
+    },
+    filters: {
+      numsFilter(msg) {
+        return msg || 0;
+      },
+    },
+    created() {
+    },
+    mounted() {
+     
+  
+    },
+    beforeDestroy() {
+   
+      
+    },
+    methods: {
+    },
+  };
+  </script>
+  <style lang="scss" scoped>
+  
+  .bg {
+    width: 100%;
+    height: 100%;
+    padding: 16px 16px 10px 16px;
+    box-sizing: border-box;
+    // background-image: url("../../assets/images/pageBg.png");
+    background-size: cover;
+    background-position: center center;
+  }
+  
+  </style>
+  

+ 53 - 0
src/views/setup/warehouseSettings.vue

@@ -0,0 +1,53 @@
+
+<template>
+    <div class="bg" id="index">
+      1发11
+    </div>
+  </template>
+  
+  <script>
+  import {
+    gChartsData,
+  } from '@/model/home/index'
+  // import CenterMap from "./center-map.vue";
+  export default {
+    components: {
+    },
+    data() {
+      return {
+       
+      };
+    },
+    filters: {
+      numsFilter(msg) {
+        return msg || 0;
+      },
+    },
+    created() {
+    },
+    mounted() {
+     
+  
+    },
+    beforeDestroy() {
+   
+      
+    },
+    methods: {
+    },
+  };
+  </script>
+  <style lang="scss" scoped>
+  
+  .bg {
+    width: 100%;
+    height: 100%;
+    padding: 16px 16px 10px 16px;
+    box-sizing: border-box;
+    // background-image: url("../../assets/images/pageBg.png");
+    background-size: cover;
+    background-position: center center;
+  }
+  
+  </style>
+