24282 před 8 měsíci
rodič
revize
4a7019978c

+ 8 - 4
jy-ui/src/views/business/capital/transactions/index.vue

@@ -144,18 +144,21 @@ const columnConfig: ColumnConfigType[] = [
     label: '收入',
     formatter(row) {
       return row.type == 1 ? row.amount : ''
-    }
+    },
+    width: 80
   },
   {
     prop: 'amount',
     label: '支出',
     formatter(row) {
       return row.type == 1 ? '' :row.amount
-    }
+    },
+    width: 80
   },
   {
     prop: 'balance',
-    label: '余额'
+    label: '余额',
+    width: 100
   },
   // {
   //   prop: 'type',
@@ -171,7 +174,8 @@ const columnConfig: ColumnConfigType[] = [
   {
     prop: 'targetType',
     label: '对方类型',
-    dict: 'target_type'
+    dict: 'target_type',
+    width: 90
   },
   {
     prop: 'targetAccountName',