作者 xudada

通知人选中事件赋值

@@ -548,7 +548,7 @@ @@ -548,7 +548,7 @@
548 <el-col :span="12" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 25px"> 548 <el-col :span="12" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 25px">
549 <span style="font-size: 12px"> 549 <span style="font-size: 12px">
550 Notify Name and Address 550 Notify Name and Address
551 - <el-button type="primary" plain size="mini" style="margin-top: 5px" @click="getCneFwb()">通知人</el-button> 551 + <el-button type="primary" plain size="mini" style="margin-top: 5px" @click="getCneNfy()">通知人</el-button>
552 </span> 552 </span>
553 <el-row> 553 <el-row>
554 <el-col style="width: 38%"> 554 <el-col style="width: 38%">
@@ -2075,7 +2075,13 @@ Handling Information @@ -2075,7 +2075,13 @@ Handling Information
2075 v-on:consigeerow="consigeeSelect" 2075 v-on:consigeerow="consigeeSelect"
2076 ></Consignee> 2076 ></Consignee>
2077 </el-dialog> 2077 </el-dialog>
2078 - 2078 + <!-- 列表区域 获取收货人-->
  2079 + <el-dialog :visible.sync="dialogVisible2" width="70%">
  2080 + <Consignee
  2081 + ref="consignee"
  2082 + v-on:consigeerow="notifiedSelect"
  2083 + ></Consignee>
  2084 + </el-dialog>
2079 </el-card> 2085 </el-card>
2080 </template> 2086 </template>
2081 2087
@@ -2162,7 +2168,7 @@ Handling Information @@ -2162,7 +2168,7 @@ Handling Information
2162 quantity_density:'', 2168 quantity_density:'',
2163 quantity_picecs:'', 2169 quantity_picecs:'',
2164 //体积 2170 //体积
2165 - quantity_volume:'', 2171 + quantity_volume:'0',
2166 quantity_volume_code:'MC', 2172 quantity_volume_code:'MC',
2167 quantity_weight:'', 2173 quantity_weight:'',
2168 quantity_weight_code:'K', 2174 quantity_weight_code:'K',
@@ -2188,17 +2194,17 @@ Handling Information @@ -2188,17 +2194,17 @@ Handling Information
2188 }, 2194 },
2189 flt:{ 2195 flt:{
2190 cariier:"HQ", 2196 cariier:"HQ",
2191 - day:'09', 2197 + day:'13',
2192 flightNumber:'405', 2198 flightNumber:'405',
2193 cariier2:"HQ", 2199 cariier2:"HQ",
2194 - day2:'09', 2200 + day2:'13',
2195 flightNumber2:'4055', 2201 flightNumber2:'4055',
2196 cariier3:"", 2202 cariier3:"",
2197 day3:'', 2203 day3:'',
2198 flightNumber3:'', 2204 flightNumber3:'',
2199 }, 2205 },
2200 isu:{ 2206 isu:{
2201 - isu_day_mounth_year:'2024-11-08', 2207 + isu_day_mounth_year:'2024-11-11',
2202 isu_place_or_airport_code:'ZHENGZHOU', 2208 isu_place_or_airport_code:'ZHENGZHOU',
2203 isu_signature:'CHINA', 2209 isu_signature:'CHINA',
2204 }, 2210 },
@@ -2452,6 +2458,7 @@ Handling Information @@ -2452,6 +2458,7 @@ Handling Information
2452 dialogVisible1:false, 2458 dialogVisible1:false,
2453 fileContent: null, 2459 fileContent: null,
2454 currentDate:new Date(), 2460 currentDate:new Date(),
  2461 + dialogVisible2:false,
2455 } 2462 }
2456 }, 2463 },
2457 methods:{ 2464 methods:{
@@ -2572,6 +2579,11 @@ Handling Information @@ -2572,6 +2579,11 @@ Handling Information
2572 this.dialogVisible1 = true; 2579 this.dialogVisible1 = true;
2573 this.$refs.consignee.getConsignee(); 2580 this.$refs.consignee.getConsignee();
2574 }, 2581 },
  2582 + // 通知人信息
  2583 + getCneNfy() {
  2584 + this.dialogVisible2 = true;
  2585 + this.$refs.consignee.getConsignee();
  2586 + },
2575 // 分单 2587 // 分单
2576 // 获取发货人信息 2588 // 获取发货人信息
2577 getShp() { 2589 getShp() {
@@ -2653,6 +2665,23 @@ Handling Information @@ -2653,6 +2665,23 @@ Handling Information
2653 this.dialogVisible1 = false; 2665 this.dialogVisible1 = false;
2654 } 2666 }
2655 }, 2667 },
  2668 + //通知人选中事件处理方法
  2669 + notifiedSelect(row){
  2670 + if(this.activeName=='first'){
  2671 + this.form.nfy.nfy_name = row.companyName;
  2672 + this.form.nfy.nfy_contacts.contact_number=row.conPhone;
  2673 + this.form.nfy.nfy_LOC_city=row.conCity;
  2674 + this.form.nfy.nfy_country=row.country;
  2675 + this.form.nfy.nfy_ADR=row.conAddress;
  2676 + this.nfy_contact.contact_number=row.conPhone;;
  2677 + this.$refs.consignee.consignee_data();
  2678 + this.dialogVisible2 = false;
  2679 + }
  2680 + else{
  2681 + this.$refs.consignee.consignee_data();
  2682 + this.dialogVisible2 = false;
  2683 + }
  2684 + },
2656 //新增分运单 2685 //新增分运单
2657 addFhl() { 2686 addFhl() {
2658 this.shp_aeo.oci_country_code=this.addForm.shp.shp_location_iso; 2687 this.shp_aeo.oci_country_code=this.addForm.shp.shp_location_iso;