From 58243a2254afce0cc0fcc7e31f927b9c94a80687 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期一, 29 六月 2026 14:20:59 +0800
Subject: [PATCH] 销售台账新增交货日期和生产状态管理功能

---
 src/pages/sales/salesAccount/view.vue |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/pages/sales/salesAccount/view.vue b/src/pages/sales/salesAccount/view.vue
index 53ffab5..e30831e 100644
--- a/src/pages/sales/salesAccount/view.vue
+++ b/src/pages/sales/salesAccount/view.vue
@@ -28,6 +28,10 @@
           <text class="info-value">{{ form.executionDate }}</text>
         </view>
         <view class="info-item">
+          <text class="info-label">浜よ揣鏃ユ湡</text>
+          <text class="info-value">{{ form.deliveryDate || '-' }}</text>
+        </view>
+        <view class="info-item">
           <text class="info-label">浠樻鏂瑰紡</text>
           <text class="info-value">{{ form.paymentMethod }}</text>
         </view>
@@ -74,6 +78,10 @@
             <view class="info-item">
               <text class="info-label">鍗曚綅</text>
               <text class="info-value">{{ product.unit }}</text>
+            </view>
+            <view class="info-item">
+              <text class="info-label">鏄惁鐢熶骇</text>
+              <text class="info-value">{{ formatIsProduction(product.isProduction) }}</text>
             </view>
             <view class="info-item">
               <text class="info-label">绋庣巼(%)</text>
@@ -125,6 +133,7 @@
     customerName: "",
     projectName: "",
     executionDate: "",
+    deliveryDate: "",
     paymentMethod: "",
     entryPerson: "",
     entryPersonName: "",
@@ -153,6 +162,12 @@
     });
   };
 
+  const formatIsProduction = value => {
+    if (value === true || value === 1 || value === "1") return "鏄�";
+    if (value === false || value === 0 || value === "0") return "鍚�";
+    return "-";
+  };
+
   onMounted(() => {
     // 鑾峰彇缂栬緫鏁版嵁骞跺~鍏呰〃鍗�
     const editDataStr = uni.getStorageSync("editData");

--
Gitblit v1.9.3