Browse Source

其他款项 增加 字段 修改

leiy 9 months ago
parent
commit
405b79d54e

+ 2 - 2
OASystem/OASystem.Domain/Dtos/Groups/DecreasePaymentsDto.cs

@@ -57,9 +57,9 @@ namespace OASystem.Domain.Dtos.Groups
 
         /// <summary>
         /// 供应商地区
-        /// 0 未选择 1 国内(默认) 2 国外
+        ///  1 国内(默认) 2 国外
         /// </summary>
-        public int SupplierArea { get; set; }
+        public int SupplierArea { get; set; } = 1;
 
         /// <summary>
         /// 供应商类型

+ 2 - 2
OASystem/OASystem.Domain/Entities/Groups/Grp_DecreasePayments.cs

@@ -21,10 +21,10 @@ namespace OASystem.Domain.Entities.Groups
 
         /// <summary>
         /// 供应商地区
-        /// 0 未选择 1 国内(默认) 2 国外
+        /// 1 国内(默认) 2 国外
         /// </summary>
         [SugarColumn(IsNullable = true, ColumnDataType = "int")]
-        public int SupplierArea { get; set; } = 0;
+        public int SupplierArea { get; set; } = 1;
 
         /// <summary>
         /// 供应商类型

+ 0 - 1
OASystem/OASystem.Infrastructure/Repositories/Groups/DecreasePaymentsRepository.cs

@@ -154,7 +154,6 @@ namespace OASystem.Infrastructure.Repositories.Groups
 
             }
             List<dynamic> _supplierArea = new List<dynamic>() {
-                new { id=0,name = "未选择" },
                 new { id=1,name = "国内" },
                 new { id=2,name = "国外" },
             };