wms新增字段

master
LAPTOP-NLSJV9RB\91647 2 years ago
parent b19350ce1a
commit 8c811e6113

@ -99,11 +99,11 @@ namespace Khd.Core.Domain.Models
/// </summary> /// </summary>
[Column("outstock_flag")] [Column("outstock_flag")]
public string outstockFlag { get; set; } public string outstockFlag { get; set; }
/// <summary> /// <summary>
/// 库位状态(1:正常,2:自动锁定,3:人工锁定,4:移库锁定5:合库锁定);在正常时,库位可以使用,如果是自动锁定则需要自动解锁变成正常,如果是人工锁定需要人工解锁变成正常 /// 库位状态(1:正常,2:自动锁定,3:人工锁定,4:移库锁定5:合库锁定 6出库锁定);在正常时,库位可以使用,如果是自动锁定则需要自动解锁变成正常,如果是人工锁定需要人工解锁变成正常
/// </summary> /// </summary>
[Column("location_status")] [Column("location_status")]
public string locationStatus { get; set; } public string locationStatus { get; set; }
/// <summary> /// <summary>

@ -47,11 +47,17 @@ namespace Khd.Core.Domain.Models
public string stockType { get; set; } public string stockType { get; set; }
/// <summary> /// <summary>
/// 入库批次号;在打印物料条码时,每个成品是一个条码,一个批次可以有多个条码 /// 物料条码;在打印物料条码时,每个成品是一个条码
/// </summary> /// </summary>
[Column("product_batch")] [Column("product_batch")]
public string productBatch { get; set; } public string productBatch { get; set; }
/// <summary>
/// 托盘RFID代码
/// </summary>
[Column("pallet_info_code")]
public string palletInfoCode { get; set; }
/// <summary> /// <summary>
/// 质检状态(0待质检 1检验中,2质检通过,3质检不通过) /// 质检状态(0待质检 1检验中,2质检通过,3质检不通过)
/// </summary> /// </summary>
@ -76,6 +82,12 @@ namespace Khd.Core.Domain.Models
[Column("plan_detail_code")] [Column("plan_detail_code")]
public string planDetailCode { get; set; } public string planDetailCode { get; set; }
/// <summary>
/// 销售订单ID关联销售订单主键
/// </summary>
[Column("sale_order_id")]
public long? saleOrderId { get; set; }
/// <summary> /// <summary>
/// 销售订单编号 /// 销售订单编号
/// </summary> /// </summary>
@ -92,13 +104,13 @@ namespace Khd.Core.Domain.Models
/// 冻结数量 /// 冻结数量
/// </summary> /// </summary>
[Column("frozen_amount")] [Column("frozen_amount")]
public decimal? frozenAmount { get; set; } public decimal frozenAmount { get; set; }
/// <summary> /// <summary>
/// 占用数量 /// 占用数量
/// </summary> /// </summary>
[Column("occupy_amount")] [Column("occupy_amount")]
public decimal? occupyAmount { get; set; } public decimal occupyAmount { get; set; }
/// <summary> /// <summary>
/// 创建人 /// 创建人

@ -41,7 +41,7 @@ namespace Khd.Core.Domain.Models
public string locationCode { get; set; } public string locationCode { get; set; }
/// <summary> /// <summary>
/// 工单ID,关联mes_product_order_info的product_order_id /// 销售订单ID
/// </summary> /// </summary>
[Column("order_id")] [Column("order_id")]
public long? orderId { get; set; } public long? orderId { get; set; }
@ -65,7 +65,7 @@ namespace Khd.Core.Domain.Models
public int? stationId { get; set; } public int? stationId { get; set; }
/// <summary> /// <summary>
/// 成品ID,关联物料表物料id /// 物料ID,关联物料表物料id
/// </summary> /// </summary>
[Column("product_id")] [Column("product_id")]
public long? productId { get; set; } public long? productId { get; set; }
@ -83,16 +83,22 @@ namespace Khd.Core.Domain.Models
public string palletInfoCode { get; set; } public string palletInfoCode { get; set; }
/// <summary> /// <summary>
/// 出库数量 /// 计划出库数量
/// </summary> /// </summary>
[Column("outstock_amount")] [Column("outstock_amount")]
public decimal? outstockAmount { get; set; } public decimal outstockAmount { get; set; }
/// <summary>
/// 已出库数量
/// </summary>
[Column("real_outstock_amount")]
public decimal realOutstockAmount { get; set; }
/// <summary> /// <summary>
/// 出库目的地 /// 出库目的地
/// </summary> /// </summary>
[Column("end_station_code")] [Column("end_station_code")]
public long? endStationCode { get; set; } public string endStationCode { get; set; }
/// <summary> /// <summary>
/// 操作类型(0自动,1人工,2强制,3调度) /// 操作类型(0自动,1人工,2强制,3调度)

@ -58,6 +58,12 @@ namespace Khd.Core.Domain.Models
[Column("instock_batch")] [Column("instock_batch")]
public string instockBatch { get; set; } public string instockBatch { get; set; }
/// <summary>
/// 托盘RFID代码
/// </summary>
[Column("pallet_info_code")]
public string palletInfoCode { get; set; }
/// <summary> /// <summary>
/// 入库时间;此入库时间从批次信息中获取accepted_date /// 入库时间;此入库时间从批次信息中获取accepted_date
/// </summary> /// </summary>
@ -92,13 +98,13 @@ namespace Khd.Core.Domain.Models
/// 冻结数量;手动冻结的,暂时可不用 /// 冻结数量;手动冻结的,暂时可不用
/// </summary> /// </summary>
[Column("frozen_amount")] [Column("frozen_amount")]
public decimal? frozenAmount { get; set; } public decimal frozenAmount { get; set; }
/// <summary> /// <summary>
/// 占用数量;申请时占用的数量,在出库时要减去出库数量,并且总数量要同步更新; /// 占用数量;申请时占用的数量,在出库时要减去出库数量,并且总数量要同步更新;
/// </summary> /// </summary>
[Column("occupy_amount")] [Column("occupy_amount")]
public decimal? occupyAmount { get; set; } public decimal occupyAmount { get; set; }
/// <summary> /// <summary>
/// 供应商ID /// 供应商ID

Loading…
Cancel
Save