| 
					
				 | 
			
			
				@@ -740,7 +740,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               :on-progress="uploading" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               :show-file-list="false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               :data="{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                fId: goodsList[0].fId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                fId: goodsList.length > 0 ? goodsList[0].fId : null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               }" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               :on-success="importTemplate" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               accept=".xls,.xlsx" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -2204,8 +2204,9 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       addmodify(formDate).then((response) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         console.log(response); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (response.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.form = response.rows[0]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          console.log(this.form); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if (response.rows) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.form = response.rows[0]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           if (this.form.fMblno == null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.changeNum = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } else { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -2241,8 +2242,13 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "fDetentioncargo", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             JSON.stringify(this.form.fDetentioncargo) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.goodsList = response.rows[0].tWarehousebillsCntrList; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.estimatedTime = response.rows[0].tVoyageL; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if (response.rows[0].tWarehousebillsCntrList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.goodsList = response.rows[0].tWarehousebillsCntrList; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if (response.rows[0].tVoyageL) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.estimatedTime = response.rows[0].tVoyageL; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           if (response.rows[0].tWarehousebillsCntritemsList !== null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.dataList = response.rows[0].tWarehousebillsCntritemsList; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } else this.dataList = []; 
			 |