资产属性修改
This commit is contained in:
parent
6604df67e4
commit
ac94e404f7
|
|
@ -378,7 +378,7 @@
|
|||
</el-col>
|
||||
<el-col :span="7">
|
||||
<el-form-item label="资产属性" prop="assetsId">
|
||||
<el-select v-model="form.assetsId" placeholder="请选择资产属性" clearable style="width: 100%;" disabled>
|
||||
<el-select v-model="form.assetsId" placeholder="请选择资产属性" clearable style="width: 100%;" >
|
||||
<el-option
|
||||
v-for="dict in ZichanTypeList"
|
||||
:key="dict.value"
|
||||
|
|
@ -1041,6 +1041,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 对象
|
||||
|
|
@ -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 对象
|
||||
|
|
|
|||
Loading…
Reference in New Issue