From 6afb492942b17ebdb80f8e57af1b0df7ba5ee821 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 09 四月 2026 15:29:50 +0800
Subject: [PATCH] fix: 版本更新修改

---
 src/pages/financialManagement/revenueManagement/index.vue |   31 +------------------------------
 1 files changed, 1 insertions(+), 30 deletions(-)

diff --git a/src/pages/financialManagement/revenueManagement/index.vue b/src/pages/financialManagement/revenueManagement/index.vue
index a23272a..f08f2e7 100644
--- a/src/pages/financialManagement/revenueManagement/index.vue
+++ b/src/pages/financialManagement/revenueManagement/index.vue
@@ -90,41 +90,12 @@
   return n.toFixed(2);
 };
 
-const goAdd = () => {
-  uni.navigateTo({ url: "/pages/financialManagement/revenueManagement/edit?type=add" });
-};
-const goEdit = (row) => {
-  uni.navigateTo({ url: `/pages/financialManagement/revenueManagement/edit?type=edit&id=${row.id}` });
-};
-const confirmDelete = (row) => {
-  uni.showModal({
-    title: "鎻愮ず",
-    content: "纭鍒犻櫎璇ヨ褰曪紵",
-    success: async (r) => {
-      if (r.confirm) {
-        const ids = Array.isArray(row) ? row.map(i=>i.id) : [row.id];
-        const res = await delAccountIncome(ids);
-        if (res?.code === 200) getList();
-      }
-    },
-  });
-};
-
-const onIncomeTypeConfirm = (e) => {
-  const item = incomeTypes.value[e.value[0]];
-  if (item) form.incomeType = item.value;
-};
-const onMethodConfirm = (e) => {
-  const item = paymentMethods.value[e.value[0]];
-  if (item) form.incomeMethod = item.value;
-};
-
 const goBack = () => {
   uni.navigateBack();
 };
 
-syncDict();
 onShow(() => {
+  syncDict();
   getList();
 });
 </script>

--
Gitblit v1.9.3