| 
															
																@@ -3371,10 +3371,13 @@ $(document).ready(function() { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             headerFont: 'bold 10px 微软雅黑', 
															 | 
															
															 | 
															
																             headerFont: 'bold 10px 微软雅黑', 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             font: '10px 微软雅黑' 
															 | 
															
															 | 
															
																             font: '10px 微软雅黑' 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         }; 
															 | 
															
															 | 
															
																         }; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        const hasCl = ledgerSpreadSetting.cols.find(x => { return x.field === 'sjcl_qty'}); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        const qtyF = hasCl ? 'quantity' : 'sgfh_qty'; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        const tpF = hasCl ? 'total_price' : 'sgfh_tp'; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         for (const node of ledgerTree.nodes) { 
															 | 
															
															 | 
															
																         for (const node of ledgerTree.nodes) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             data.push({ 
															 | 
															
															 | 
															
																             data.push({ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 code: node.code, b_code: node.b_code, name: node.name, unit: node.unit, 
															 | 
															
															 | 
															
																                 code: node.code, b_code: node.b_code, name: node.name, unit: node.unit, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                unit_price: node.unit_price, quantity: node.quantity, total_price: node.total_price, 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                unit_price: node.unit_price, quantity: node[qtyF], total_price: node[tpF], 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 dgn_qty1: node.dgn_qty1, dgn_qty2: node.dgn_qty2, 
															 | 
															
															 | 
															
																                 dgn_qty1: node.dgn_qty1, dgn_qty2: node.dgn_qty2, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 drawing_code: node.drawing_code, memo: node.memo 
															 | 
															
															 | 
															
																                 drawing_code: node.drawing_code, memo: node.memo 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             }); 
															 | 
															
															 | 
															
																             }); 
															 |