增加盘点模式

This commit is contained in:
hehaibing-1996
2024-05-09 09:43:28 +08:00
parent 311a695498
commit cb6090bf0b
43 changed files with 2909 additions and 423 deletions

View File

@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace WCS.Model.ApiModel.InOutRecord
{
public class GetInOutRecordRequest : PageQueryRequestBase
{
#region
public string MatSN { get; set; }
public string MatCode { get; set; }
public string MatName { get; set; }
public string MatSpec { get; set; }
public string MatBatch { get; set; }
public string MatSupplier { get; set; }
public string MatCustomer { get; set; }
#endregion
#region
public List<int> ShelfTypeId { get; set; }
public List<int> ShelfId { get; set; }
public int StoreId { get; set; }
public string StoreCode { get; set; }
#endregion
}
}

View File

@ -0,0 +1,44 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace WCS.Model.ApiModel.InOutRecord
{
public class InOutRecordModel
{
public int Id { get; set; }
#region
public int StoreId { get; set; }
public string StoreCode { get; set; }
#endregion
#region
public string MatSN { get; set; }
public string MatCode { get; set; }
public string MatName { get; set; }
public string MatSpec { get; set; }
public string MatBatch { get; set; }
public int MatQty { get; set; }
public string? MatSupplier { get; set; }
public string? MatCustomer { get; set; }
#endregion
public string? OrderNumber { get; set; }
public DirectionEnum Direction { get; set; }
public bool IsUpload { get; set; } = false;
public DateTime OperateTime { get; set; }
public string OperateUser { get; set; }
public int RowNumber { get; set; }
public bool IsSelected { get; set; }
}
public enum DirectionEnum
{
= 0,
= 1,
= 2,
= 3,
}
}

View File

@ -10,6 +10,7 @@ namespace WCS.Model
{
public int OrderId { get; set; }
public string OrderNumber { get; set; }
public bool IsStart { get; set; } = false;
public bool IsPause { get; set; } = false;
}
}

View File

@ -4,7 +4,7 @@ using System.Text;
namespace WCS.Model.ApiModel.Stocktaking
{
public class GetStockTakingOrderMatDetailRequest
public class GetStockTakingOrderMatDetailRequest:RequestBase
{
public int StockTakingOrderId { get; set; }
public string StockTakingOrderNumber { get; set; }

View File

@ -0,0 +1,42 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace WCS.Model.ApiModel.Stocktaking
{
public class StockTakingOrderMatDetailModel
{
public int Id { get; set; }
public int StocktakingOrderId { get; set; }
public string StocktakingOrderNumber { get; set; }
public int StoreId { get; set; }
public string StoreCode { get; set; }
#region
public int InventoryDetailId { get; set; }
public string MatSN { get; set; }
public string MatCode { get; set; }
public string MatName { get; set; }
public string MatSpec { get; set; }
public string MatBatch { get; set; }
public int MatQty { get; set; }
public string? MatSupplier { get; set; }
public string? MatCustomer { get; set; }
#endregion
public bool IsStocktaking { get; set; }
public string IsStocktakingStr
{
get
{
return
IsStocktaking ? "是" : "否";
}
}
public int StocktakingQty { get; set; }
public DateTime UpdateTime { get; set; }
public string UpdateUser { get; set; }
public int RowNumber { get; set; }
}
}

View File

@ -35,13 +35,20 @@ namespace WCS.Model.WebSocketModel
= 3,
= 4,
退 = 5,
= 6,
= 7,
= 8,
= 9,
= 10,
退 = 11,
= 12,
= 13,
退 = 14,
//通知类
= 50,
= 51,
= 52,
}
}