From f2a3e67d3ad970670b10cb394298bc0940ae699a Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 05 八月 2025 14:32:34 +0800
Subject: [PATCH] 20250805 作业本的总数量,单价在保存的时候再计算一次
---
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