diff --git a/src/views/modules/yieldReport/com_produce_material.vue b/src/views/modules/yieldReport/com_produce_material.vue index b2d610b..212b1ca 100644 --- a/src/views/modules/yieldReport/com_produce_material.vue +++ b/src/views/modules/yieldReport/com_produce_material.vue @@ -418,6 +418,8 @@ export default { this.pageData.bomItemNo = -1; this.bomList = []; this.timeArray = []; + // 通知父组件打开过程检验对话框 + this.$emit('openProcessInspection'); } }); }, diff --git a/src/views/modules/yieldReport/com_produce_report_normal.vue b/src/views/modules/yieldReport/com_produce_report_normal.vue index 4dff2ae..e03c570 100644 --- a/src/views/modules/yieldReport/com_produce_report_normal.vue +++ b/src/views/modules/yieldReport/com_produce_report_normal.vue @@ -683,7 +683,8 @@ + :visible.sync="showMaterialFlag" @refreshPageData="refreshPageData" + @openProcessInspection="openProcessInspectionModal"> + :visible.sync="showReplaceMaterialFlag" @refreshPageData="refreshPageData" + @openProcessInspection="openProcessInspectionModal"> diff --git a/src/views/modules/yieldReport/com_replace_material.vue b/src/views/modules/yieldReport/com_replace_material.vue index 2d6e3ff..81d2c08 100644 --- a/src/views/modules/yieldReport/com_replace_material.vue +++ b/src/views/modules/yieldReport/com_replace_material.vue @@ -464,8 +464,10 @@ export default { }else{ //先提示 后关闭 this.$message.success(data.msg); - //关闭当前的页面 + //关闭当前的页面 this.closeDialog(); + // 通知父组件打开过程检验对话框 + this.$emit('openProcessInspection'); } }); },