Kaynağa Gözat

fix:溢出行

snow 2 yıl önce
ebeveyn
işleme
17f6e89ace

+ 5 - 5
src/views/InvoiceSales/capitalClaim/config/content.config.ts

@@ -70,12 +70,12 @@ const columns = [
   {
     label: "交易银行",
     prop: "trade_bank",
-    width: 275
+    width: 130
   },
   {
     label: "收款单位名称",
     prop: "trade_in",
-    width: 230
+    width: 130
   },
   {
     label: "未认领",
@@ -106,9 +106,9 @@ const contentConfig: ContentConfig = {
   apis: {
     httpList
   },
-  // isTree: true,
-  // rowKey: "id",
-  // treeProps: { hasChildren: true, children: "child" },
+  isTree: true,
+  rowKey: "id",
+  treeProps: { hasChildren: true, children: "child" },
   powers: ["001", "002", "003", "004", "005", "006", "007", "008"]
 };
 

+ 0 - 6
src/views/InvoiceSales/capitalClaim/index.vue

@@ -131,7 +131,6 @@ onMounted(
                 prop="poCode"
                 show-overflow-tooltip
               />
-
               <el-table-column fixed="right" label="操作" width="60px">
                 <template #default>
                   <el-button
@@ -156,11 +155,6 @@ onMounted(
   margin: 0;
 }
 
-:deep(.cell) {
-  display: flex;
-  flex-direction: column;
-}
-
 :deep(.el-button + .el-button) {
   margin-left: 0px !important;
 }