using System;
using System.Collections.Generic;
namespace HH.WCS.SJML.Dto
{
public class SJErpPurchaseOrderDto
{
///
/// 调度单号
///
public string fbillno { get; set; }
public string ftpxh { get; set; }
///
/// 组织
///
public string forgUnit { get; set; }
///
/// 事务token
///
public string ftoken { get; set; }
///
/// 供应商编码
///
public string fsupplier { get; set; }
///
/// 物料编码
///
public string fmaterialno { get; set; }
///
/// 批次
///
public string flot { get; set; }
///
/// 计量单位
///
//public string funit { get; set; }
///
/// 数量
///
public decimal fqty { get; set; }
///
/// 总件数
///
public decimal fjs { get; set; }
///
/// 是否成功通知金蝶 0未通知 1成功 -1失败
///
//public int Erp_Make { get; set; }
///
/// 订单号
///
public string forderNo { get; set; }
///
/// 领料公司编码
///
public string fadminorg { get; set; }
///
/// 领料部门编码
///
public string fllbm { get; set; }
///
/// 事务类型编码
///
public string fswlx { get; set; }
///
/// 成本中心编码
///
public string fcbzx { get; set; }
///
/// 成本对象编码
///
public string fcbdx { get; set; }
///
/// 成本对象组编码
///
public string fcbdxz { get; set; }
}
public class SJErpJlInWork
{
///
/// 调度单号
///
public string fbillno { get; set; }
///
/// 通知单号
///
public string fqydh { get; set; }
///
/// 生产订单号
///
public string fscddh { get; set; }
///
/// 开始车号
///
public string fstartno { get; set; }
///
/// 截止车号
///
public string fendno { get; set; }
///
/// 物料Id
///
public string fmaterialId { get; set; }
public string ftoken { get; set; }
///
/// 批次
///
public string flot { get; set; }
///
/// 数量
///
public decimal fqty { get; set; }
///
/// 整托数量
///
public decimal fztqty { get; set; }
///
/// 托盘号
///
public string ftpno { get; set; }
///
/// 托盘序号
///
public string ftpxh { get; set; }
///
/// 每托车数
///
public string ftpcars { get; set; }
///
/// 车号
///
public string fcarno { get; set; }
public Erp2_head head { get; set; }
}
public class Erp2_head
{
public string fbillno { get; set; }
public string fqydh { get; set; }
public string fscddh { get; set; }
public string fstartno { get; set; }
public string fendno { get; set; }
public string fmaterialId { get; set; }
public string token { get; set; }
// public string fadminorg { get; set; }
// public List entrys { get; set; }
}
public class Erp2_entrys
{
public string flot { get; set; }
public decimal fqty { get; set; }
public decimal fztqty { get; set; }
public string ftpno { get; set; }
public string ftpxh { get; set; }
public string ftpcars { get; set; }
public string fcarno { get; set; }
}
///
/// 用与调金蝶接口
///
public class ErpPurchas
{
public Erp1_head head { get; set; }
public List entrys { get; set; }
}
public class ErpPurchas2
{
public Erp2_head head { get; set; }
public List entrys { get; set; }
}
public class Erp1_head
{
public string fbillno { get; set; }
public string forgUnit { get; set; }
public string token { get; set; }
public string fadminorg { get; set; }
}
public class Erp_entrys
{
public string fsupplier { get; set; }
public string fmaterialno { get; set; }
public string flot { get; set; }
//public string funit { get; set; }
public Decimal fqty { get; set; }
public decimal fjs { get; set; }
public string forderNo { get; set; }
public string ftpxh { get; set; }
public string fllbm { get; set; }
public string fswlx { get; set; }
public string fcbzx { get; set; }
public string fcbdx { get; set; }
public string fcbdxz { get; set; }
}
public class UpdateTrayCode
{
///
/// 原工装编号
///
public string RawTrayCode { get; set; }
///
/// 现工装编号
///
public string CashTrayCode { get; set; }
///
/// 机台号
///
public string SM_equipcode { get; set; }
public decimal Qty { get; set; }
}
public class ErpMaterialEnd
{
public string fbillno { get; set; }
public string fbillid { get; set; }
public bool flag { get; set; }
public string message { get; set; }
public List data { get; set; }
public string serverdate { get; set; }
public string token { get; set; }
}
public class ErpMaterialData
{
public string fname { get; set; }
public string fnumber { get; set; }
}
public class ErpResponse
{
public bool flag { get; set; }
public string errCode { get; set; }
public string message { get; set; }
public ERpRe data { get; set; }
public DateTime? serverdate { set; get; }
public string token { get; set; }
}
public class ERpRe
{
public string fbillno { get; set; }
}
public class FailedList
{
///
///
///
public string taskNo { set; get; }
///
///
///
public string errCode { set; get; }
///
///
///
public string errMsg { set; get; }
}
public class SsxData
{
public int resultCode { get; set; }
public string resultMsg { get; set; }
}
}