fixes
This commit is contained in:
parent
9731e15944
commit
5e574cd19e
|
|
@ -3,11 +3,8 @@ using LinqToDB.Mapping;
|
|||
using Mango.Nop.Core.Dtos;
|
||||
using Mango.Nop.Core.Extensions;
|
||||
using Newtonsoft.Json;
|
||||
using Nop.Core;
|
||||
//using Nop.Core.Domain.Catalog;
|
||||
using Nop.Core.Domain.Common;
|
||||
using Nop.Core.Domain.Orders;
|
||||
using System.Globalization;
|
||||
using System.Linq.Expressions;
|
||||
|
||||
namespace FruitBank.Common.Dtos;
|
||||
|
|
|
|||
|
|
@ -1,19 +1,15 @@
|
|||
using AyCode.Core.Interfaces;
|
||||
using DevExpress.Blazor;
|
||||
using DevExpress.Blazor;
|
||||
using FruitBank.Common.Dtos;
|
||||
using FruitBank.Common.Entities;
|
||||
using FruitBank.Common.SignalRs;
|
||||
using FruitBankHybrid.Shared.Pages;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
namespace FruitBankHybrid.Shared.Components.Grids.ShippingItems;
|
||||
namespace FruitBankHybrid.Shared.Components.Grids.Products;
|
||||
|
||||
public class GridStockQuantityHistoryDto : FruitBankListGridBase<StockQuantityHistoryDto>, IGrid
|
||||
{
|
||||
public GridStockQuantityHistoryDto() : base()
|
||||
{
|
||||
if (IsMasterGrid) GetAllMessageTag = SignalRTags.GetStockQuantityHistoryDtos;
|
||||
else GetAllMessageTag = SignalRTags.GetStockQuantityHistoryDtosByProductId;
|
||||
GetAllMessageTag = IsMasterGrid ? SignalRTags.GetStockQuantityHistoryDtos : SignalRTags.GetStockQuantityHistoryDtosByProductId;
|
||||
|
||||
//AddMessageTag = SignalRTags.AddShippingItem;
|
||||
//UpdateMessageTag = SignalRTags.UpdateShippingItem;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,6 @@
|
|||
@using AyCode.Core.Loggers;
|
||||
@using AyCode.Core.Extensions
|
||||
@using AyCode.Core.Helpers
|
||||
@using AyCode.Utils.Extensions
|
||||
@using FruitBank.Common.Dtos
|
||||
@using FruitBank.Common.Entities
|
||||
@using FruitBankHybrid.Shared.Components.Grids.ShippingItems
|
||||
@using FruitBankHybrid.Shared.Components.Toolbars
|
||||
@using FruitBankHybrid.Shared.Databases
|
||||
|
|
@ -57,17 +54,15 @@
|
|||
[Inject] public required DatabaseClient Database { get; set; }
|
||||
|
||||
[Parameter] public object[]? ContextIds { get; set; }
|
||||
[Parameter] public bool IsMasterGrid { get; set; } = false;
|
||||
[Parameter] public bool IsMasterGrid { get; set; }
|
||||
|
||||
[Parameter] public IEnumerable<ProductDto>? ProductDtos { get; set; }
|
||||
[Parameter] public List<StockQuantityHistoryDto>? StockQuantityHistoryDtos { get; set; }
|
||||
|
||||
string GridCss => !IsMasterGrid ? "hide-toolbar" : string.Empty;
|
||||
|
||||
const string ExportFileName = "ExportResult";
|
||||
|
||||
public GridStockQuantityHistoryDto Grid { get; set; }
|
||||
private LoggerClient<GridStockQuantityHistoryDtoTemplate> _logger;
|
||||
private LoggerClient<GridStockQuantityHistoryDtoTemplate> _logger = null!;
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue