|
|
@@ -3112,6 +3112,12 @@ namespace OASystem.API.Controllers
|
|
|
{
|
|
|
case 76: //76 酒店预订
|
|
|
priName = $"[费用名称:{hotelDatas.Find(it => payInfo.DIId == it.DiId && payInfo.CId == it.Id)?.HotelName ?? ""}]";
|
|
|
+
|
|
|
+ if (payInfo.IsAuditGM == 1)
|
|
|
+ {
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
break;
|
|
|
case 79: //79 车/导游地接
|
|
|
var opData = opDatas.Find(it => payInfo.DIId == it.DiId && payInfo.CId == it.Id);
|
|
|
@@ -3246,7 +3252,6 @@ namespace OASystem.API.Controllers
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
bool status1 = false;
|
|
|
if (_groupIds != null)
|
|
|
{
|
|
|
@@ -3297,8 +3302,8 @@ namespace OASystem.API.Controllers
|
|
|
PaymentAmount = _PaymentAmount1,
|
|
|
PayRate = hotelContent.Rate,
|
|
|
CNYSubTotalAmount = _CNYSubTotalAmount1,
|
|
|
- AuditStatus = payInfo.IsAuditGM
|
|
|
-
|
|
|
+ AuditStatus = payInfo.IsAuditGM,
|
|
|
+ IsBgColorShown = Setting_IsBgColorShown(payInfo.CTable, payInfo.IsAuditGM)
|
|
|
};
|
|
|
string remaksDescription1 = $"【{childInfo1.PayType}】【{childInfo1.ModuleName}】{rouNumber}、[申请人:{childInfo1.Applicant}]{subPriceName}[收款方:{childInfo1.Payee}] {childInfo1.PayCurrCode} {_PaymentAmount1:#0.00}、CNY:{childInfo1.CNYSubTotalAmount:#0.00}(团组:{groupInfo.TeamName})";
|
|
|
|
|
|
@@ -3345,7 +3350,8 @@ namespace OASystem.API.Controllers
|
|
|
PaymentAmount = _PaymentAmount,
|
|
|
PayRate = payInfo.DayRate,
|
|
|
CNYSubTotalAmount = _CNYSubTotalAmount,
|
|
|
- AuditStatus = payInfo.IsAuditGM
|
|
|
+ AuditStatus = payInfo.IsAuditGM,
|
|
|
+ IsBgColorShown = Setting_IsBgColorShown(payInfo.CTable, payInfo.IsAuditGM)
|
|
|
};
|
|
|
|
|
|
string remaksDescription = $"【{childInfo.PayType}】【{childInfo.ModuleName}】{rouNumber}、[申请人:{childInfo.Applicant}]{priName}[收款方:{childInfo.Payee}] {childInfo.PayCurrCode} {_PaymentAmount:#0.00}、CNY:{childInfo.CNYSubTotalAmount:#0.00}(团组:{groupInfo.TeamName})";
|
|
|
@@ -3372,6 +3378,25 @@ namespace OASystem.API.Controllers
|
|
|
return _DailyFeePaymentResult;
|
|
|
}
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// 设置背景颜色显示与否
|
|
|
+ /// 费用类型限制:76-酒店预订、79-车/导游地接、85-机票预订
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="cType"></param>
|
|
|
+ /// <param name="auditStatus"></param>
|
|
|
+ /// <returns></returns>
|
|
|
+ private static bool Setting_IsBgColorShown(int cType, int auditStatus)
|
|
|
+ {
|
|
|
+ //费用类型限制
|
|
|
+ var types = new List<int>() { 76, 79, 85, };
|
|
|
+
|
|
|
+ if (types.Contains(cType) && auditStatus == 1)
|
|
|
+ {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 付款申请(日付申请相关)
|
|
|
/// 查询 根据日期范围
|