From a660db06773007b1be690e0674829c00a57aeb7b Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期三, 24 十二月 2025 16:21:23 +0800
Subject: [PATCH] 订单首页流程卡新增楼层编号显示

---
 north-glass-erp/northglass-erp/src/components/pp/PrintCustomLabel.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/components/pp/PrintCustomLabel.vue b/north-glass-erp/northglass-erp/src/components/pp/PrintCustomLabel.vue
index 2c7bebb..6367be4 100644
--- a/north-glass-erp/northglass-erp/src/components/pp/PrintCustomLabel.vue
+++ b/north-glass-erp/northglass-erp/src/components/pp/PrintCustomLabel.vue
@@ -102,9 +102,10 @@
   // 閬嶅巻 lastList 骞舵洿鏂板搴旂殑灞炴��
   lastList.value.forEach(obj => {
     // 鑾峰彇鍓嶇紑鍜� orderId
-    const prefix = obj.processId.substring(0, 11);
+    const prefix = lastList.value[id].processId.substring(0, 11);
     const orderId = obj.orderId;
     const glassNumber=lastList.value[id].glassNumber
+    const customerName = obj.customerName
     // 鏍规嵁 propertyName 鏇存柊灞炴��
     if (propertyName === 'productAbbreviation' && prefix === obj.processId.substring(0, 11)) {
       obj.productAbbreviation = result;
@@ -113,9 +114,12 @@
     if (propertyName === 'project' && orderId === obj.orderId) {
       obj.project = result;
     }
-    if (propertyName === 'productName' && glassNumber === obj.glassNumber){
+    if (propertyName === 'productName' && prefix === obj.processId.substring(0, 11)){
       obj.productName = result;
     }
+    if (propertyName === 'customerName' && orderId === obj.orderId){
+      obj.customerName = result;
+    }
   });
 }
 

--
Gitblit v1.8.0