From 7e73e5df14dce74742abf50383bb8ac37b38012e Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期一, 21 四月 2025 12:04:12 +0800 Subject: [PATCH] 优化了一些已知问题 --- Tiger.Model.Net/Entitys/WMS/BIZ_WMS_TRANSFER_DTL.cs | 33 ++++++++++++++++++++++++--------- 1 files changed, 24 insertions(+), 9 deletions(-) diff --git a/Tiger.Model.Net/Entitys/WMS/BIZ_WMS_TRANSFER_DTL.cs b/Tiger.Model.Net/Entitys/WMS/BIZ_WMS_TRANSFER_DTL.cs index 058d424..c6fbd36 100644 --- a/Tiger.Model.Net/Entitys/WMS/BIZ_WMS_TRANSFER_DTL.cs +++ b/Tiger.Model.Net/Entitys/WMS/BIZ_WMS_TRANSFER_DTL.cs @@ -3,6 +3,7 @@ using System.Linq; using System.ComponentModel; using System.Collections.Generic; +using Tiger.Model.Base; namespace Tiger.Model { @@ -13,8 +14,8 @@ [DisplayName("璋冩嫧鍗�(WMS)鏄庣粏")] [Serializable] [SugarTable("BIZ_WMS_TRANSFER_DTL")] - public class BIZ_WMS_TRANSFER_DTL : DbEntityWithAuth - { + public class BIZ_WMS_TRANSFER_DTL : DbEntityWithAuth, iPrepPickItem + { #region 鏋勯�犲嚱鏁� /// <summary> /// 瀹炰綋锛氳皟鎷ㄥ崟(WMS)鏄庣粏 @@ -145,8 +146,8 @@ public BAS_ITEM ItemInfo => _ItemInfos?.FirstOrDefault(q => q.AUTH_ORG == AUTH_ORG); #endregion - #region 鏋氫妇鍙橀噺 - /*渚嬪瓙 + #region 鏋氫妇鍙橀噺 + /*渚嬪瓙 public enum FieldNames { [Description("鏋氫妇鎻忚堪0")] @@ -155,11 +156,25 @@ Enum1, } */ - #endregion + #endregion - #region 鍏叡鏂规硶 + #region 鍏叡鏂规硶 + public BIZ_WMS_PREP_SRC_DTL GetPickItem() + { + return new BIZ_WMS_PREP_SRC_DTL() + { + Source = this, + AUTH_ORG = AUTH_ORG, + ITEM_CODE = ITEM_CODE, + UNIT = UNIT, + SOURCE_CODE = nameof(BIZ_WMS_TRANSFER), + SOURCE_ORDER = ORDER_NO, + SOURCE_LINE = ORDER_LINE, + QTY_REQ = QTY_REQ, + QTY_ACT_REQ = QTY_REQ - QTY_OUT, + }; + } + #endregion - #endregion - - }//endClass + }//endClass } \ No newline at end of file -- Gitblit v1.9.3