zhengqiang 5 lat temu
rodzic
commit
233a10ba00
1 zmienionych plików z 7 dodań i 2 usunięć
  1. 7 2
      src/views/business/billPush-detail-list.vue

+ 7 - 2
src/views/business/billPush-detail-list.vue

@@ -191,11 +191,12 @@ export default {
             showModal: false,
             showModal2:false,
             submitting: false,
+            modified: false
         }
     },
     methods:{
         closeDialog() {
-            this.$emit("close", false);
+            this.$emit("close", this.modified);
         },
         handleClick(){
 
@@ -284,7 +285,11 @@ export default {
             //保存成功后回调
             this.showModal = false;
             //this.closeDialog();
-             this.changePage(1,false);
+            this.modified = retObj;
+            
+            if(retObj){
+                this.changePage(1,false);
+            }
         },
         exportXls() {
             this.changePage(1,true);