Ver código fonte

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

lucw 7 meses atrás
pai
commit
6ec865ef2c
1 arquivos alterados com 5 adições e 2 exclusões
  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;