jiaxing.zhou

refactor(editReportingData): 优化数据更新后的表单状态重置

- 在数据更新成功后,设置 lastItemValid 为 true,以确保表单状态正确
- 在 expandRowKeys 重置后,添加 lastItemValid 设置,以协调表单与数据的同步
......@@ -978,6 +978,7 @@
})
this.expandRowKeys = []
this.$nextTick(()=>{
this.lastItemValid = true;
this.getTotalNumber()
})
},
......@@ -1014,6 +1015,7 @@
if (res.code == 200) {
this.msgSuccess("数据更新成功");
this.queryDeclareData(this.declareId)
this.lastItemValid = true;
} else {
this.alertWarningMsg(res.message);
}
......