| 
															
																@@ -281,7 +281,11 @@ class ImportBaseTree { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																     calculateLeafWithPos () { 
															 | 
															
															 | 
															
																     calculateLeafWithPos () { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         for (const node of this.items) { 
															 | 
															
															 | 
															
																         for (const node of this.items) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            if (node.children && node.children.length > 0) { continue; } 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            if (node.children && node.children.length > 0) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                node.unit_price = null; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                node.quantity = null; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                node.total_price = null; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             if (!node.pos || node.pos.length === 0) { continue; } 
															 | 
															
															 | 
															
																             if (!node.pos || node.pos.length === 0) { continue; } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             node.quantity = this.ctx.helper.sum(_.map(node.pos, 'quantity')); 
															 | 
															
															 | 
															
																             node.quantity = this.ctx.helper.sum(_.map(node.pos, 'quantity')); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             if (node.quantity && node.unit_price) { 
															 | 
															
															 | 
															
																             if (node.quantity && node.unit_price) { 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -353,6 +357,7 @@ class AnalysisExcelTree { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         node.unit = this.ctx.helper.replaceReturn(row[this.colsDef.unit]); 
															 | 
															
															 | 
															
																         node.unit = this.ctx.helper.replaceReturn(row[this.colsDef.unit]); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         const precision = this.ctx.helper.findPrecision(this.ctx.tender.info.precision, node.unit); 
															 | 
															
															 | 
															
																         const precision = this.ctx.helper.findPrecision(this.ctx.tender.info.precision, node.unit); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         node.quantity = this.ctx.helper.round(aeUtils.toNumber(row[this.colsDef.quantity]), precision.value); 
															 | 
															
															 | 
															
																         node.quantity = this.ctx.helper.round(aeUtils.toNumber(row[this.colsDef.quantity]), precision.value); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        node.sgfh_qty = node.quantity; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         node.unit_price = aeUtils.toNumber(row[this.colsDef.unit_price]); 
															 | 
															
															 | 
															
																         node.unit_price = aeUtils.toNumber(row[this.colsDef.unit_price]); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         node.drawing_code = this.ctx.helper.replaceReturn(row[this.colsDef.drawing_code]); 
															 | 
															
															 | 
															
																         node.drawing_code = this.ctx.helper.replaceReturn(row[this.colsDef.drawing_code]); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         node.memo = this.ctx.helper.replaceReturn(row[this.colsDef.memo]); 
															 | 
															
															 | 
															
																         node.memo = this.ctx.helper.replaceReturn(row[this.colsDef.memo]); 
															 |