zh 2 rokov pred
rodič
commit
60a8a9980a

+ 6 - 1
src/views/sales_policy/components/AddPolicy.vue

@@ -125,6 +125,7 @@
           <!-- v-el-select-loadmore="loadmore2" -->
           <pl-table
             v-loading="listLoading"
+            class="plTable"
             :data="dataList"
             row-key="index"
             use-virtual
@@ -133,7 +134,7 @@
             inverse-current-row
             big-data-checkbox
             element-loading-text="Loading"
-            height="700"
+            height="450"
             border
             fit
             highlight-current-row
@@ -1134,4 +1135,8 @@ h4 {
 ::v-deep .el-table__virtual-wrapper {
   width: auto !important;
 }
+::v-deep .plTable td  {
+  height: 40px !important;
+  padding: 0 !important;
+}
 </style>

+ 9 - 1
src/views/sales_policy/components/editPolicy.vue

@@ -131,13 +131,14 @@
             <pl-table
               ref="plTable"
               v-loading="listLoading"
+              class="plTable"
               :data="dataList"
               row-key="index"
               use-virtual
               :data-changes-scroll-top="false"
               big-data-checkbox
               element-loading-text="Loading"
-              height="700"
+              height="450"
               border
               fit
               stripe
@@ -1230,4 +1231,11 @@ h4 {
 ::v-deep .el-table__virtual-wrapper {
   width: auto !important;
 }
+::v-deep .el-table__virtual-wrapper {
+  width: auto !important;
+}
+::v-deep .plTable td  {
+  height: 40px !important;
+  padding: 0 !important;
+}
 </style>