Преглед изворни кода

批记录-生产统计保存不关闭

lucw пре 7 месеци
родитељ
комит
6ec865ef2c
1 измењених фајлова са 5 додато и 2 уклоњено
  1. 5 2
      src/views/batchRecord/components/editModal.vue

+ 5 - 2
src/views/batchRecord/components/editModal.vue

@@ -1562,8 +1562,11 @@
           }
           this.butLoading = false;
 
-          // 返回
-          this.handleClose();
+          if (type == 'submit-reset' || type == 'submit') {
+            // 返回
+            this.handleClose();
+          }
+
           this.$emit('reload');
         } catch (error) {
           this.butLoading = false;