优化
@ -174,6 +174,8 @@ export default {
if (this.$refs.mrbForm) {
this.$refs.mrbForm.resetFields();
}
// 确保通知父组件关闭对话框
this.$emit('update:visible', false);
};
@ -4659,10 +4659,13 @@ export default {
// 打开MRB异常单登记对话框
openMrbRegisterModal() {
// 直接打开MRB异常单登记对话框
this.showMrbRegisterFlag = true;
// 确保先关闭,再打开(防止状态异常)
this.showMrbRegisterFlag = false;
this.$nextTick(() => {
this.$refs.comMrbRegister.init(this.scheduleData);
});
},