孤鹤 2 years ago
parent
commit
042a0f6415

+ 4 - 4
src/router/views/index.js

@@ -2004,17 +2004,17 @@ export default [{
     component: () => import( /* webpackChunkName: "views" */ '@/views/product/index')
   }]
 }, {
-  path: '/Inventory/index',
+  path: '/tirePartsMall/inventory/index',
   component: Layout,
   hidden: true,
   children: [{
-    path: '/Inventory/index',
+    path: '/tirePartsMall/inventory/index',
     name: '库存',
     meta: {
-      i18n: '/Inventory/index',
+      i18n: '/tirePartsMall/inventory/index',
       keepAlive: true,
     },
-    component: () => import( /* webpackChunkName: "views" */ '@/views/Inventory/index')
+    component: () => import( /* webpackChunkName: "views" */ '@/views/tirePartsMall/inventory/index')
   }]
 }, {
   path: '/statisticAnalysis/AmtAmount/index',

+ 6 - 5
src/views/tirePartsMall/salesManagement/outboundTask/index.vue

@@ -119,10 +119,9 @@ export default {
           width: 100,
           overHidden: true,
           type: 'select',
-          type: 'select',
           props: {
             label: 'fullName',
-            value: 'id'
+            value: 'fullName'
           },
           dicUrl: '/api/blade-system/dept/top-list'
         },
@@ -136,7 +135,7 @@ export default {
           type: 'select',
           props: {
             label: 'cname',
-            value: 'id'
+            value: 'cname'
           },
           dicUrl: '/api/blade-sales-part/storageDesc/listAll',
         },
@@ -295,12 +294,14 @@ export default {
     },
     onLoad(page, params = {}) {
       params = {
-        ...params,
+        // ...params,
         current: page.currentPage,
         size: page.pageSize,
         bizTypeName: "FHRW",
-        ...Object.assign(params, this.search)
+        ...Object.assign(params, this.search),
+        customerName : params.$customerName
       }
+      console.log(params);
       this.loading = true
       getList(params).then(res => {
         this.dataList = res.data.data.records