fix:质检统计查询问题修复

This commit is contained in:
shijing 2026-03-04 16:52:35 +08:00
parent 625df22d50
commit 04ae10aa40
1 changed files with 1 additions and 1 deletions

View File

@ -565,7 +565,7 @@ export default {
obj.compare = "lte"; obj.compare = "lte";
obj.field = "data__外观检验_返修_日期"; obj.field = "data__外观检验_返修_日期";
} }
if(that.query.batch.indexOf(' ')>-1){ if(that.query.batch != "" && that.query.batch != null && that.query.batch != undefined&&that.query.batch.indexOf(' ')){
let arrs = that.query.batch.split(' '); let arrs = that.query.batch.split(' ');
arrs.forEach((item,index)=>{ arrs.forEach((item,index)=>{
let newArrayName1 = 'arr1' + index; let newArrayName1 = 'arr1' + index;