From f820d227c54e7686d7b582fcd3c1ffcf885b5d31 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 24 一月 2025 12:22:49 +0800 Subject: [PATCH] 审批拒绝的可以修改后再次提交 完成 报销单需要一个编号 EvaluationContent 报销单编号 完成 增加一个状态,保存状态 完成 --- CY_ECommercePlatform/CY.Model/OA/OA_WorkPlan.cs | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 105 insertions(+), 0 deletions(-) diff --git a/CY_ECommercePlatform/CY.Model/OA/OA_WorkPlan.cs b/CY_ECommercePlatform/CY.Model/OA/OA_WorkPlan.cs index beb9301..43cb98a 100644 --- a/CY_ECommercePlatform/CY.Model/OA/OA_WorkPlan.cs +++ b/CY_ECommercePlatform/CY.Model/OA/OA_WorkPlan.cs @@ -43,6 +43,66 @@ private string _rewardcontent; private string _rewardresult; private decimal? _rewardmoney; + public int? HoubufapiaoStatus { get; set; } + + public string Fujian { get; set; } + public string Fapiao { get; set; } + public string HoubufapiaoStatusName { get + { + if(HoubufapiaoStatus.HasValue) + { + if(HoubufapiaoStatus == 1) + { + return "鏈夊彂绁�"; + } + else if (HoubufapiaoStatus == 2) + { + return "鍚庤ˉ鍙戠エ"; + } + else if (HoubufapiaoStatus == 3) + { + return "鏃犲彂绁�"; + }else + return ""; + } + else + { + return ""; + } + + } + } + + public string EvaluationStatusName + { + get + { + if (EvaluationStatus.HasValue) + { + if (EvaluationStatus == 1) + { + return "宸蹭粯娆�"; + } + else if (EvaluationStatus == 2) + { + return "鏈粯娆�"; + } + + else + return "鏈粯娆�"; + } + else + { + return ""; + } + + } + } + + public int Nengfoushenpi { get; set; } + + public int Nengfoushanchu { get; set; } + public int? WufapiaoStatus { get; set; } /// <summary> /// 缂栧彿 @@ -297,6 +357,41 @@ _approvalstatus = value; } } + + + public string ApprovalStatusName + { + get + { + if (ApprovalStatus.HasValue) + { + if (ApprovalStatus == 0) + { + return "鏈鎵�"; + } + else if (ApprovalStatus == 1) + { + return "鎵瑰噯"; + } + else if (ApprovalStatus == 2) + { + return "涓嶆壒鍑�"; + } + else if (ApprovalStatus == 3) + { + return "鏈彁浜�"; + } + else + return "鏈鎵�"; + } + else + { + return ""; + } + + } + } + /// <summary> /// 瀹℃牳鏃堕棿 /// </summary> @@ -747,6 +842,16 @@ this.AllFine = isChange ? MyConvert.ConvertToDecimal(value) : AllFine; theValue = this.AllFine; } + else if ("HoubufapiaoStatus".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 30) + { + this.HoubufapiaoStatus = isChange ? MyConvert.ConvertToInt32(value) : HoubufapiaoStatus; + theValue = this.HoubufapiaoStatus; + } + else if ("WufapiaoStatus".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 30) + { + this.WufapiaoStatus = isChange ? MyConvert.ConvertToInt32(value) : WufapiaoStatus; + theValue = this.WufapiaoStatus; + } return theValue; } #endregion Visiter -- Gitblit v1.9.1