| 
					
				 | 
			
			
				@@ -5,6 +5,46 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <div class="form"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div class="form_box"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <dil-form :formId="113" v-model="form1" ref="from1"></dil-form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <div class="preview-group"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-form-item label="承运单位:"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                v-model="carrierId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                filterable > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-option 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  v-for="carrier in carriers" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  :key="carrier.id" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  :label="carrier.label" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  :value="carrier.id"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                </el-option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              </el-select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-form-item label="提货单位:"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                v-model="downSwimPortId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                filterable > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-option 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  v-for="carrier in carriers" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  :key="carrier.id" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  :label="carrier.label" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  :value="carrier.id"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                </el-option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              </el-select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-form-item label="到达港:"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                v-model="portId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                filterable > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-option 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  v-for="port in ports" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  :key="port.portId" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  :label="port.portName" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  :value="port.portId"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                </el-option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              </el-select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </el-form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div class="liulan"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-button type="primary" class="btn" @click="onDrawer">浏览</el-button> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -53,6 +93,12 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   data() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       input: "", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      carrierId:"",//承运单位id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      carriers:[], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      downSwimPortId:"",//提货单位id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      downSwimPorts:[], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      portId:"",//到达港id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      ports:[], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       drawer: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       direction: "rtl", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       options: { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -85,8 +131,39 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   mounted() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.$set(this.form1, "requesterGroupId", 1); //委托单位(requesterGroupId)承运单位(carrierId)转移到提货委托 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.$set(this.form1, "carrierId", 11); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    this.getCarriers(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    this.getPorts(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //查询所有承运单位和提货单位 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    getCarriers(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.axios.get("/api/v1/tms/getPortName").then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if (res.data.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //赋值 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.carriers=res.data.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.downSwimPorts=res.data.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.$message({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              type: "warning", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              message: res.data.data, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //查询所有港口 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    getPorts(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.axios.post("/api/v1/rms/getPortName?index=").then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if (res.data.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //赋值 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.ports=res.data.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.$message({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              type: "warning", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              message: res.data.data, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     getPersonInfo() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       console.log(this.form1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       console.log("我尽力了"); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -135,20 +212,21 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let AmsshipDeliveryAttorney = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        carrierId: this.form1.carrierId, //委托单位(requesterGroupId)承运单位(carrierId)转移到提货委托 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        carrierId: this.carrierId, //委托单位(requesterGroupId)承运单位(carrierId)转移到提货委托 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         requesterGroupId: this.form1.requesterGroupId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        downSwimPortId: this.form1.downSwimPortId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        downSwimPortId: this.downSwimPortId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         attorenyPickupIdcard: this.form1.attorenyPickupIdcard, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         attorneyContactTelephone: this.form1.attorneyContactTelephone, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         batchId: this.batchIds, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         attorneyTime: sjTime(this.form1.attorneyTime), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         attorneyPdffile: this.form1.attorneyPdffile, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         noticeId: this.form1.noticeId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        portId: this.form1.portId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        portId: this.portId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         attorneyPickupContactPerson: this.form1.attorneyPickupContactPerson, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         userId: getCookie("userId"), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // resultMemo: this.form1.resultMemo, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      console.log(AmsshipDeliveryAttorney); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       //身份证校验 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       function checkCardNo() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         var value3 = AmsshipDeliveryAttorney.attorenyPickupIdcard; 
			 |