From a0b3492010949e0d044892b9bb6456b51ae0d458 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期日, 26 一月 2025 12:14:19 +0800 Subject: [PATCH] 从“专版工单”发起生成的“纸张采购”中增加显示“印件名称” --- CY_ECommercePlatform/CY.Model/OA/OA_Procurement.cs | 27 +++++++++++++++++++++++++++ 1 files changed, 27 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..0597492 100644 --- a/CY_ECommercePlatform/CY.Model/OA/OA_Procurement.cs +++ b/CY_ECommercePlatform/CY.Model/OA/OA_Procurement.cs @@ -413,6 +413,23 @@ return _commodityid; } } + + /// <summary> + /// 璁㈠崟id + /// </summary> + public int? orderId + { + get;set; + } + + /// <summary> + /// 鍗颁欢鍚嶇О + /// </summary> + public string DocumentName + { + get; set; + } + #endregion Model #region Visiter @@ -560,6 +577,16 @@ 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; + } return theValue; } #endregion -- Gitblit v1.9.1