From c9fc48e1d1c9d8e7828bbe045d23e2c7479e7613 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期二, 14 一月 2025 00:10:28 +0800 Subject: [PATCH] 1 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_DTO/ERP/PurchaseOrderModel.cs | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/ERP/PurchaseOrderModel.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/ERP/PurchaseOrderModel.cs" index f00d56f..be24ab9 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/ERP/PurchaseOrderModel.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/ERP/PurchaseOrderModel.cs" @@ -1,6 +1,7 @@ 锘縰sing System; using System.Collections.Generic; using System.Linq; +using System.Reflection.Metadata; using System.Text; using System.Threading.Tasks; using WIDESEA_Core.Attributes; @@ -10,6 +11,7 @@ namespace WIDESEA_DTO { + /// <summary> /// 閲囪喘鍗曟ā鍨� /// </summary> @@ -67,6 +69,7 @@ /// <summary> /// 閲囪喘鍗曟槑缁嗘ā鍨� /// </summary> + [ModelValidate] public class PurchaseOrderDetailModel { /// <summary> @@ -81,7 +84,7 @@ /// 浠撳簱缂栧彿 /// </summary> [PropertyValidate("浠撳簱缂栧彿", NotNullAndEmpty = true)] - public int WaId { get; set; } + public string WaId { get; set; } /// <summary> /// 鏁伴噺 -- Gitblit v1.9.3