From e449a5408265e4bd1f6c66f5be28a42efac444ee Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期日, 20 九月 2026 15:22:46 +0800
Subject: [PATCH] 天津豹鸣app 1.需求修改

---
 src/pages/sales/salesAccount/index.vue |   29 ++++++++++++++---------------
 1 files changed, 14 insertions(+), 15 deletions(-)

diff --git a/src/pages/sales/salesAccount/index.vue b/src/pages/sales/salesAccount/index.vue
index 0b9c859..f51c57a 100644
--- a/src/pages/sales/salesAccount/index.vue
+++ b/src/pages/sales/salesAccount/index.vue
@@ -90,7 +90,7 @@
                         @click.stop="openOut(item)">
                 鍙戣揣鐘舵��
               </u-button>
-              <!-- <u-button class="detail-button"
+              <u-button class="detail-button"
                         size="small"
                         type="primary"
                         @click.stop="handleInfo('edit', item)">
@@ -98,18 +98,9 @@
               </u-button>
               <u-button class="detail-button"
                         size="small"
-                        type="primary"
-                        plain
-                        @click.stop="openOut(item)">
-                鍙戣揣鐘舵��
-              </u-button> -->
-              <!-- <u-button class="detail-button"
-                        size="small"
-                        type="error"
-                        plain
-                        @click.stop="handleDelete(item)">
-                鍒犻櫎
-              </u-button> -->
+                        @click.stop="openDetail(item)">
+                璇︽儏
+              </u-button>
             </view>
           </view>
         </view>
@@ -120,12 +111,12 @@
       <text>鏆傛棤閿�鍞彴璐︽暟鎹�</text>
     </view>
     <!-- 娴姩鎿嶄綔鎸夐挳 -->
-    <!-- <view class="fab-button"
+    <view class="fab-button"
           @click="handleInfo('add')">
       <up-icon name="plus"
                size="24"
                color="#ffffff"></up-icon>
-    </view> -->
+    </view>
   </view>
 </template>
 
@@ -203,6 +194,14 @@
     });
   };
 
+  // 鍙璇︽儏锛歷iew.vue 浼氭寜 id 閲嶆柊鎷変竴閬嶅畬鏁村彴璐︼紝鍒楄〃琛屽彧浣滃崰浣�
+  const openDetail = item => {
+    uni.setStorageSync("editData", JSON.stringify(item));
+    uni.navigateTo({
+      url: "/pages/sales/salesAccount/view",
+    });
+  };
+
   // 鍒犻櫎鍗曟潯閿�鍞彴璐�
   const handleDelete = async row => {
     if (!row || !row.id) return;

--
Gitblit v1.9.3