From d07f198f5b19ae434e5da59b1fc394a94304ed3f Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 04 七月 2024 13:03:13 +0800
Subject: [PATCH] 流程卡打印添加配置

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

diff --git a/north-glass-erp/northglass-erp/src/views/pp/processCard/AddProcessCard.vue b/north-glass-erp/northglass-erp/src/views/pp/processCard/AddProcessCard.vue
index 6431867..5d73b5a 100644
--- a/north-glass-erp/northglass-erp/src/views/pp/processCard/AddProcessCard.vue
+++ b/north-glass-erp/northglass-erp/src/views/pp/processCard/AddProcessCard.vue
@@ -146,7 +146,7 @@
   align: 'center',//鏂囧瓧灞呬腑
   stripe: true,//鏂戦┈绾�
   rowConfig: {isCurrent: true, isHover: true, height: 30, useKey: false},//榧犳爣绉诲姩鎴栭�夋嫨楂樹寒
-  id: 'CustomerListRight',
+  id: 'AddProcessCardRight',
   showFooter: true,//鏄剧ず鑴�
   printConfig: {},
   importConfig: {},
@@ -265,7 +265,7 @@
   align: 'center',//鏂囧瓧灞呬腑
   stripe: true,//鏂戦┈绾�
   rowConfig: {isCurrent: true, isHover: true, height: 30, useKey: false},//榧犳爣绉诲姩鎴栭�夋嫨楂樹寒
-  id: 'CustomerList',
+  id: 'AddProcessCardLeft',
   showFooter: true,//鏄剧ず鑴�
   printConfig: {},
   importConfig: {},
@@ -709,6 +709,18 @@
     return parseFloat((row.baiscQuantity*row.thickness*row.width*row.height*2.5/1000000).toFixed(2))
 }
 
+//鍙宠竟琛ㄦ牸瀹氫箟
+// const $grid = xGrid.value
+// //鑾峰彇鍙宠竟琛ㄦ牸checkbox閫変腑鐨勬暟鎹�
+// const checkedList = $grid.getCheckboxRecords()
+
+// const checkedSum = (checkedList) =>{
+//   let sum = 0
+//   checkedList.forEach((item)=>{
+//     sum += parseFloat(item.weightSum)
+//   })
+//   return sum
+// }
 </script>
 
 <template>

--
Gitblit v1.8.0