Browse Source

成本分配表/成本分配列表-人民币费用支出 弹框-表格错位调整

jingbb 6 months ago
parent
commit
b2c90b618f

+ 3 - 0
src/views/cost-allocation-total/modal/mainTableExpenseCNYModal.vue

@@ -213,4 +213,7 @@ export default {
 // /deep/ th.replacecolor {
 //   background-color: #ccc;
 // }
+/deep/.ant-table-fixed-header .ant-table-scroll .ant-table-header{
+            width: calc(100% + 9px);//减去滚动条的宽度
+}
 </style>

+ 3 - 0
src/views/reportForms/cost-allocation-table/mainTableExpenseCNYModal.vue

@@ -157,6 +157,9 @@ export default {
 /deep/ .ant-table-tbody {
   text-align: center;
 }
+/deep/.ant-table-fixed-header .ant-table-scroll .ant-table-header{
+            width: calc(100% + 9px);//减去滚动条的宽度
+}
 
 // /deep/ th.replacecolor {
 //   background-color: #ccc;