From c6b0f9372c610473a2e8e85e11178d371733a410 Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期一, 27 四月 2026 09:09:28 +0800
Subject: [PATCH] feat(productionReport): 添加报工审核记录查看功能

---
 src/pages/sales/salesAccount/index.vue |   24 ++++++++++++++++++------
 1 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/src/pages/sales/salesAccount/index.vue b/src/pages/sales/salesAccount/index.vue
index b5b378a..3d05ab7 100644
--- a/src/pages/sales/salesAccount/index.vue
+++ b/src/pages/sales/salesAccount/index.vue
@@ -60,7 +60,7 @@
             </view>
             <view class="detail-row">
               <text class="detail-label">鍚堝悓閲戦(鍏�)</text>
-              <text class="detail-value highlight">{{ item.contractAmount }}</text>
+              <text class="detail-value highlight">{{ formatNumber(item.contractAmount) }}</text>
             </view>
             <view class="detail-row">
               <text class="detail-label">绛捐鏃ユ湡</text>
@@ -82,6 +82,13 @@
               <u-button class="detail-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>
@@ -91,14 +98,14 @@
                         plain
                         @click.stop="openOut(item)">
                 鍙戣揣鐘舵��
-              </u-button>
-              <u-button class="detail-button"
+              </u-button> -->
+              <!-- <u-button class="detail-button"
                         size="small"
                         type="error"
                         plain
                         @click.stop="handleDelete(item)">
                 鍒犻櫎
-              </u-button>
+              </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>
 
@@ -145,6 +152,11 @@
   // 閿�鍞彴璐︽暟鎹�
   const ledgerList = ref([]);
 
+  // 鏍煎紡鍖栨暟瀛�
+  const formatNumber = value => {
+    return parseFloat(value || 0).toFixed(3);
+  };
+
   // 鍒ゆ柇鏄惁瀛樺湪宸插彂璐�/鍙戣揣瀹屾垚鐨勪骇鍝�
   const hasShippedProducts = products => {
     if (!products || products.length === 0) return false;

--
Gitblit v1.9.3