From fa008901cc964ce4fd3574fcd3ef391fac98c7f4 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 09 四月 2026 18:02:16 +0800
Subject: [PATCH] 升级app 1.首页样式优化 2.客户合同金额展示错误修改

---
 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