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) }) },