提交代码
This commit is contained in:
@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using WCS.Model.ApiModel.MatBaseInfo;
|
||||
|
||||
namespace WCS.Model
|
||||
{
|
||||
@ -28,5 +29,8 @@ namespace WCS.Model
|
||||
public string supplier { get; set; }
|
||||
|
||||
public string customer { get; set; }
|
||||
|
||||
|
||||
public string InstoreUser { get; set; }
|
||||
}
|
||||
}
|
||||
|
17
WCS.Model/ApiModel/MatBaseInfo/GetMatInfoRequest.cs
Normal file
17
WCS.Model/ApiModel/MatBaseInfo/GetMatInfoRequest.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WCS.Model.ApiModel.MatBaseInfo
|
||||
{
|
||||
public class GetMatInfoRequest : PageQueryRequestBase
|
||||
{
|
||||
public string MatCode { get; set; }
|
||||
|
||||
public string MatName { get; set; }
|
||||
|
||||
public string MatSpec { get; set; }
|
||||
|
||||
public string MatSN { get; set; }
|
||||
}
|
||||
}
|
@ -1,15 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace WCS.Model.ApiModel.MatBaseInfo
|
||||
{
|
||||
public class MatInfoModel
|
||||
public class MatInfoModel : INotifyPropertyChanged
|
||||
{
|
||||
|
||||
public int Id { get; set; }
|
||||
|
||||
public string MatSn { get; set; }
|
||||
public string MatSN { get; set; }
|
||||
|
||||
public string MatCode { get; set; }
|
||||
|
||||
@ -32,5 +33,24 @@ namespace WCS.Model.ApiModel.MatBaseInfo
|
||||
public string? ModifyUser { get; set; }
|
||||
|
||||
public DateTime? ModifyTime { get; set; } = DateTime.Now;
|
||||
|
||||
public bool IsSelected
|
||||
{
|
||||
get { return isSelected; }
|
||||
set
|
||||
{
|
||||
isSelected = value;
|
||||
OnPropertyChanged(nameof(IsSelected));
|
||||
}
|
||||
}
|
||||
public bool isSelected;
|
||||
|
||||
public int RowNumber { get; set; }
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
protected virtual void OnPropertyChanged(string propertyName)
|
||||
{
|
||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WCS.Model.ApiModel.MatInventoryDetail
|
||||
{
|
||||
public class GetMatInventorySummaryRequest
|
||||
{
|
||||
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; }
|
||||
}
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace WCS.Model.ApiModel.MatInventoryDetail
|
||||
{
|
||||
public class MatInventorySummaryModel: INotifyPropertyChanged
|
||||
{
|
||||
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; }
|
||||
|
||||
public int TotalQty { get; set; }
|
||||
|
||||
public int NeedQty { get; set; } = 0;
|
||||
|
||||
public bool IsSelected
|
||||
{
|
||||
get { return isSelected; }
|
||||
set
|
||||
{
|
||||
isSelected = value;
|
||||
OnPropertyChanged(nameof(IsSelected));
|
||||
}
|
||||
}
|
||||
public bool isSelected;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
protected virtual void OnPropertyChanged(string propertyName)
|
||||
{
|
||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WCS.Model.ApiModel.SelfCheck
|
||||
{
|
||||
public class StartSelfCheckByShelfCodeRequest : RequestBase
|
||||
{
|
||||
public List<string> ShelfCodes { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user