Sfoglia il codice sorgente

修改航班视图值机过滤判断

chenjun 1 anno fa
parent
commit
b0c64cd881
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3 2
      src/views/newFlightView/index.vue

+ 3 - 2
src/views/newFlightView/index.vue

@@ -161,6 +161,7 @@ export default {
   computed: {
     fastFilter () {
       const [key, value] = this.selectedFilter
+      console.log(this.selectedFilter)
       if (!key) {
         return () => true
       }
@@ -170,7 +171,7 @@ export default {
           case 'transferFlightNO':
             return value ? row[key] === value : (row[key] ?? '') !== ''
           case 'check_in_baggage_number':
-            return row['No_BSM'] == 0
+            return row['No_BSM'] != 1
           case 'NO_activate_number':
             return row['activeState'] == 1
           case 'estimated_load_number':
@@ -480,4 +481,4 @@ export default {
     }
   }
 }
-</style>
+</style>