| | |
| | | using System; |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using Tiger.Model.Minsun; |
| | | |
| | | namespace Tiger.Model |
| | | { |
| | |
| | | /// </summary> |
| | | public string ItemCode { get; set; } |
| | | /// <summary> |
| | | /// 单据号 |
| | | /// </summary> |
| | | public string OrderNo { get; set; } |
| | | /// <summary> |
| | | /// 当前操作需要提交的选项 |
| | | /// </summary> |
| | | public Dictionary<string, string> Options { get; set; } = new Dictionary<string, string>(); |
| | |
| | | /// </summary> |
| | | public string Data { get; set; } |
| | | } |
| | | |
| | | |
| | | public class BaseInput<T> : BaseInput |
| | | { |
| | | public BaseInput() |
| | | { |
| | | } |
| | | |
| | | public BaseInput(BaseInput input) |
| | | { |
| | | if (input != null) |
| | | { |
| | | AuthOption = input.AuthOption; |
| | | Locale = input.Locale; |
| | | Command = input.Command; |
| | | SN = input.SN; |
| | | ItemCode = input.ItemCode; |
| | | OrderNo = input.OrderNo; |
| | | Options = input.Options; |
| | | Data = JsonConvert.DeserializeObject<T>(input.Data); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 当前操作需要提交的数据 |
| | | /// </summary> |
| | | public new T Data { get; set; } |
| | | } |
| | | |
| | | public class BaseInputWithPage : BaseInput |
| | | { |
| | | public int pageIndex { get; set; } |
| | |
| | | public string Code { get; set; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 备料物料推荐选项 |
| | | /// </summary> |
| | | public class SuggestOption |
| | | { |
| | | /// <summary> |
| | | /// 当前备料行的行ID |
| | | /// </summary> |
| | | public string LineID { get; set; } |
| | | /// <summary> |
| | | /// ERP仓库编码 |
| | | /// </summary> |
| | | public string ErpWH { get; set; } |
| | | /// <summary> |
| | | /// 仓库ID |
| | | /// </summary> |
| | | public string WHID { get; set; } |
| | | /// <summary> |
| | | /// 储区ID |
| | | /// </summary> |
| | | public string RegionID { get; set; } |
| | | /// <summary> |
| | | /// 货架ID |
| | | /// </summary> |
| | | public string ShelfID { get; set; } |
| | | /// <summary> |
| | | /// 储位ID |
| | | /// </summary> |
| | | public string LocationID { get; set; } |
| | | /// <summary> |
| | | /// 发料策略 |
| | | /// </summary> |
| | | public WMS_ITEM_POOL.STRATEGYs Strategy { get; set; } = WMS_ITEM_POOL.STRATEGYs.FIFO; |
| | | /// <summary> |
| | | /// 发料方式 |
| | | /// </summary> |
| | | public WMS_ITEM_POOL.DLVY_MODEs DlvyMode { get; set; } = WMS_ITEM_POOL.DLVY_MODEs.Supply; |
| | | /// <summary> |
| | | /// 是否要锁定物料 |
| | | /// </summary> |
| | | public bool NeedLock { get; set; } = false; |
| | | } |
| | | |
| | | public class OutOthDtlInput : BasePageInput |
| | | { |
| | | public bool IsItemCodeList { get; set; } |
| | |
| | | public string BatchNo { get; set; } |
| | | public double BatchQty { get; set; } |
| | | public List<RePrintLabelEntity> SnList { get; set; }=new List<RePrintLabelEntity>(); |
| | | } |
| | | |
| | | public class PrintSemiProdLabelEntity: RePrintLabelBase |
| | | { |
| | | |
| | | } |
| | | |
| | | public class RePrintLabelEntity |