Prechádzať zdrojové kódy

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

lucw 7 mesiacov pred
rodič
commit
6ec865ef2c

+ 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;