| | |
| | | { |
| | | public List<U9CReturnData> Data { get; set; } |
| | | } |
| | | public class U9CResult2 : U9CBaseResult |
| | | { |
| | | public List<U9CReturnData2> Data { get; set; } |
| | | } |
| | | |
| | | public class U9CLoginResult : U9CBaseResult |
| | | { |
| | |
| | | public string m_errorMsg { get; set; } |
| | | public string m_datas { get; set; } |
| | | } |
| | | public class U9CReturnData2 |
| | | { |
| | | public string U9CVersion { get; set; } |
| | | public bool IsSucess { get; set; } |
| | | public string OtherID { get; set; } |
| | | public string ID { get; set; } |
| | | public string Code { get; set; } |
| | | public string ErrorMsg { get; set; } |
| | | } |
| | | |
| | | public class U9CBaseInput |
| | | { |
| | | public string userId { get; set; } |
| | | public string token { get; set; } |
| | | public bool IsLogin { get; set; } |
| | | } |
| | | |
| | | #region 入库单接口 |
| | | /// <summary> |
| | | /// 入库单接口传入参数 |
| | | /// </summary> |
| | | public class RcvRptDocCreateInput |
| | | { |
| | | public List<RcvRptDocBase> RcvRptDocBases { get; set; } |
| | | public List<BIZ_ERP_PROD_IN_BTH> ErpProdInBths { get; set; } |
| | | public List<InStorePrintJson> PrintJsons { get; set; } |
| | | public List<BIZ_ERP_PROD_IN_BTH> ErpProdInBths { get; set; } = new List<BIZ_ERP_PROD_IN_BTH>(); |
| | | public List<InStorePrintJson> PrintJsons { get; set; } = new List<InStorePrintJson>(); |
| | | public List<BAS_LABEL_TEMP> labels { get; set; } |
| | | public string userId { get; set; } |
| | | } |
| | |
| | | public class InStorePrintJson |
| | | { |
| | | public string ID { get; set; } |
| | | public List<ProdInBatch> Items { get; set; } |
| | | public List<BIZ_ERP_PROD_IN_BTH> Items { get; set; } |
| | | } |
| | | |
| | | public class ProdInBatch |
| | | { |
| | | public string ORDER_NO { get; set; } |
| | | public string SALES_ORDER { get; set; } |
| | | public string STATUS { get; set; } |
| | | public string BATCH_NO { get; set; } |
| | | public string WORK_ORDER { get; set; } |
| | | public string ITEM_CODE { get; set; } |
| | | public string SapCode { get; set; } |
| | | public string ITEM_NAME { get; set; } |
| | | public double PLAN_QTY { get; set; } |
| | | public double SCAN_QTY { get; set; } |
| | | } |
| | | //public class ProdInBatch |
| | | //{ |
| | | // public string ORDER_NO { get; set; } |
| | | // public string SALES_ORDER { get; set; } |
| | | // public string STATUS { get; set; } |
| | | // public string BATCH_NO { get; set; } |
| | | // public string WORK_ORDER { get; set; } |
| | | // public string ITEM_CODE { get; set; } |
| | | // public string SapCode { get; set; } |
| | | // public string ITEM_NAME { get; set; } |
| | | // public double PLAN_QTY { get; set; } |
| | | // public double SCAN_QTY { get; set; } |
| | | //} |
| | | |
| | | public class RcvRptDocBase |
| | | { |
| | | 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; |
| | |
| | | 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: U9CBaseInput |
| | | { |
| | | public string RevDocId { get; set; } |
| | | public string RevDocLineId { 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; } |
| | | } |
| | | #endregion |
| | | |
| | | #region 半成品条码生成 |
| | | 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 PrivateDescSeg1 { get; set; } |
| | | } |
| | | #endregion |
| | | |
| | | #region 新增收货单接口 |
| | | public class CreateRcvBySrcASNParam |
| | | { |
| | | public List<ASNToRcvTransDTO> aSNToRcvTransDTOs { get; set; } |
| | | public string OtherID { get; set; } = "WMS"; |
| | | } |
| | | |
| | | public class ASNToRcvTransDTO { |
| | | public TransQty TransQty { get; set; } |
| | | public string ASNLineKey { get; set; } |
| | | } |
| | | |
| | | public class TransQty |
| | | { |
| | | public string m_amount1 { get; set; } |
| | | public m_uOM1 m_uOM1 { get; set; } |
| | | } |
| | | |
| | | public class m_uOM1 |
| | | { |
| | | public UOMMain_SKey UOMMain_SKey { get; set; } |
| | | public string UOMMain { get; set; } |
| | | public UOMSub_SKey UOMSub_SKey { get; set; } |
| | | } |
| | | |
| | | public class UOMMain_SKey |
| | | { |
| | | public string ID { get; set; } |
| | | } |
| | | |
| | | public class UOMSub_SKey |
| | | { |
| | | public string ID { get; set; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 新增收货单接口-传入参数 |
| | | /// </summary> |
| | | public class CreateRcvBySrcASNInput: U9CBaseInput |
| | | { |
| | | /// <summary> |
| | | /// 当前收货数量 - m_amount1 |
| | | /// </summary> |
| | | public string CurRevQty { get; set; } |
| | | /// <summary> |
| | | /// ASN单行ID |
| | | /// </summary> |
| | | public string ASNLineKey { get; set; } |
| | | } |
| | | |
| | | #region 无来源 |
| | | public class CreateReceivementParam |
| | | { |
| | | public RcvDTO rcvDTO { get; set; } |
| | | public string OtherID { get; set; } = "WMS"; |
| | | } |
| | | |
| | | public class CreateReceivementInput : U9CBaseInput |
| | | { |
| | | |
| | | } |
| | | |
| | | public class RcvDTO { |
| | | public DateTime BusinessDate { get; set; } |
| | | public Supplier Supplier { get; set; } |
| | | public RcvDocType RcvDocType { get; set; } |
| | | public List<RcvLine> RcvLines { get; set; } |
| | | public bool IsRcvByChangeable { get; set; } |
| | | public bool IsPriceListChangeable { get; set; } |
| | | public bool IsConfirmTermChangeable { get; set; } |
| | | public bool IsPaymentTermChangeable { get; set; } |
| | | public bool IsLineApprove { get; set; } |
| | | } |
| | | public class Supplier { |
| | | public string m_code { get; set; } |
| | | } |
| | | public class RcvDocType |
| | | { |
| | | public string m_code { get; set; } |
| | | } |
| | | public class RcvLine |
| | | { |
| | | public bool IsPresent { get; set; } |
| | | public ItemInfo ItemInfo { get; set; } |
| | | public Wh2 Wh { get; set; } |
| | | public List<RcvLineLocation> RcvLineLocations { get; set; } |
| | | public double ArriveQtyTU { get; set; } |
| | | public double ArriveQtyPU { get; set; } |
| | | public double RcvQtyTU { get; set; } |
| | | public double RcvQtyPU { get; set; } |
| | | public double EyeballingQtyTU { get; set; } |
| | | public double RcvProcedure { get; set; } |
| | | public double StorageType { get; set; } |
| | | public string RcvLotCode { get; set; } |
| | | public string InvLotCode { get; set; } |
| | | } |
| | | |
| | | public class ItemInfo |
| | | { |
| | | public string m_itemCode { get; set; } |
| | | } |
| | | public class Wh2 |
| | | { |
| | | public string m_code { get; set; } |
| | | } |
| | | public class Location |
| | | { |
| | | public string m_code { get; set; } |
| | | } |
| | | |
| | | public class RcvLineLocation |
| | | { |
| | | public Location Location { get; set; } |
| | | public double LocationQtyTU { get; set; } |
| | | } |
| | | #endregion |
| | | |
| | | #endregion |
| | | } |