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