diff --git a/src/views/material/ma/device/index.vue b/src/views/material/ma/device/index.vue index be961ba2..8b7f5131 100644 --- a/src/views/material/ma/device/index.vue +++ b/src/views/material/ma/device/index.vue @@ -378,7 +378,7 @@ - + { this.form = response.data + this.form.assetsId = this.form.assetsId ? Number(this.form.assetsId) : '' if (response.data.keeperId) { const keeperIds = response.data.keeperId.split(',') // 根据 keeperIds 从 KeeperOptions 中获取对应的 keeper 对象 @@ -1091,6 +1092,7 @@ export default { const maId = row.maId getDeviceDetail(maId).then((response) => { this.form = response.data + this.form.assetsId = this.form.assetsId ? Number(this.form.assetsId) : '' if (response.data.keeperId) { const keeperIds = response.data.keeperId.split(',') // 根据 keeperIds 从 KeeperOptions 中获取对应的 keeper 对象