材料站优化
This commit is contained in:
parent
6d8b037372
commit
e20ba76e7d
|
|
@ -480,6 +480,7 @@ export default {
|
||||||
},
|
},
|
||||||
/** 机具类型 */
|
/** 机具类型 */
|
||||||
equipmentType() {
|
equipmentType() {
|
||||||
|
const loading = this.$loading()
|
||||||
equipmentTypeTree({
|
equipmentTypeTree({
|
||||||
agreementIdList: this.agreementId,
|
agreementIdList: this.agreementId,
|
||||||
proId: this.maForm.proId,
|
proId: this.maForm.proId,
|
||||||
|
|
@ -497,6 +498,8 @@ export default {
|
||||||
if (this.equipmentList.length > 0) {
|
if (this.equipmentList.length > 0) {
|
||||||
this.deviceType = this.equipmentList.map(item => item.typeId)
|
this.deviceType = this.equipmentList.map(item => item.typeId)
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
loading.close()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 处理类型数据
|
// 处理类型数据
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue