From dc70430ebef39c911bdaa5180b2e03799bdc9cd0 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Fri, 26 Jun 2026 15:30:51 +0800 Subject: [PATCH] =?UTF-8?q?2026-06-26=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/yieldReport/com_defect_roll.vue | 4 +++- src/views/modules/yieldReport/com_separate_roll.vue | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/modules/yieldReport/com_defect_roll.vue b/src/views/modules/yieldReport/com_defect_roll.vue index 39595f4..04aeede 100644 --- a/src/views/modules/yieldReport/com_defect_roll.vue +++ b/src/views/modules/yieldReport/com_defect_roll.vue @@ -528,10 +528,12 @@ export default { this.tagNo = val this.$nextTick(() => { let strVal = ""; + let conSql = ""; if (val === 89){ strVal = this.pageData.defectCode; + conSql = " and A.workCenter_no = '" + this.scheduleData.workCenterNo + "'" } - this.$refs.baseList.init(val, strVal) + this.$refs.baseList.init(val, strVal, conSql) }) }, diff --git a/src/views/modules/yieldReport/com_separate_roll.vue b/src/views/modules/yieldReport/com_separate_roll.vue index 7a1038a..3e95625 100644 --- a/src/views/modules/yieldReport/com_separate_roll.vue +++ b/src/views/modules/yieldReport/com_separate_roll.vue @@ -1007,10 +1007,12 @@ export default { this.tagNo = val this.$nextTick(() => { let strVal = '' + let conSql = '' if (val === 89) { strVal = this.rollDefectForm.defectCode || '' + conSql = " and A.workCenter_no = '" + this.scheduleData.workCenterNo + "'" } - this.$refs.baseList.init(val, strVal) + this.$refs.baseList.init(val, strVal, conSql) }) },