| 
					
				 | 
			
			
				@@ -261,6 +261,15 @@ module.exports = app => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             this.ctx.helper.checkFieldPrecision(sp, this.qtyFields, precision.value); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         if (osp && osp.times === this.ctx.stage.curTimes && osp.order === this.ctx.stage.curOrder) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            if (d.contract_qty === undefined) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                d.contract_qty = osp.contract_qty; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            if (d.qc_qty === undefined) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                d.qc_qty = osp.qc_qty; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            if (d.postil === undefined) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                d.postil = osp.postil; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             await transaction.update(this.tableName, d, {where: {id: osp.id}}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             sp.tid = this.ctx.tender.id; 
			 |