|
@@ -4613,11 +4613,11 @@ namespace OASystem.API.Controllers
|
|
//公务舱
|
|
//公务舱
|
|
if (_EnterExitCosts.SumGWC == 1)
|
|
if (_EnterExitCosts.SumGWC == 1)
|
|
{
|
|
{
|
|
- airTotalStr += $" {_EnterExitCosts.OutsaideGWPay.ToString("#0.00")} 元/人(公务舱)";
|
|
|
|
|
|
+ airTotalStr += $" {_EnterExitCosts.OutsideGWPay.ToString("#0.00")} 元/人(公务舱)";
|
|
airPriceStr += $" {_EnterExitCosts.AirGW.ToString("#0.00")} 元/人(公务舱)";
|
|
airPriceStr += $" {_EnterExitCosts.AirGW.ToString("#0.00")} 元/人(公务舱)";
|
|
}
|
|
}
|
|
//头等舱
|
|
//头等舱
|
|
- if (_EnterExitCosts.SumTD == 1)
|
|
|
|
|
|
+ if (_EnterExitCosts.SumTDC == 1)
|
|
{
|
|
{
|
|
airTotalStr += $" {_EnterExitCosts.OutsideTDPay.ToString("#0.00")} 元/人(头等舱)";
|
|
airTotalStr += $" {_EnterExitCosts.OutsideTDPay.ToString("#0.00")} 元/人(头等舱)";
|
|
airPriceStr += $" {_EnterExitCosts.AirTD.ToString("#0.00")} 元/人(头等舱)";
|
|
airPriceStr += $" {_EnterExitCosts.AirTD.ToString("#0.00")} 元/人(头等舱)";
|
|
@@ -4628,7 +4628,6 @@ namespace OASystem.API.Controllers
|
|
dic.Add("AirPriceStr", airPriceStr);
|
|
dic.Add("AirPriceStr", airPriceStr);
|
|
dic.Add("CityTranffic", _EnterExitCosts.CityTranffic.ToString("#0.00"));
|
|
dic.Add("CityTranffic", _EnterExitCosts.CityTranffic.ToString("#0.00"));
|
|
|
|
|
|
-
|
|
|
|
NodeCollection allTables = doc.GetChildNodes(NodeType.Table, true);
|
|
NodeCollection allTables = doc.GetChildNodes(NodeType.Table, true);
|
|
Aspose.Words.Tables.Table table1 = allTables[0] as Aspose.Words.Tables.Table;
|
|
Aspose.Words.Tables.Table table1 = allTables[0] as Aspose.Words.Tables.Table;
|
|
int table1Row = 0,
|
|
int table1Row = 0,
|
|
@@ -4844,9 +4843,9 @@ namespace OASystem.API.Controllers
|
|
//经济舱
|
|
//经济舱
|
|
if (_EnterExitCosts.SumJJC == 1) subJJC = otherFeeTotal + _EnterExitCosts.OutsideJJPay;
|
|
if (_EnterExitCosts.SumJJC == 1) subJJC = otherFeeTotal + _EnterExitCosts.OutsideJJPay;
|
|
//公务舱
|
|
//公务舱
|
|
- if (_EnterExitCosts.SumGWC == 1) subGWC = otherFeeTotal + _EnterExitCosts.OutsaideGWPay;
|
|
|
|
|
|
+ if (_EnterExitCosts.SumGWC == 1) subGWC = otherFeeTotal + _EnterExitCosts.OutsideGWPay;
|
|
//头等舱
|
|
//头等舱
|
|
- if (_EnterExitCosts.SumTD == 1) subTDC = otherFeeTotal + _EnterExitCosts.OutsideTDPay;
|
|
|
|
|
|
+ if (_EnterExitCosts.SumTDC == 1) subTDC = otherFeeTotal + _EnterExitCosts.OutsideTDPay;
|
|
|
|
|
|
dic.Add("SubJJC", subJJC.ToString("#0.00"));
|
|
dic.Add("SubJJC", subJJC.ToString("#0.00"));
|
|
dic.Add("SubGWC", subGWC.ToString("#0.00"));
|
|
dic.Add("SubGWC", subGWC.ToString("#0.00"));
|
|
@@ -5063,7 +5062,7 @@ namespace OASystem.API.Controllers
|
|
if (_EnterExitCosts.SumGWC == 1)
|
|
if (_EnterExitCosts.SumGWC == 1)
|
|
{
|
|
{
|
|
outsideGW = string.Format(@"公务舱:{0} 元/人", _EnterExitCosts.AirGW.ToString("#0.00"));
|
|
outsideGW = string.Format(@"公务舱:{0} 元/人", _EnterExitCosts.AirGW.ToString("#0.00"));
|
|
- allPriceGW = string.Format(@"公务舱:{0} 元/人", (allPrice + _EnterExitCosts.OutsaideGWPay).ToString("#0.00"));
|
|
|
|
|
|
+ allPriceGW = string.Format(@"公务舱:{0} 元/人", (allPrice + _EnterExitCosts.OutsideGWPay).ToString("#0.00"));
|
|
}
|
|
}
|
|
|
|
|
|
if (_EnterExitCosts.SumJJC == 1 || _EnterExitCosts.SumGWC == 1)
|
|
if (_EnterExitCosts.SumJJC == 1 || _EnterExitCosts.SumGWC == 1)
|
|
@@ -5270,10 +5269,10 @@ namespace OASystem.API.Controllers
|
|
|
|
|
|
|
|
|
|
decimal otherFee = _EnterExitCosts.Visa + _EnterExitCosts.YiMiao + _EnterExitCosts.HeSuan + _EnterExitCosts.Safe + _EnterExitCosts.Ticket + _EnterExitCosts.Service;
|
|
decimal otherFee = _EnterExitCosts.Visa + _EnterExitCosts.YiMiao + _EnterExitCosts.HeSuan + _EnterExitCosts.Safe + _EnterExitCosts.Ticket + _EnterExitCosts.Service;
|
|
- decimal s = dac1totalPrice + dac2totalPrice + _EnterExitCosts.OutsideJJPay + _EnterExitCosts.OutsaideGWPay + otherFee;
|
|
|
|
|
|
+ decimal s = dac1totalPrice + dac2totalPrice + _EnterExitCosts.OutsideJJPay + _EnterExitCosts.OutsideGWPay + otherFee;
|
|
|
|
|
|
decimal pxFee = dac4.Sum(it => it.Cost);
|
|
decimal pxFee = dac4.Sum(it => it.Cost);
|
|
- decimal glvFee = _EnterExitCosts.OutsideJJPay + _EnterExitCosts.OutsaideGWPay;
|
|
|
|
|
|
+ decimal glvFee = _EnterExitCosts.OutsideJJPay + _EnterExitCosts.OutsideGWPay;
|
|
string celllastStr1 = "";
|
|
string celllastStr1 = "";
|
|
if (dac1totalPrice > 0) celllastStr1 += $"住宿费 {dac1totalPrice.ToString("#0.00")} 元";
|
|
if (dac1totalPrice > 0) celllastStr1 += $"住宿费 {dac1totalPrice.ToString("#0.00")} 元";
|
|
if (dac2totalPrice > 0) celllastStr1 += $",伙食费和公杂费 {dac2totalPrice.ToString("#0.00")} 元";
|
|
if (dac2totalPrice > 0) celllastStr1 += $",伙食费和公杂费 {dac2totalPrice.ToString("#0.00")} 元";
|
|
@@ -5286,7 +5285,7 @@ namespace OASystem.API.Controllers
|
|
designer.SetDataSource("cell4Str", cell4Str);
|
|
designer.SetDataSource("cell4Str", cell4Str);
|
|
designer.SetDataSource("cellStr", cellStr);
|
|
designer.SetDataSource("cellStr", cellStr);
|
|
designer.SetDataSource("cellSum", (_EnterExitCosts.Visa + _EnterExitCosts.Safe).ToString("#0.00"));
|
|
designer.SetDataSource("cellSum", (_EnterExitCosts.Visa + _EnterExitCosts.Safe).ToString("#0.00"));
|
|
- designer.SetDataSource("cellSum4", (_EnterExitCosts.OutsideJJPay + _EnterExitCosts.OutsaideGWPay).ToString("#0.00"));
|
|
|
|
|
|
+ designer.SetDataSource("cellSum4", (_EnterExitCosts.OutsideJJPay + _EnterExitCosts.OutsideGWPay).ToString("#0.00"));
|
|
designer.SetDataSource("celllastStr", celllastStr);
|
|
designer.SetDataSource("celllastStr", celllastStr);
|
|
|
|
|
|
Workbook wb = designer.Workbook;
|
|
Workbook wb = designer.Workbook;
|