LiFei 5 éve
szülő
commit
72bb3079e0

+ 6 - 1
src/views/hlgcompany/modules/HlgCompanySubcontractor.vue

@@ -194,6 +194,9 @@
         return filterObj(param)
       },
       edit (record) {
+        this.dataSource=[]
+        this.ipagination.total=0
+        this.paymentTypeMsg=""
         this.model = Object.assign({}, record)
         this.companyId = record.id
         this.platformId = record.platformId;
@@ -233,13 +236,15 @@
         })
       },
       close () {
-        this.$emit('close');
+        this.$emit('ok');
         this.visible = false;
       },
       handleOk () {
+        this.$emit('ok');
         this.close()
       },
       handleCancel () {
+        this.$emit('ok');
         this.close()
       },
       modalFormOk(){