From 76746dcdb6f0572c4b3349056421369aa7a34b09 Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期一, 08 十二月 2025 11:12:27 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override

---
 north-glass-erp/northglass-erp/src/components/pp/PrintProcess.vue |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/components/pp/PrintProcess.vue b/north-glass-erp/northglass-erp/src/components/pp/PrintProcess.vue
index 4791d3a..64a6757 100644
--- a/north-glass-erp/northglass-erp/src/components/pp/PrintProcess.vue
+++ b/north-glass-erp/northglass-erp/src/components/pp/PrintProcess.vue
@@ -168,7 +168,17 @@
       //姣忎釜搴忓彿闈㈢Н
       collection.total_area = parseFloat((collection.width * collection.height * collection.quantity / 1000000).toFixed(2))
       totalArea = add(totalArea, collection.total_area)
-      totalWeight += collection.width * collection.height * collection.quantity / 1000000 * collection.separation * 2.5 * 1;
+      //鏍规嵁鏈夊嚑灞傝绠楅噸閲�
+      for (let j = 0; j < produceList.value[i].detail.length; j++) {
+        if (produceList.value[i].detail[j].technologyNumber.length>1){
+          totalWeight += collection.weight * collection.quantity  * 1;
+
+        }else {
+          totalWeight += collection.width * collection.height * collection.quantity / 1000000 * collection.separation * 2.5 * 1;
+
+        }
+      }
+
       //姣忎釜搴忓彿鍛ㄩ暱
       collection.perimeter = parseFloat(((collection.width * 2 + collection.height * 2) * collection.quantity / 1000).toFixed(3))
     });
@@ -359,7 +369,9 @@
       <td class="tdNowrap">鍗曠墖鍚嶇О锛�</td>
       <td colspan="3">{{ itemTr.glass_child }}</td>
       <td class="tdNowrap">浜у搧鍚嶇О锛�</td>
-      <td :colspan="2+item.processList.length*2">{{ itemTr.product_name }}</td>
+
+      <td v-if="!company.processFontSize" :colspan="2+item.processList.length*2">{{ itemTr.product_name }}</td>
+      <td v-else :colspan="2+item.processList.length*2" style="font-size: 18px;">{{ itemTr.product_name }}</td>
     </tr>
     <tr>
       <td rowspan='2'>搴忓彿</td>

--
Gitblit v1.8.0