md
This commit is contained in:
parent
364d304d36
commit
24da9fcb71
@ -1268,6 +1268,8 @@ methods: {
|
|||||||
this.form.intoWarehouseAddress=item.address;
|
this.form.intoWarehouseAddress=item.address;
|
||||||
this.form.intoWarehouseContact=item.contact;
|
this.form.intoWarehouseContact=item.contact;
|
||||||
this.form.intoWarehousePhone=item.tel;
|
this.form.intoWarehousePhone=item.tel;
|
||||||
|
|
||||||
|
this.calcSendSite();
|
||||||
},
|
},
|
||||||
selectGoods(e){
|
selectGoods(e){
|
||||||
this.form.goodsInfo = e.target.innerText;
|
this.form.goodsInfo = e.target.innerText;
|
||||||
@ -1818,17 +1820,23 @@ methods: {
|
|||||||
this.calcSendSite();
|
this.calcSendSite();
|
||||||
},
|
},
|
||||||
calcSendSite(){
|
calcSendSite(){
|
||||||
let queryParams = {
|
if(this.form.pickMethod==2){
|
||||||
province:this.form.sender.province,
|
let queryParams = {
|
||||||
city:this.form.sender.city,
|
province:this.form.sender.province,
|
||||||
county:this.form.sender.county
|
city:this.form.sender.city,
|
||||||
};
|
county:this.form.sender.county
|
||||||
if(this.form.sender.province){
|
};
|
||||||
getSendSite(queryParams).then(response => {
|
if(this.form.sender.province){
|
||||||
this.form.sendSiteCode= response.data.siteCode;
|
getSendSite(queryParams).then(response => {
|
||||||
this.form.sendSiteName= response.data.siteName;
|
this.form.sendSiteCode= response.data.siteCode;
|
||||||
this.preCalcFee();
|
this.form.sendSiteName= response.data.siteName;
|
||||||
});
|
this.preCalcFee();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
this.form.sendSiteCode= this.form.intoWarehouseCode;
|
||||||
|
this.form.sendSiteName= this.form.intoWarehouseName;
|
||||||
|
this.preCalcFee();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 计算目的站点
|
// 计算目的站点
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user