服务端的TigerApi 框架,基于.NET6 2024 版本
Ben Lin
2025-03-04 990807a09cf35a73b20e213a4df82acddec40f4b
Tiger.Model.Net/Entitys/MES/ParameterEntity/U9CParameter.cs
@@ -70,8 +70,8 @@
        public string WorkOrder { get; set; }
        public string ItemCode { get; set; }
        public string WhCode { get; set; } = "10105";
        public int PkgQty { get; set; }
        public int CompleteQty { get; set; }
        public double PkgQty { get; set; }
        public double CompleteQty { get; set; }
        public int OutputType { get; set; } = 0;
        public int StorageType { get; set; } = 4;
        public int DocState { get; set; } = 1;
@@ -91,12 +91,81 @@
        public Wh Wh { get; set; }
        public Item Item { get; set; }
        public DescFlexField DescFlexField { get; set; }
        public int CompleteQty { get; set; }
        public double CompleteQty { get; set; }
        public int OutputType { get; set; } = 0;
        public int StorageType { get; set; } = 4;
        public int DocState { get; set; } = 1;
    }
    public class BarcodeCreateInput
    {
        public string RevDocId { get; set; }
        public string RevDocLineId { get; set; }
        public string userId { get; set; }
        public string token { get; set; }
        public bool IsLogin { get; set; }
    }
    public class BarcodeCreateParam
    {
        public List<CreateEntityKeys> CreateEntityKeys { get; set; }
        public bool IsCreateHeadBarCode { get; set; }
        public string BarCodeRuleCode { get; set; }
        public int GenerateCount { get; set; }
        public int BCQty { get; set; }
    }
    public class CreateEntityKeys
    {
        public string ID { get; set; }
        public string EntityType { get; set; }
    }
    public class BarcodeCreateByAssignQtyInput: BarcodeCreateInput
    {
        /// <summary>
        /// 入库单行总数量
        /// </summary>
        public decimal CreateBarCodeItemQty { get; set; }
        /// <summary>
        /// 包装装箱数量
        /// </summary>
        public decimal LabelQty { get; set; }
    }
    public class BarcodeCreateByAssignQtyParam
    {
        public string BarCodeRuleID { get; set; }
        public List<CreateBarCodeEntitys> CreateBarCodeEntitys { get; set; }
        /// <summary>
        /// 入库单行总数量
        /// </summary>
        public decimal CreateBarCodeItemQty { get; set; }
        /// <summary>
        /// 包装装箱数量
        /// </summary>
        public decimal LabelQty { get; set; }
    }
    public class CreateBarCodeEntitys
    {
        public string EntityID { get; set; }
        public string EntityType { get; set; } = "UFIDA.U9.Complete.RCVRpt.RcvRptDocLine";
    }
    public class BarcodeCreateByAssignQtyResult : U9CBaseResult
    {
        public BarcodeCreateByAssignQtyData Data { get; set; }
    }
    public class BarcodeCreateByAssignQtyData     {
        public string ErrorMessage { get; set; }
        public string OtherID { get; set; }
        public string CreatedBarCodes { get; set; }
        public bool IsSuccess { get; set; }
        public List<string> Data { get; set; }
    }
    public class MOKey
    {
        public string DocNo { get; set; }