diff --git a/src/views/budget/budgetList.vue b/src/views/budget/budgetList.vue
index 33d501e..05ee004 100644
--- a/src/views/budget/budgetList.vue
+++ b/src/views/budget/budgetList.vue
@@ -107,19 +107,20 @@
:min-width="item.minWidth"
:fixed="item.fixed"
:align="item.align"
+ :formatter="item.formatter"
>
-
-
- {{ item.formatter(scope.row, scope.row, scope.row[item.prop]) }}
-
-
- {{
- item.prop.indexOf(".") > -1
- ? scope.row[item.prop.split(".")[0]][item.prop.split(".")[1]]
- : scope.row[item.prop]
- }}
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+ (select.type = e[e.length - 1] || '')"
+ />
@@ -134,14 +144,8 @@
},
{
label: "预算类型",
- prop: 'type',
+ prop: 'type_detail.value',
width: 115,
- formatter: (cell, data, value) => {
- let res = this.types.filter(item => {
- return item.id === value
- })
- return res[0]?.value || '未知'
- }
},
{
label: "所属年份",