Commit 65be6034 authored by 吴春's avatar 吴春

小芳在出纳审核界面, 选账户的时候 默认带一下币种一致的 单子费用栏的汇率

parent b6cb72db
......@@ -3410,14 +3410,27 @@ else if (Type==2) {
if (type) {
this.payMsgList[index].Account = x.allName;
this.payMsgList[index].CurrenName = x.CurrencyName;
this.payMsgList[index].Rate = x.PayRate;
//选账户的时候 默认带一下币种一致的 单子费用栏的汇率 2024-05-31 add by:W
if(GetDetail.DetailList[0].CurrencyId==x.CurrencyId){
this.payMsgList[index].Rate = GetDetail.DetailList[0].Rate;
}
else{
this.payMsgList[index].Rate = x.PayRate;
}
this.payMsgList[index].CurrencyId = x.CurrencyId;
this.payMsgList[index].balance = x.Initialbalance;
this.Calculation(1, index);
} else {
this.payMsg.Account = x.allName;
this.payMsg.CurrenName = x.CurrencyName;
this.payMsg.Rate = x.PayRate;
if(this.GetDetail.DetailList[0].CurrencyId==x.CurrencyId){
this.payMsg.Rate = this.GetDetail.DetailList[0].Rate;
}
else{
this.payMsg.Rate = x.PayRate;
}
this.payMsg.CurrencyId = x.CurrencyId;
this.payMsg.balance = x.Initialbalance;
this.Calculation();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment