Browse Source

feat(selfInspectionReporting): 恢复ele-modal组件的关闭逻辑,确保首件两检详情显示没问题

xieyong 1 month ago
parent
commit
0258fa7e1c

+ 3 - 2
src/views/produce/components/qualityInspection/components/selfInspectionReporting.vue

@@ -1,5 +1,5 @@
 <template>
-  <!-- <ele-modal
+  <ele-modal
     :before-close="cancel"
     :close-on-click-modal="false"
     :maxable="true"
@@ -13,7 +13,7 @@
     width="90vw"
     :resizable="true"
     :movable="true"
-  > -->
+  >
   <div class="report-page self-reporting-page" v-if="visible">
     <el-form
       class="reporting-form"
@@ -434,6 +434,7 @@
       @changeSel="changeSel"
     ></inspectionTemplatePop>
   </div>
+  </ele-modal>
 </template>
 
 <script>