操作屏

This commit is contained in:
2025-01-13 09:59:34 +08:00
parent 4ad6da1879
commit b4e378c146
2 changed files with 12 additions and 8 deletions

View File

@@ -389,11 +389,13 @@ export default {
}
},
handleCurrentChange(val) {
this.currentRow = val
this.imgSrc = val.vehicle_path
crudProduceScreen.fabMaterial({ vehicle_code: this.currentRow.vehicle_code }).then(res => {
this.popSecList = [...res]
})
if (val) {
this.currentRow = val
this.imgSrc = val.vehicle_path
crudProduceScreen.fabMaterial({ vehicle_code: this.currentRow.vehicle_code }).then(res => {
this.popSecList = [...res]
})
}
},
toSure() {
this.disabled = true
@@ -464,7 +466,9 @@ export default {
rows.splice(index, 1)
},
handleCurrentChange1(val) {
this.imgSrc = val.vehicle_path
if (val) {
this.imgSrc = val.vehicle_path
}
}
}
}