zhaoke 11 сар өмнө
parent
commit
88b826ef73

+ 3 - 3
src/views/newQueryAdvance/index.vue

@@ -295,9 +295,9 @@ export default {
       if (azNum.test(val) && top2.test(val) && val.length < 8) {
         // 字母加数字且前两位为字母则为航班号
         if (val.length <= 5) {
-          const len = val.length
-          const lenCx = 6 - len
-          val = val.substring(0, 2) + '0'.repeat(lenCx) + val.substring(2, len)
+          // const len = val.length
+          // const lenCx = 6 - len
+          // val = val.substring(0, 2) + '0'.repeat(lenCx) + val.substring(2, len)
           this.$refs['search'].input = val
         }
         this.form['carrierFlights'] = val