gjy 3 anni fa
parent
commit
2a629fea73
1 ha cambiato i file con 7 aggiunte e 1 eliminazioni
  1. 7 1
      src/views/houseSelfCollect/paymentManagement.vue

+ 7 - 1
src/views/houseSelfCollect/paymentManagement.vue

@@ -73,7 +73,7 @@
       <template slot="right">
       </template>
     </BaseHeaderLayout>
-    <el-table :data="paymentList" style="width: 100%; margin-top: 20px" ref="paymentList" border height="600"
+    <el-table :data="paymentList" ref='table' style="width: 100%; margin-top: 20px" border height="600"
       @row-click="handleRowClick" @selection-change="handleSelectionChange" :summary-method="getSummaries" show-summary>
       <el-table-column :selectable="selectInit" type="selection" width="55"></el-table-column>
       <el-table-column type="index" label="序号" width="50">
@@ -373,6 +373,12 @@ import download from '../../components/WsDownload/download'
 
       // this.getList()
     },
+    updated(){
+      
+this.$nextTick(() => {
+   this.$refs['table'].doLayout();
+}) 
+    },
     methods: {
       datechange(){
         this.getList()