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(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.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();
|
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(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.StoreCode), (id, si) => id.StoreCode.Contains(request.StoreCode))
|
||||||
|
.WhereIF(!string.IsNullOrEmpty(request.ShelfCode), (id, si) => si.ShelfCode.Contains(request.ShelfCode))
|
||||||
;
|
;
|
||||||
var records = await recordsQueryable
|
var records = await recordsQueryable
|
||||||
.Skip((request.PageNumber - 1) * request.PageSize).Take(request.PageSize)
|
.Skip((request.PageNumber - 1) * request.PageSize).Take(request.PageSize)
|
||||||
|
@ -25,6 +25,7 @@ namespace WCS.Model.ApiModel.MatInventoryDetail
|
|||||||
#region 库位属性
|
#region 库位属性
|
||||||
public List<int> ShelfTypeId { get; set; }
|
public List<int> ShelfTypeId { get; set; }
|
||||||
public List<int> ShelfId { get; set; }
|
public List<int> ShelfId { get; set; }
|
||||||
|
public string ShelfCode { get; set; }
|
||||||
public int StoreId { get; set; }
|
public int StoreId { get; set; }
|
||||||
public string StoreCode { get; set; }
|
public string StoreCode { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
@ -77,6 +77,14 @@ namespace 货架标准上位机.ViewModel
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private string shelfCode;
|
||||||
|
public string ShelfCode
|
||||||
|
{
|
||||||
|
get => shelfCode;
|
||||||
|
set { SetProperty(ref shelfCode, value); }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 物料编码
|
/// 物料编码
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -207,6 +215,8 @@ namespace 货架标准上位机.ViewModel
|
|||||||
MatCode = MatCode,
|
MatCode = MatCode,
|
||||||
StoreCode = StoreCode,
|
StoreCode = StoreCode,
|
||||||
|
|
||||||
|
ShelfCode = ShelfCode,
|
||||||
|
|
||||||
UserName = LocalStatic.CurrentUser,
|
UserName = LocalStatic.CurrentUser,
|
||||||
DeviceType = LocalFile.Config.DeviceType,
|
DeviceType = LocalFile.Config.DeviceType,
|
||||||
PageNumber = CurrentPage,
|
PageNumber = CurrentPage,
|
||||||
|
@ -43,6 +43,13 @@
|
|||||||
FontSize="18"
|
FontSize="18"
|
||||||
IsEditable="True"/>
|
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"
|
<TextBlock Grid.Row="1" Grid.Column="0" Margin="5"
|
||||||
VerticalAlignment="Center" HorizontalAlignment="Right"
|
VerticalAlignment="Center" HorizontalAlignment="Right"
|
||||||
Text="物料编码:" FontSize="18" ></TextBlock>
|
Text="物料编码:" FontSize="18" ></TextBlock>
|
||||||
|
Reference in New Issue
Block a user