md
This commit is contained in:
parent
c5c353d788
commit
83903b740d
@ -1880,6 +1880,10 @@ methods: {
|
|||||||
// console.log("===>calcExp222==expr==>",expr);
|
// console.log("===>calcExp222==expr==>",expr);
|
||||||
// console.log("===>calcExp222==row==>",row);
|
// console.log("===>calcExp222==row==>",row);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -1894,12 +1898,17 @@ methods: {
|
|||||||
let res= await getValidExchangeRate({from:item.currency,to:'CNY'});
|
let res= await getValidExchangeRate({from:item.currency,to:'CNY'});
|
||||||
if(res.code==200){
|
if(res.code==200){
|
||||||
newFee=newFee*Number(res.data);
|
newFee=newFee*Number(res.data);
|
||||||
|
newFee=newFee*Number(res.data).toFixed(2);
|
||||||
item.remark="汇率:"+res.data+","+newFee+"(CNY)"
|
item.remark="汇率:"+res.data+","+newFee+"(CNY)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
newFee=newFee.toFixed(2);
|
newFee=newFee.toFixed(2);
|
||||||
totalFee=Number(totalFee)+Number(newFee);
|
totalFee=Number(totalFee)+Number(newFee);
|
||||||
|
|
||||||
|
if(item.blAutoGen==0){
|
||||||
|
item.fee=item.realFee;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.form.freight = totalFee.toFixed(2);
|
this.form.freight = totalFee.toFixed(2);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user