From 28c8ef8428f51b41e8f1e34a08bd83bf305bd0c0 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期六, 16 五月 2026 14:48:01 +0800
Subject: [PATCH] feat(qualityManagement): 质量数量拆分出 合格数量以及不合格数量

---
 src/views/salesManagement/salesLedger/index.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/views/salesManagement/salesLedger/index.vue b/src/views/salesManagement/salesLedger/index.vue
index 4e2d84e..a4ebbdf 100644
--- a/src/views/salesManagement/salesLedger/index.vue
+++ b/src/views/salesManagement/salesLedger/index.vue
@@ -1578,7 +1578,7 @@
     selectedQuotation.value = null;
     let userLists = await userListNoPage();
     userList.value = userLists.data;
-    listCustomer({ current: -1, size: -1 }).then(res => {
+    listCustomer({ current: -1, size: -1, type: 0 }).then(res => {
       customerOption.value = res.data.records;
     });
     form.value.entryPerson = userStore.id;
@@ -1705,6 +1705,8 @@
         taxExclusiveTotalPrice: taxExclusiveTotalPrice,
         invoiceType: "澧炴櫘绁�",
         isProduction: true,
+        productId: p.productId,
+        productModelId: p.productModelId
       };
     });
 
@@ -2594,6 +2596,7 @@
       瀹℃牳鎷掔粷: "瀹℃牳鎷掔粷",
       瀹℃牳閫氳繃: "瀹℃牳閫氳繃",
       宸插彂璐�: "宸插彂璐�",
+      閮ㄥ垎鍙戣揣: "閮ㄥ垎鍙戣揣",
     };
     return statusTextMap[statusStr] || "寰呭彂璐�";
   };
@@ -2625,6 +2628,7 @@
       瀹℃牳鎷掔粷: "danger",
       瀹℃牳閫氳繃: "success",
       宸插彂璐�: "success",
+      閮ㄥ垎鍙戣揣: "warning",
     };
     return typeTextMap[statusStr] || "info";
   };
@@ -2650,7 +2654,7 @@
 
     // 鍙戣揣鐘舵�佸繀椤绘槸"寰呭彂璐�"鎴�"瀹℃牳鎷掔粷"
     const statusStr = shippingStatus ? String(shippingStatus).trim() : "";
-    return statusStr === "寰呭彂璐�" || statusStr === "瀹℃牳鎷掔粷";
+    return statusStr === "寰呭彂璐�" || statusStr === "瀹℃牳鎷掔粷" || statusStr === "閮ㄥ垎鍙戣揣";
   };
 
   // 鎵撳紑闄勪欢寮圭獥

--
Gitblit v1.9.3