Browse Source

GoodsReceiveList 新增返回参数 unit(单位)

LEIYI 3 months ago
parent
commit
66e667c5b9

+ 1 - 0
OASystem/OASystem.Domain/ViewModels/PersonnelModule/GoodsInfoView.cs

@@ -187,6 +187,7 @@ namespace OASystem.Domain.ViewModels.PersonnelModule
         public int GoodsId { get; set; }
         public string GoodsName { get; set; }
         public decimal Quantity { get; set; }
+        public string Unit { get; set; }
         public string Reason { get; set; }
         public string Remark { get; set; }
         public GoodsAuditEnum AuditStatus { get; set; }

+ 1 - 0
OASystem/OASystem.Infrastructure/Repositories/PersonnelModule/GoodsRepository.cs

@@ -610,6 +610,7 @@ namespace OASystem.Infrastructure.Repositories.PersonnelModule
                                           GoodsName = gi.Name,
                                           GoodsType = sd.Name,
                                           Quantity = gr.Quantity,
+                                          Unit = gi.Unit,
                                           Reason = gr.Reason,
                                           Remark = gr.Remark,
                                           AuditStatus = gr.AuditStatus,