This commit is contained in:
linfso 2025-05-15 14:08:32 +08:00
parent 364d304d36
commit 24da9fcb71

View File

@ -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,6 +1820,7 @@ methods: {
this.calcSendSite(); this.calcSendSite();
}, },
calcSendSite(){ calcSendSite(){
if(this.form.pickMethod==2){
let queryParams = { let queryParams = {
province:this.form.sender.province, province:this.form.sender.province,
city:this.form.sender.city, city:this.form.sender.city,
@ -1830,6 +1833,11 @@ methods: {
this.preCalcFee(); this.preCalcFee();
}); });
} }
}else{
this.form.sendSiteCode= this.form.intoWarehouseCode;
this.form.sendSiteName= this.form.intoWarehouseName;
this.preCalcFee();
}
}, },
// 计算目的站点 // 计算目的站点
handleCalcDestSite(){ handleCalcDestSite(){