shaun-sheep 5 anni fa
parent
commit
30599532cd
1 ha cambiato i file con 1 aggiunte e 10 eliminazioni
  1. 1 10
      src/components/ledger/handsontables/device.vue

+ 1 - 10
src/components/ledger/handsontables/device.vue

@@ -1289,7 +1289,7 @@
           }
         }
         if (type === 2) {//覆盖
-          let filterParams = this.filterCheck(param, 'all')
+          let filterParams = this.filterCheck(param, 'sole')
           if (filterParams) {
             updateEquip(param, res => {
             });
@@ -1314,15 +1314,6 @@
           for (let j of nArr) {
             return Object.keys(j.LedgerParam).length
           }
-        } else {
-          let array = [];
-          arr.Content.forEach(i => {
-            let {EquipID, ...value} = i
-            array.push(value)
-          })
-          for (let j of array) {
-            return Object.keys(j.LedgerParam).length
-          }
         }
       }
     },