v1.9 优化保养检查项修改bug

This commit is contained in:
wuxw 2025-11-13 15:52:52 +08:00
parent ab44ac839b
commit e9fa382b83

View File

@ -88,18 +88,12 @@ export default {
},
methods: {
open(data) {
this.resetForm()
//this.resetForm()
if (data) {
this.form = {
...this.form,
titleId: data.titleId,
itemId: data.itemId,
titleType: data.titleType,
itemTitle: data.itemTitle,
seq: data.seq,
titleValues: data.titleValues || [],
communityId: data.communityId
}
this.form = { ...data }
this.form.titleValues = data.titleValues || []
console.log(this.form, data)
}
this.visible = true
},