作者 小范

收发货人弹框清空搜索条件

... ... @@ -252,6 +252,9 @@
});
},
consignee_data(){
(this.filters.companyName = '')
},
//删除
handleDel: function (index, row) {
this.$confirm('确认删除该记录吗?', '提示', {
... ...
... ... @@ -220,7 +220,6 @@
},
mounted() {
this.getConsignee();
},
methods: {
... ... @@ -248,6 +247,9 @@
}
});
},
consigner_data(){
(this.filters.companyName = '')
},
//删除
handleDel: function (index, row) {
this.$confirm('确认删除该记录吗?', '提示', {
... ...
... ... @@ -42,7 +42,8 @@
<el-col style="width: 40%;margin-left:5px">
<el-form-item>
<el-input minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()"
@keyup.native="shp_contact.contact_number.replace(/[^0-9]/g,'')" v-model="shp_contact.contact_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input>
@keyup.native="shp_contact.contact_number=shp_contact.contact_number.replace(/[^0-9]/g,'')"
v-model="shp_contact.contact_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input>
<!-- <el-select v-model="form.shp.shp_detail_number" placeholder="电话/传真">-->
<!-- <el-option label="电话" value="2"></el-option>-->
<!-- <el-option label="传真" value="3"></el-option>-->
... ... @@ -2286,19 +2287,23 @@ Handling Information
// 获取发货人信息
getShpFwb() {
this.dialogVisible = true;
this.$refs.consigner.getConsignee();
},
// 获取收货人信息
getCneFwb() {
this.dialogVisible1 = true;
this.$refs.consignee.getConsignee();
},
// 分单
// 获取发货人信息
getShp() {
this.dialogVisible = true;
this.$refs.consigner.getConsignee();
},
// 获取收货人信息
getCne() {
this.dialogVisible1 = true;
this.$refs.consignee.getConsignee();
},
//发货人选中事件处理方法
consigerSelect(row){
... ... @@ -2314,6 +2319,7 @@ Handling Information
// this.form.oci.push(this.shp_oci);
this.shp_contact.contact_number=row.conPhone;
// this.form.shp.shp_contacts.push(this.shp_contact);
this.$refs.consigner.consigner_data();
this.dialogVisible = false;
}
else if(this.activeName=='second'){
... ... @@ -2326,9 +2332,11 @@ Handling Information
this.shp_aeo.oci_supplementary=row.conAeo;
this.shp_aeo.oci_country_code=row.country;
// this.addForm.oci.push(this.shp_aeo);
this.$refs.consigner.consigner_data();
this.dialogVisible = false;
}
else{
this.$refs.consigner.consigner_data();
this.dialogVisible = false;
}
},
... ... @@ -2346,6 +2354,7 @@ Handling Information
// this.form.oci.push(this.cne_oci);
this.cne_contact.contact_number=row.conPhone;
// this.form.cne.cne_contacts.push(this.cne_contact);
this.$refs.consignee.consignee_data();
this.dialogVisible1 = false;
}
else if(this.activeName=='second'){
... ... @@ -2358,9 +2367,11 @@ Handling Information
this.cne_aeo.oci_supplementary=row.conAeo;
this.cne_aeo.oci_country_code=row.country;
// this.addForm.oci.push(this.cne_aeo);
this.$refs.consignee.consignee_data();
this.dialogVisible1 = false;
}
else{
this.$refs.consignee.consignee_data();
this.dialogVisible1 = false;
}
},
... ...