|
@@ -255,6 +255,7 @@ namespace OASystem.API.Controllers
|
|
|
|
|
|
_giView.ExtraCostsViews = _ExtraCostsViews;
|
|
|
_giView.ExtraCostsStr = string.Format(@"人名币总费用:{0} CNY", exTotalAmount.ConvertToDecimal1().ToString("#0.00"));
|
|
|
+
|
|
|
/*
|
|
|
* 收款退还
|
|
|
*/
|
|
@@ -269,7 +270,7 @@ namespace OASystem.API.Controllers
|
|
|
Left Join Sys_Users u On ccp.CreateUserId = u.Id
|
|
|
Where prom.IsDel = 0 And prom.PayType = 1 And prom.PriceType = 1 And ccp.CTable = 285
|
|
|
And ccp.IsAuditGM = 1 And ccp.IsPay = 1
|
|
|
- And prom.DiId = {0}", _dto.DiId);
|
|
|
+ And prom.DiId = {0}", _dto.DiId);
|
|
|
var _promDatas = await _sqlSugar.SqlQueryable<Gsd_PaymentRefundAndOtherMoneyDataSource1View>(_ropSql).ToListAsync();
|
|
|
|
|
|
foreach (var ropItem in _promDatas)
|
|
@@ -517,11 +518,16 @@ namespace OASystem.API.Controllers
|
|
|
string clientPinYinName = "";
|
|
|
decimal unitCost = 0.00M;
|
|
|
unitCost = (item.PayMoney / item.ClientNum).ConvertToDecimal1();
|
|
|
+
|
|
|
+ int clienIndex = 1;
|
|
|
foreach (var client in clients)
|
|
|
{
|
|
|
Index += 1;
|
|
|
- int clienIndex = 1;
|
|
|
- itemClientName += string.Format(@"{0}.{1} ;", clienIndex, client);
|
|
|
+ string six = "";
|
|
|
+ if (client.Sex == 0) six = "Mr";
|
|
|
+ else if (client.Sex == 1) six = "Ms";
|
|
|
+
|
|
|
+ itemClientName += string.Format(@"{0}.{1} {2};", clienIndex, client.LastName + client.FirstName, six);
|
|
|
clientPinYinName += string.Format(@"{0}.{1}出票价为:{2} CNY;", Index, client.Pinyin, unitCost);
|
|
|
clienIndex++;
|
|
|
}
|
|
@@ -550,12 +556,7 @@ namespace OASystem.API.Controllers
|
|
|
|
|
|
clientPinYinName += string.Format(@"{0}.{1}出票价为:{2} CNY;", Index, name, unitCost);
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
if (!string.IsNullOrEmpty(item.AuditGMDate))
|
|
|
{
|
|
|
item.AuditGMDate = Convert.ToDateTime(item.AuditGMDate).ToString("yyyy-MM-dd HH:mm:ss");
|