Merge branch 'master' of https://gitee.com/cquni-wcs/wcs
This commit is contained in:
@ -36,6 +36,7 @@ namespace WCS.BLL.Services.Service
|
||||
|
||||
.WhereIF(request.StoreId != 0, (id, si) => id.StoreId == request.StoreId)
|
||||
.WhereIF(!string.IsNullOrEmpty(request.StoreCode), (id, si) => id.StoreCode.Contains(request.StoreCode))
|
||||
.WhereIF(!string.IsNullOrEmpty(request.ShelfCode), (id, si) => si.ShelfCode.Contains(request.ShelfCode))
|
||||
;
|
||||
|
||||
var totalCount = await recordsQueryable.CountAsync();
|
||||
@ -90,6 +91,7 @@ namespace WCS.BLL.Services.Service
|
||||
|
||||
.WhereIF(request.StoreId != 0, (id, si) => id.StoreId == request.StoreId)
|
||||
.WhereIF(!string.IsNullOrEmpty(request.StoreCode), (id, si) => id.StoreCode.Contains(request.StoreCode))
|
||||
.WhereIF(!string.IsNullOrEmpty(request.ShelfCode), (id, si) => si.ShelfCode.Contains(request.ShelfCode))
|
||||
;
|
||||
var records = await recordsQueryable
|
||||
.Skip((request.PageNumber - 1) * request.PageSize).Take(request.PageSize)
|
||||
|
@ -25,6 +25,7 @@ namespace WCS.Model.ApiModel.MatInventoryDetail
|
||||
#region 库位属性
|
||||
public List<int> ShelfTypeId { get; set; }
|
||||
public List<int> ShelfId { get; set; }
|
||||
public string ShelfCode { get; set; }
|
||||
public int StoreId { get; set; }
|
||||
public string StoreCode { get; set; }
|
||||
#endregion
|
||||
|
@ -77,6 +77,14 @@ namespace 货架标准上位机.ViewModel
|
||||
}
|
||||
}
|
||||
|
||||
private string shelfCode;
|
||||
public string ShelfCode
|
||||
{
|
||||
get => shelfCode;
|
||||
set { SetProperty(ref shelfCode, value); }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 物料编码
|
||||
/// </summary>
|
||||
@ -207,6 +215,8 @@ namespace 货架标准上位机.ViewModel
|
||||
MatCode = MatCode,
|
||||
StoreCode = StoreCode,
|
||||
|
||||
ShelfCode = ShelfCode,
|
||||
|
||||
UserName = LocalStatic.CurrentUser,
|
||||
DeviceType = LocalFile.Config.DeviceType,
|
||||
PageNumber = CurrentPage,
|
||||
|
@ -43,6 +43,13 @@
|
||||
FontSize="18"
|
||||
IsEditable="True"/>
|
||||
|
||||
<TextBlock Grid.Row="0" Grid.Column="2" Margin="5"
|
||||
VerticalAlignment="Center" HorizontalAlignment="Right"
|
||||
Text="货架编码:" FontSize="18" ></TextBlock>
|
||||
<TextBox Grid.Row="0" Grid.Column="3" Text="{Binding ShelfCode}"
|
||||
VerticalAlignment="Center" HorizontalAlignment="Left"
|
||||
FontSize="18" MinWidth="120" ></TextBox>
|
||||
|
||||
<TextBlock Grid.Row="1" Grid.Column="0" Margin="5"
|
||||
VerticalAlignment="Center" HorizontalAlignment="Right"
|
||||
Text="物料编码:" FontSize="18" ></TextBlock>
|
||||
|
Reference in New Issue
Block a user