From b3d4c3b0ed22290735f65f9af73258bd8893d20a Mon Sep 17 00:00:00 2001 From: "han\\hanst" Date: Fri, 24 Jul 2026 14:07:19 +0800 Subject: [PATCH] SQE-ME SQE-EE --- src/views/modules/eam/eamProjectInfo.vue | 36 ++++++++---------------- 1 file changed, 12 insertions(+), 24 deletions(-) diff --git a/src/views/modules/eam/eamProjectInfo.vue b/src/views/modules/eam/eamProjectInfo.vue index 38b3c19..ad8f752 100644 --- a/src/views/modules/eam/eamProjectInfo.vue +++ b/src/views/modules/eam/eamProjectInfo.vue @@ -543,7 +543,7 @@ - + SQE @@ -575,31 +575,19 @@ - + SQE-EE - - - - - - - - + EE - - - - - @@ -3197,15 +3185,15 @@ import {updateColumnSize} from "../../../api/table"; const escapedSite = String(currentSite).replace(/'/g, "''") conSql = " and site = '" + escapedSite + "'" } - // if (val === 2006 ) { - // conSql = " and b.site = '" + this.$store.state.user.site + "'" - // } - // if (val === 2007 ) { - // conSql = " and b.site = '" + this.$store.state.user.site + "'" - // } - // if (val === 2008 ) { - // conSql = " and b.site = '" + this.$store.state.user.site + "'" - // } + if (val>=3001&&val<=3005) { + let currentSite = this.getSiteByJoinedBuValue(this.modalData.bu) + if (!currentSite) { + this.$message.warning('未获取到BU所属工厂,请重新选择BU!') + return + } + const escapedSite = String(currentSite).replace(/'/g, "''") + conSql = " and b.site = '" + escapedSite + "'" + } this.$refs.baseList.init(val, strVal,conSql) }) },