Browse Source

Merge branch 'master' into 'master'

优化追溯码匹配

See merge request lighter/vue-intergration-platform!167
huangshuhua 2 months ago
parent
commit
0e6c363a5f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/yp-codg/YpMzCodgMatch.vue

+ 2 - 2
src/views/yp-codg/YpMzCodgMatch.vue

@@ -178,10 +178,10 @@ const checkBarList = () => {
     let barInfo = str.replaceAll('\n', ',').split(',')
     if(barInfo.length > 0) {
       for(let i in barInfo){
-        if(barInfo[i].length === 20){
+        if(barInfo[i].length === 20 || barInfo[i].length === 55){
           sum++;
         } else {
-          if(barInfo[i] > 0 && barInfo[i].length !== 20){
+          if(barInfo[i] > 0 && barInfo[i].length !== 20 && barInfo[i].length !== 55){
             sum++;
             barFor = true
             infoErr += barInfo[i] + '\n';