From 873d9a845357228d1d9a883da22d39aa55799899 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期六, 16 五月 2026 10:58:07 +0800
Subject: [PATCH] 生产核算增加字段

---
 src/pages/productionManagement/productionAccounting/index.vue |   22 +++++++++++++++-------
 1 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/src/pages/productionManagement/productionAccounting/index.vue b/src/pages/productionManagement/productionAccounting/index.vue
index b20b407..87ec382 100644
--- a/src/pages/productionManagement/productionAccounting/index.vue
+++ b/src/pages/productionManagement/productionAccounting/index.vue
@@ -2,7 +2,6 @@
   <view class="production-accounting">
     <PageHeader title="鐢熶骇鏍哥畻"
                 @back="goBack" />
-
     <!-- 绛涢�夊尯鍩� -->
     <view class="filter-section">
       <view class="date-type-selector">
@@ -13,7 +12,6 @@
                  lineWidth="30"
                  lineHeight="3" />
       </view>
-
       <view class="date-picker-bar"
             @click="showDatePicker = true">
         <view class="date-display">
@@ -27,7 +25,6 @@
                  color="#999"></up-icon>
       </view>
     </view>
-
     <!-- 姹囨�诲垪琛� -->
     <view class="summary-section"
           v-if="!showDetail">
@@ -80,7 +77,6 @@
                   text="鏆傛棤姹囨�绘暟鎹�" />
       </view>
     </view>
-
     <!-- 鏄庣粏鍒楄〃 (鐐瑰嚮姹囨�昏鍚庢樉绀�) -->
     <view class="detail-section"
           v-else>
@@ -91,7 +87,6 @@
                  color="#2979ff"></up-icon>
         <text class="back-text">杩斿洖姹囨�� ({{ currentUserName }})</text>
       </view>
-
       <view class="ledger-list"
             v-if="detailList.length > 0">
         <view v-for="(item, index) in detailList"
@@ -113,6 +108,14 @@
           <up-divider></up-divider>
           <view class="item-details">
             <view class="detail-row">
+              <text class="detail-label">鐢熶骇鏃ユ湡</text>
+              <text class="detail-value">{{ item.schedulingDate || '-' }}</text>
+            </view>
+            <view class="detail-row">
+              <text class="detail-label">鐢熶骇浜�</text>
+              <text class="detail-value">{{ item.schedulingUserName || '-' }}</text>
+            </view>
+            <view class="detail-row">
               <text class="detail-label">瑙勬牸鍨嬪彿</text>
               <text class="detail-value">{{ item.productModelName }}</text>
             </view>
@@ -123,6 +126,10 @@
             <view class="detail-row">
               <text class="detail-label">鐢熶骇鏁伴噺</text>
               <text class="detail-value">{{ item.quantity }} {{ item.unit }}</text>
+            </view>
+            <view class="detail-row">
+              <text class="detail-label">宸ユ椂(h)</text>
+              <text class="detail-value">{{ item.workHour || 0 }}</text>
             </view>
             <view class="detail-row">
               <text class="detail-label">宸ユ椂瀹氶</text>
@@ -143,7 +150,6 @@
                   text="鏆傛棤鏄庣粏鏁版嵁" />
       </view>
     </view>
-
     <!-- 鏃ユ湡閫夋嫨鍣� -->
     <up-datetime-picker :show="showDatePicker"
                         v-model="pickerValue"
@@ -281,7 +287,9 @@
     salesLedgerProductionAccountingListProductionDetails(params)
       .then(res => {
         const records = res.data.records || [];
-        detailList.value = isLoadMore ? [...detailList.value, ...records] : records;
+        detailList.value = isLoadMore
+          ? [...detailList.value, ...records]
+          : records;
         page1.total = res.data.total || 0;
 
         if (detailList.value.length >= page1.total) {

--
Gitblit v1.9.3