| 
					
				 | 
			
			
				@@ -4,7 +4,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <page-title>返回</page-title> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <div class="form"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div class="form_box"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <dil-form :formId="228" v-model="form1"></dil-form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <dil-form :formId="113" v-model="form1"></dil-form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div>         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <!-- 确定和取消 --> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -17,6 +17,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import PageTitle from "@/components/Page/Title"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { sjTime } from '../../../ADMINISTRATORS/app'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   components: { PageTitle }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     data(){ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -44,33 +45,17 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      // 确认 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     onClickConfirm() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      let mes = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        resultId: this.$route.params.resultId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        batchId: this.form1.batchId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let AmsshipDeliveryAttorney = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        resultId: this.$route.params.attorneyId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         portId: this.form1.portId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        resultMaterialNumber: this.form1.resultMaterialNumber 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        attorneyContactTelephone:this.form1.attorneyContactTelephone, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        attorenyPickupIdcard:this.form1.attorenyPickupIdcard, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        attorneyPickupContactPerson:this.form1.attorneyPickupContactPerson, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        downSwimPortId:this.form1.downSwimPortId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        attorneyTime:sjTime(this.form1.attorneyTime), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      function isNumber() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        var value = mes.resultMaterialNumber; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //验证是否为数字 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        var patrn = /^(-)?\d+(\.\d+)?$/; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (patrn.exec(value) == null || value == "") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          return true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      var val = this.value; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      if ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        mes.batchId==null|| 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        mes.portId==null|| 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        mes.resultMaterialNumber==null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      ) this.$message.error("存在空值!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      if (!isNumber(val)) this.$message.error("物资件数必须是数字"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.axios 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        .post("/api/v1/tms/editDeliveryAttroney" , AmsshipDeliveryAttorney 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        .post("/api/v1/tms/editDeliveryAttroney",AmsshipDeliveryAttorney 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         .then(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.$message({ 
			 |