Kaynağa Gözat

添加client-finance-v3

guozhibo 1 yıl önce
ebeveyn
işleme
40f98177b7
6 değiştirilmiş dosya ile 429 ekleme ve 391 silme
  1. 1 0
      package.json
  2. 6 6
      src/main.js
  3. 2 0
      src/routes/index.js
  4. 35 0
      src/routes/route-finance-v3.js
  5. 381 381
      src/routes/route-wms-v3.js
  6. 4 4
      webpack.prod.js

+ 1 - 0
package.json

@@ -23,6 +23,7 @@
     "client-role-v3": "^3.0.24",
     "client-sensor-v3": "^1.0.2",
     "client-wms-v3": "^3.1.1",
+    "client-finance-v3": "^0.0.1",
     "dayjs": "^1.11.6",
     "dingtalk-jsapi": "^2.8.33",
     "js-cookie": "^2.2.1",

+ 6 - 6
src/main.js

@@ -50,7 +50,7 @@ import 'client-dic-v3/dist/client-dic-v3.css';
 import 'client-eam-v3/dist/client-eam-v3.css';
 import 'client-wms-v3/dist/client-wms-v3.css';
 import 'client-sensor-v3/dist/client-sensor-v3.css';
-
+import 'client-finance-v3/dist/client-finance-v3.css';
 
 import { store } from './store.js';
 import { i18n } from './lang.js';
@@ -88,7 +88,7 @@ window.app = app;
 
 // 当页面刷新后重新打开声音提示
 if (window.performance.navigation.type == 1) {
-  localStorage.setItem('allowSound', false)
+  localStorage.setItem('allowSound', false);
 }
 
 
@@ -98,15 +98,15 @@ if (window.performance.navigation.type == 1) {
  * @return {[type]}      [description]
  */
 router.beforeEach((to, from, next) => {
-  let allowSound = localStorage.getItem('allowSound')
+  let allowSound = localStorage.getItem('allowSound');
   // 不是登录页才进行消息推送
   if (to.fullPath !== '/login' && !to.path.includes('login') && !to.path.includes('Login')) {
-    PushMessage.openWebSocket()
+    PushMessage.openWebSocket();
     if (allowSound && allowSound == 'false') {
-      PushMessage.messageModal()
+      PushMessage.messageModal();
     }
   } else {
-    PushMessage.closeWebsocket()
+    PushMessage.closeWebsocket();
   }
 
   let funtionAccessDtos = [];

+ 2 - 0
src/routes/index.js

@@ -8,6 +8,7 @@ import routes5 from './route-eam-v3.js';
 import routes6 from './route-wms-v3.js';
 // import routes7 from './route-trace-v3.js';
 import routes8 from './route-sensor-v3.js';
+import routes9 from './route-finance-v3.js';
 
 import merge from '../merge.js';
 
@@ -18,6 +19,7 @@ routes = merge.mergeArray(routes, routes5);
 routes = merge.mergeArray(routes, routes6);
 // routes = merge.mergeArray(routes, routes7);
 routes = merge.mergeArray(routes, routes8);
+routes = merge.mergeArray(routes, routes9);
 
 const router = createRouter({
   history: createWebHashHistory(),

+ 35 - 0
src/routes/route-finance-v3.js

@@ -0,0 +1,35 @@
+import {
+  AccountVoucher,
+  AutoGenerateAccountVoucher,
+  InsertAccountVoucher,
+  UpdateAccountVoucher,
+  AccountSubject,
+  FinanceBasicSetting,
+  Period,
+  SettleAccountAtTheEndOfMonth,
+} from 'client-finance-v3/dist/client-finance-v3.js';
+
+
+
+const routes = [
+
+  { path: '/desktop/AccountVoucher', component: AccountVoucher },
+
+  { path: '/desktop/AutoGenerateAccountVoucher', component: AutoGenerateAccountVoucher },
+
+  { path: '/desktop/InsertAccountVoucher', component: InsertAccountVoucher },
+
+  { path: '/desktop/UpdateAccountVoucher', component: UpdateAccountVoucher },
+
+  { path: '/desktop/AccountSubject', component: AccountSubject },
+
+  { path: '/desktop/FinanceBasicSetting', component: FinanceBasicSetting },
+
+  { path: '/desktop/Period', component: Period },
+
+  { path: '/desktop/SettleAccountAtTheEndOfMonth', component: SettleAccountAtTheEndOfMonth },
+
+];
+
+
+export default routes;

+ 381 - 381
src/routes/route-wms-v3.js

@@ -1,459 +1,459 @@
 import {
-    HelloWorld,
-    WmsSetting,
-    GradeDefinition,
-    GeneratePosition,
-    InventoryPrint,
-    InventoryPrintScan,
-    StockOutPrepareLine,
-    PickingCar,
-    StockOutPrepareApproved,
-    StockOutPrepateTemplate,
-    StockOutPrepateTemplateRecording,
-    StockOutPrepareTemplateApproved,
-    StockOutPrepareLineAddProject,
-    StockOutPrepareLineProjectReceivingAddress,
-    StockOutPrepareLineProjectShippingAddress,
-    PurchaseOrderLinePrint,
-    PositionPrint,
-    PurchaseOrderPrint,
-    QueryPurchaseOrderLine,
-    PackInventoryInstance,
-    NeedPrint,
-    Printed,
-    PrintInventoryInstance,
-    CheckProfit,
-    CheckLoss,
-    StockInLineInstance,
-    StockOutLineInstance,
-    PurchaseOrderLineTraceEdit,
-    CurrentStock,
-    StockLedger,
-    GenerateToolRequest,
-    AutoGenerateInventorySafeStock,
-    AutoGenerateInventoryClassSafeStock,
-    ProjectItemAdjust,
-    InvoiceGenerate,
-    BalanceInventory,
-    VouchCheck,
-    ExpressInquiry,
-    RepertoryCheck,
-    InventorySearchDetail,
-    GenerateDocumentTool,
-    InventoryCheckLoss,
-    AdjustPositions,
-    CurrentStockProjectItemManger,
-    UploadTrainingVideo,
-    SynchronousMaintenanceForm,
-    QueryMaintenancePlan,
+  HelloWorld,
+  WmsSetting,
+  GradeDefinition,
+  GeneratePosition,
+  InventoryPrint,
+  InventoryPrintScan,
+  StockOutPrepareLine,
+  PickingCar,
+  StockOutPrepareApproved,
+  StockOutPrepateTemplate,
+  StockOutPrepateTemplateRecording,
+  StockOutPrepareTemplateApproved,
+  StockOutPrepareLineAddProject,
+  StockOutPrepareLineProjectReceivingAddress,
+  StockOutPrepareLineProjectShippingAddress,
+  PurchaseOrderLinePrint,
+  PositionPrint,
+  PurchaseOrderPrint,
+  QueryPurchaseOrderLine,
+  PackInventoryInstance,
+  NeedPrint,
+  Printed,
+  PrintInventoryInstance,
+  CheckProfit,
+  CheckLoss,
+  StockInLineInstance,
+  StockOutLineInstance,
+  PurchaseOrderLineTraceEdit,
+  CurrentStock,
+  StockLedger,
+  GenerateToolRequest,
+  AutoGenerateInventorySafeStock,
+  AutoGenerateInventoryClassSafeStock,
+  ProjectItemAdjust,
+  InvoiceGenerate,
+  BalanceInventory,
+  VouchCheck,
+  ExpressInquiry,
+  RepertoryCheck,
+  InventorySearchDetail,
+  GenerateDocumentTool,
+  InventoryCheckLoss,
+  AdjustPositions,
+  CurrentStockProjectItemManger,
+  UploadTrainingVideo,
+  SynchronousMaintenanceForm,
+  QueryMaintenancePlan,
 } from 'client-wms-v3/dist/client-wms-v3.js';
 
 
 
 const routes = [
 
-    { path: '/wms/hello-world', component: HelloWorld },
-
-    // 仓库设置
-    {
-        path: '/wms/wmsSetting', component: WmsSetting,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220328_095118',
-                    'itemNo': '1',
-                },
-            ],
+  { path: '/wms/hello-world', component: HelloWorld },
+
+  // 仓库设置
+  {
+    path: '/wms/wmsSetting', component: WmsSetting,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220328_095118',
+          'itemNo': '1',
         },
+      ],
     },
-
-    // 编码定义
-    {
-        path: '/wms/gradeDefinition', component: GradeDefinition,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220328_095118',
-                    'itemNo': '1',
-                },
-            ],
+  },
+
+  // 编码定义
+  {
+    path: '/wms/gradeDefinition', component: GradeDefinition,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220328_095118',
+          'itemNo': '1',
         },
+      ],
     },
-
-    // 生成货位
-    { path: '/wms/generatePosition/:uuid', component: GeneratePosition },
-
-    // 采购入库打印
-    {
-        path: '/wms/inventoryPrint', component: InventoryPrint,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220328_095118',
-                    'itemNo': '1',
-                },
-            ],
+  },
+
+  // 生成货位
+  { path: '/wms/generatePosition/:uuid', component: GeneratePosition },
+
+  // 采购入库打印
+  {
+    path: '/wms/inventoryPrint', component: InventoryPrint,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220328_095118',
+          'itemNo': '1',
         },
+      ],
     },
-
-    // 扫描入库打印
-    {
-        path: '/wms/inventoryPrintScan', component: InventoryPrintScan,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220328_095118',
-                    'itemNo': '1',
-                },
-            ],
+  },
+
+  // 扫描入库打印
+  {
+    path: '/wms/inventoryPrintScan', component: InventoryPrintScan,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220328_095118',
+          'itemNo': '1',
         },
+      ],
     },
-
-    // 领用界面
-    {
-        path: '/wms/stockOutPrepareLine', component: StockOutPrepareLine,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220328_095537',
-                    'itemNo': '5',
-                },
-            ],
+  },
+
+  // 领用界面
+  {
+    path: '/wms/stockOutPrepareLine', component: StockOutPrepareLine,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220328_095537',
+          'itemNo': '5',
         },
+      ],
     },
-
-    // 领料车界面
-    {
-        path: '/wms/pickingCar', component: PickingCar,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220328_095537',
-                    'itemNo': '5',
-                },
-            ],
+  },
+
+  // 领料车界面
+  {
+    path: '/wms/pickingCar', component: PickingCar,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220328_095537',
+          'itemNo': '5',
         },
+      ],
     },
-
-    // 领用记录,审批意见完成
-    {
-        path: '/wms/stockOutPrepareApproved', component: StockOutPrepareApproved,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220328_095537',
-                    'itemNo': '5',
-                },
-            ],
+  },
+
+  // 领用记录,审批意见完成
+  {
+    path: '/wms/stockOutPrepareApproved', component: StockOutPrepareApproved,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220328_095537',
+          'itemNo': '5',
         },
+      ],
     },
-
-    // 需求模板领料
-    {
-        path: '/wms/stockOutPrepateTemplate', component: StockOutPrepateTemplate,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220328_095537',
-                    'itemNo': '5',
-                },
-            ],
+  },
+
+  // 需求模板领料
+  {
+    path: '/wms/stockOutPrepateTemplate', component: StockOutPrepateTemplate,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220328_095537',
+          'itemNo': '5',
         },
+      ],
     },
-
-    // 需求模板领料待提交记录
-    {
-        path: '/wms/stockOutPrepateTemplateRecording', component: StockOutPrepateTemplateRecording,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220328_095537',
-                    'itemNo': '5',
-                },
-            ],
+  },
+
+  // 需求模板领料待提交记录
+  {
+    path: '/wms/stockOutPrepateTemplateRecording', component: StockOutPrepateTemplateRecording,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220328_095537',
+          'itemNo': '5',
         },
+      ],
     },
-
-    // 需求模板领料已提交记录
-    {
-        path: '/wms/stockOutPrepareTemplateApproved', component: StockOutPrepareTemplateApproved,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220328_095537',
-                    'itemNo': '5',
-                },
-            ],
+  },
+
+  // 需求模板领料已提交记录
+  {
+    path: '/wms/stockOutPrepareTemplateApproved', component: StockOutPrepareTemplateApproved,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220328_095537',
+          'itemNo': '5',
         },
+      ],
     },
-
-    // 领料跳转添加项目
-    {
-        path: '/wms/stockOutPrepareLineAddProject', component: StockOutPrepareLineAddProject,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220328_095537',
-                    'itemNo': '5',
-                },
-            ],
+  },
+
+  // 领料跳转添加项目
+  {
+    path: '/wms/stockOutPrepareLineAddProject', component: StockOutPrepareLineAddProject,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220328_095537',
+          'itemNo': '5',
         },
+      ],
     },
+  },
 
-    // 项目事件收货信息
-    // eslint-disable-next-line
+  // 项目事件收货信息
+  // eslint-disable-next-line
     {
-        path: '/wms/stockOutPrepareLineProjectReceivingAddress', component: StockOutPrepareLineProjectReceivingAddress,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220328_095537',
-                    'itemNo': '5',
-                },
-            ],
+    path: '/wms/stockOutPrepareLineProjectReceivingAddress', component: StockOutPrepareLineProjectReceivingAddress,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220328_095537',
+          'itemNo': '5',
         },
+      ],
     },
+  },
 
-    // 项目事件发货信息
-    // eslint-disable-next-line
+  // 项目事件发货信息
+  // eslint-disable-next-line
     {
-        path: '/wms/stockOutPrepareLineProjectShippingAddress', component: StockOutPrepareLineProjectShippingAddress,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220328_095537',
-                    'itemNo': '5',
-                },
-            ],
+    path: '/wms/stockOutPrepareLineProjectShippingAddress', component: StockOutPrepareLineProjectShippingAddress,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220328_095537',
+          'itemNo': '5',
         },
+      ],
     },
-
-    // 采购订单明细打印
-    { path: '/wms/purchaseOrderLinePrint', component: PurchaseOrderLinePrint },
-
-    // 货位打印
-    { path: '/wms/positionPrint/:uuid', component: PositionPrint },
-
-    // 采购订单打印改
-    { path: '/wms/purchaseOrderPrint', component: PurchaseOrderPrint },
-
-    //采购订单打印
-    { path: '/wms/queryPurchaseOrderLine', component: QueryPurchaseOrderLine },
-
-    { path: '/wms/packInventoryInstance', component: PackInventoryInstance },
-
-    { path: '/wms/needPrint', component: NeedPrint },
-
-    { path: '/wms/printed', component: Printed },
-    {
-        path: '/wms/printInventoryInstance', component: PrintInventoryInstance,
-        children: [
-            {
-                path: '/',
-                redirect: 'needPrint',
-            },
-            {
-                path: 'needPrint',
-                component: NeedPrint,
-            },
-            {
-                path: 'printed',
-                component: Printed,
-            }],
-    },
-
-    // 盘点单盘盈数据处理
-    {
-        path: '/wms/checkProfit/:uuid', component: CheckProfit,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220328_095537',
-                    'itemNo': '4',
-                },
-            ],
+  },
+
+  // 采购订单明细打印
+  { path: '/wms/purchaseOrderLinePrint', component: PurchaseOrderLinePrint },
+
+  // 货位打印
+  { path: '/wms/positionPrint/:uuid', component: PositionPrint },
+
+  // 采购订单打印改
+  { path: '/wms/purchaseOrderPrint', component: PurchaseOrderPrint },
+
+  //采购订单打印
+  { path: '/wms/queryPurchaseOrderLine', component: QueryPurchaseOrderLine },
+
+  { path: '/wms/packInventoryInstance', component: PackInventoryInstance },
+
+  { path: '/wms/needPrint', component: NeedPrint },
+
+  { path: '/wms/printed', component: Printed },
+  {
+    path: '/wms/printInventoryInstance', component: PrintInventoryInstance,
+    children: [
+      {
+        path: '/',
+        redirect: 'needPrint',
+      },
+      {
+        path: 'needPrint',
+        component: NeedPrint,
+      },
+      {
+        path: 'printed',
+        component: Printed,
+      }],
+  },
+
+  // 盘点单盘盈数据处理
+  {
+    path: '/wms/checkProfit/:uuid', component: CheckProfit,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220328_095537',
+          'itemNo': '4',
         },
+      ],
     },
-
-    // 盘点单盘亏数据处理
-    {
-        path: '/wms/checkLoss/:uuid', component: CheckLoss,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220328_095537',
-                    'itemNo': '4',
-                },
-            ],
+  },
+
+  // 盘点单盘亏数据处理
+  {
+    path: '/wms/checkLoss/:uuid', component: CheckLoss,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220328_095537',
+          'itemNo': '4',
         },
+      ],
     },
+  },
 
-    // 入库单指定存货实例
-    { path: '/wms/stockInLineInstance/:uuid', component: StockInLineInstance },
+  // 入库单指定存货实例
+  { path: '/wms/stockInLineInstance/:uuid', component: StockInLineInstance },
 
-    // 出库单指定存货实例
-    { path: '/wms/stockOutLineInstance/:uuid', component: StockOutLineInstance },
+  // 出库单指定存货实例
+  { path: '/wms/stockOutLineInstance/:uuid', component: StockOutLineInstance },
 
-    { path: '/wms/purchaseOrderLine-trace-edit', component: PurchaseOrderLineTraceEdit },
+  { path: '/wms/purchaseOrderLine-trace-edit', component: PurchaseOrderLineTraceEdit },
 
-    // 西门字库存查询
-    {
-        path: '/wms/currentStock', component: CurrentStock,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220328_095537',
-                    'itemNo': '7',
-                },
-            ],
+  // 西门字库存查询
+  {
+    path: '/wms/currentStock', component: CurrentStock,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220328_095537',
+          'itemNo': '7',
         },
+      ],
     },
-
-    // 仓库库存台账
-    {
-        path: '/wms/stockLedger', component: StockLedger,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220328_095537',
-                    'itemNo': '7',
-                },
-            ],
+  },
+
+  // 仓库库存台账
+  {
+    path: '/wms/stockLedger', component: StockLedger,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220328_095537',
+          'itemNo': '7',
         },
+      ],
     },
+  },
 
-    // 根据工具安全库存生成通用工具月度需求
-    // eslint-disable-next-line
+  // 根据工具安全库存生成通用工具月度需求
+  // eslint-disable-next-line
     { path: '/wms/generateToolRequest/:uuid', component: GenerateToolRequest },
 
-    // 自动生成存货安全库存
-    // eslint-disable-next-line
+  // 自动生成存货安全库存
+  // eslint-disable-next-line
     { path: '/wms/autoGenerateInventorySafeStock/:uuid', component: AutoGenerateInventorySafeStock },
 
-    // 自动生成存货分类安全库存
-    // eslint-disable-next-line
+  // 自动生成存货分类安全库存
+  // eslint-disable-next-line
     { path: '/wms/autoGenerateInventoryClassSafeStock/:uuid', component: AutoGenerateInventoryClassSafeStock },
 
-    // 调拨单
-    { path: '/wms/projectItemAdjust', component: ProjectItemAdjust },
-
-    // 发货单
-    {
-        path: '/wms/invoiceGenerate', component: InvoiceGenerate,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220328_095537',
-                    'itemNo': '6',
-                },
-            ],
+  // 调拨单
+  { path: '/wms/projectItemAdjust', component: ProjectItemAdjust },
+
+  // 发货单
+  {
+    path: '/wms/invoiceGenerate', component: InvoiceGenerate,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220328_095537',
+          'itemNo': '6',
         },
+      ],
     },
-
-    // 结存
-    {
-        path: '/wms/balanceInventory', component: BalanceInventory,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220328_095537',
-                    'itemNo': '7',
-                },
-            ],
+  },
+
+  // 结存
+  {
+    path: '/wms/balanceInventory', component: BalanceInventory,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220328_095537',
+          'itemNo': '7',
         },
+      ],
     },
-
-    // 生成明细
-    {
-        path: '/wms/vouchCheck/:uuid', component: VouchCheck,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220328_095537',
-                    'itemNo': '4',
-                },
-            ],
+  },
+
+  // 生成明细
+  {
+    path: '/wms/vouchCheck/:uuid', component: VouchCheck,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220328_095537',
+          'itemNo': '4',
         },
+      ],
     },
-
-    // 快递物流信息查询
-    { path: '/wms/expressInquiry/:uuid', component: ExpressInquiry },
-
-    // 生成明细
-    {
-        path: '/wms/repertoryCheck/:uuid', component: RepertoryCheck,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220328_095537',
-                    'itemNo': '4',
-                },
-            ],
+  },
+
+  // 快递物流信息查询
+  { path: '/wms/expressInquiry/:uuid', component: ExpressInquiry },
+
+  // 生成明细
+  {
+    path: '/wms/repertoryCheck/:uuid', component: RepertoryCheck,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220328_095537',
+          'itemNo': '4',
         },
+      ],
     },
+  },
 
-    // 物料查询存货详情
-    // eslint-disable-next-line
+  // 物料查询存货详情
+  // eslint-disable-next-line
     { path: '/wms/inventorySearchDetail', component: InventorySearchDetail },
 
-    // 生单组件
-    // eslint-disable-next-line
+  // 生单组件
+  // eslint-disable-next-line
     { path: '/wms/generate-document/:type/:infoWindowNo/:uuid', component: GenerateDocumentTool },
 
-    { path: '/wms/asset-inventory-check-lose/:uuid', component: InventoryCheckLoss },
+  { path: '/wms/asset-inventory-check-lose/:uuid', component: InventoryCheckLoss },
 
-    {
-        path: '/wms/adjustPositions', component: AdjustPositions,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220328_095537',
-                    'itemNo': '7',
-                },
-            ],
+  {
+    path: '/wms/adjustPositions', component: AdjustPositions,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220328_095537',
+          'itemNo': '7',
         },
+      ],
     },
-
-
-    // 我管理项目的库存查询
-    {
-        path: '/wms/currentStockProjectItemManger', component: CurrentStockProjectItemManger,
-        meta: {
-            'loginRequired': true,
-            'functionAccessArray': [
-                {
-                    'functionNo': '20220518_142645',
-                    'itemNo': '3',
-                },
-            ],
+  },
+
+
+  // 我管理项目的库存查询
+  {
+    path: '/wms/currentStockProjectItemManger', component: CurrentStockProjectItemManger,
+    meta: {
+      'loginRequired': true,
+      'functionAccessArray': [
+        {
+          'functionNo': '20220518_142645',
+          'itemNo': '3',
         },
+      ],
     },
+  },
 
-    { path: '/wms/uploadTrainingVideo', component: UploadTrainingVideo },
-    { path: '/wms/synchronousMaintenanceForm', component: SynchronousMaintenanceForm },
-    { path: '/wms/queryMaintenancePlan', component: QueryMaintenancePlan },
+  { path: '/wms/uploadTrainingVideo', component: UploadTrainingVideo },
+  { path: '/wms/synchronousMaintenanceForm', component: SynchronousMaintenanceForm },
+  { path: '/wms/queryMaintenancePlan', component: QueryMaintenancePlan },
 ];
 
 

+ 4 - 4
webpack.prod.js

@@ -6,7 +6,7 @@ const WebpackMerge = require('webpack-merge');
 const baseConfig = require('./webpack.base.js');
 const TerserPlugin = require('terser-webpack-plugin');
 const { CleanWebpackPlugin } = require('clean-webpack-plugin');
-const CopyPlugin = require("copy-webpack-plugin");
+const CopyPlugin = require('copy-webpack-plugin');
 module.exports =  WebpackMerge.merge(baseConfig, {
   mode: 'production',
   //开发环境下默认启用cache,在内存中对已经构建的部分进行缓存
@@ -75,9 +75,9 @@ module.exports =  WebpackMerge.merge(baseConfig, {
     }),
     new CopyPlugin({
       patterns: [
-        { from: "./public/oalogin.html", to: "" },
-        { from: "./public/casLogin.html", to: "" },
-        { from: "./public/ssoLogin.html", to: "" },
+        { from: './public/oalogin.html', to: '' },
+        { from: './public/casLogin.html', to: '' },
+        { from: './public/ssoLogin.html', to: '' },
       ],
     }),
   ]),