材料站工程切换优化
This commit is contained in:
parent
c6dcba9b2e
commit
39689bfa0f
|
|
@ -470,6 +470,7 @@ export default {
|
||||||
console.log('🚀 ~ changePro ~ e:', e)
|
console.log('🚀 ~ changePro ~ e:', e)
|
||||||
this.maForm.proId = e
|
this.maForm.proId = e
|
||||||
this.maForm.projectId = this.projectList.find(item => item.proId === e)?.projectId
|
this.maForm.projectId = this.projectList.find(item => item.proId === e)?.projectId
|
||||||
|
this.maForm.teamId = ''
|
||||||
await this.getBmTeam()
|
await this.getBmTeam()
|
||||||
if(this.maForm.proId){
|
if(this.maForm.proId){
|
||||||
this.equipmentList = []
|
this.equipmentList = []
|
||||||
|
|
|
||||||
|
|
@ -696,6 +696,7 @@ export default {
|
||||||
console.log('🚀 ~ changePro ~ e:', e)
|
console.log('🚀 ~ changePro ~ e:', e)
|
||||||
this.maForm.proId = e
|
this.maForm.proId = e
|
||||||
this.maForm.projectId = this.projectList.find(item => item.proId === e)?.projectId
|
this.maForm.projectId = this.projectList.find(item => item.proId === e)?.projectId
|
||||||
|
this.maForm.teamId = ''
|
||||||
this.equipmentList = []
|
this.equipmentList = []
|
||||||
if (this.maForm.pickType == 0) {
|
if (this.maForm.pickType == 0) {
|
||||||
await this.getBmTeam()
|
await this.getBmTeam()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue