From b40a03e6cbba769c752d6d8f3b8a8c9af2e50955 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期二, 28 四月 2026 16:07:04 +0800
Subject: [PATCH] 小程序端和PC端bug修复

---
 small-program/shop/pages/store-home/store-home.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/small-program/shop/pages/store-home/store-home.vue b/small-program/shop/pages/store-home/store-home.vue
index 6de6a02..5f60eab 100644
--- a/small-program/shop/pages/store-home/store-home.vue
+++ b/small-program/shop/pages/store-home/store-home.vue
@@ -28,13 +28,13 @@
             <text>閿�鍞(鍏�)</text>
             <image class="stat-icon" src="/static/icon/ic_visible@2x.png"></image>
           </view>
-          <text class="stat-value">{{countData.salesAmount}}</text>
+          <text class="stat-value">{{((countData.salesAmount || 0)/100).toFixed(2)}}</text>
         </view>
         <view class="stat-card">
           <view class="stat-label">
             <text>缁撶畻鍒╂鼎(鍏�)</text>
           </view>
-          <text class="stat-value">{{countData.settlementProfit}}</text>
+          <text class="stat-value">{{((countData.settlementProfit|| 0)/100).toFixed(2)}}</text>
         </view>
         <view class="stat-card">
           <view class="stat-label">
@@ -103,7 +103,7 @@
           <view class="order-buttons">
             <button class="btn secondary" @click="contactPhoneDo(item.takePhone)">鑱旂郴瀹㈡埛</button>
 			<button class="btn secondary" @click="contactPhoneDo(item.driverPhone)" v-if="item.type ===1&&(item.status === 4 || item.status === 3)">鑱旂郴楠戞墜</button>
-            <button class="btn primary"  v-if="item.status ===1 " @click="jumpHexiaoOrder(item)">鏀朵欢鏍搁攢</button>
+            <button class="btn primary"  v-if="item.status ===1  ||item.status ===4" @click="jumpHexiaoOrder(item)">鏀朵欢鏍搁攢</button>
             <button class="btn primary" v-if="item.status ===5 &&(item.overdueStatus ==0 || item.overdueStatus == 1)" @click="jumpHexiaoOrder(item)">纭鍒板簵</button>
             <button class="btn primary"  v-if="item.status ===5 && (item.overdueStatus == 4 || item.overdueStatus == 2) " @click="jumpHexiaoOrder(item)">鍙栦欢鏍搁攢</button>
 		   </view>

--
Gitblit v1.9.3