提交代码
This commit is contained in:
@ -8,10 +8,10 @@ namespace WCS.Model
|
||||
{
|
||||
public class QueryByMatSnResponse : ResponseBase
|
||||
{
|
||||
public MatInfoModel Data { get; set; }
|
||||
public MatInfoResponse Data { get; set; }
|
||||
}
|
||||
|
||||
public class MatInfoModel
|
||||
public class MatInfoResponse
|
||||
{
|
||||
public string materialBar { get; set; }
|
||||
|
||||
|
22
WCS.Model/ApiModel/MatBaseInfo/GenerateMatInfoRequest.cs
Normal file
22
WCS.Model/ApiModel/MatBaseInfo/GenerateMatInfoRequest.cs
Normal file
@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using WCS.BLL.DbModels;
|
||||
|
||||
namespace WCS.Model.ApiModel.MatBaseInfo
|
||||
{
|
||||
public class GenerateMatInfoRequest:RequestBase
|
||||
{
|
||||
public MatBaseInfoModel MatBaseInfo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 每盘数量
|
||||
/// </summary>
|
||||
public int MatQty { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 本次生成的盘数
|
||||
/// </summary>
|
||||
public int TotalCount { get; set; }
|
||||
}
|
||||
}
|
36
WCS.Model/ApiModel/MatBaseInfo/MatInfoModel.cs
Normal file
36
WCS.Model/ApiModel/MatBaseInfo/MatInfoModel.cs
Normal file
@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WCS.Model.ApiModel.MatBaseInfo
|
||||
{
|
||||
public class MatInfoModel
|
||||
{
|
||||
|
||||
public int Id { get; set; }
|
||||
|
||||
public string MatSn { get; set; }
|
||||
|
||||
public string MatCode { get; set; }
|
||||
|
||||
public string MatName { get; set; }
|
||||
|
||||
public string? MatSpec { get; set; }
|
||||
|
||||
public string? MatUnit { get; set; }
|
||||
|
||||
public string? MatBatch { get; set; }
|
||||
|
||||
public string? MatSupplier { get; set; }
|
||||
|
||||
public string? MatCustomer { get; set; }
|
||||
|
||||
public int MatQty { get; set; }
|
||||
|
||||
public bool IsPrinted { get; set; }
|
||||
|
||||
public string? ModifyUser { get; set; }
|
||||
|
||||
public DateTime? ModifyTime { get; set; } = DateTime.Now;
|
||||
}
|
||||
}
|
@ -18,13 +18,12 @@ namespace WCS.Model
|
||||
public string OrderType { get; set; }
|
||||
|
||||
public List<MatCodeItemList> ItemList { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class MatCodeItemList
|
||||
{
|
||||
public string MatCode { get; set; }
|
||||
public string MatBatch { get; set; }
|
||||
public int ReqQty { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WCS.Model.ApiModel.Stocktaking
|
||||
{
|
||||
public class ComfirmStocktakingOrderRequest
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string StocktakingOrderNumber { get; set; }
|
||||
public string MatSN { get; set; }
|
||||
public int Qty { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WCS.Model.ApiModel.Stocktaking
|
||||
{
|
||||
public class GetStockTakingOrderMatDetailRequest
|
||||
{
|
||||
public int StockTakingOrderId { get; set; }
|
||||
public string StockTakingOrderNumber { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WCS.Model.ApiModel.Stocktaking
|
||||
{
|
||||
public class GetStockTakingOrdersRequest : PageQueryRequestBase
|
||||
{
|
||||
public string StocktakingOrderNumber { get; set; }
|
||||
|
||||
public StocktakingOrderStatus? StocktakingOrderStatus { get; set; }
|
||||
}
|
||||
|
||||
public enum StocktakingOrderStatus
|
||||
{
|
||||
未盘点 = 0,
|
||||
部分盘点 = 1,
|
||||
盘点完成 = 2,
|
||||
已提交 = 3
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WCS.Model.ApiModel.Stocktaking
|
||||
{
|
||||
public class QueryMatInfoInStocktakingOrderRequest:RequestBase
|
||||
{
|
||||
public string MatSN { get; set; }
|
||||
}
|
||||
}
|
19
WCS.Model/ApiModel/Stocktaking/SysStockTakingOrderRequest.cs
Normal file
19
WCS.Model/ApiModel/Stocktaking/SysStockTakingOrderRequest.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WCS.Model.ApiModel.Stocktaking
|
||||
{
|
||||
public class SysStockTakingOrderRequest : RequestBase
|
||||
{
|
||||
|
||||
public string StocktakingOrderNumber { get; set; }
|
||||
|
||||
public string StocktakingOrderSource { get; set; }
|
||||
|
||||
public string StocktakingOrderType { get; set; }
|
||||
|
||||
public List<string> List { get; set; }
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WCS.Model.ApiModel.Stocktaking
|
||||
{
|
||||
public class SysStockTakingOrderResponse : ResponseBase<SysStockTakingOrderData>
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public class SysStockTakingOrderData
|
||||
{
|
||||
public string StocktakingOrderNumber { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user