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_Procurement.cs | 36 ++++++++++++++++++++++++++++++++++++
1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/CY_ECommercePlatform/CY.Model/OA/OA_Procurement.cs b/CY_ECommercePlatform/CY.Model/OA/OA_Procurement.cs
index e028959..47efd42 100644
--- a/CY_ECommercePlatform/CY.Model/OA/OA_Procurement.cs
+++ b/CY_ECommercePlatform/CY.Model/OA/OA_Procurement.cs
@@ -49,6 +49,9 @@
private string _BrandName;
private decimal? _tanPrice;
+
+ public string WarehouseName { get; set; }
+
/// <summary>
/// 绾稿紶鍚ㄤ环
/// </summary>
@@ -413,6 +416,23 @@
return _commodityid;
}
}
+
+ /// <summary>
+ /// 璁㈠崟id
+ /// </summary>
+ public int? orderId
+ {
+ get;set;
+ }
+
+ /// <summary>
+ /// 鍗颁欢鍚嶇О
+ /// </summary>
+ public string DocumentName
+ {
+ get; set;
+ }
+
#endregion Model
#region Visiter
@@ -560,6 +580,22 @@
this.Commodityid = isChange ? MyConvert.ConvertToInt32(value) : Commodityid;
theValue = this.Commodityid;
}
+ else if ("orderId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 26)
+ {
+ this.orderId = isChange ? MyConvert.ConvertToInt32(value) : orderId;
+ theValue = this.orderId;
+ }
+ else if ("DocumentName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 26)
+ {
+ this.DocumentName = isChange ? MyConvert.ConvertToString(value) : DocumentName;
+ theValue = this.DocumentName;
+ }
+ else if ("WarehouseName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 27)
+ {
+ this.WarehouseName = isChange ? MyConvert.ConvertToString(value) : WarehouseName;
+ theValue = this.WarehouseName;
+ }
+
return theValue;
}
#endregion
--
Gitblit v1.9.1