From 7a0790d8224db45a039bf33d0ef4e24ae879a243 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期二, 30 六月 2026 10:38:05 +0800
Subject: [PATCH] 采购退货重构,添加新增、删除功能;供应商管理新增修改删除功能

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

diff --git a/src/pages/sales/salesAccount/view.vue b/src/pages/sales/salesAccount/view.vue
index aca83d3..e30831e 100644
--- a/src/pages/sales/salesAccount/view.vue
+++ b/src/pages/sales/salesAccount/view.vue
@@ -12,10 +12,6 @@
           <text class="info-value">{{ form.salesContractNo }}</text>
         </view>
         <view class="info-item">
-          <text class="info-label">瀹㈡埛鍚堝悓鍙�</text>
-          <text class="info-value highlight">{{ form.customerContractNo }}</text>
-        </view>
-        <view class="info-item">
           <text class="info-label">瀹㈡埛鍚嶇О</text>
           <text class="info-value">{{ form.customerName }}</text>
         </view>
@@ -30,6 +26,10 @@
         <view class="info-item">
           <text class="info-label">绛捐鏃ユ湡</text>
           <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>
@@ -80,6 +80,10 @@
               <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>
               <text class="info-value">{{ product.taxRate }}</text>
             </view>
@@ -125,11 +129,11 @@
   const form = ref({
     id: "",
     salesContractNo: "",
-    customerContractNo: "",
     customerId: "",
     customerName: "",
     projectName: "",
     executionDate: "",
+    deliveryDate: "",
     paymentMethod: "",
     entryPerson: "",
     entryPersonName: "",
@@ -158,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