LEIYI преди 6 месеца
родител
ревизия
6aa888f4ea
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      OASystem/OASystem.Api/Controllers/GroupsController.cs

+ 2 - 2
OASystem/OASystem.Api/Controllers/GroupsController.cs

@@ -1783,13 +1783,13 @@ namespace OASystem.API.Controllers
                                                                                                                      //case 91: opCostTypePrice = opCost.Sum(x => x.CarFee); break; //1076    晚餐超支费用
                                         }
                                         opCostStr = $"  /  成本:{opCostTypePrice.ToString("#0.00")} {_groupCurrencyCode}(汇率:{_groupRate.ToString("#0.0000")})";
-                                        if (IsCurrencyAgreement) opCostStr += $" ≈ {(opCostTypePrice * _groupRate).ToString("#0.00")} CNY";
+                                        if (!IsCurrencyAgreement) opCostStr += $" ≈ {(opCostTypePrice * _groupRate).ToString("#0.00")} CNY";
                                     }
 
                                     #endregion
 
                                     string opTypeStr = $"{typeName}:{item.Price.ToString("#0.00")} {carCurrencyCode}(汇率:{entity.DayRate.ToString("#0.0000")})" ;
-                                    if (IsCurrencyAgreement) opTypeStr += $" ≈ {(item.Price * entity.DayRate).ToString("#0.00")} CNY";
+                                    if (!IsCurrencyAgreement) opTypeStr += $" ≈ {(item.Price * entity.DayRate).ToString("#0.00")} CNY";
 
                                     priceMsg += $"日期:{item.DatePrice?.ToString("yyyy-MM-dd") ?? "-"}<br/>" +
                                                 $"{opTypeStr}   {opCostStr}<br/>" +