ccj 2 years ago
parent
commit
7a8928fa64

+ 8 - 2
src/components/balanceAlert.vue

@@ -56,7 +56,9 @@ export default {
           const port = await navigator.serial.requestPort()
           if (
             this.deptBudgetList.warehouseName == '白城内陆港' ||
-            this.deptBudgetList.warehouseName == '肇东金信库'
+            this.deptBudgetList.warehouseName == '肇东金信库'||
+            this.deptBudgetList.warehouseName == '洮南胡力吐粮食储备库'||
+            this.deptBudgetList.warehouseName == '洮南向阳乡金昊'
           ) {
             this.param = 1200
           } else if (this.deptBudgetList.warehouseName == '鲅鱼圈祥腾库') {
@@ -124,7 +126,9 @@ export default {
             console.log('valuezzz:', zzz)
           } else if (
             this.deptBudgetList.warehouseName == '白城内陆港' ||
-            this.deptBudgetList.warehouseName == '鲅鱼圈祥腾库'
+            this.deptBudgetList.warehouseName == '洮南胡力吐粮食储备库' ||
+            this.deptBudgetList.warehouseName == '鲅鱼圈祥腾库'||
+            this.deptBudgetList.warehouseName == '洮南向阳乡金昊'
           ) {
             console.log('value:', value)
             var start = new Date().getTime()
@@ -154,6 +158,8 @@ export default {
               this.deptBudgetList.warehouseName == '哈尔滨依兰库' ||
               this.deptBudgetList.warehouseName == '龙江金信库' ||
               this.deptBudgetList.warehouseName == '白城内陆港' ||
+              this.deptBudgetList.warehouseName == '洮南胡力吐粮食储备库' ||
+              this.deptBudgetList.warehouseName == '洮南向阳乡金昊' ||
               this.deptBudgetList.warehouseName == '甘南林峰库' ||
               this.deptBudgetList.warehouseName == '肇东金信库' ||
               this.deptBudgetList.warehouseName == '呼兰大金仓'||

+ 32 - 32
src/views/financialManagement/component/routers/route.js

@@ -1,35 +1,35 @@
-import Layout from '@/layout/index';
+// import Layout from '@/layout/index';
 
-const financialManagementRouter = {
-  path: '/financialManagement',
-  component: Layout,
-  redirect: '/financialManagement',
-  name: 'financialManagement',
-  alwaysShow: true, // will always show the root menu
-  meta: {
-    title: 'financialManagement',
-    module: 'financial.collection',
-    icon: '-caiwuguanli'
-  },
-  children: [
-      // 收款管理
-    {
-      path: 'collectionManagementList',
-      component: () =>
-        import(/* webpackChunkName: "applDetail" */ '@/views/financialManagement/collectionManagementList'),
-      name: 'collectionManagementList',
-      meta: {
-        title: 'collectionManagementList',
-        shortcutEntrance: 'financialManagement',
-        module: 'financial.collectionInfo',
-        permissicon: [],
-        keepAlive: true,
-        _title:'收款管理'
-        // module: 'procurement.sparepart.applDetail'
-      }
-    },
-  ],
+// const financialManagementRouter = {
+//   path: '/financialManagement',
+//   component: Layout,
+//   redirect: '/financialManagement',
+//   name: 'financialManagement',
+//   alwaysShow: true, // will always show the root menu
+//   meta: {
+//     title: 'financialManagement',
+//     module: 'financial.collection',
+//     icon: '-caiwuguanli'
+//   },
+//   children: [
+//       // 收款管理
+//     {
+//       path: 'collectionManagementList',
+//       component: () =>
+//         import(/* webpackChunkName: "applDetail" */ '@/views/financialManagement/collectionManagementList'),
+//       name: 'collectionManagementList',
+//       meta: {
+//         title: 'collectionManagementList',
+//         shortcutEntrance: 'financialManagement',
+//         module: 'financial.collectionInfo',
+//         permissicon: [],
+//         keepAlive: true,
+//         _title:'收款管理'
+//         // module: 'procurement.sparepart.applDetail'
+//       }
+//     },
+//   ],
 
-};
+// };
 
-export default financialManagementRouter;
+// export default financialManagementRouter;

+ 7 - 7
src/views/houseSelfCollect/acquisitionManagementAdd.vue

@@ -675,12 +675,12 @@ export default {
     // 增加分界
     add(item, item1, index) {
       // let _data = this.detailList;
-      if (item.index > 2) {
-        this.$message({
-          message: '最多插入3个分界值',
-          type: 'warning',
-        })
-      } else {
+      // if (item.index > 2) {
+      //   this.$message({
+      //     message: '最多插入3个分界值',
+      //     type: 'warning',
+      //   })
+      // } else {
         item.index++
         item.detailList.splice(index + 1, 0, {
           name: '分界',
@@ -694,7 +694,7 @@ export default {
           type: 4,
         })
         this.makeSpliceIndex(item, item1, index)
-      }
+      // }
     },
     // 减少分界
     reduce(item, item1, index) {

+ 6 - 6
src/views/tranManagement/tranManagementVehicleDispatching.vue

@@ -516,7 +516,7 @@
           } else {
             var tmp1 = 'C00'
             this.deptBudgetList.count++
-            if (this.deptBudgetList.tranCarInfoList.length < 10) {
+            if (this.deptBudgetList.tranCarInfoList.length + 1 < 10) {
               this.deptBudgetList.tranCarInfoList.push({
                 driverName: '',
                 driverPhone: '',
@@ -535,7 +535,7 @@
                 tranCarNo: 'C00' + (this.deptBudgetList.tranCarInfoList.length + 1),
                 tranPrice: this.deptBudgetList.tranPrice
               })
-            } else if (this.deptBudgetList.tranCarInfoList.length < 100 && this.deptBudgetList.tranCarInfoList.length >=
+            } else if (this.deptBudgetList.tranCarInfoList.length+ 1 < 100 && this.deptBudgetList.tranCarInfoList.length + 1>=
               10) {
               tmp1 = 'C0'
               this.deptBudgetList.count++
@@ -557,7 +557,7 @@
                 tranCarNo: 'C0' + (this.deptBudgetList.tranCarInfoList.length + 1),
                 tranPrice: this.deptBudgetList.tranPrice
               })
-            } else if (this.deptBudgetList.tranCarInfoList.length < 1000 && this.deptBudgetList.tranCarInfoList.length >=
+            } else if (this.deptBudgetList.tranCarInfoList.length < 1000 && this.deptBudgetList.tranCarInfoList.length+ 1 >=
               100) {
               tmp1 = 'C'
               this.deptBudgetList.count++
@@ -590,7 +590,7 @@
           } else {
             var tmp1 = 'C00'
             this.deptBudgetList.count++
-            if (this.deptBudgetList.tranCarInfoList.length < 10) {
+            if (this.deptBudgetList.tranCarInfoList.length + 1 < 10) {
               this.deptBudgetList.tranCarInfoList.push({
                 driverName: '',
                 driverPhone: '',
@@ -609,7 +609,7 @@
                 tranCarNo: 'C00' + (this.deptBudgetList.tranCarInfoList.length + 1),
                 tranPrice: this.deptBudgetList.tranPrice
               })
-            } else if (this.deptBudgetList.tranCarInfoList.length < 100 && this.deptBudgetList.tranCarInfoList.length >=
+            } else if (this.deptBudgetList.tranCarInfoList.length < 100 && this.deptBudgetList.tranCarInfoList.length+ 1 >=
               10) {
               tmp1 = 'C0'
               this.deptBudgetList.count++
@@ -631,7 +631,7 @@
                 tranCarNo: 'C0' + (this.deptBudgetList.tranCarInfoList.length + 1),
                 tranPrice: this.deptBudgetList.tranPrice
               })
-            } else if (this.deptBudgetList.tranCarInfoList.length < 1000 && this.deptBudgetList.tranCarInfoList.length >=
+            } else if (this.deptBudgetList.tranCarInfoList.length < 1000 && this.deptBudgetList.tranCarInfoList.length+ 1 >=
               100) {
               tmp1 = 'C'
               this.deptBudgetList.count++