| 
					
				 | 
			
			
				@@ -33,6 +33,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import PageTitle from "@/components/Page/Title"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { sjTime,isNumber } from "@/utils/sharedJsFile"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   components: { PageTitle }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   data() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -40,6 +41,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       input:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       drawer:false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       direction:"rtl", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      batchId:0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       form1: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       options:{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         requestUrl:"/api/v1/tms/getBatchListForAttorney?apiId=375", 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -62,31 +64,28 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     currentRadioChange1(selection){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.maplist = selection 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.form1 = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          batchId:selection.shipName + selection.materialName 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.form1 = { batchId:selection.resultForeignShipName + selection.materialName} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.batchId = selection.batchId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     handleClose(done){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         done(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      makeSure() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      let AmsshipDeliveryNotice = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       //  purchaseId:this.form1.purchaseId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       carrierId:this.form1.carrierId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       //  noticeId:this.form1.noticeId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       //  cargoId:this.form1.cargoId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       requesterGroupId:this.form1.requesterGroupId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       //  cargoTransferResultId:this.form1.cargoTransferResultId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let AmsshipDeliveryNotice = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       carrierId:this.form1.carrierId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       requesterGroupId:this.form1.requesterGroupId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        noticeCommerceMethod:this.form1.noticeCommerceMethod, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        noticeHandoverMethod:this.form1.noticeHandoverMethod, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        portId:this.form1.portId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        noticePortConstructionFee:this.form1.noticePortConstructionFee, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       noticeDeliveryTime:sjTime( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            this.form1.noticeDeliveryTime 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          ), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       noticeDeliveryTime:sjTime(this.form1.noticeDeliveryTime), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        noticePileFreeDays:this.form1.noticePileFreeDays, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        noticeDistructionStatus:this.form1.noticeDistructionStatus, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       batchId:this.maplist.batchId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       batchId:this.batchId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        purchaseContractUnitPrice:this.form1.purchaseContractUnitPrice, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        purchaseContractMoisture:this.form1.purchaseContractMoisture, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        purchaseContractQualityindex:this.form1.purchaseContractQualityindex, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -107,15 +106,13 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // AmsshipDeliveryAttorney.attorneyPdffile==null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         AmsshipDeliveryNotice.noticeHandoverMethod==null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ) this.$message.error("存在空值!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      else  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.axios 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         .post( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           "/api/v1/tms/insertDeliveryNotice", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            AmsshipDeliveryNotice 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         .then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //   console.log(res); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //   console.log(this.form4); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.$router.go(-1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 |