This commit is contained in:
linfso 2024-09-03 17:10:38 +08:00
parent b09cf7ea2f
commit 743d4937d5

View File

@ -1833,7 +1833,7 @@ export default {
let item=this.form.feeItems[i];
let newFee=Number(item.realFee);
if(item.currency&&item.currency !='CNY'){
let res= await getValidExchangeRate({from:item.currency,to:'CNY'});
let res= await getValidExchangeRate({from:item.currency,to:'CNY',rateDate:this.form.sendDate});
if(res.code==200){
newFee=newFee*Number(res.data);
newFee=newFee.toFixed(2);