From 21cce90e8d660954f0b89bfe25b9f5218dcbaacd Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期一, 12 五月 2025 00:32:34 +0800 Subject: [PATCH] 退料单(U9)上架事务 --- Tiger.Model.Net/Entitys/WMS/BIZ_U9_RETURN.cs | 65 ++++++++++++++++++++------------ 1 files changed, 41 insertions(+), 24 deletions(-) diff --git a/Tiger.Model.Net/Entitys/WMS/BIZ_U9_RETURN.cs b/Tiger.Model.Net/Entitys/WMS/BIZ_U9_RETURN.cs index 3ab7440..b0dd3e6 100644 --- a/Tiger.Model.Net/Entitys/WMS/BIZ_U9_RETURN.cs +++ b/Tiger.Model.Net/Entitys/WMS/BIZ_U9_RETURN.cs @@ -29,9 +29,14 @@ [DisplayName("鍗曟嵁鍙�")] public string ORDER_NO { get; set; } /// <summary> - /// 鐘舵��(0Init鍒濆鍖東1Imported宸插鍏2Counting娓呯偣涓瓅3Storing涓婃灦涓瓅4Review寰呭鏍竱5Finished宸插畬鎴恷6Cancel宸蹭綔搴�) + /// 鐘舵��(0Production鐢熶骇閫�鏂檤1Outsourcing濮斿閫�鏂�) /// </summary> - [DisplayName("鐘舵��(0Init鍒濆鍖東1Imported宸插鍏2Counting娓呯偣涓瓅3Storing涓婃灦涓瓅4Review寰呭鏍竱5Finished宸插畬鎴恷6Cancel宸蹭綔搴�)")] + [DisplayName("鐘舵��(0Production鐢熶骇閫�鏂檤1Outsourcing濮斿閫�鏂�)")] + public int RETURN_TYPE { get; set; } + /// <summary> + /// 鐘舵��(0Init鍒濆鍖東1Imported宸插鍏2Counting娓呯偣涓瓅3WaitIn寰呬笂鏋秥4Storing涓婃灦涓瓅5Review寰呭鏍竱6Finished宸插畬鎴恷7Cancel宸蹭綔搴�) + /// </summary> + [DisplayName("鐘舵��(0Init鍒濆鍖東1Imported宸插鍏2Counting娓呯偣涓瓅3WaitIn寰呬笂鏋秥4Storing涓婃灦涓瓅5Review寰呭鏍竱6Finished宸插畬鎴恷7Cancel宸蹭綔搴�)")] public int STATUS { get; set; } /// <summary> /// 鏉ユ簮鍗曟嵁缂栫爜 @@ -89,7 +94,6 @@ [Navigate(typeof(MappingClass), nameof(MappingClass.BIZ_U9_RETURNId), nameof(MappingClass.ClassAId))]//娉ㄦ剰椤哄簭 public List<ClassA> ClassAList { get; set; } //娉ㄦ剰绂佹鎵嬪姩璧嬪�硷紝鍙兘鏄痭ull */ - [Navigate(NavigateType.OneToMany, nameof(BIZ_U9_RETURN_DTL.ORDER_NO), nameof(ORDER_NO), "GHOST_ROW = 0")]//涓�瀵逛竴 ClassAId鏄疊IZ_U9_RETURN绫婚噷闈㈢殑澶栭敭ID瀛楁 public List<BIZ_U9_RETURN_DTL> Details { get; set; } //娉ㄦ剰绂佹鎵嬪姩璧嬪�硷紝鍙兘鏄痭ull [Navigate(NavigateType.OneToMany, nameof(BIZ_U9_RETURN_SN.ORDER_NO), nameof(ORDER_NO), "GHOST_ROW = 0")]//涓�瀵逛竴 ClassAId鏄疊IZ_U9_RETURN绫婚噷闈㈢殑澶栭敭ID瀛楁 @@ -108,30 +112,43 @@ */ /// <summary> - /// 鏋氫妇锛氱姸鎬�(0Init鍒濆鍖東1Imported宸插鍏2Counting娓呯偣涓瓅3Storing涓婃灦涓瓅4Review寰呭鏍竱5Finished宸插畬鎴恷6Cancel宸蹭綔搴�) + /// 鏋氫妇锛氱姸鎬�(0Production鐢熶骇閫�鏂檤1Outsourcing濮斿閫�鏂�) + /// </summary> + public enum RETURN_TYPEs + { + [Description("鐢熶骇閫�鏂�")] + Production = 0, + [Description("濮斿閫�鏂�")] + Outsourcing = 1, + } + + /// <summary> + /// 鏋氫妇锛氱姸鎬�(0Init鍒濆鍖東1Imported宸插鍏2Counting娓呯偣涓瓅3WaitIn寰呬笂鏋秥4Storing涓婃灦涓瓅5Review寰呭鏍竱6Finished宸插畬鎴恷7Cancel宸蹭綔搴�) /// </summary> public enum STATUSs - { - [Description("鍒濆鍖�")] - Init = 0, - [Description("宸插鍏�")] - Imported = 1, - [Description("娓呯偣涓�")] - Counting = 2, - [Description("涓婃灦涓�")] - Storing = 3, - [Description("寰呭鏍�")] - Review = 4, - [Description("宸插畬鎴�")] - Finished = 5, - [Description("宸蹭綔搴�")] - Cancel = 6, - } - #endregion + { + [Description("鍒濆鍖�")] + Init = 0, + [Description("宸插鍏�")] + Imported = 1, + [Description("娓呯偣涓�")] + Counting = 2, + [Description("寰呬笂鏋�")] + WaitIn = 3, + [Description("涓婃灦涓�")] + Storing = 4, + [Description("寰呭鏍�")] + Review = 5, + [Description("宸插畬鎴�")] + Finished = 6, + [Description("宸蹭綔搴�")] + Cancel = 7, + } + #endregion - #region 鍏叡鏂规硶 + #region 鍏叡鏂规硶 - #endregion + #endregion - }//endClass + }//endClass } \ No newline at end of file -- Gitblit v1.9.3