zhengqiang 5 лет назад
Родитель
Сommit
233a10ba00
1 измененных файлов с 7 добавлено и 2 удалено
  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,
             showModal: false,
             showModal2:false,
             showModal2:false,
             submitting: false,
             submitting: false,
+            modified: false
         }
         }
     },
     },
     methods:{
     methods:{
         closeDialog() {
         closeDialog() {
-            this.$emit("close", false);
+            this.$emit("close", this.modified);
         },
         },
         handleClick(){
         handleClick(){
 
 
@@ -284,7 +285,11 @@ export default {
             //保存成功后回调
             //保存成功后回调
             this.showModal = false;
             this.showModal = false;
             //this.closeDialog();
             //this.closeDialog();
-             this.changePage(1,false);
+            this.modified = retObj;
+            
+            if(retObj){
+                this.changePage(1,false);
+            }
         },
         },
         exportXls() {
         exportXls() {
             this.changePage(1,true);
             this.changePage(1,true);