|
@@ -1166,7 +1166,6 @@ namespace OASystem.API.Controllers
|
|
|
decimal amountPayable = strs.Sum(it => it.AmountPayable);
|
|
|
|
|
|
decimal balancePayment = strs.Sum(it => it.BalancePayment);
|
|
|
- decimal auditedFunds = strs.Sum(it => it.AuditedFunds);
|
|
|
amountPayableStr += string.Format(@"{0}{1} |", amountPayable.ToString("#0.00"), item.CurrencyName);
|
|
|
|
|
|
//单独处理此次付款金额
|
|
@@ -1181,7 +1180,19 @@ namespace OASystem.API.Controllers
|
|
|
}
|
|
|
|
|
|
balancePaymentStr += string.Format(@"{0}{1} |", balancePayment.ToString("#0.00"), item.CurrencyName);
|
|
|
- auditedFundsStr += string.Format(@"{0}{1} |", auditedFunds.ToString("#0.00"), item.CurrencyName);
|
|
|
+
|
|
|
+ //单独处理已审核费用
|
|
|
+ if (item.CurrencyId == 836) //人名币
|
|
|
+ {
|
|
|
+
|
|
|
+ decimal auditedFunds = ccpCurrencyPrices.Sum(it => it.AuditedFunds);
|
|
|
+ auditedFundsStr += string.Format(@"{0}{1} |", auditedFunds.ToString("#0.00"), item.CurrencyName);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ auditedFundsStr += string.Format(@"{0}{1} |", "0.00", item.CurrencyName);
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
|