Browse Source

SQE-ME SQE-EE

master
han\hanst 4 days ago
parent
commit
b3d4c3b0ed
  1. 36
      src/views/modules/eam/eamProjectInfo.vue

36
src/views/modules/eam/eamProjectInfo.vue

@ -543,7 +543,7 @@
<el-input v-model="modalData.cManufactureEngineerName" disabled class="project-modal-input"></el-input>
</el-form-item>
</el-col>
<el-col :span="4" v-if="isAntennaBu">
<el-col :span="4" v-if="!isAlphaOrAntennaBu">
<el-form-item>
<span slot="label" class="big-label"><a herf="#" @click="getBaseList(2006)">SQE</a></span>
<el-input v-model="modalData.cQualityEngineer4Name" disabled class="project-modal-input"></el-input>
@ -575,31 +575,19 @@
</el-col>
</el-row>
<el-row :gutter="12" class="project-modal-row" v-if="isAlphaBu">
<el-row :gutter="12" class="project-modal-row" v-if="isAlphaOrAntennaBu">
<el-col :span="4">
<el-form-item prop="sqeeeEngineerName">
<span slot="label" class="big-label"><a herf="#" @click="getBaseList(3005)">SQE-EE</a></span>
<el-input v-model="modalData.sqeeeEngineerName" disabled class="project-modal-input"></el-input>
</el-form-item>
</el-col>
<el-col :span="4" class="project-modal-empty"></el-col>
<el-col :span="4" class="project-modal-empty"></el-col>
<el-col :span="4" class="project-modal-empty"></el-col>
<el-col :span="4" class="project-modal-empty"></el-col>
</el-row>
<el-row :gutter="12" class="project-modal-row" v-if="isAntennaBu">
<el-col :span="4">
<el-col :span="4" v-if="isAntennaBu">
<el-form-item prop="eeEngineerName">
<span slot="label" class="big-label"><a herf="#" @click="getBaseList(3003)">EE</a></span>
<el-input v-model="modalData.eeEngineerName" disabled class="project-modal-input"></el-input>
</el-form-item>
</el-col>
<el-col :span="4" class="project-modal-empty"></el-col>
<el-col :span="4" class="project-modal-empty"></el-col>
<el-col :span="4" class="project-modal-empty"></el-col>
<el-col :span="4" class="project-modal-empty"></el-col>
<el-col :span="4" class="project-modal-empty"></el-col>
</el-row>
</template>
@ -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)
})
},

Loading…
Cancel
Save