NEZ-2106 fix:Asset复制后的数据不输入必填项model可保存成功,查看时会出现当前Type类型下没有的model
This commit is contained in:
@@ -804,7 +804,10 @@ export default {
|
||||
response.data.purchaseDate += ' 00:00:00'
|
||||
response.data.purchaseDate = new Date(response.data.purchaseDate)
|
||||
}
|
||||
this.object = response.data
|
||||
this.object = {
|
||||
...response.data,
|
||||
brandAndModel: ''
|
||||
}
|
||||
this.rightBox.show = true
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user