作者 xudada

通知人选中事件赋值

... ... @@ -548,7 +548,7 @@
<el-col :span="12" style="border-right: 1px solid #a5a5a5;border-bottom:1px solid #a5a5a5;border-left:1px solid #a5a5a5;padding-left: 25px">
<span style="font-size: 12px">
Notify Name and Address
<el-button type="primary" plain size="mini" style="margin-top: 5px" @click="getCneFwb()">通知人</el-button>
<el-button type="primary" plain size="mini" style="margin-top: 5px" @click="getCneNfy()">通知人</el-button>
</span>
<el-row>
<el-col style="width: 38%">
... ... @@ -2075,7 +2075,13 @@ Handling Information
v-on:consigeerow="consigeeSelect"
></Consignee>
</el-dialog>
<!-- 列表区域 获取收货人-->
<el-dialog :visible.sync="dialogVisible2" width="70%">
<Consignee
ref="consignee"
v-on:consigeerow="notifiedSelect"
></Consignee>
</el-dialog>
</el-card>
</template>
... ... @@ -2162,7 +2168,7 @@ Handling Information
quantity_density:'',
quantity_picecs:'',
//体积
quantity_volume:'',
quantity_volume:'0',
quantity_volume_code:'MC',
quantity_weight:'',
quantity_weight_code:'K',
... ... @@ -2188,17 +2194,17 @@ Handling Information
},
flt:{
cariier:"HQ",
day:'09',
day:'13',
flightNumber:'405',
cariier2:"HQ",
day2:'09',
day2:'13',
flightNumber2:'4055',
cariier3:"",
day3:'',
flightNumber3:'',
},
isu:{
isu_day_mounth_year:'2024-11-08',
isu_day_mounth_year:'2024-11-11',
isu_place_or_airport_code:'ZHENGZHOU',
isu_signature:'CHINA',
},
... ... @@ -2452,6 +2458,7 @@ Handling Information
dialogVisible1:false,
fileContent: null,
currentDate:new Date(),
dialogVisible2:false,
}
},
methods:{
... ... @@ -2572,6 +2579,11 @@ Handling Information
this.dialogVisible1 = true;
this.$refs.consignee.getConsignee();
},
// 通知人信息
getCneNfy() {
this.dialogVisible2 = true;
this.$refs.consignee.getConsignee();
},
// 分单
// 获取发货人信息
getShp() {
... ... @@ -2653,6 +2665,23 @@ Handling Information
this.dialogVisible1 = false;
}
},
//通知人选中事件处理方法
notifiedSelect(row){
if(this.activeName=='first'){
this.form.nfy.nfy_name = row.companyName;
this.form.nfy.nfy_contacts.contact_number=row.conPhone;
this.form.nfy.nfy_LOC_city=row.conCity;
this.form.nfy.nfy_country=row.country;
this.form.nfy.nfy_ADR=row.conAddress;
this.nfy_contact.contact_number=row.conPhone;;
this.$refs.consignee.consignee_data();
this.dialogVisible2 = false;
}
else{
this.$refs.consignee.consignee_data();
this.dialogVisible2 = false;
}
},
//新增分运单
addFhl() {
this.shp_aeo.oci_country_code=this.addForm.shp.shp_location_iso;
... ...