This commit is contained in:
linfso 2024-08-30 20:57:31 +08:00
parent c5c353d788
commit 83903b740d

View File

@ -1880,6 +1880,10 @@ methods: {
// console.log("===>calcExp222==expr==>",expr);
// console.log("===>calcExp222==row==>",row);
}
}
}
@ -1894,12 +1898,17 @@ methods: {
let res= await getValidExchangeRate({from:item.currency,to:'CNY'});
if(res.code==200){
newFee=newFee*Number(res.data);
newFee=newFee*Number(res.data).toFixed(2);
item.remark="汇率:"+res.data+","+newFee+"(CNY)"
}
}
newFee=newFee.toFixed(2);
totalFee=Number(totalFee)+Number(newFee);
if(item.blAutoGen==0){
item.fee=item.realFee;
}
}
}
this.form.freight = totalFee.toFixed(2);