From d40e875d8e025fd09566e919306f5b05755c25cb Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期六, 11 五月 2024 14:51:17 +0800 Subject: [PATCH] x优化班次 --- src/components/do/b1-inspect-order-plan/Inspection.vue | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue index 1858949..dee79ce 100644 --- a/src/components/do/b1-inspect-order-plan/Inspection.vue +++ b/src/components/do/b1-inspect-order-plan/Inspection.vue @@ -674,13 +674,15 @@ } } if (b.v.ps != undefined && b.v.ps.value === '缁撹') { - this.param[b.i].insResult = b - conclusionList.forEach((n, i) => { - if (n.r == b.r && n.c == b.c) { - b.v.f = - `(${this.comparisonList.find(j=>j.value==(finalList[i].c)).label}${finalList[i].r+1})` - } - }) + if(b.i!==undefined){ + this.param[b.i].insResult = b + conclusionList.forEach((n, i) => { + if (n.r == b.r && n.c == b.c) { + b.v.f = + `(${this.comparisonList.find(j=>j.value==(finalList[i].c)).label}${finalList[i].r+1})` + } + }) + } } set.add(b.r) if (b.v.f) { -- Gitblit v1.9.3