From ae6e40362a745caef9ead36f81f38313fb8c2c66 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期一, 12 五月 2025 16:54:46 +0800 Subject: [PATCH] 扣板:2张 双面机只有“扣板”是2张,其他是1张 --- 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