| 
					
				 | 
			
			
				@@ -597,6 +597,7 @@ class BaseBillsSerivce extends TreeService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     c.ledger_pid = newBills.ledger_id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 const precision = this.ctx.helper.findPrecision(this.ctx.tender.info.precision, newBills.unit); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                newBills.deal_qty = this.ctx.helper.round(d.deal_qty, precision.value); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (d.pos && d.pos.length > 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     for (const pos of d.pos) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         const newPos = { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -637,6 +638,7 @@ class BaseBillsSerivce extends TreeService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 newBills.sjcl_tp = this.ctx.helper.mul(newBills.qtcl_qty, newBills.unit_price, tpDecimal); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 newBills.qtcl_tp = this.ctx.helper.mul(newBills.sjcl_qty, newBills.unit_price, tpDecimal); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 newBills.total_price = this.ctx.helper.mul(newBills.quantity, newBills.unit_price, tpDecimal); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                newBills.deal_tp = this.ctx.helper.mul(newBills.deal_qty, newBills.unit_price, tpDecimal); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (defaultData) this.ctx.helper._.assignIn(newBills, defaultData); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 pbd.push(newBills); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 |