zhengchengwu 6 years ago
parent
commit
b8976009db
2 changed files with 93 additions and 65 deletions
  1. 8 9
      package-lock.json
  2. 85 56
      src/router/index.js

+ 8 - 9
package-lock.json View File

@@ -5216,9 +5216,9 @@
5216 5216
       }
5217 5217
     },
5218 5218
     "fstream": {
5219
-      "version": "1.0.11",
5220
-      "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz",
5221
-      "integrity": "sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE=",
5219
+      "version": "1.0.12",
5220
+      "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz",
5221
+      "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==",
5222 5222
       "dev": true,
5223 5223
       "requires": {
5224 5224
         "graceful-fs": "^4.1.2",
@@ -6538,8 +6538,7 @@
6538 6538
     },
6539 6539
     "js-yaml": {
6540 6540
       "version": "3.7.0",
6541
-      "resolved": "https://registry.npm.taobao.org/js-yaml/download/js-yaml-3.7.0.tgz",
6542
-      "integrity": "sha1-XJZ93YN6m/3KXy3oQlOr6KHAO4A=",
6541
+      "resolved": "",
6543 6542
       "dev": true,
6544 6543
       "requires": {
6545 6544
         "argparse": "^1.0.7",
@@ -13345,13 +13344,13 @@
13345 13344
       "dev": true
13346 13345
     },
13347 13346
     "tar": {
13348
-      "version": "2.2.1",
13349
-      "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz",
13350
-      "integrity": "sha1-jk0qJWwOIYXGsYrWlK7JaLg8sdE=",
13347
+      "version": "2.2.2",
13348
+      "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.2.tgz",
13349
+      "integrity": "sha512-FCEhQ/4rE1zYv9rYXJw/msRqsnmlje5jHP6huWeBZ704jUTy02c5AZyWujpMR1ax6mVw9NyJMfuK2CMDWVIfgA==",
13351 13350
       "dev": true,
13352 13351
       "requires": {
13353 13352
         "block-stream": "*",
13354
-        "fstream": "^1.0.2",
13353
+        "fstream": "^1.0.12",
13355 13354
         "inherits": "2"
13356 13355
       }
13357 13356
     },

+ 85 - 56
src/router/index.js View File

@@ -769,94 +769,123 @@ export const xt_asyncRouterMap = [
769 769
   //     { path: '/device/numbers', component: () => import('@/xt_pages/device/number_main'), name: 'deviceNumberManage', meta: { title: 'deviceNumberManage' }},
770 770
   //     { path: '/device/main', component: () => import('@/xt_pages/device/main'), name: 'dialysisMachineManage', meta: { title: 'dialysisMachineManage' }}
771 771
   //   ]
772
-  // },{
772
+  // }, {
773 773
   //   path: '/stock/',
774 774
   //   component: Layout,
775 775
   //   redirect: 'noredirect',
776 776
   //   name: 'stockManage',
777
-  //   meta: {title: 'stockManage', icon: 'nested'},
777
+  //   meta: { title: 'stockManage', icon: 'excel' },
778 778
   //   children: [
779 779
   //     {
780
+  //       path: '/stock/config',
781
+  //       component: () => import('@/xt_pages/stock/index'),
782
+  //       name: 'config',
783
+  //       meta: { title: 'config' }
784
+  //     },
785
+  //     {
780 786
   //       path: '/stock/in',
781
-  //       component: () => import('@/xt_pages/stock/stockIn'),
782
-  //       name: 'stockIn',
783
-  //       meta: {title: 'stockIn',noCache: true }
784
-
787
+  //       component: () => import('@/xt_pages/stock/stockInOrder'),
788
+  //       name: 'stockInOrder',
789
+  //       meta: { title: 'stockInOrder', noCache: true }
790
+  //     }, {
791
+  //       path: '/stock/in/other',
792
+  //       component: () => import('@/xt_pages/stock/otherStockInOrder'),
793
+  //       name: 'otherStockInOrder',
794
+  //       meta: { title: 'otherStockInOrder', noCache: true }
795
+  //     }, {
796
+  //       path: '/stock/return',
797
+  //       component: () => import('@/xt_pages/stock/salesReturnOrder'),
798
+  //       name: 'salesReturnOrder',
799
+  //       meta: { title: 'salesReturnOrder', noCache: true }
800
+  //     }, {
801
+  //       path: '/stock/return/other',
802
+  //       component: () => import('@/xt_pages/stock/otherSalesReturnOrder'),
803
+  //       name: 'otherSalesReturnOrder',
804
+  //       meta: { title: 'otherSalesReturnOrder', noCache: true }
785 805
   //     },
786
-
787
-  //      {
806
+  //     {
788 807
   //       path: '/stock/out',
789
-  //       component: () => import('@/xt_pages/stock/stockOut'),
790
-  //       name: 'stockOut',
791
-  //       meta: {title: 'stockOut',noCache: true}
792
-  //     },{
808
+  //       component: () => import('@/xt_pages/stock/stockOutOrder'),
809
+  //       name: 'stockOutOrder',
810
+  //       meta: { title: 'stockOutOrder', noCache: true }
811
+  //     }, {
812
+  //       path: '/stock/out/other',
813
+  //       component: () => import('@/xt_pages/stock/otherStockOutOrder'),
814
+  //       name: 'otherStockOutOrder',
815
+  //       meta: { title: 'otherStockOutOrder', noCache: true }
816
+  //     }, {
817
+  //       path: '/stock/cancel',
818
+  //       component: () => import('@/xt_pages/stock/cancelStockOrder'),
819
+  //       name: 'cancelStockOrder',
820
+  //       meta: { title: 'cancelStockOrder', noCache: true }
821
+  //     }, {
822
+  //       path: '/stock/cancel/other',
823
+  //       component: () => import('@/xt_pages/stock/otherCancelStockOrder'),
824
+  //       name: 'otherCancelStockOrder',
825
+  //       meta: { title: 'otherCancelStockOrder', noCache: true }
826
+  //     }, {
793 827
   //       path: '/stock/query',
794 828
   //       component: () => import('@/xt_pages/stock/stockQuery'),
795 829
   //       name: 'stockQuery',
796
-  //       meta: {title: 'stockQuery',noCache: true}
797
-  //     },
798
-  //     {
799
-  //       path: '/stock/config',
800
-  //       component: () => import('@/xt_pages/stock/index'),
801
-  //       name: 'config',
802
-  //       meta: {title: 'config'},
803
-  //     },{
830
+  //       meta: { title: 'stockQuery' }
831
+  //     }, {
804 832
   //       path: '/stock/in/add',
805
-  //       component: () => import('@/xt_pages/stock/addStockIn'),
806
-  //       name: 'addStockIn',
833
+  //       component: () => import('@/xt_pages/stock/stockInOrderAdd'),
834
+  //       name: 'stockInOrderAdd',
807 835
   //       hidden: true,
808 836
   //       is_menu: false,
809
-  //       meta: {title: 'addStockIn',noCache: true}
837
+  //       meta: { title: 'stockInOrderAdd' }
810 838
   //     }, {
811
-  //       path: '/stock/out/add',
812
-  //       component: () => import('@/xt_pages/stock/addStockOut'),
813
-  //       name: 'addStockOut',
839
+  //       path: '/stock/in/detail',
840
+  //       component: () => import('@/xt_pages/stock/stockInDetail'),
841
+  //       name: 'stockInDetail',
814 842
   //       hidden: true,
815 843
   //       is_menu: false,
816
-  //       meta: {title: 'addStockOut',noCache: true }
817
-  //     },{
818
-  //       path: '/stock/return',
819
-  //       component: () => import('@/xt_pages/stock/salesReturn'),
820
-  //       name: 'salesReturn',
844
+  //       meta: { title: 'stockInDetail' }
845
+  //     }, {
846
+  //       path: '/stock/return/detail',
847
+  //       component: () => import('@/xt_pages/stock/salesReturnDetail'),
848
+  //       name: 'salesReturnDetail',
821 849
   //       hidden: true,
822 850
   //       is_menu: false,
823
-  //       meta: {title: 'salesReturn'}
824
-  //     },{
825
-  //       path: '/stock/return/record',
826
-  //       component: () => import('@/xt_pages/stock/salesReutrnRecord'),
827
-  //       name: 'salesReutrnRecord',
851
+  //       meta: { title: 'salesReturnDetail' }
852
+  //     }, {
853
+  //       path: '/stock/return/add',
854
+  //       component: () => import('@/xt_pages/stock/salesReturnOrderAdd'),
855
+  //       name: 'salesReturnOrderAdd',
828 856
   //       hidden: true,
829 857
   //       is_menu: false,
830
-  //       meta: {title: 'salesReutrnRecord'}
831
-  //     },{
832
-  //       path: '/stock/warehouse/record',
833
-  //       component: () => import('@/xt_pages/stock/warehouseRecord'),
834
-  //       name: 'warehouseRecord',
858
+  //       meta: { title: 'salesReturnOrderAdd' }
859
+  //     }, {
860
+  //       path: '/stock/out/add',
861
+  //       component: () => import('@/xt_pages/stock/stockOutOrderAdd'),
862
+  //       name: 'stockOutOrderAdd',
835 863
   //       hidden: true,
836 864
   //       is_menu: false,
837
-  //       meta: {title: 'warehouseRecord'}
838
-  //     },{
839
-  //       path: '/stock/cancel/',
840
-  //       component: () => import('@/xt_pages/stock/cancelStock'),
841
-  //       name: 'cancelStock',
865
+  //       meta: { title: 'stockOutOrderAdd', noCache: true }
866
+  //     }, {
867
+  //       path: '/stock/out/detail',
868
+  //       component: () => import('@/xt_pages/stock/stockOutDetail'),
869
+  //       name: 'stockOutDetail',
842 870
   //       hidden: true,
843 871
   //       is_menu: false,
844
-  //       meta: {title: 'cancelStock'}
872
+  //       meta: { title: 'stockOutDetail', noCache: true }
845 873
   //     }, {
846
-  //       path: '/stock/cancel/record',
847
-  //       component: () => import('@/xt_pages/stock/cancelStockRecord'),
848
-  //       name: 'cancelStockRecord',
874
+  //       path: '/stock/cancel/add',
875
+  //       component: () => import('@/xt_pages/stock/cancelStockOrderAdd'),
876
+  //       name: 'cancelStockOrderAdd',
849 877
   //       hidden: true,
850 878
   //       is_menu: false,
851
-  //       meta: {title: 'cancelStockRecord'}
879
+  //       meta: { title: 'cancelStockOrderAdd', noCache: true }
852 880
   //     }, {
853
-  //       path: '/stock/out/record',
854
-  //       component: () => import('@/xt_pages/stock/stockOutRecord'),
855
-  //       name: 'stockOutRecord',
881
+  //       path: '/stock/cancel/detail',
882
+  //       component: () => import('@/xt_pages/stock/cancelStockDetail'),
883
+  //       name: 'cancelStockDetail',
856 884
   //       hidden: true,
857 885
   //       is_menu: false,
858
-  //       meta: {title: 'stockOutRecord'}
859
-  //     },
886
+  //       meta: { title: 'cancelStockDetail', noCache: true }
887
+  //     }
888
+
860 889
   //   ]
861 890
   // },
862 891
   // {