Commit ae6170c8 by 张立顺

fix bug

1 parent 2d88223e
......@@ -1826,8 +1826,15 @@ export default {
}
})
res.attachmentList = attachmentList
const defaultVehicle = this.$common.utils.deepClone(this.editForm.vehicle || {})
const nextVehicle = {
...defaultVehicle,
...(res?.vehicle || {})
}
this.editForm = {
...res
...this.editForm,
...res,
vehicle: nextVehicle
}
// 格式化价格
if (this.editForm.vehicle.invoicePrice) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!