From 54bb26dd12dacbbd2bdf006ed8ca3e28f45fcf7d Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 11 三月 2026 13:38:53 +0800
Subject: [PATCH] 进销存升级app 1.将首页与工作台分开,添加新首页样式 2.首页饼状图不展示修改

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

diff --git a/src/pages/sales/salesAccount/index.vue b/src/pages/sales/salesAccount/index.vue
index 60ec732..d6a3d8c 100644
--- a/src/pages/sales/salesAccount/index.vue
+++ b/src/pages/sales/salesAccount/index.vue
@@ -80,25 +80,32 @@
             <up-divider></up-divider>
             <view class="detail-buttons">
               <u-button class="detail-button"
-                      size="small"
-                      type="primary"
-                      @click.stop="handleInfo('edit', item)">
-              缂栬緫
-            </u-button>
+                        size="small"
+                        type="primary"
+                        plain
+                        @click.stop="openOut(item)">
+                鍙戣揣鐘舵��
+              </u-button>
+              <!-- <u-button class="detail-button"
+                        size="small"
+                        type="primary"
+                        @click.stop="handleInfo('edit', item)">
+                缂栬緫
+              </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>
+                        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> -->
             </view>
           </view>
         </view>
@@ -109,12 +116,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>
 
@@ -152,9 +159,7 @@
       const statusStr = (p.shippingStatus ?? "").toString();
       // 鍖呭惈鈥滃彂璐р�濇垨鏈夊彂璐ф棩鏈�/杞︾墝鍙疯涓哄凡鍙戣揣
       return (
-        statusStr.includes("鍙戣揣") ||
-        !!p.shippingDate ||
-        !!p.shippingCarNumber
+        statusStr.includes("鍙戣揣") || !!p.shippingDate || !!p.shippingCarNumber
       );
     });
   };
@@ -240,6 +245,7 @@
     try {
       // 璁剧疆鎿嶄綔绫诲瀷
       uni.setStorageSync("operationType", type);
+      uni.removeStorageSync("editData");
 
       // 濡傛灉鏄煡鐪嬫垨缂栬緫鎿嶄綔
       if (type !== "add") {

--
Gitblit v1.9.3