licp
2024-04-22 47431e32e426d14736415ac0cc9cdcd88f7c07e5
src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -784,7 +784,15 @@
                  valueList.forEach(b => {
                    str = str.replace(b.name, b.value)
                  })
                  comResult = eval(str)
                  if(item.v.f.includes('/')>-1){
                    if(Object.getOwnPropertyNames(comValue).length==valueList.length){
                      comResult = eval(str)
                    }else{
                      comResult = ''
                    }
                  }else{
                    comResult = eval(str)
                  }
                  break;
              }
              list.forEach(a => {
@@ -835,7 +843,7 @@
              let regex = /[=\+\-\*\%\(\)\/\s]/g
              let mode = item.v.f.replace(regex, ' ').split(' ');
              mode.filter(m => m && !Number(m)).forEach(m => {
                let r = m.split('')[1] - 1
                let r =  m.replace(/[a-zA-Z]/g, "") - 1
                let c = this.comparisonList.find(j => j.label == m.split('')[0]).value
                valueList.push({
                  c,