zhongtianhaoyuan 3 năm trước cách đây
mục cha
commit
828bfa4fa0
1 tập tin đã thay đổi với 11 bổ sung2 xóa
  1. 11 2
      src/views/warehousenew/warehouseManagementList.vue

+ 11 - 2
src/views/warehousenew/warehouseManagementList.vue

@@ -80,7 +80,7 @@
       <ws-button @click="outData(2)">打印</ws-button>
       <ws-button @click="transformation()" v-hasPermission=" `warehouseManagement.warehouse.warehouseInfo.view`">折转</ws-button>
       <ws-button v-hasPermission="`warehouseManagement.warehouse.warehouseInfo.kan`" @click="handleall()">全部仓库</ws-button>
-        <el-table ref='table' show-summary :summary-method="getSummaries" class="wenzi" :data="warehouseList" style="width: 100%; margin-top: 20px" height="calc(100% - 45px)" v-if="warehouseType == '1'">
+        <el-table ref='table' show-summary :summary-method="getSummaries" class="wenzi setUp_css" :data="warehouseList" style="width: 100%; margin-top: 20px" height="calc(100% - 45px)" v-if="warehouseType == '1'">
         <el-table-column prop="warehouseName" label="仓库名">
         </el-table-column>
         <el-table-column prop="binNumber" label="仓位编号">
@@ -1080,6 +1080,10 @@
   height: 500px;
   /deep/.el-table .el-table__body .cell,/deep/.el-table .cell{
     text-align: center;
+    
+  }
+   /deep/.setUp_css .cell{
+  display: contents !important;
   }
   .title {
   position: relative;
@@ -1087,7 +1091,9 @@
   height: 60px;
   line-height: 60px;
   margin-bottom:14px;
+ 
 }
+
 .title::before {
   content: '';
   display: inline-block;
@@ -1272,5 +1278,8 @@
       width: 85%;
     }
   }
-  
+    /deep/.el-table td,/deep/.el-table th{
+      text-align: center;
+     
+    }
 </style>