| 
					
				 | 
			
			
				@@ -397,13 +397,13 @@ class gatherStageGclTree extends loadGclBaseTree { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     getUpdateData() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const result = { update: [], errors: [], qc_detail: [] }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         for (const bn of this.baseNodes) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (!this.cover && !bn.is_import && !bn.contract_qty && !bn.qc_qty && !bn.contract_tp) continue; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (!this.cover && !bn.is_import && !bn.contract_qty && !bn.qc_qty && !bn.contract_tp && !bn.qc_minus_qty) continue; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (!bn.is_import && bn.org_qc_qty !== 0 && bn.qc_qty !== 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 result.errors.push({ b_code: bn.b_code, name: bn.name, unit: bn.unit, qc_qty: bn.qc_qty, qc_minus_qty: bn.qc_minus_qty, ledger_id: bn.ledger_id, type: 'qc-conflict'}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 continue; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (bn.is_import || this.cover || bn.contract_qty !== bn.org_contract_qty || bn.contract_tp !== bn.org_contract_tp || bn.qc_qty !== bn.org_qc_qty || bn.qc_minus_qty != bn.org_qc_minus_qty) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (bn.is_import || this.cover || bn.contract_qty !== bn.org_contract_qty || bn.contract_tp !== bn.org_contract_tp || bn.qc_qty !== bn.org_qc_qty || bn.qc_minus_qty !== bn.org_qc_minus_qty) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 let data = { lid: bn.id, contract_qty: bn.contract_qty, contract_tp: bn.contract_tp }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (!bn.is_import && bn.org_qc_qty) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     data.qc_qty = bn.org_qc_qty; 
			 |