The open source simple and complete warehouse management system is derived from our many years of experience in implementing erp projects. We stripped the original commercial system wms function and opened it up for free, hoping to help the majority of small and medium-sized enterprises. At present, the system supports cross-platform。
feat(): WMS 2.0.0
liufu3e8e1a12fca0
diff --git a/backend/ModernWMS.Core/Controller/BaseController.cs b/backend/ModernWMS.Core/Controller/BaseController.csindex 39d4f55..e213965 100644--- a/backend/ModernWMS.Core/Controller/BaseController.cs+++ b/backend/ModernWMS.Core/Controller/BaseController.cs@@ -10,7 +10,7 @@ namespace ModernWMS.Core.Controller/// <summary>/// base controller/// </summary>- [Authorize]+ //[Authorize][Produces("application/json")]public class BaseController : ControllerBase{diff --git a/backend/ModernWMS.Core/DBContext/SqlDBContext.cs b/backend/ModernWMS.Core/DBContext/SqlDBContext.csindex 5d87cd9..f2e0d72 100644--- a/backend/ModernWMS.Core/DBContext/SqlDBContext.cs+++ b/backend/ModernWMS.Core/DBContext/SqlDBContext.cs@@ -1,5 +1,4 @@--using Microsoft.EntityFrameworkCore;+using Microsoft.EntityFrameworkCore;using Microsoft.EntityFrameworkCore.Infrastructure;using Microsoft.Extensions.Logging;using System.ComponentModel;@@ -8,6 +7,9 @@ using System.Data.Common;using System.Reflection;using ModernWMS.Core;using static Microsoft.EntityFrameworkCore.DbLoggerCategory.Database;+using Microsoft.Data.SqlClient;+using Mapster;+using Microsoft.AspNetCore.JsonPatch.Internal;namespace ModernWMS.Core.DBContext{@@ -27,19 +29,16 @@ namespace ModernWMS.Core.DBContext/// <returns></returns>public DatabaseFacade GetDatabase() => Database;---/// <summary>- /// s+ /// dbcontext/// </summary>/// <param name="options">options</param>public SqlDBContext(DbContextOptions options) : base(options){-}#region overwrite+/// <summary>/// Auto Mapping Entity/// </summary>@@ -65,6 +64,7 @@ namespace ModernWMS.Core.DBContext});}}+/// <summary>/// overwrite OnModelCreating/// </summary>@@ -72,22 +72,22 @@ namespace ModernWMS.Core.DBContextprotected override void OnModelCreating(ModelBuilder modelBuilder){MappingEntityTypes(modelBuilder);-/* foreach (var entityType in modelBuilder.Model.GetEntityTypes())- {- if (typeof(Models.IHasTenant).IsAssignableFrom(entityType.ClrType))- {- ConfigureGlobalFiltersMethodInfo- .MakeGenericMethod(entityType.ClrType)- .Invoke(this, new object[] { modelBuilder });- }- }*/+ /*foreach (var entityType in modelBuilder.Model.GetEntityTypes())+ {+ if (typeof(Models.IHasTenant).IsAssignableFrom(entityType.ClrType))+ {+ ConfigureGlobalFiltersMethodInfo+ .MakeGenericMethod(entityType.ClrType)+ .Invoke(this, new object[] { modelBuilder });+ }+ }*/base.OnModelCreating(modelBuilder);}/// <summary>- /// create DbSet+ /// create DbSet/// </summary>- /// <typeparam name="T">实体</typeparam>+ /// <typeparam name="T">Entity</typeparam>/// <returns></returns>public virtual DbSet<T> GetDbSet<T>() where T : class{@@ -100,6 +100,7 @@ namespace ModernWMS.Core.DBContextthrow new Exception($"type {typeof(T).Name} is not add into DbContext ");}}+/// <summary>/// over write EnsureCreated/// </summary>@@ -108,6 +109,7 @@ namespace ModernWMS.Core.DBContext{return Database.EnsureCreated();}+/// <summary>/// over write OnConfiguring/// </summary>@@ -117,12 +119,105 @@ namespace ModernWMS.Core.DBContextbase.OnConfiguring(optionsBuilder);}-- #endregion+ /// <summary>+ /// exec sql and get the first list+ /// </summary>+ /// <param name="sql">sql</param>+ /// <param name="parameters">parameters</param>+ /// <returns></returns>+ public virtual List<T> SqlQueryDynamic<T>(string sql, Dictionary<string, object> parameters) where T : new()+ {+ DbProviderFactory dbProvider = DbProviderFactories.GetFactory(GetDatabase().GetDbConnection());+ using (DbConnection connection = dbProvider.CreateConnection())+ using (DbDataAdapter adapter = dbProvider.CreateDataAdapter())+ using (DbCommand cmd = dbProvider.CreateCommand())+ {+ connection.ConnectionString = this.Database.GetConnectionString();+ if (connection.State != ConnectionState.Open)+ {+ connection.Open();+ }+ cmd.CommandTimeout = 600;+ cmd.Connection = connection;+ cmd.CommandType = CommandType.Text;+ cmd.CommandText = sql;+ adapter.SelectCommand = cmd;-+ if (parameters != null)+ {+ foreach (var item in parameters)+ {+ DbParameter dbParameter = cmd.CreateParameter();+ dbParameter.ParameterName = item.Key;+ dbParameter.Value = item.Value;+ dbParameter.Direction = ParameterDirection.Input;+ cmd.Parameters.Add(dbParameter);+ }+ }+ DataTable dataTable = new DataTable("Table");+ adapter.Fill(dataTable);+ if (dataTable.Rows.Count > 0)+ {+ return DataTableToIList<T>(dataTable);+ }+ else+ {+ return default(List<T>);+ }+ }+ }++ /// <summary>+ /// convert DataTable type data to List type data+ /// </summary>+ /// <typeparam name="T"></typeparam>+ /// <param name="dt"></param>+ /// <returns></returns>+ public static List<T> DataTableToIList<T>(DataTable dt)+ {+ if (dt == null)+ return null;++ DataTable property_data = dt;+ List<T> result = new List<T>();+ for (int j = 0; j < property_data.Rows.Count; j++)+ {+ T new_data = (T)Activator.CreateInstance(typeof(T));+ PropertyInfo[] propertys = new_data.GetType().GetProperties();+ foreach (PropertyInfo pi in propertys)+ {+ for (int i = 0; i < property_data.Columns.Count; i++)+ {+ if (pi.Name.Equals(property_data.Columns[i].ColumnName))+ {+ if (property_data.Rows[j][i] != DBNull.Value)+ {+ //special handling+ if (pi.PropertyType.FullName == "System.Boolean")+ {+ var val = property_data.Rows[j][i].ToString() == "1" ? true : false;+ pi.SetValue(new_data, val, null);+ }+ else+ {+ pi.SetValue(new_data, property_data.Rows[j][i], null);+ }+ }+ else+ {+ pi.SetValue(new_data, null, null);+ }++ break;+ }+ }+ }+ result.Add(new_data);+ }+ return result;+ }-+ #endregion overwrite}-}+}\ No newline at end of filediff --git a/backend/ModernWMS.Core/Models/MultiLanguage.en-us.resx b/backend/ModernWMS.Core/Models/MultiLanguage.en-us.resxindex 329fb43..f2e7d2c 100644--- a/backend/ModernWMS.Core/Models/MultiLanguage.en-us.resx+++ b/backend/ModernWMS.Core/Models/MultiLanguage.en-us.resx@@ -645,13 +645,4 @@<data name="username_existed" xml:space="preserve"><value>User name already exists</value></data>- <data name="stock_insufficiency" xml:space="preserve">- <value>present stock is not sufficient.</value>- </data>- <data name="job_number" xml:space="preserve">- <value>Job Number</value>- </data>- <data name="process_valid" xml:space="preserve">- <value>Processing details cannot all be source products or target products.</value>- </data></root>\ No newline at end of filediff --git a/backend/ModernWMS.Core/Models/MultiLanguage.zh-cn.resx b/backend/ModernWMS.Core/Models/MultiLanguage.zh-cn.resxindex c0a9902..64d50ec 100644--- a/backend/ModernWMS.Core/Models/MultiLanguage.zh-cn.resx+++ b/backend/ModernWMS.Core/Models/MultiLanguage.zh-cn.resx@@ -645,19 +645,4 @@<data name="username_existed" xml:space="preserve"><value>用户名已存在</value></data>- <data name="dest_stock_freeze" xml:space="preserve">- <value>目标库位被冻结</value>- </data>- <data name="qty_not_available" xml:space="preserve">- <value>可用数量不足</value>- </data>- <data name="stock_insufficiency" xml:space="preserve">- <value>当前库存不足</value>- </data>- <data name="job_number" xml:space="preserve">- <value>加工序号</value>- </data>- <data name="process_valid" xml:space="preserve">- <value>加工明细不能全部为来源商品也不能全部为目标商品</value>- </data></root>\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Controllers/ActionLog/ActionLogController.cs b/backend/ModernWMS.WMS/Controllers/ActionLog/ActionLogController.csnew file mode 100644index 0000000..9ebff9d--- /dev/null+++ b/backend/ModernWMS.WMS/Controllers/ActionLog/ActionLogController.cs@@ -0,0 +1,77 @@+/*+ * date:2023-08-23+ * developer:NoNo+ */++using Microsoft.AspNetCore.Mvc;+using ModernWMS.Core.Controller;+using ModernWMS.Core.Models;+using ModernWMS.WMS.Entities.ViewModels;+using ModernWMS.WMS.IServices;+using Microsoft.Extensions.Localization;+using ModernWMS.WMS.Services;++namespace ModernWMS.WMS.Controllers+{+ /// <summary>+ /// action_log controller+ /// </summary>+ [Route("actionlog")]+ [ApiController]+ [ApiExplorerSettings(GroupName = "WMS")]+ public class Action_logController : BaseController+ {+ #region Args++ /// <summary>+ /// action_log Service+ /// </summary>+ private readonly IActionLogService _actionLogService;++ /// <summary>+ /// Localizer Service+ /// </summary>+ private readonly IStringLocalizer<ModernWMS.Core.MultiLanguage> _stringLocalizer;++ #endregion Args++ #region constructor++ /// <summary>+ /// constructor+ /// </summary>+ /// <param name="action_logService">action_log Service</param>+ /// <param name="stringLocalizer">Localizer</param>+ public Action_logController(+ IActionLogService action_logService+ , IStringLocalizer<ModernWMS.Core.MultiLanguage> stringLocalizer+ )+ {+ this._actionLogService = action_logService;+ this._stringLocalizer = stringLocalizer;+ }++ #endregion constructor++ #region Api++ /// <summary>+ /// page search+ /// </summary>+ /// <param name="pageSearch">args</param>+ /// <returns></returns>+ [HttpPost("list")]+ public async Task<ResultModel<PageData<ActionLogViewModel>>> PageAsync(PageSearch pageSearch)+ {+ var (data, totals) = await _actionLogService.PageAsync(pageSearch, CurrentUser);++ return ResultModel<PageData<ActionLogViewModel>>.Success(new PageData<ActionLogViewModel>+ {+ Rows = data,+ Totals = totals+ });+ }++ #endregion Api+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Controllers/Asn/AsnController.cs b/backend/ModernWMS.WMS/Controllers/Asn/AsnController.csindex ec2a9fb..0d89695 100644--- a/backend/ModernWMS.WMS/Controllers/Asn/AsnController.cs+++ b/backend/ModernWMS.WMS/Controllers/Asn/AsnController.cs@@ -9,6 +9,7 @@using ModernWMS.WMS.IServices;using Microsoft.Extensions.Localization;using ModernWMS.Core.JWT;+using ModernWMS.WMS.Entities.Models;namespace ModernWMS.WMS.Controllers{@@ -49,6 +50,100 @@ namespace ModernWMS.WMS.Controllers}#endregion++ #region Arrival list+ /// <summary>+ /// Arrival list+ /// </summary>+ /// <param name="pageSearch">args</param>+ /// <returns></returns>+ [HttpPost("asnmaster/list")]+ public async Task<ResultModel<PageData<AsnmasterBothViewModel>>> PageAsnmasterAsync(PageSearch pageSearch)+ {+ var (data, totals) = await _asnService.PageAsnmasterAsync(pageSearch, CurrentUser);++ return ResultModel<PageData<AsnmasterBothViewModel>>.Success(new PageData<AsnmasterBothViewModel>+ {+ Rows = data,+ Totals = totals+ });+ }+ /// <summary>+ /// get Arrival list+ /// </summary>+ /// <param name="id"></param>+ /// <returns></returns>+ [HttpGet("asnmaster")]+ public async Task<ResultModel<AsnmasterBothViewModel>> GetAsnmasterAsync(int id)+ {+ var data = await _asnService.GetAsnmasterAsync(id, CurrentUser);+ if (data != null && data.id > 0)+ {+ return ResultModel<AsnmasterBothViewModel>.Success(data);+ }+ else+ {+ return ResultModel<AsnmasterBothViewModel>.Error(_stringLocalizer["not_exists_entity"]);+ }+ }++ /// <summary>+ /// add a new record+ /// </summary>+ /// <param name="viewModel">viewmodel</param>+ /// <returns></returns>+ [HttpPost("asnmaster")]+ public async Task<ResultModel<int>> AddAsnmasterAsync(AsnmasterBothViewModel viewModel)+ {+ var (id, msg) = await _asnService.AddAsnmasterAsync(viewModel, CurrentUser);+ if (id > 0)+ {+ return ResultModel<int>.Success(id);+ }+ else+ {+ return ResultModel<int>.Error(msg);+ }+ }+ /// <summary>+ /// update record+ /// </summary>+ /// <param name="viewModel">viewmodel</param>+ /// <returns></returns>+ [HttpPut("asnmaster")]+ public async Task<ResultModel<bool>> UpdateAsnmasterAsync(AsnmasterBothViewModel viewModel)+ {+ var (flag, msg) = await _asnService.UpdateAsnmasterAsync(viewModel, CurrentUser);+ if (flag)+ {+ return ResultModel<bool>.Success(flag);+ }+ else+ {+ return ResultModel<bool>.Error(msg, 400, flag);+ }+ }++ /// <summary>+ /// delete a record+ /// </summary>+ /// <param name="id">id</param>+ /// <returns></returns>+ [HttpDelete("asnmaster")]+ public async Task<ResultModel<string>> DeleteAsnmasterAsync(int id)+ {+ var (flag, msg) = await _asnService.DeleteAsnmasterAsync(id);+ if (flag)+ {+ return ResultModel<string>.Success(msg);+ }+ else+ {+ return ResultModel<string>.Error(msg);+ }+ }+ #endregion+#region Api/// <summary>/// page search, sqlTitle input asn_status:0 ~ 4@@ -162,17 +257,17 @@ namespace ModernWMS.WMS.Controllers#endregion- #region Flow Api+ #region New Flow Api/// <summary>/// Confirm Delivery/// change the asn_status from 0 to 1/// </summary>- /// <param name="id">id</param>+ /// <param name="viewModels">args</param>/// <returns></returns>- [HttpPut("confirm/{id}")]- public async Task<ResultModel<string>> ConfirmAsync(int id)+ [HttpPut("confirm")]+ public async Task<ResultModel<string>> ConfirmAsync(List<AsnConfirmInputViewModel> viewModels){- var (flag, msg) = await _asnService.ConfirmAsync(id);+ var (flag, msg) = await _asnService.ConfirmAsync(viewModels);if (flag){return ResultModel<string>.Success(msg);@@ -186,12 +281,12 @@ namespace ModernWMS.WMS.Controllers/// <summary>/// Cancel confirm, change asn_status 1 to 0/// </summary>- /// <param name="id">id</param>+ /// <param name="idList">id list</param>/// <returns></returns>- [HttpPut("confirm-cancel/{id}")]- public async Task<ResultModel<string>> ConfirmCancelAsync(int id)+ [HttpPut("confirm-cancel")]+ public async Task<ResultModel<string>> ConfirmCancelAsync(List<int> idList){- var (flag, msg) = await _asnService.ConfirmCancelAsync(id);+ var (flag, msg) = await _asnService.ConfirmCancelAsync(idList);if (flag){return ResultModel<string>.Success(msg);@@ -206,12 +301,12 @@ namespace ModernWMS.WMS.Controllers/// Unload/// change the asn_status from 1 to 2/// </summary>- /// <param name="id">id</param>+ /// <param name="viewModels">args</param>/// <returns></returns>- [HttpPut("unload/{id}")]- public async Task<ResultModel<string>> UnloadAsync(int id)+ [HttpPut("unload")]+ public async Task<ResultModel<string>> UnloadAsync(List<AsnUnloadInputViewModel> viewModels){- var (flag, msg) = await _asnService.UnloadAsync(id);+ var (flag, msg) = await _asnService.UnloadAsync(viewModels, CurrentUser);if (flag){return ResultModel<string>.Success(msg);@@ -226,12 +321,12 @@ namespace ModernWMS.WMS.Controllers/// Cancel unload/// change the asn_status from 2 to 1/// </summary>- /// <param name="id">id</param>+ /// <param name="idList">id list</param>/// <returns></returns>- [HttpPut("unload-cancel/{id}")]- public async Task<ResultModel<string>> UnloadCancelAsync(int id)+ [HttpPut("unload-cancel")]+ public async Task<ResultModel<string>> UnloadCancelAsync(List<int> idList){- var (flag, msg) = await _asnService.UnloadCancelAsync(id);+ var (flag, msg) = await _asnService.UnloadCancelAsync(idList);if (flag){return ResultModel<string>.Success(msg);@@ -245,12 +340,43 @@ namespace ModernWMS.WMS.Controllers/// <summary>/// sorting, add a new asnsort record and update asn sorted_qty/// </summary>- /// <param name="viewModel">args</param>+ /// <param name="viewModels">args</param>/// <returns></returns>[HttpPut("sorting")]- public async Task<ResultModel<string>> SortingAsync(AsnsortInputViewModel viewModel)+ public async Task<ResultModel<string>> SortingAsync(List<AsnsortInputViewModel> viewModels)+ {+ var (flag, msg) = await _asnService.SortingAsync(viewModels, CurrentUser);+ if (flag)+ {+ return ResultModel<string>.Success(msg);+ }+ else+ {+ return ResultModel<string>.Error(msg);+ }+ }++ /// <summary>+ /// get asnsorts list by asn_id+ /// </summary>+ /// <param name="asn_id">asn id</param>+ /// <returns></returns>+ [HttpGet("sorting")]+ public async Task<ResultModel<List<AsnsortEntity>>> GetAsnsortsAsync(int asn_id)+ {+ var data = await _asnService.GetAsnsortsAsync(asn_id);+ return ResultModel<List<AsnsortEntity>>.Success(data);+ }++ /// <summary>+ /// update or delete asnsorts data+ /// </summary>+ /// <param name="entities">data</param>+ /// <returns></returns>+ [HttpPut("sorting-modify")]+ public async Task<ResultModel<string>> ModifyAsnsortsAsync(List<AsnsortEntity> entities){- var (flag, msg) = await _asnService.SortingAsync(viewModel, CurrentUser);+ var (flag, msg) = await _asnService.ModifyAsnsortsAsync(entities, CurrentUser);if (flag){return ResultModel<string>.Success(msg);@@ -260,17 +386,17 @@ namespace ModernWMS.WMS.Controllersreturn ResultModel<string>.Error(msg);}}-+/// <summary>/// Sorted/// change the asn_status from 2 to 3/// </summary>- /// <param name="id">id</param>+ /// <param name="idList">id list</param>/// <returns></returns>- [HttpPut("sorted/{id}")]- public async Task<ResultModel<string>> SortedAsync(int id)+ [HttpPut("sorted")]+ public async Task<ResultModel<string>> SortedAsync(List<int> idList){- var (flag, msg) = await _asnService.SortedAsync(id);+ var (flag, msg) = await _asnService.SortedAsync(idList);if (flag){return ResultModel<string>.Success(msg);@@ -285,12 +411,12 @@ namespace ModernWMS.WMS.Controllers/// Cancel sorted/// change the asn_status from 3 to 2/// </summary>- /// <param name="id">id</param>+ /// <param name="idList">id list</param>/// <returns></returns>- [HttpPut("sorted-cancel/{id}")]- public async Task<ResultModel<string>> SortedCancelAsync(int id)+ [HttpPut("sorted-cancel")]+ public async Task<ResultModel<string>> SortedCancelAsync(List<int> idList){- var (flag, msg) = await _asnService.SortedCancelAsync(id);+ var (flag, msg) = await _asnService.SortedCancelAsync(idList);if (flag){return ResultModel<string>.Success(msg);@@ -317,12 +443,12 @@ namespace ModernWMS.WMS.Controllers/// <summary>/// PutAway/// </summary>- /// <param name="viewModel">args</param>+ /// <param name="viewModels">args</param>/// <returns></returns>[HttpPut("putaway")]- public async Task<ResultModel<string>> PutAwayAsync(AsnPutAwayInputViewModel viewModel)+ public async Task<ResultModel<string>> PutAwayAsync(List<AsnPutAwayInputViewModel> viewModels){- var (flag, msg) = await _asnService.PutAwayAsync(viewModel, CurrentUser);+ var (flag, msg) = await _asnService.PutAwayAsync(viewModels, CurrentUser);if (flag){return ResultModel<string>.Success(msg);@@ -332,29 +458,8 @@ namespace ModernWMS.WMS.Controllersreturn ResultModel<string>.Error(msg);}}-#endregion- #region excel import- /// <summary>- /// excel import- /// </summary>- /// <param name="excelData">excel data</param>- /// <returns></returns>- [HttpPost("excel-import")]- public async Task<ResultModel<List<AsnExcelImportViewModel>>> ImportAsync(List<AsnExcelImportViewModel> excelData)- {- var (flag, msg, errList) = await _asnService.ImportAsync(excelData, CurrentUser);- if (flag)- {- return ResultModel<List<AsnExcelImportViewModel>>.Success(errList);- }- else- {- return ResultModel<List<AsnExcelImportViewModel>>.Error(msg, 400, errList);- }- }- #endregion}}diff --git a/backend/ModernWMS.WMS/Controllers/Dispatchlist/DispatchlistController.cs b/backend/ModernWMS.WMS/Controllers/Dispatchlist/DispatchlistController.csindex 72611ec..a692074 100644--- a/backend/ModernWMS.WMS/Controllers/Dispatchlist/DispatchlistController.cs+++ b/backend/ModernWMS.WMS/Controllers/Dispatchlist/DispatchlistController.cs@@ -2,68 +2,68 @@* date:2022-12-27* developer:NoNo*/- using Microsoft.AspNetCore.Mvc;- using ModernWMS.Core.Controller;- using ModernWMS.Core.Models;- using ModernWMS.WMS.Entities.ViewModels;- using ModernWMS.WMS.IServices;- using Microsoft.Extensions.Localization;+using Microsoft.AspNetCore.Mvc;+using ModernWMS.Core.Controller;+using ModernWMS.Core.Models;+using ModernWMS.WMS.Entities.ViewModels;+using ModernWMS.WMS.IServices;+using Microsoft.Extensions.Localization;namespace ModernWMS.WMS.Controllers{/// <summary>/// dispatchlist controller/// </summary>- [Route("dispatchlist")]- [ApiController]- [ApiExplorerSettings(GroupName = "WMS")]- public class DispatchlistController : BaseController- {- #region Args-- /// <summary>- /// dispatchlist Service- /// </summary>- private readonly IDispatchlistService _dispatchlistService;-- /// <summary>- /// Localizer Service- /// </summary>- private readonly IStringLocalizer<ModernWMS.Core.MultiLanguage> _stringLocalizer;- #endregion-- #region constructor- /// <summary>- /// constructor- /// </summary>- /// <param name="dispatchlistService">dispatchlist Service</param>+ [Route("dispatchlist")]+ [ApiController]+ [ApiExplorerSettings(GroupName = "WMS")]+ public class DispatchlistController : BaseController+ {+ #region Args++ /// <summary>+ /// dispatchlist Service+ /// </summary>+ private readonly IDispatchlistService _dispatchlistService;++ /// <summary>+ /// Localizer Service+ /// </summary>+ private readonly IStringLocalizer<ModernWMS.Core.MultiLanguage> _stringLocalizer;+ #endregion++ #region constructor+ /// <summary>+ /// constructor+ /// </summary>+ /// <param name="dispatchlistService">dispatchlist Service</param>/// <param name="stringLocalizer">Localizer</param>- public DispatchlistController(- IDispatchlistService dispatchlistService- , IStringLocalizer<ModernWMS.Core.MultiLanguage> stringLocalizer- )- {- this._dispatchlistService = dispatchlistService;- this._stringLocalizer= stringLocalizer;- }- #endregion-- #region Api- /// <summary>- /// page search- /// </summary>- /// <param name="pageSearch">args</param>- /// <returns></returns>- [HttpPost("list")]- public async Task<ResultModel<PageData<DispatchlistViewModel>>> PageAsync(PageSearch pageSearch)- {- var (data, totals) = await _dispatchlistService.PageAsync(pageSearch, CurrentUser);-- return ResultModel<PageData<DispatchlistViewModel>>.Success(new PageData<DispatchlistViewModel>- {- Rows = data,- Totals = totals- });- }+ public DispatchlistController(+ IDispatchlistService dispatchlistService+ , IStringLocalizer<ModernWMS.Core.MultiLanguage> stringLocalizer+ )+ {+ this._dispatchlistService = dispatchlistService;+ this._stringLocalizer = stringLocalizer;+ }+ #endregion++ #region Api+ /// <summary>+ /// page search+ /// </summary>+ /// <param name="pageSearch">args</param>+ /// <returns></returns>+ [HttpPost("list")]+ public async Task<ResultModel<PageData<DispatchlistViewModel>>> PageAsync(PageSearch pageSearch)+ {+ var (data, totals) = await _dispatchlistService.PageAsync(pageSearch, CurrentUser);++ return ResultModel<PageData<DispatchlistViewModel>>.Success(new PageData<DispatchlistViewModel>+ {+ Rows = data,+ Totals = totals+ });+ }/// <summary>/// advanced dispatch order page search/// </summary>@@ -86,18 +86,18 @@ namespace ModernWMS.WMS.Controllers/// <param name="viewModel">args</param>/// <returns></returns>[HttpPost]- public async Task<ResultModel<string>> AddAsync(List<DispatchlistAddViewModel> viewModel)- {- var (flag, msg) = await _dispatchlistService.AddAsync(viewModel,CurrentUser);- if (flag)- {- return ResultModel<string>.Success(msg);- }- else- {- return ResultModel<string>.Error(msg);- }- }+ public async Task<ResultModel<string>> AddAsync(List<DispatchlistAddViewModel> viewModel)+ {+ var (flag, msg) = await _dispatchlistService.AddAsync(viewModel, CurrentUser);+ if (flag)+ {+ return ResultModel<string>.Success(msg);+ }+ else+ {+ return ResultModel<string>.Error(msg);+ }+ }/// <summary>/// update dispatchlist with same dispatch_no/// </summary>@@ -135,7 +135,7 @@ namespace ModernWMS.WMS.Controllers[HttpGet("confirm-check")]public async Task<ResultModel<List<DispatchlistConfirmDetailViewModel>>> ConfirmOrderCheck(string dispatch_no){- var datas = await _dispatchlistService.ConfirmOrderCheck(dispatch_no, CurrentUser);+ var datas = await _dispatchlistService.ConfirmOrderCheck(dispatch_no, CurrentUser);return ResultModel<List<DispatchlistConfirmDetailViewModel>>.Success(datas);}@@ -156,25 +156,25 @@ namespace ModernWMS.WMS.Controllers/// <param name="dispatch_no">dispatch_no</param>/// <returns></returns>[HttpDelete]- public async Task<ResultModel<string>> DeleteAsync(string dispatch_no)- {- var (flag, msg) = await _dispatchlistService.DeleteAsync(dispatch_no,CurrentUser);- if (flag)- {- return ResultModel<string>.Success(msg);- }- else- {- return ResultModel<string>.Error(msg);- }- }+ public async Task<ResultModel<string>> DeleteAsync(string dispatch_no)+ {+ var (flag, msg) = await _dispatchlistService.DeleteAsync(dispatch_no, CurrentUser);+ if (flag)+ {+ return ResultModel<string>.Success(msg);+ }+ else+ {+ return ResultModel<string>.Error(msg);+ }+ }/// <summary>/// Confirm orders and create dispatchpicklist/// </summary>/// <param name="viewModels">viewModels</param>/// <returns></returns>[HttpPost("confirm-order")]- public async Task<ResultModel<string >> ConfirmOrder(List<DispatchlistConfirmDetailViewModel> viewModels)+ public async Task<ResultModel<string>> ConfirmOrder(List<DispatchlistConfirmDetailViewModel> viewModels){var (flag, msg) = await _dispatchlistService.ConfirmOrder(viewModels, CurrentUser);if (flag)@@ -307,7 +307,7 @@ namespace ModernWMS.WMS.Controllers[HttpPost("cancel-order")]public async Task<ResultModel<string>> CancelOrderOpration(CancelOrderOprationViewModel viewModel){- var (flag, msg) = await _dispatchlistService.CancelOrderOpration(viewModel,CurrentUser);+ var (flag, msg) = await _dispatchlistService.CancelOrderOpration(viewModel, CurrentUser);if (flag){return ResultModel<string>.Success(msg);@@ -336,6 +336,7 @@ namespace ModernWMS.WMS.Controllers}}+/// <summary>/// Excel Import/// </summary>@@ -357,5 +358,5 @@ namespace ModernWMS.WMS.Controllers#endregion}- }-+}+diff --git a/backend/ModernWMS.WMS/Controllers/Print/PrintSolutionController.cs b/backend/ModernWMS.WMS/Controllers/Print/PrintSolutionController.csnew file mode 100644index 0000000..2078ab6--- /dev/null+++ b/backend/ModernWMS.WMS/Controllers/Print/PrintSolutionController.cs@@ -0,0 +1,187 @@+/*+ * date:2023-09-11+ * developer:NoNo+ */++using Microsoft.AspNetCore.Mvc;+using ModernWMS.Core.Controller;+using ModernWMS.Core.Models;+using ModernWMS.WMS.Entities.ViewModels;+using ModernWMS.WMS.IServices;+using Microsoft.Extensions.Localization;++namespace ModernWMS.WMS.Controllers+{+ /// <summary>+ /// PrintSolution controller+ /// </summary>+ [Route("PrintSolution")]+ [ApiController]+ [ApiExplorerSettings(GroupName = "WMS")]+ public class PrintSolutionController : BaseController+ {+ #region Args++ /// <summary>+ /// PrintSolution Service+ /// </summary>+ private readonly IPrintSolutionService _PrintSolutionService;++ /// <summary>+ /// Localizer Service+ /// </summary>+ private readonly IStringLocalizer<ModernWMS.Core.MultiLanguage> _stringLocalizer;++ #endregion Args++ #region constructor++ /// <summary>+ /// constructor+ /// </summary>+ /// <param name="user_defined_print_solutionService">user_defined_print_solution Service</param>+ /// <param name="stringLocalizer">Localizer</param>+ public PrintSolutionController(+ IPrintSolutionService user_defined_print_solutionService+ , IStringLocalizer<ModernWMS.Core.MultiLanguage> stringLocalizer+ )+ {+ this._PrintSolutionService = user_defined_print_solutionService;+ this._stringLocalizer = stringLocalizer;+ }++ #endregion constructor++ #region Api++ /// <summary>+ /// page search+ /// </summary>+ /// <param name="pageSearch">args</param>+ /// <returns></returns>+ [HttpPost("list")]+ public async Task<ResultModel<PageData<PrintSolutionViewModel>>> PageAsync(PageSearch pageSearch)+ {+ var (data, totals) = await _PrintSolutionService.PageAsync(pageSearch, CurrentUser);++ return ResultModel<PageData<PrintSolutionViewModel>>.Success(new PageData<PrintSolutionViewModel>+ {+ Rows = data,+ Totals = totals+ });+ }++ /// <summary>+ /// get all records+ /// </summary>+ /// <returns>args</returns>+ [HttpGet("all")]+ public async Task<ResultModel<List<PrintSolutionViewModel>>> GetAllAsync()+ {+ var data = await _PrintSolutionService.GetAllAsync(CurrentUser);+ if (data.Any())+ {+ return ResultModel<List<PrintSolutionViewModel>>.Success(data);+ }+ else+ {+ return ResultModel<List<PrintSolutionViewModel>>.Success(new List<PrintSolutionViewModel>());+ }+ }++ /// <summary>+ /// get a record by id+ /// </summary>+ /// <returns>args</returns>+ [HttpGet]+ public async Task<ResultModel<PrintSolutionViewModel>> GetAsync(int id)+ {+ var data = await _PrintSolutionService.GetAsync(id);+ if (data != null)+ {+ return ResultModel<PrintSolutionViewModel>.Success(data);+ }+ else+ {+ return ResultModel<PrintSolutionViewModel>.Error(_stringLocalizer["not_exists_entity"]);+ }+ }++ /// <summary>+ /// get a record by path+ /// </summary>+ /// <returns>args</returns>+ [HttpPost("get-by-path")]+ public async Task<ResultModel<List<PrintSolutionViewModel>>> GetByPathAsync(PrintSolutionGetByPathInputViewModel input)+ {+ var data = await _PrintSolutionService.GetByPathAsync(input, CurrentUser);+ if (data != null)+ {+ return ResultModel<List<PrintSolutionViewModel>>.Success(data);+ }+ else+ {+ return ResultModel<List<PrintSolutionViewModel>>.Error(_stringLocalizer["not_exists_entity"]);+ }+ }++ /// <summary>+ /// add a new record+ /// </summary>+ /// <param name="viewModel">args</param>+ /// <returns></returns>+ [HttpPost]+ public async Task<ResultModel<int>> AddAsync(PrintSolutionViewModel viewModel)+ {+ var (id, msg) = await _PrintSolutionService.AddAsync(viewModel, CurrentUser);+ if (id > 0)+ {+ return ResultModel<int>.Success(id);+ }+ else+ {+ return ResultModel<int>.Error(msg);+ }+ }++ /// <summary>+ /// update a record+ /// </summary>+ /// <param name="viewModel">args</param>+ /// <returns></returns>+ [HttpPut]+ public async Task<ResultModel<bool>> UpdateAsync(PrintSolutionViewModel viewModel)+ {+ var (flag, msg) = await _PrintSolutionService.UpdateAsync(viewModel);+ if (flag)+ {+ return ResultModel<bool>.Success(flag);+ }+ else+ {+ return ResultModel<bool>.Error(msg, 400, flag);+ }+ }++ /// <summary>+ /// delete a record+ /// </summary>+ /// <param name="id">id</param>+ /// <returns></returns>+ [HttpDelete]+ public async Task<ResultModel<string>> DeleteAsync(int id)+ {+ var (flag, msg) = await _PrintSolutionService.DeleteAsync(id);+ if (flag)+ {+ return ResultModel<string>.Success(msg);+ }+ else+ {+ return ResultModel<string>.Error(msg);+ }+ }++ #endregion Api+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Controllers/Sku/SpuController.cs b/backend/ModernWMS.WMS/Controllers/Sku/SpuController.csindex c94678f..d8d469e 100644--- a/backend/ModernWMS.WMS/Controllers/Sku/SpuController.cs+++ b/backend/ModernWMS.WMS/Controllers/Sku/SpuController.cs@@ -101,6 +101,30 @@ namespace ModernWMS.WMS.Controllersreturn ResultModel<SkuDetailViewModel>.Error(_stringLocalizer["not_exists_entity"]);}}++ /// <summary>+ /// get sku info by bar_code+ /// </summary>+ /// <param name="bar_code">bar_code</param>+ /// <returns></returns>+ [HttpGet("sku-bar-code")]+ public async Task<ResultModel<SkuDetailViewModel>> GetSkuByBarCodeAsync(string bar_code)+ {+ if (string.IsNullOrEmpty(bar_code))+ {+ return ResultModel<SkuDetailViewModel>.Error(string.Format(_stringLocalizer["Required"], _stringLocalizer["bar_code"]));+ }+ var data = await _spuService.GetSkuByBarCodeAsync(bar_code);+ if (data != null && data.sku_id > 0)+ {+ return ResultModel<SkuDetailViewModel>.Success(data);+ }+ else+ {+ return ResultModel<SkuDetailViewModel>.Error(_stringLocalizer["not_exists_entity"]);+ }+ }+/// <summary>/// add a new record/// </summary>@@ -159,6 +183,26 @@ namespace ModernWMS.WMS.Controllers}#endregion+ #region add or update sku_safety_stock+ /// <summary>+ /// add or update sku_safety_stock+ /// </summary>+ /// <param name="viewModel">args</param>+ /// <returns></returns>+ [HttpPut("sku-safety-stock")]+ public async Task<ResultModel<string>> InsertOrUpdateSkuSafetyStockAsync(SkuSafetyStockPutViewModel viewModel)+ {+ var (flag, msg) = await _spuService.InsertOrUpdateSkuSafetyStockAsync(viewModel);+ if (flag)+ {+ return ResultModel<string>.Success(msg);+ }+ else+ {+ return ResultModel<string>.Error(msg);+ }+ }+ #endregion}}diff --git a/backend/ModernWMS.WMS/Controllers/Stock/StockController.cs b/backend/ModernWMS.WMS/Controllers/Stock/StockController.csindex 85d0f60..1304aea 100644--- a/backend/ModernWMS.WMS/Controllers/Stock/StockController.cs+++ b/backend/ModernWMS.WMS/Controllers/Stock/StockController.cs@@ -9,6 +9,8 @@ using ModernWMS.Core.Models;using ModernWMS.WMS.Entities.ViewModels;using ModernWMS.WMS.IServices;using Microsoft.Extensions.Localization;+using ModernWMS.WMS.Entities.ViewModels.Stock;+using System.Collections.Generic;namespace ModernWMS.WMS.Controllers{@@ -71,6 +73,23 @@ namespace ModernWMS.WMS.Controllers});}+ /// <summary>+ /// safety stock page search+ /// </summary>+ /// <param name="pageSearch">args</param>+ /// <returns></returns>+ [HttpPost("safety-list")]+ public async Task<ResultModel<PageData<SafetyStockManagementViewModel>>> SafetyStockPageAsync(PageSearch pageSearch)+ {+ var (data, totals) = await _stockService.SafetyStockPageAsync(pageSearch, CurrentUser);++ return ResultModel<PageData<SafetyStockManagementViewModel>>.Success(new PageData<SafetyStockManagementViewModel>+ {+ Rows = data,+ Totals = totals+ });+ }+/// <summary>/// location stock page search/// </summary>@@ -134,6 +153,22 @@ namespace ModernWMS.WMS.Controllersreturn ResultModel<List<LocationStockManagementViewModel>>.Success(datas);}+ /// <summary>+ /// delivery statistic+ /// </summary>+ /// <param name="input">input</param>+ /// <returns></returns>+ [HttpPost("delivery-list")]+ public async Task<ResultModel<PageData<DeliveryStatisticViewModel>>> LocationStockForPhoneAsync(DeliveryStatisticSearchViewModel input)+ {+ var (data, totals) = await _stockService.DeliveryStatistic(input, CurrentUser);+ return ResultModel<PageData<DeliveryStatisticViewModel>>.Success(new PageData<DeliveryStatisticViewModel>+ {+ Rows = data,+ Totals = totals+ });+ }+#endregion Api}}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Controllers/Stockprocess/StockprocessController.cs b/backend/ModernWMS.WMS/Controllers/Stockprocess/StockprocessController.csindex 7a7df95..818431b 100644--- a/backend/ModernWMS.WMS/Controllers/Stockprocess/StockprocessController.cs+++ b/backend/ModernWMS.WMS/Controllers/Stockprocess/StockprocessController.cs@@ -8,11 +8,12 @@using ModernWMS.WMS.Entities.ViewModels;using ModernWMS.WMS.IServices;using Microsoft.Extensions.Localization;-namespace ModernWMS.WMS.Controllers-{- /// <summary>- /// stockprocess controller- /// </summary>++ namespace ModernWMS.WMS.Controllers+ {+ /// <summary>+ /// stockprocess controller+ /// </summary>[Route("stockprocess")][ApiController][ApiExplorerSettings(GroupName = "WMS")]@@ -193,26 +194,6 @@ namespace ModernWMS.WMS.Controllersreturn ResultModel<string>.Error(msg);}}--- /// <summary>- /// Excel Import- /// </summary>- /// <param name="viewModels">viewModels</param>- /// <returns></returns>- [HttpPost("import")]- public async Task<ResultModel<string>> Import(List<StockprocessImportViewModel> viewModels)- {- var (flag, msg) = await _stockprocessService.Import(viewModels, CurrentUser);- if (flag)- {- return ResultModel<string>.Success(msg);- }- else- {- return ResultModel<string>.Error(msg);- }- }#endregion}diff --git a/backend/ModernWMS.WMS/Entities/Models/ActionLog/ActionLogEntity.cs b/backend/ModernWMS.WMS/Entities/Models/ActionLog/ActionLogEntity.csnew file mode 100644index 0000000..a89a84b--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/Models/ActionLog/ActionLogEntity.cs@@ -0,0 +1,50 @@+/*+ * date:2023-08-22+ * developer:NoNo+ */++using System;+using System.Collections.Generic;+using System.ComponentModel.DataAnnotations.Schema;+using System.ComponentModel.DataAnnotations;+using ModernWMS.Core.Models;+using ModernWMS.Core.Utility;++namespace ModernWMS.WMS.Entities.Models+{+ /// <summary>+ /// action_log entity+ /// </summary>+ [Table("action_log")]+ public class ActionLogEntity : BaseModel+ {+ #region Property++ /// <summary>+ /// vue_path+ /// </summary>+ public string vue_path { get; set; } = string.Empty;++ /// <summary>+ /// user_name+ /// </summary>+ public string user_name { get; set; } = string.Empty;++ /// <summary>+ /// action_content+ /// </summary>+ public string action_content { get; set; } = string.Empty;++ /// <summary>+ /// action_time+ /// </summary>+ public DateTime action_time { get; set; } = UtilConvert.MinDate;++ /// <summary>+ /// tenant_id+ /// </summary>+ public long tenant_id { get; set; } = 1;++ #endregion Property+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/Models/Approve/FlowSetEntity.cs b/backend/ModernWMS.WMS/Entities/Models/Approve/FlowSetEntity.csnew file mode 100644index 0000000..e48618b--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/Models/Approve/FlowSetEntity.cs@@ -0,0 +1,65 @@+using ModernWMS.Core.Models;+using ModernWMS.WMS.Entities.Models.Approve;+using System;+using System.Collections.Generic;+using System.ComponentModel.DataAnnotations.Schema;+using System.Linq;+using System.Text;+using System.Threading.Tasks;++namespace ModernWMS.WMS.Entities.Models+{+ [Table("flowset")]+ public class FlowSetEntity : BaseModel+ {+ #region foreign table++ /// <summary>+ /// foreign table+ /// </summary>+ [ForeignKey("flowsetmain_id")]+ public FlowSetMainEntity FlowMainSet { get; set; }++ #endregion foreign table++ /// <summary>+ /// flowset main id+ /// </summary>+ public int flowsetmain_id { get; set; } = 0;++ /// <summary>+ /// origin+ /// </summary>+ public bool is_origin { get; set; } = false;++ /// <summary>+ /// end+ /// </summary>+ public bool is_end { get; set; } = false;++ /// <summary>+ /// this node guid+ /// </summary>+ public string node_guid { get; set; } = string.Empty;++ /// <summary>+ /// this node name+ /// </summary>+ public string node_name { get; set; } = string.Empty;++ /// <summary>+ /// previous node guid+ /// </summary>+ public string prev_node_guid { get; set; } = string.Empty;++ /// <summary>+ /// approve user list+ /// </summary>+ public List<FlowSetUserEntity> user_list { get; set; } = new List<FlowSetUserEntity>();++ /// <summary>+ /// condition list+ /// </summary>+ public List<FlowSetFilterEntity> filter_list { get; set; } = new List<FlowSetFilterEntity>();+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/Models/Approve/FlowSetFilterEntity.cs b/backend/ModernWMS.WMS/Entities/Models/Approve/FlowSetFilterEntity.csnew file mode 100644index 0000000..fa69bb7--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/Models/Approve/FlowSetFilterEntity.cs@@ -0,0 +1,104 @@+using ModernWMS.Core.Models;+using System;+using System.Collections.Generic;+using System.ComponentModel.DataAnnotations.Schema;+using System.Linq;+using System.Text;+using System.Threading.Tasks;++namespace ModernWMS.WMS.Entities.Models+{+ [Table("flowsetfilter")]+ public class FlowSetFilterEntity : BaseModel+ {+ #region foreign table++ /// <summary>+ /// foreign table+ /// </summary>+ [ForeignKey("flowset_id")]+ public FlowSetEntity FlowSet { get; set; }++ #endregion foreign table++ /// <summary>+ /// flowset id+ /// </summary>+ public int flowset_id { get; set; } = 0;++ /// <summary>+ /// flowset main id+ /// </summary>+ public int flowsetmain_id { get; set; } = 0;++ /// <summary>+ /// node guid+ /// </summary>+ public string node_guid { get; set; } = string.Empty;++ /// <summary>+ /// logic operator+ /// </summary>+ public string logic { get; set; } = "且";++ /// <summary>+ /// (+ /// </summary>+ public string c1 { get; set; } = string.Empty;++ /// <summary>+ /// column label+ /// </summary>+ public string col_label { get; set; } = string.Empty;++ /// <summary>+ /// column name+ /// </summary>+ public string col_name { get; set; } = string.Empty;++ /// <summary>+ /// comparation+ /// </summary>+ public string compare { get; set; } = "等于";++ /// <summary>+ /// content+ /// </summary>+ public string content { get; set; } = string.Empty;++ /// <summary>+ /// )+ /// </summary>+ public string c2 { get; set; } = string.Empty;++ /// <summary>+ /// sort+ /// </summary>+ public int sort { get; set; } = 0;++ /// <summary>+ /// condition group+ /// </summary>+ public string condition_group { get; set; } = string.Empty;++ /// <summary>+ /// formulas+ /// </summary>+ public string formulas { get; set; } = string.Empty;++ /// <summary>+ /// assert mode(存在、不存在、求和、平均值、最大值、最小值)+ /// </summary>+ public string assert_mode { get; set; } = string.Empty;++ /// <summary>+ /// table name+ /// </summary>+ public string table_name { get; set; } = string.Empty;++ /// <summary>+ /// scheme name+ /// </summary>+ public string scheme_name { get; set; } = string.Empty;+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/Models/Approve/FlowSetMainEntity.cs b/backend/ModernWMS.WMS/Entities/Models/Approve/FlowSetMainEntity.csnew file mode 100644index 0000000..f5ddde6--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/Models/Approve/FlowSetMainEntity.cs@@ -0,0 +1,45 @@+using ModernWMS.Core.Models;+using ModernWMS.Core.Utility;+using System;+using System.Collections.Generic;+using System.ComponentModel.DataAnnotations.Schema;+using System.Linq;+using System.Text;+using System.Threading.Tasks;++namespace ModernWMS.WMS.Entities.Models.Approve+{+ [Table("flowsetmain")]+ public class FlowSetMainEntity : BaseModel+ {+ /// <summary>+ /// menu+ /// </summary>+ public string menu { get; set; } = string.Empty;++ /// <summary>+ /// flowset name+ /// </summary>+ public string flow_name { get; set; } = string.Empty;++ /// <summary>+ /// creator+ /// </summary>+ public string creator { get; set; } = string.Empty;++ /// <summary>+ /// create_time+ /// </summary>+ public DateTime create_time { get; set; } = UtilConvert.MinDate;++ /// <summary>+ /// tenant_id+ /// </summary>+ public long tenant_id { get; set; } = 1;++ /// <summary>+ /// flowset list+ /// </summary>+ public List<FlowSetEntity> flowset_list { get; set; } = new List<FlowSetEntity>();+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/Models/Approve/FlowSetUserEntity.cs b/backend/ModernWMS.WMS/Entities/Models/Approve/FlowSetUserEntity.csnew file mode 100644index 0000000..5c6257b--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/Models/Approve/FlowSetUserEntity.cs@@ -0,0 +1,44 @@+using ModernWMS.Core.Models;+using System;+using System.Collections.Generic;+using System.ComponentModel.DataAnnotations.Schema;+using System.Linq;+using System.Text;+using System.Threading.Tasks;++namespace ModernWMS.WMS.Entities.Models+{+ [Table("flowsetusers")]+ public class FlowSetUserEntity : BaseModel+ {+ #region foreign table++ /// <summary>+ /// foreign table+ /// </summary>+ [ForeignKey("flowset_id")]+ public FlowSetEntity FlowSet { get; set; }++ #endregion foreign table++ /// <summary>+ /// flowset id+ /// </summary>+ public int flowset_id { get; set; } = 0;++ /// <summary>+ /// flowset main id+ /// </summary>+ public int flowsetmain_id { get; set; } = 0;++ /// <summary>+ /// node guid+ /// </summary>+ public string node_guid { get; set; } = string.Empty;++ /// <summary>+ /// user id+ /// </summary>+ public int user_id { get; set; } = 0;+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/Models/Asn/AsnEntity.cs b/backend/ModernWMS.WMS/Entities/Models/Asn/AsnEntity.csindex 9fa1a3a..18c20b8 100644--- a/backend/ModernWMS.WMS/Entities/Models/Asn/AsnEntity.cs+++ b/backend/ModernWMS.WMS/Entities/Models/Asn/AsnEntity.cs@@ -18,8 +18,23 @@ namespace ModernWMS.WMS.Entities.Modelspublic class AsnEntity : BaseModel{+ #region foreign table++ /// <summary>+ /// foreign table+ /// </summary>+ [ForeignKey("asnmaster_id")]+ public AsnmasterEntity Asnmaster { get; set; }++ #endregion+#region Property+ /// <summary>+ /// asnmaster_id+ /// </summary>+ public int asnmaster_id { get; set; } = 0;+/// <summary>/// asn_no/// </summary>@@ -50,6 +65,26 @@ namespace ModernWMS.WMS.Entities.Models/// </summary>public int actual_qty { get; set; } = 0;+ /// <summary>+ /// arrival_time+ /// </summary>+ public DateTime arrival_time { get; set; } = Core.Utility.UtilConvert.MinDate;++ /// <summary>+ /// unload_time+ /// </summary>+ public DateTime unload_time { get; set; } = Core.Utility.UtilConvert.MinDate;++ /// <summary>+ /// unload_person_id+ /// </summary>+ public int unload_person_id { get; set; } = 0;++ /// <summary>+ /// unload_person+ /// </summary>+ public string unload_person { get; set; } = string.Empty;+/// <summary>/// sorted_qty/// </summary>diff --git a/backend/ModernWMS.WMS/Entities/Models/Asn/AsnmasterEntity.cs b/backend/ModernWMS.WMS/Entities/Models/Asn/AsnmasterEntity.csnew file mode 100644index 0000000..4e3d8d6--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/Models/Asn/AsnmasterEntity.cs@@ -0,0 +1,88 @@+/*+ * date:2023-08-28+ * developer:AMo+ */+using ModernWMS.Core.Models;+using System.ComponentModel.DataAnnotations.Schema;++namespace ModernWMS.WMS.Entities.Models+{+ /// <summary>+ /// asn master entity+ /// </summary>+ [Table("asnmaster")]+ public class AsnmasterEntity : BaseModel+ {+ #region Property++ /// <summary>+ /// asn_no+ /// </summary>+ public string asn_no { get; set; } = string.Empty;++ /// <summary>+ /// asn_batch+ /// </summary>+ public string asn_batch { get; set; } = string.Empty;++ /// <summary>+ /// estimated_arrival_time+ /// </summary>+ public DateTime estimated_arrival_time { get; set; } = Core.Utility.UtilConvert.MinDate;++ /// <summary>+ /// asn_status+ /// </summary>+ public byte asn_status { get; set; } = 0;++ /// <summary>+ /// weight+ /// </summary>+ public decimal weight { get; set; } = 0;++ /// <summary>+ /// volume+ /// </summary>+ public decimal volume { get; set; } = 0;++ /// <summary>+ /// goods_owner_id+ /// </summary>+ public int goods_owner_id { get; set; } = 0;++ /// <summary>+ /// goods_owner_name+ /// </summary>+ public string goods_owner_name { get; set; } = string.Empty;++ /// <summary>+ /// creator+ /// </summary>+ public string creator { get; set; } = string.Empty;++ /// <summary>+ /// create_time+ /// </summary>+ public DateTime create_time { get; set; } = DateTime.Now;++ /// <summary>+ /// last_update_time+ /// </summary>+ public DateTime last_update_time { get; set; } = DateTime.Now;++ /// <summary>+ /// tenant_id+ /// </summary>+ public long tenant_id { get; set; } = 1;++ #endregion++ #region details+ /// <summary>+ /// details+ /// </summary>+ public List<AsnEntity> detailList { get; set; } = new List<AsnEntity>();++ #endregion+ }+}diff --git a/backend/ModernWMS.WMS/Entities/Models/Asn/AsnsortEntity.cs b/backend/ModernWMS.WMS/Entities/Models/Asn/AsnsortEntity.csindex 78aa2e6..579cd3f 100644--- a/backend/ModernWMS.WMS/Entities/Models/Asn/AsnsortEntity.cs+++ b/backend/ModernWMS.WMS/Entities/Models/Asn/AsnsortEntity.cs@@ -29,6 +29,16 @@ namespace ModernWMS.WMS.Entities.Models/// </summary>public int sorted_qty { get; set; } = 0;+ /// <summary>+ /// series_number+ /// </summary>+ public string series_number { get; set; } = string.Empty;++ /// <summary>+ /// putaway qty+ /// </summary>+ public int putaway_qty { get; set; } = 0;+/// <summary>/// creator/// </summary>diff --git a/backend/ModernWMS.WMS/Entities/Models/Dispatchlist/DispatchpicklistEntity.cs b/backend/ModernWMS.WMS/Entities/Models/Dispatchlist/DispatchpicklistEntity.csindex e7affb3..5a48233 100644--- a/backend/ModernWMS.WMS/Entities/Models/Dispatchlist/DispatchpicklistEntity.cs+++ b/backend/ModernWMS.WMS/Entities/Models/Dispatchlist/DispatchpicklistEntity.cs@@ -2,6 +2,7 @@* date:2022-12-22* developer:NoNo*/+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations.Schema;@@ -17,47 +18,47 @@ namespace ModernWMS.WMS.Entities.Models[Table("dispatchpicklist")]public class DispatchpicklistEntity : BaseModel{- #region foreign table+ #region foreign table- /// <summary>- /// foreign table- /// </summary>+ /// <summary>+ /// foreign table+ /// </summary>[ForeignKey("dispatchlist_id")]- public DispatchlistEntity Dispatchlist { get; set; }+ public DispatchlistEntity Dispatchlist { get; set; }- #endregion+ #endregion foreign table#region Property/// <summary>/// dispatchlist_id/// </summary>- public int dispatchlist_id { get; set; } = 0;+ public int dispatchlist_id { get; set; } = 0;/// <summary>/// goods_owner_id/// </summary>- public int goods_owner_id { get; set; } = 0;+ public int goods_owner_id { get; set; } = 0;/// <summary>/// goods_location_id/// </summary>- public int goods_location_id { get; set; } = 0;+ public int goods_location_id { get; set; } = 0;/// <summary>/// sku_id/// </summary>- public int sku_id { get; set; } = 0;+ public int sku_id { get; set; } = 0;/// <summary>/// pick_qty/// </summary>- public int pick_qty { get; set; } = 0;+ public int pick_qty { get; set; } = 0;/// <summary>/// picked_qty/// </summary>- public int picked_qty { get; set; } = 0;+ public int picked_qty { get; set; } = 0;/// <summary>/// is_update_stock@@ -67,10 +68,13 @@ namespace ModernWMS.WMS.Entities.Models/// <summary>/// last_update_time/// </summary>- public DateTime last_update_time { get; set; } = UtilConvert.MinDate;+ public DateTime last_update_time { get; set; } = UtilConvert.MinDate;+ /// <summary>+ /// series_number+ /// </summary>+ public string series_number { get; set; } = string.Empty;- #endregion-+ #endregion Property}-}+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/Models/Print/PrintSolutionEntity.cs b/backend/ModernWMS.WMS/Entities/Models/Print/PrintSolutionEntity.csnew file mode 100644index 0000000..e1234b1--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/Models/Print/PrintSolutionEntity.cs@@ -0,0 +1,70 @@+/*+ * date:2023-09-11+ * developer:NoNo+ */++using System;+using System.Collections.Generic;+using System.ComponentModel.DataAnnotations.Schema;+using System.ComponentModel.DataAnnotations;+using ModernWMS.Core.Models;+using ModernWMS.Core.Utility;++namespace ModernWMS.WMS.Entities.Models+{+ /// <summary>+ /// user_defined_print_solution entity+ /// </summary>+ [Table("user_defined_print_solution")]+ public class PrintSolutionEntity : BaseModel+ {+ #region Property++ /// <summary>+ /// vue_path+ /// </summary>+ public string vue_path { get; set; } = string.Empty;++ /// <summary>+ /// tab_page+ /// </summary>+ public string tab_page { get; set; } = string.Empty;++ /// <summary>+ /// solution_name+ /// </summary>+ public string solution_name { get; set; } = string.Empty;++ /// <summary>+ /// config_json+ /// </summary>+ public string config_json { get; set; }++ /// <summary>+ /// report_length+ /// </summary>+ public decimal report_length { get; set; } = 0;++ /// <summary>+ /// report_width+ /// </summary>+ public decimal report_width { get; set; } = 0;++ /// <summary>+ /// report_direction+ /// </summary>+ public string report_direction { get; set; } = string.Empty;++ /// <summary>+ /// last updated time+ /// </summary>+ public DateTime last_update_time { get; set; } = UtilConvert.MinDate;++ /// <summary>+ /// tenant_id+ /// </summary>+ public long tenant_id { get; set; } = 0;++ #endregion Property+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/Models/Rolemenu/MenuEntity.cs b/backend/ModernWMS.WMS/Entities/Models/Rolemenu/MenuEntity.csindex 0bb4d2b..50593c1 100644--- a/backend/ModernWMS.WMS/Entities/Models/Rolemenu/MenuEntity.cs+++ b/backend/ModernWMS.WMS/Entities/Models/Rolemenu/MenuEntity.cs@@ -47,7 +47,10 @@ namespace ModernWMS.WMS.Entities.Models/// </summary>public long tenant_id { get; set; } = 1;-+ /// <summary>+ /// actions+ /// </summary>+ public string menu_actions { get; set; } = "[]";#endregion}diff --git a/backend/ModernWMS.WMS/Entities/Models/Rolemenu/RolemenuEntity.cs b/backend/ModernWMS.WMS/Entities/Models/Rolemenu/RolemenuEntity.csindex c7d8d13..0ec5d15 100644--- a/backend/ModernWMS.WMS/Entities/Models/Rolemenu/RolemenuEntity.cs+++ b/backend/ModernWMS.WMS/Entities/Models/Rolemenu/RolemenuEntity.cs@@ -50,7 +50,10 @@ namespace ModernWMS.WMS.Entities.Models/// </summary>public long tenant_id { get; set; } = 1;-+ /// <summary>+ /// actions authority+ /// </summary>+ public string menu_actions_authority { get; set; } = "[]";#endregion}diff --git a/backend/ModernWMS.WMS/Entities/Models/Sku/SkuEntity.cs b/backend/ModernWMS.WMS/Entities/Models/Sku/SkuEntity.csindex fe4aa02..fafd6de 100644--- a/backend/ModernWMS.WMS/Entities/Models/Sku/SkuEntity.cs+++ b/backend/ModernWMS.WMS/Entities/Models/Sku/SkuEntity.cs@@ -43,6 +43,11 @@ namespace ModernWMS.WMS.Entities.Models/// </summary>public string sku_name { get; set; } = string.Empty;+ /// <summary>+ /// bar_code+ /// </summary>+ public string bar_code { get; set; } = string.Empty;+/// <summary>/// weight/// </summary>@@ -96,5 +101,13 @@ namespace ModernWMS.WMS.Entities.Models#endregion+ #region Sku Safety Stock++ /// <summary>+ /// Sku Safety Stock+ /// </summary>+ public List<SkuSafetyStockEntity> detailList { get; set; } = new List<SkuSafetyStockEntity>();++ #endregion}}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/Models/Sku/SkuSafetyStockEntity.cs b/backend/ModernWMS.WMS/Entities/Models/Sku/SkuSafetyStockEntity.csnew file mode 100644index 0000000..1c04bc7--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/Models/Sku/SkuSafetyStockEntity.cs@@ -0,0 +1,43 @@+/*+ * date:2023-08-25+ * developer:AMo+ */+using ModernWMS.Core.Models;+using System.ComponentModel.DataAnnotations.Schema;++namespace ModernWMS.WMS.Entities.Models+{+ /// <summary>+ /// sku_safety_stock entity+ /// </summary>+ [Table("sku_safety_stock")]+ public class SkuSafetyStockEntity : BaseModel+ {++ #region navigational properties+ /// <summary>+ /// navigational properties+ /// </summary>+ [ForeignKey("sku_id")]+ public SkuEntity Sku { get; set; }++ #endregion++ #region Property+ /// <summary>+ /// sku id+ /// </summary>+ public int sku_id { get; set; } = 0;++ /// <summary>+ /// warehouse's id+ /// </summary>+ public int warehouse_id { get; set; } = 0;++ /// <summary>+ /// safety stock+ /// </summary>+ public int safety_stock_qty { get; set; } = 0;+ #endregion+ }+}diff --git a/backend/ModernWMS.WMS/Entities/Models/Sku/SpuEntity.cs b/backend/ModernWMS.WMS/Entities/Models/Sku/SpuEntity.csindex f5f3f54..a9a9e15 100644--- a/backend/ModernWMS.WMS/Entities/Models/Sku/SpuEntity.cs+++ b/backend/ModernWMS.WMS/Entities/Models/Sku/SpuEntity.cs@@ -40,11 +40,6 @@ namespace ModernWMS.WMS.Entities.Models/// </summary>public string spu_description { get; set; } = string.Empty;- /// <summary>- /// bar_code- /// </summary>- public string bar_code { get; set; } = string.Empty;-/// <summary>/// supplier_id/// </summary>diff --git a/backend/ModernWMS.WMS/Entities/Models/Stock/StockEntity.cs b/backend/ModernWMS.WMS/Entities/Models/Stock/StockEntity.csindex c9d3512..4edea05 100644--- a/backend/ModernWMS.WMS/Entities/Models/Stock/StockEntity.cs+++ b/backend/ModernWMS.WMS/Entities/Models/Stock/StockEntity.cs@@ -2,6 +2,7 @@* date:2022-12-22* developer:NoNo*/+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations.Schema;@@ -17,28 +18,27 @@ namespace ModernWMS.WMS.Entities.Models[Table("stock")]public class StockEntity : BaseModel{-#region Property/// <summary>/// sku_id/// </summary>- public int sku_id { get; set; } = 0;+ public int sku_id { get; set; } = 0;/// <summary>/// goods_location_id/// </summary>- public int goods_location_id { get; set; } = 0;+ public int goods_location_id { get; set; } = 0;/// <summary>/// qty/// </summary>- public int qty { get; set; } = 0;+ public int qty { get; set; } = 0;/// <summary>/// goods_owner_id/// </summary>- public int goods_owner_id { get; set; } = 0;+ public int goods_owner_id { get; set; } = 0;/// <summary>/// is_freeze@@ -49,15 +49,18 @@ namespace ModernWMS.WMS.Entities.Models/// last_update_time/// </summary>[ConcurrencyCheck]- public DateTime last_update_time { get; set; } = UtilConvert.MinDate;+ public DateTime last_update_time { get; set; } = UtilConvert.MinDate;/// <summary>/// tenant_id/// </summary>- public long tenant_id { get; set; } = 0;-+ public long tenant_id { get; set; } = 0;- #endregion+ /// <summary>+ /// series_number+ /// </summary>+ public string series_number { get; set; } = string.Empty;+ #endregion Property}-}+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/Models/Stockadjust/StockadjustEntity.cs b/backend/ModernWMS.WMS/Entities/Models/Stockadjust/StockadjustEntity.csindex 7ae8fd4..d5b2e68 100644--- a/backend/ModernWMS.WMS/Entities/Models/Stockadjust/StockadjustEntity.cs+++ b/backend/ModernWMS.WMS/Entities/Models/Stockadjust/StockadjustEntity.cs@@ -2,6 +2,7 @@* date:2022-12-26* developer:NoNo*/+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations.Schema;@@ -17,53 +18,52 @@ namespace ModernWMS.WMS.Entities.Models[Table("stockadjust")]public class StockadjustEntity : BaseModel{-#region Property/// <summary>/// job_code/// </summary>- public string job_code { get; set; } = string.Empty;+ public string job_code { get; set; } = string.Empty;/// <summary>/// sku_id/// </summary>- public int sku_id { get; set; } = 0;+ public int sku_id { get; set; } = 0;/// <summary>/// goods_owner_id/// </summary>- public int goods_owner_id { get; set; } = 0;+ public int goods_owner_id { get; set; } = 0;/// <summary>/// goods_location_id/// </summary>- public int goods_location_id { get; set; } = 0;+ public int goods_location_id { get; set; } = 0;/// <summary>/// qty/// </summary>- public int qty { get; set; } = 0;+ public int qty { get; set; } = 0;/// <summary>/// creator/// </summary>- public string creator { get; set; } = string.Empty;+ public string creator { get; set; } = string.Empty;/// <summary>/// create_time/// </summary>- public DateTime create_time { get; set; } = UtilConvert.MinDate;+ public DateTime create_time { get; set; } = UtilConvert.MinDate;/// <summary>/// last_update_time/// </summary>- public DateTime last_update_time { get; set; } = UtilConvert.MinDate;+ public DateTime last_update_time { get; set; } = UtilConvert.MinDate;/// <summary>/// tenant_id/// </summary>- public long tenant_id { get; set; } = 0;+ public long tenant_id { get; set; } = 0;/// <summary>/// is_update_stock@@ -73,15 +73,18 @@ namespace ModernWMS.WMS.Entities.Models/// <summary>/// job_type/// </summary>- public byte job_type { get; set; } = 0;+ public byte job_type { get; set; } = 0;/// <summary>/// source_table_id/// </summary>- public int source_table_id { get; set; } = 0;-+ public int source_table_id { get; set; } = 0;- #endregion+ /// <summary>+ /// series_number+ /// </summary>+ public string series_number { get; set; } = string.Empty;+ #endregion Property}-}+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/Models/Stockfreeze/StockfreezeEntity.cs b/backend/ModernWMS.WMS/Entities/Models/Stockfreeze/StockfreezeEntity.csindex dfe13b3..94160d5 100644--- a/backend/ModernWMS.WMS/Entities/Models/Stockfreeze/StockfreezeEntity.cs+++ b/backend/ModernWMS.WMS/Entities/Models/Stockfreeze/StockfreezeEntity.cs@@ -2,6 +2,7 @@* date:2022-12-26* developer:NoNo*/+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations.Schema;@@ -17,13 +18,12 @@ namespace ModernWMS.WMS.Entities.Models[Table("stockfreeze")]public class StockfreezeEntity : BaseModel{-#region Property/// <summary>/// job_code/// </summary>- public string job_code { get; set; } = string.Empty;+ public string job_code { get; set; } = string.Empty;/// <summary>/// job_type@@ -33,40 +33,43 @@ namespace ModernWMS.WMS.Entities.Models/// <summary>/// sku_id/// </summary>- public int sku_id { get; set; } = 0;+ public int sku_id { get; set; } = 0;/// <summary>/// goods_owner_id/// </summary>- public int goods_owner_id { get; set; } = 0;+ public int goods_owner_id { get; set; } = 0;/// <summary>/// goods_location_id/// </summary>- public int goods_location_id { get; set; } = 0;+ public int goods_location_id { get; set; } = 0;/// <summary>/// handler/// </summary>- public string handler { get; set; } = string.Empty;+ public string handler { get; set; } = string.Empty;/// <summary>/// operate_time/// </summary>- public DateTime handle_time { get; set; } = UtilConvert.MinDate;+ public DateTime handle_time { get; set; } = UtilConvert.MinDate;/// <summary>/// last_update_time/// </summary>- public DateTime last_update_time { get; set; } = UtilConvert.MinDate;+ public DateTime last_update_time { get; set; } = UtilConvert.MinDate;/// <summary>/// tenant_id/// </summary>- public long tenant_id { get; set; } = 0;-+ public long tenant_id { get; set; } = 0;- #endregion+ /// <summary>+ /// series_number+ /// </summary>+ public string series_number { get; set; } = string.Empty;+ #endregion Property}-}+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/Models/Stockmove/StockmoveEntity.cs b/backend/ModernWMS.WMS/Entities/Models/Stockmove/StockmoveEntity.csindex 67d0384..fef6ade 100644--- a/backend/ModernWMS.WMS/Entities/Models/Stockmove/StockmoveEntity.cs+++ b/backend/ModernWMS.WMS/Entities/Models/Stockmove/StockmoveEntity.cs@@ -2,6 +2,7 @@* date:2022-12-27* developer:NoNo*/+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations.Schema;@@ -17,76 +18,78 @@ namespace ModernWMS.WMS.Entities.Models[Table("stockmove")]public class StockmoveEntity : BaseModel{-#region Property/// <summary>/// job_code/// </summary>- public string job_code { get; set; } = string.Empty;+ public string job_code { get; set; } = string.Empty;/// <summary>/// move_status/// </summary>- public byte move_status { get; set; } = 0;+ public byte move_status { get; set; } = 0;/// <summary>/// sku_id/// </summary>- public int sku_id { get; set; } = 0;+ public int sku_id { get; set; } = 0;/// <summary>/// orig_goods_location_id/// </summary>- public int orig_goods_location_id { get; set; } = 0;+ public int orig_goods_location_id { get; set; } = 0;/// <summary>/// dest_googs_location_id/// </summary>- public int dest_googs_location_id { get; set; } = 0;+ public int dest_googs_location_id { get; set; } = 0;/// <summary>/// qty/// </summary>- public int qty { get; set; } = 0;+ public int qty { get; set; } = 0;/// <summary>/// goods_owner_id/// </summary>- public int goods_owner_id { get; set; } = 0;+ public int goods_owner_id { get; set; } = 0;/// <summary>/// handler/// </summary>- public string handler { get; set; } = string.Empty;+ public string handler { get; set; } = string.Empty;/// <summary>/// handle_time/// </summary>- public DateTime handle_time { get; set; } = UtilConvert.MinDate;+ public DateTime handle_time { get; set; } = UtilConvert.MinDate;/// <summary>/// creator/// </summary>- public string creator { get; set; } = string.Empty;+ public string creator { get; set; } = string.Empty;/// <summary>/// create_time/// </summary>- public DateTime create_time { get; set; } = UtilConvert.MinDate;+ public DateTime create_time { get; set; } = UtilConvert.MinDate;/// <summary>/// last_update_time/// </summary>- public DateTime last_update_time { get; set; } = UtilConvert.MinDate;+ public DateTime last_update_time { get; set; } = UtilConvert.MinDate;/// <summary>/// tenant_id/// </summary>- public long tenant_id { get; set; } = 0;-+ public long tenant_id { get; set; } = 0;- #endregion+ /// <summary>+ /// series_number+ /// </summary>+ public string series_number { get; set; } = string.Empty;+ #endregion Property}-}+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/Models/Stockprocess/StockprocessdetailEntity.cs b/backend/ModernWMS.WMS/Entities/Models/Stockprocess/StockprocessdetailEntity.csindex 9efbf6a..b8c2f67 100644--- a/backend/ModernWMS.WMS/Entities/Models/Stockprocess/StockprocessdetailEntity.cs+++ b/backend/ModernWMS.WMS/Entities/Models/Stockprocess/StockprocessdetailEntity.cs@@ -2,6 +2,7 @@* date:2022-12-23* developer:NoNo*/+using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations.Schema;@@ -17,52 +18,52 @@ namespace ModernWMS.WMS.Entities.Models[Table("stockprocessdetail")]public class StockprocessdetailEntity : BaseModel{- #region foreign table+ #region foreign table- /// <summary>- /// foreign table- /// </summary>+ /// <summary>+ /// foreign table+ /// </summary>[ForeignKey("stock_process_id")]- public StockprocessEntity Stockprocess { get; set; }+ public StockprocessEntity Stockprocess { get; set; }- #endregion+ #endregion foreign table#region Property/// <summary>/// stock_process_id/// </summary>- public int stock_process_id { get; set; } = 0;+ public int stock_process_id { get; set; } = 0;/// <summary>/// sku_id/// </summary>- public int sku_id { get; set; } = 0;+ public int sku_id { get; set; } = 0;/// <summary>/// goods_owner_id/// </summary>- public int goods_owner_id { get; set; } = 0;+ public int goods_owner_id { get; set; } = 0;/// <summary>/// goods_location_id/// </summary>- public int goods_location_id { get; set; } = 0;+ public int goods_location_id { get; set; } = 0;/// <summary>/// qty/// </summary>- public int qty { get; set; } = 0;+ public int qty { get; set; } = 0;/// <summary>/// last_update_time/// </summary>- public DateTime last_update_time { get; set; } = UtilConvert.MinDate;+ public DateTime last_update_time { get; set; } = UtilConvert.MinDate;/// <summary>/// tenant_id/// </summary>- public long tenant_id { get; set; } = 0;+ public long tenant_id { get; set; } = 0;/// <summary>/// is_source@@ -73,7 +74,12 @@ namespace ModernWMS.WMS.Entities.Models/// is_update_stock/// </summary>public bool is_update_stock { get; set; } = false;- #endregion+ /// <summary>+ /// series_number+ /// </summary>+ public string series_number { get; set; } = string.Empty;++ #endregion Property}-}+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/ViewModels/ActionLog/ActionLogViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/ActionLog/ActionLogViewModel.csnew file mode 100644index 0000000..c3d53bd--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/ViewModels/ActionLog/ActionLogViewModel.cs@@ -0,0 +1,66 @@+/*+ * date:2023-08-22+ * developer:NoNo+ */++using System;+using System.ComponentModel.DataAnnotations;+using ModernWMS.Core.Utility;++namespace ModernWMS.WMS.Entities.ViewModels+{+ /// <summary>+ /// action_log viewModel+ /// </summary>+ public class ActionLogViewModel+ {+ #region constructor++ /// <summary>+ /// constructor+ /// </summary>+ public ActionLogViewModel()+ {+ }++ #endregion constructor++ #region Property++ /// <summary>+ /// id+ /// </summary>+ [Display(Name = "id")]+ public int id { get; set; } = 0;++ /// <summary>+ /// menu path+ /// </summary>+ [Display(Name = "vue_path")]+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string vue_path { get; set; } = string.Empty;++ /// <summary>+ /// user_name+ /// </summary>+ [Display(Name = "user_name")]+ [MaxLength(128, ErrorMessage = "MaxLength")]+ public string user_name { get; set; } = string.Empty;++ /// <summary>+ /// action_content+ /// </summary>+ [Display(Name = "action_content")]+ [MaxLength(2000, ErrorMessage = "MaxLength")]+ public string action_content { get; set; } = string.Empty;++ /// <summary>+ /// action_time+ /// </summary>+ [Display(Name = "action_time")]+ [DataType(DataType.DateTime, ErrorMessage = "DataType_DateTime")]+ public DateTime action_time { get; set; } = UtilConvert.MinDate;++ #endregion Property+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/ViewModels/AnsSummary/AnsSummaryInputViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/AnsSummary/AnsSummaryInputViewModel.csnew file mode 100644index 0000000..1de4cc4--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/ViewModels/AnsSummary/AnsSummaryInputViewModel.cs@@ -0,0 +1,25 @@+using System;+using System.Collections.Generic;+using System.Linq;+using System.Text;+using System.Threading.Tasks;++namespace ModernWMS.WMS.Entities.ViewModels+{+ public class AnsSummaryInputViewModel+ {+ #region constructor+ /// <summary>+ /// constructor+ /// </summary>+ public AnsSummaryInputViewModel()+ {++ }+ #endregion++ #region Property++ #endregion+ }+}diff --git a/backend/ModernWMS.WMS/Entities/ViewModels/AnsSummary/AnsSummaryViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/AnsSummary/AnsSummaryViewModel.csnew file mode 100644index 0000000..2cc52bf--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/ViewModels/AnsSummary/AnsSummaryViewModel.cs@@ -0,0 +1,131 @@+using System;+using System.Collections.Generic;+using System.ComponentModel.DataAnnotations;+using System.Linq;+using System.Text;+using System.Threading.Tasks;++namespace ModernWMS.WMS.Entities.ViewModels+{+ /// <summary>+ /// asn summary output viewModel+ /// </summary>+ public class AnsSummaryViewModel+ {+ #region constructor+ /// <summary>+ /// constructor+ /// </summary>+ public AnsSummaryViewModel()+ {++ }+ #endregion++ #region Property++ /// <summary>+ /// asn_id+ /// </summary>+ [Display(Name = "asn_id")]+ public int asn_id { get; set; } = 0;++ /// <summary>+ /// asn_no+ /// </summary>+ [Display(Name = "asn_no")]+ [MaxLength(32, ErrorMessage = "MaxLength")]+ public string asn_no { get; set; } = string.Empty;++ /// <summary>+ /// asn_batch+ /// </summary>+ public string asn_batch { get; set; } = string.Empty;++ /// <summary>+ /// goods_location_id+ /// </summary>+ [Display(Name = "goods_location_id")]+ public int goods_location_id { get; set; } = 0;++ /// <summary>+ /// warehouse_name+ /// </summary>+ public string warehouse_name { get; set; } = string.Empty;++ /// <summary>+ /// location_name+ /// </summary>+ public string location_name { get; set; } = string.Empty;++ /// <summary>+ /// spu_id+ /// </summary>+ [Display(Name = "spu_id")]+ [Required(ErrorMessage = "Required")]+ public int spu_id { get; set; } = 0;++ /// <summary>+ /// spu_name+ /// </summary>+ [Display(Name = "spu_name")]+ [Required(ErrorMessage = "Required")]+ [MaxLength(200, ErrorMessage = "MaxLength")]+ public string spu_name { get; set; } = string.Empty;++ /// <summary>+ /// spu_code+ /// </summary>+ [Display(Name = "spu_code")]+ [Required(ErrorMessage = "Required")]+ [MaxLength(32, ErrorMessage = "MaxLength")]+ public string spu_code { get; set; } = string.Empty;++ /// <summary>+ /// sku_id+ /// </summary>+ [Display(Name = "sku_id")]+ public int sku_id { get; set; } = 0;++ /// <summary>+ /// sku_name+ /// </summary>+ [Display(Name = "sku_name")]+ [MaxLength(200, ErrorMessage = "MaxLength")]+ public string sku_name { get; set; } = string.Empty;++ /// <summary>+ /// supplier_id+ /// </summary>+ [Display(Name = "supplier_id")]+ public int supplier_id { get; set; } = 0;++ /// <summary>+ /// supplier_name+ /// </summary>+ [Display(Name = "supplier_name")]+ [MaxLength(256, ErrorMessage = "MaxLength")]+ public string supplier_name { get; set; } = string.Empty;++ /// <summary>+ /// series_number+ /// </summary>+ public string series_number { get; set; } = string.Empty;++ /// <summary>+ /// goods_owner_id+ /// </summary>+ [Display(Name = "goods_owner_id")]+ public int goods_owner_id { get; set; } = 0;++ /// <summary>+ /// goods_owner_name+ /// </summary>+ [Display(Name = "goods_owner_name")]+ [MaxLength(256, ErrorMessage = "MaxLength")]+ public string goods_owner_name { get; set; } = string.Empty;+++ #endregion+ }+}diff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Approve/FlowSetConditionViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Approve/FlowSetConditionViewModel.csnew file mode 100644index 0000000..928d07e--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Approve/FlowSetConditionViewModel.cs@@ -0,0 +1,98 @@+using System;+using System.Collections.Generic;+using System.ComponentModel.DataAnnotations;+using System.Linq;+using System.Text;+using System.Threading.Tasks;++namespace ModernWMS.WMS.Entities.ViewModels.Approve+{+ public class FlowSetConditionViewModel+ {+ /// <summary>+ /// id+ /// </summary>+ [Display(Name = "id")]+ public int id { get; set; } = 0;++ /// <summary>+ /// menu+ /// </summary>+ public string menu { get; set; } = string.Empty;++ /// <summary>+ /// flowset id+ /// </summary>+ public int flowset_id { get; set; } = 0;++ /// <summary>+ /// node guid+ /// </summary>+ public string node_guid { get; set; } = string.Empty;++ /// <summary>+ /// logic operator+ /// </summary>+ public string logic { get; set; } = "且";++ /// <summary>+ /// (+ /// </summary>+ public string c1 { get; set; } = string.Empty;++ /// <summary>+ /// column label+ /// </summary>+ public string col_label { get; set; } = string.Empty;++ /// <summary>+ /// column name+ /// </summary>+ public string col_name { get; set; } = string.Empty;++ /// <summary>+ /// comparation+ /// </summary>+ public string compare { get; set; } = "等于";++ /// <summary>+ /// content+ /// </summary>+ public string content { get; set; } = string.Empty;++ /// <summary>+ /// )+ /// </summary>+ public string c2 { get; set; } = string.Empty;++ /// <summary>+ /// sort+ /// </summary>+ public int sort { get; set; } = 0;++ /// <summary>+ /// condition group+ /// </summary>+ public string condition_group { get; set; } = string.Empty;++ /// <summary>+ /// formulas+ /// </summary>+ public string formulas { get; set; } = string.Empty;++ /// <summary>+ /// assert mode(存在、不存在、求和、平均值、最大值、最小值)+ /// </summary>+ public string assert_mode { get; set; } = string.Empty;++ /// <summary>+ /// table name+ /// </summary>+ public string table_name { get; set; } = string.Empty;++ /// <summary>+ /// scheme name+ /// </summary>+ public string scheme_name { get; set; } = string.Empty;+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Approve/FlowSetMapGetViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Approve/FlowSetMapGetViewModel.csnew file mode 100644index 0000000..bb36831--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Approve/FlowSetMapGetViewModel.cs@@ -0,0 +1,92 @@+using System;+using System.Collections.Generic;+using System.Linq;+using System.Text;+using System.Threading.Tasks;+using System.ComponentModel.DataAnnotations;+using ModernWMS.WMS.Entities.Models;+using ModernWMS.WMS.Entities.ViewModels.Approve;++namespace ModernWMS.WMS.Entities.ViewModels+{+ public class FlowSetMapGetViewModel+ {+ #region constructor++ /// <summary>+ /// constructor+ /// </summary>+ public FlowSetMapGetViewModel()+ {+ }++ #endregion constructor++ #region Property++ /// <summary>+ /// id+ /// </summary>+ [Display(Name = "id")]+ public int id { get; set; } = 0;++ /// <summary>+ /// flowset main id+ /// </summary>+ [Display(Name = "flowsetmain_id")]+ public int flowsetmain_id { get; set; } = 0;++ /// <summary>+ /// menu+ /// </summary>+ [Display(Name = "menu")]+ public string menu { get; set; } = string.Empty;++ /// <summary>+ /// origin+ /// </summary>+ [Display(Name = "is_origin")]+ public bool is_origin { get; set; } = false;++ /// <summary>+ /// end+ /// </summary>+ [Display(Name = "is_end")]+ public bool is_end { get; set; } = false;++ /// <summary>+ /// this node guid+ /// </summary>+ [Display(Name = "node_guid")]+ public string node_guid { get; set; } = string.Empty;++ /// <summary>+ /// this node name+ /// </summary>+ [Display(Name = "node_name")]+ public string node_name { get; set; } = string.Empty;++ /// <summary>+ /// previous node guid+ /// </summary>+ [Display(Name = "prev_node_guid")]+ public string prev_node_guid { get; set; } = string.Empty;++ /// <summary>+ /// approve user list+ /// </summary>+ public List<FlowSetUserViewModel> user_list { get; set; } = new List<FlowSetUserViewModel>();++ /// <summary>+ /// filter condition list+ /// </summary>+ public List<FlowSetConditionViewModel> filter_list { get; set; } = new List<FlowSetConditionViewModel> { };++ /// <summary>+ /// children list+ /// </summary>+ public List<FlowSetMapGetViewModel> children { get; set; } = new List<FlowSetMapGetViewModel> { };++ #endregion Property+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Approve/FlowSetUserViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Approve/FlowSetUserViewModel.csnew file mode 100644index 0000000..3bba0a7--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Approve/FlowSetUserViewModel.cs@@ -0,0 +1,63 @@+using System;+using System.Collections.Generic;+using System.Linq;+using System.Text;+using System.Threading.Tasks;+using System.ComponentModel.DataAnnotations;++namespace ModernWMS.WMS.Entities.ViewModels+{+ public class FlowSetUserViewModel+ {+ #region constructor++ /// <summary>+ /// constructor+ /// </summary>+ public FlowSetUserViewModel()+ {+ }++ #endregion constructor++ #region Property++ /// <summary>+ /// id+ /// </summary>+ [Display(Name = "id")]+ public int id { get; set; } = 0;++ /// <summary>+ /// menu+ /// </summary>+ [Display(Name = "menu")]+ public string menu { get; set; } = string.Empty;++ /// <summary>+ /// flowset id+ /// </summary>+ [Display(Name = "flowset_id")]+ public int flowset_id { get; set; } = 0;++ /// <summary>+ /// node guid+ /// </summary>+ [Display(Name = "node_guid")]+ public string node_guid { get; set; } = string.Empty;++ /// <summary>+ /// user id+ /// </summary>+ [Display(Name = "user_id")]+ public int user_id { get; set; } = 0;++ /// <summary>+ /// user name+ /// </summary>+ [Display(Name = "user_name")]+ public string user_name { get; set; } = string.Empty;++ #endregion Property+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Asn/AsnViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Asn/AsnViewModel.csindex a997a8c..efd55ce 100644--- a/backend/ModernWMS.WMS/Entities/ViewModels/Asn/AsnViewModel.cs+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Asn/AsnViewModel.cs@@ -32,6 +32,11 @@ namespace ModernWMS.WMS.Entities.ViewModels[Display(Name = "id")]public int id { get; set; } = 0;+ /// <summary>+ /// asnmaster_id+ /// </summary>+ public int asnmaster_id { get; set; } = 0;+/// <summary>/// asn_no/// </summary>@@ -39,6 +44,16 @@ namespace ModernWMS.WMS.Entities.ViewModels[MaxLength(32, ErrorMessage = "MaxLength")]public string asn_no { get; set; } = string.Empty;+ /// <summary>+ /// asn_batch+ /// </summary>+ public string asn_batch { get; set; } = string.Empty;++ /// <summary>+ /// estimated_arrival_time+ /// </summary>+ public DateTime estimated_arrival_time { get; set; } = Core.Utility.UtilConvert.MinDate;+/// <summary>/// asn_status/// </summary>@@ -125,6 +140,26 @@ namespace ModernWMS.WMS.Entities.ViewModels[Display(Name = "actual_qty")]public int actual_qty { get; set; } = 0;+ /// <summary>+ /// arrival_time+ /// </summary>+ public DateTime arrival_time { get; set; } = Core.Utility.UtilConvert.MinDate;++ /// <summary>+ /// unload_time+ /// </summary>+ public DateTime unload_time { get; set; } = Core.Utility.UtilConvert.MinDate;++ /// <summary>+ /// unload_person_id+ /// </summary>+ public int unload_person_id { get; set; } = 0;++ /// <summary>+ /// unload_person+ /// </summary>+ public string unload_person { get; set; } = string.Empty;+/// <summary>/// sorted_qty/// </summary>diff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Asnmaster/AsnmasterBothViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Asnmaster/AsnmasterBothViewModel.csnew file mode 100644index 0000000..0894163--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Asnmaster/AsnmasterBothViewModel.cs@@ -0,0 +1,111 @@+/*+ * date:2023-08-30+ * developer:AMo+ */+using System.ComponentModel.DataAnnotations;++namespace ModernWMS.WMS.Entities.ViewModels+{+ /// <summary>+ /// Asnmaster ViewModel+ /// </summary>+ public class AsnmasterBothViewModel+ {++ #region constructor+ /// <summary>+ /// constructor+ /// </summary>+ public AsnmasterBothViewModel()+ {++ }+ #endregion++ #region Property++ /// <summary>+ /// id+ /// </summary>+ [Display(Name = "id")]+ public int id { get; set; } = 0;++ /// <summary>+ /// asn_no+ /// </summary>+ [Display(Name = "asn_no")]+ [MaxLength(32, ErrorMessage = "MaxLength")]+ public string asn_no { get; set; } = string.Empty;++ /// <summary>+ /// asn_batch+ /// </summary>+ [Display(Name = "asn_batch")]+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string asn_batch { get; set; } = string.Empty;++ /// <summary>+ /// estimated_arrival_time+ /// </summary>+ [Display(Name = "estimated_arrival_time")]+ public DateTime estimated_arrival_time { get; set; } = Core.Utility.UtilConvert.MinDate;++ /// <summary>+ /// asn_status+ /// </summary>+ [Display(Name = "asn_status")]+ public byte asn_status { get; set; } = 0;++ /// <summary>+ /// weight+ /// </summary>+ [Display(Name = "weight")]+ public decimal weight { get; set; } = 0;++ /// <summary>+ /// volume+ /// </summary>+ [Display(Name = "volume")]+ public decimal volume { get; set; } = 0;++ /// <summary>+ /// goods_owner_id+ /// </summary>+ [Display(Name = "goods_owner_id")]+ public int goods_owner_id { get; set; } = 0;++ /// <summary>+ /// goods_owner_name+ /// </summary>+ [Display(Name = "goods_owner_name")]+ public string goods_owner_name { get; set; } = string.Empty;++ /// <summary>+ /// creator+ /// </summary>+ [Display(Name = "creator")]+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string creator { get; set; } = string.Empty;++ /// <summary>+ /// create_time+ /// </summary>+ [Display(Name = "create_time")]+ public DateTime create_time { get; set; } = DateTime.Now;++ /// <summary>+ /// last_update_time+ /// </summary>+ [Display(Name = "last_update_time")]+ public DateTime last_update_time { get; set; } = DateTime.Now;++ #endregion++ #region details+ /// <summary>+ /// details+ /// </summary>+ public List<AsnmasterDetailViewModel> detailList { get; set; } = new List<AsnmasterDetailViewModel>();+ #endregion+ }+}diff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Asnmaster/AsnmasterDetailViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Asnmaster/AsnmasterDetailViewModel.csnew file mode 100644index 0000000..635f63a--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Asnmaster/AsnmasterDetailViewModel.cs@@ -0,0 +1,158 @@+/*+ * date:2023-08-30+ * developer:AMo+ */+using System.ComponentModel.DataAnnotations;++namespace ModernWMS.WMS.Entities.ViewModels+{+ /// <summary>+ ///+ /// </summary>+ public class AsnmasterDetailViewModel+ {++ #region constructor+ /// <summary>+ /// constructor+ /// </summary>+ public AsnmasterDetailViewModel()+ {++ }+ #endregion++ #region Property++ /// <summary>+ /// id+ /// </summary>+ [Display(Name = "id")]+ public int id { get; set; } = 0;++ /// <summary>+ /// asnmaster_id+ /// </summary>+ public int asnmaster_id { get; set; } = 0;++ /// <summary>+ /// asn_status+ /// </summary>+ [Display(Name = "asn_status")]+ public byte asn_status { get; set; } = 0;++ /// <summary>+ /// spu_id+ /// </summary>+ [Display(Name = "spu_id")]+ [Required(ErrorMessage = "Required")]+ public int spu_id { get; set; } = 0;++ /// <summary>+ /// spu_code+ /// </summary>+ [Display(Name = "spu_code")]+ [Required(ErrorMessage = "Required")]+ [MaxLength(32, ErrorMessage = "MaxLength")]+ public string spu_code { get; set; } = string.Empty;++ /// <summary>+ /// spu_name+ /// </summary>+ [Display(Name = "spu_name")]+ [Required(ErrorMessage = "Required")]+ [MaxLength(200, ErrorMessage = "MaxLength")]+ public string spu_name { get; set; } = string.Empty;++ /// <summary>+ /// sku_id+ /// </summary>+ [Display(Name = "sku_id")]+ public int sku_id { get; set; } = 0;++ /// <summary>+ /// sku_code+ /// </summary>+ [Display(Name = "sku_code")]+ [MaxLength(32, ErrorMessage = "MaxLength")]+ public string sku_code { get; set; } = string.Empty;++ /// <summary>+ /// sku_name+ /// </summary>+ [Display(Name = "sku_name")]+ [MaxLength(200, ErrorMessage = "MaxLength")]+ public string sku_name { get; set; } = string.Empty;++ /// <summary>+ /// origin+ /// </summary>+ [Display(Name = "origin")]+ [MaxLength(256, ErrorMessage = "MaxLength")]+ public string origin { get; set; } = string.Empty;++ /// <summary>+ /// length_unit (0=毫米、1=厘米、2=分米、3=米)+ /// </summary>+ [Display(Name = "length_unit")]+ public byte length_unit { get; set; } = 0;++ /// <summary>+ /// volume_unit (0=立方厘米、1=立方分米、2=立方米)+ /// </summary>+ [Display(Name = "volume_unit")]+ public byte volume_unit { get; set; } = 0;++ /// <summary>+ /// weight_unit (0=毫克、1=克、2=千克)+ /// </summary>+ [Display(Name = "weight_unit")]+ public byte weight_unit { get; set; } = 0;++ /// <summary>+ /// asn_qty+ /// </summary>+ [Display(Name = "asn_qty")]+ public int asn_qty { get; set; } = 0;++ /// <summary>+ /// actual_qty+ /// </summary>+ [Display(Name = "actual_qty")]+ public int actual_qty { get; set; } = 0;++ /// <summary>+ /// weight+ /// </summary>+ [Display(Name = "weight")]+ public decimal weight { get; set; } = 0;++ /// <summary>+ /// volume+ /// </summary>+ [Display(Name = "volume")]+ public decimal volume { get; set; } = 0;++ /// <summary>+ /// supplier_id+ /// </summary>+ [Display(Name = "supplier_id")]+ public int supplier_id { get; set; } = 0;++ /// <summary>+ /// supplier_name+ /// </summary>+ [Display(Name = "supplier_name")]+ [MaxLength(256, ErrorMessage = "MaxLength")]+ public string supplier_name { get; set; } = string.Empty;++ /// <summary>+ /// is_valid+ /// </summary>+ [Display(Name = "is_valid")]+ public bool is_valid { get; set; } = true;++ #endregion++ }+}diff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Flow/AsnConfirmInputViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Flow/AsnConfirmInputViewModel.csnew file mode 100644index 0000000..6b14028--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Flow/AsnConfirmInputViewModel.cs@@ -0,0 +1,40 @@+/*+ * date:2023-09-01+ * developer:AMo+ */+using System.ComponentModel.DataAnnotations;++namespace ModernWMS.WMS.Entities.ViewModels+{+ /// <summary>+ /// asn flow confirm input viewModel+ /// </summary>+ public class AsnConfirmInputViewModel+ {++ #region constructor+ /// <summary>+ /// constructor+ /// </summary>+ public AsnConfirmInputViewModel()+ {++ }+ #endregion++ #region Property++ /// <summary>+ /// id+ /// </summary>+ [Display(Name = "id")]+ public int id { get; set; } = 0;++ /// <summary>+ /// arrival_time+ /// </summary>+ [Display(Name = "arrival_time")]+ public DateTime arrival_time { get; set; } = Core.Utility.UtilConvert.MinDate;+ #endregion+ }+}diff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Flow/AsnPendingPutawayViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Flow/AsnPendingPutawayViewModel.csindex e0e29fc..4c4a6d2 100644--- a/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Flow/AsnPendingPutawayViewModel.cs+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Flow/AsnPendingPutawayViewModel.cs@@ -55,4 +55,4 @@ namespace ModernWMS.WMS.Entities.ViewModels#endregion}-}\ No newline at end of file+}diff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Flow/AsnPutAwayInputViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Flow/AsnPutAwayInputViewModel.csindex 20c45e5..b730e44 100644--- a/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Flow/AsnPutAwayInputViewModel.cs+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Flow/AsnPutAwayInputViewModel.cs@@ -31,6 +31,18 @@ namespace ModernWMS.WMS.Entities.ViewModels[Display(Name = "asn_id")]public int asn_id { get; set; } = 0;+ /// <summary>+ /// goods_owner_id+ /// </summary>+ [Display(Name = "goods_owner_id")]+ public int goods_owner_id { get; set; } = 0;++ /// <summary>+ /// series_number+ /// </summary>+ [Display(Name = "series_number")]+ public string series_number { get; set; } = string.Empty;+/// <summary>/// goods_location_id/// </summary>diff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Flow/AsnUnloadInputViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Flow/AsnUnloadInputViewModel.csnew file mode 100644index 0000000..0d5ee65--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Flow/AsnUnloadInputViewModel.cs@@ -0,0 +1,52 @@+/*+ * date:2023-09-01+ * developer:AMo+ */+using System.ComponentModel.DataAnnotations;++namespace ModernWMS.WMS.Entities.ViewModels+{+ /// <summary>+ /// Unload+ /// </summary>+ public class AsnUnloadInputViewModel+ {++ #region constructor+ /// <summary>+ /// constructor+ /// </summary>+ public AsnUnloadInputViewModel()+ {++ }+ #endregion++ #region Property++ /// <summary>+ /// id+ /// </summary>+ [Display(Name = "id")]+ public int id { get; set; } = 0;++ /// <summary>+ /// unload_time+ /// </summary>+ [Display(Name = "unload_time")]+ public DateTime unload_time { get; set; } = Core.Utility.UtilConvert.MinDate;++ /// <summary>+ /// unload_person_id+ /// </summary>+ [Display(Name = "unload_person_id")]+ public int unload_person_id { get; set; } = 0;++ /// <summary>+ /// unload_person+ /// </summary>+ [Display(Name = "unload_person")]+ public string unload_person { get; set; } = string.Empty;+ #endregion+ }+}diff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Flow/AsnsortInputViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Flow/AsnsortInputViewModel.csindex 0bf1181..7ea1d7a 100644--- a/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Flow/AsnsortInputViewModel.cs+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Asn/Flow/AsnsortInputViewModel.cs@@ -31,6 +31,11 @@ namespace ModernWMS.WMS.Entities.ViewModels[Display(Name = "asn_id")]public int asn_id { get; set; } = 0;+ /// <summary>+ /// series_number+ /// </summary>+ public string series_number { get; set; } = string.Empty;+/// <summary>/// sorted_qty/// </summary>diff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Dispatchlist/DispatchlistConfirmPickDetailViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Dispatchlist/DispatchlistConfirmPickDetailViewModel.csindex d5c1d94..098c41c 100644--- a/backend/ModernWMS.WMS/Entities/ViewModels/Dispatchlist/DispatchlistConfirmPickDetailViewModel.cs+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Dispatchlist/DispatchlistConfirmPickDetailViewModel.cs@@ -1,5 +1,6 @@using System;using System.Collections.Generic;+using System.ComponentModel.DataAnnotations;using System.Linq;using System.Text;using System.Threading.Tasks;@@ -9,17 +10,20 @@ namespace ModernWMS.WMS.Entities.ViewModelspublic class DispatchlistConfirmPickDetailViewModel{#region constructor+/// <summary>/// constructor/// </summary>public DispatchlistConfirmPickDetailViewModel(){-}- #endregion++ #endregion constructor+#region Property+/// <summary>- /// stock_id+ /// stock_id/// </summary>public int stock_id { get; set; } = 0;@@ -58,7 +62,6 @@ namespace ModernWMS.WMS.Entities.ViewModels/// </summary>public string warehouse_area_name { get; set; } = string.Empty;-/// <summary>/// quantity available/// </summary>@@ -69,6 +72,13 @@ namespace ModernWMS.WMS.Entities.ViewModels/// </summary>public int pick_qty { get; set; } = 0;- #endregion+ /// <summary>+ /// series_number+ /// </summary>+ [Display(Name = "series_number")]+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string series_number { get; set; } = string.Empty;++ #endregion Property}-}+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Dispatchlist/DispatchlistViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Dispatchlist/DispatchlistViewModel.csindex 58612a9..1dae34c 100644--- a/backend/ModernWMS.WMS/Entities/ViewModels/Dispatchlist/DispatchlistViewModel.cs+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Dispatchlist/DispatchlistViewModel.cs@@ -2,6 +2,7 @@* date:2022-12-22* developer:NoNo*/+using System;using System.ComponentModel.DataAnnotations;using ModernWMS.Core.Utility;@@ -13,105 +14,106 @@ namespace ModernWMS.WMS.Entities.ViewModels/// </summary>public class DispatchlistViewModel{+ #region constructor++ /// <summary>+ /// constructor+ /// </summary>+ public DispatchlistViewModel()+ {+ }++ #endregion constructor- #region constructor- /// <summary>- /// constructor- /// </summary>- public DispatchlistViewModel()- {-- }- #endregion#region Property/// <summary>/// id/// </summary>[Display(Name = "id")]- public int id { get; set; } = 0;+ public int id { get; set; } = 0;/// <summary>/// dispatch_no/// </summary>[Display(Name = "dispatch_no")]- [MaxLength(32,ErrorMessage = "MaxLength")]- public string dispatch_no { get; set; } = string.Empty;+ [MaxLength(32, ErrorMessage = "MaxLength")]+ public string dispatch_no { get; set; } = string.Empty;/// <summary>/// dispatch_status/// </summary>[Display(Name = "dispatch_status")]- public byte dispatch_status { get; set; } = 0;+ public byte dispatch_status { get; set; } = 0;/// <summary>/// customer_id/// </summary>[Display(Name = "customer_id")]- public int customer_id { get; set; } = 0;+ public int customer_id { get; set; } = 0;/// <summary>/// customer_name/// </summary>[Display(Name = "customer_name")]- [MaxLength(256,ErrorMessage = "MaxLength")]- public string customer_name { get; set; } = string.Empty;+ [MaxLength(256, ErrorMessage = "MaxLength")]+ public string customer_name { get; set; } = string.Empty;/// <summary>/// sku_id/// </summary>[Display(Name = "sku_id")]- public int sku_id { get; set; } = 0;+ public int sku_id { get; set; } = 0;/// <summary>/// qty/// </summary>[Display(Name = "qty")]- public int qty { get; set; } = 0;+ public int qty { get; set; } = 0;/// <summary>/// weight/// </summary>[Display(Name = "weight")]- public decimal weight { get; set; } = 0;+ public decimal weight { get; set; } = 0;/// <summary>/// volume/// </summary>[Display(Name = "volume")]- public decimal volume { get; set; } = 0;+ public decimal volume { get; set; } = 0;/// <summary>/// creator/// </summary>[Display(Name = "creator")]- [MaxLength(64,ErrorMessage = "MaxLength")]- public string creator { get; set; } = string.Empty;+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string creator { get; set; } = string.Empty;/// <summary>/// create_time/// </summary>[Display(Name = "create_time")]- [DataType(DataType.DateTime, ErrorMessage = "DataType_DateTime")]- public DateTime create_time { get; set; } = UtilConvert.MinDate;+ [DataType(DataType.DateTime, ErrorMessage = "DataType_DateTime")]+ public DateTime create_time { get; set; } = UtilConvert.MinDate;/// <summary>/// damage_qty/// </summary>[Display(Name = "damage_qty")]- public int damage_qty { get; set; } = 0;+ public int damage_qty { get; set; } = 0;/// <summary>/// lock_qty/// </summary>[Display(Name = "lock_qty")]- public int lock_qty { get; set; } = 0;+ public int lock_qty { get; set; } = 0;/// <summary>/// picked_qty/// </summary>[Display(Name = "picked_qty")]- public int picked_qty { get; set; } = 0;+ public int picked_qty { get; set; } = 0;/// <summary>/// unpicked_qty@@ -123,13 +125,13 @@ namespace ModernWMS.WMS.Entities.ViewModels/// intrasit_qty/// </summary>[Display(Name = "intrasit_qty")]- public int intrasit_qty { get; set; } = 0;+ public int intrasit_qty { get; set; } = 0;/// <summary>/// package_qty/// </summary>[Display(Name = "package_qty")]- public int package_qty { get; set; } = 0;+ public int package_qty { get; set; } = 0;/// <summary>/// unpackage_qty@@ -141,7 +143,7 @@ namespace ModernWMS.WMS.Entities.ViewModels/// weighing_qty/// </summary>[Display(Name = "weighing_qty")]- public int weighing_qty { get; set; } = 0;+ public int weighing_qty { get; set; } = 0;/// <summary>/// weighing_qty@@ -153,88 +155,87 @@ namespace ModernWMS.WMS.Entities.ViewModels/// actual_qty/// </summary>[Display(Name = "actual_qty")]- public int actual_qty { get; set; } = 0;+ public int actual_qty { get; set; } = 0;/// <summary>/// sign_qty/// </summary>[Display(Name = "sign_qty")]- public int sign_qty { get; set; } = 0;+ public int sign_qty { get; set; } = 0;/// <summary>/// package_no/// </summary>[Display(Name = "package_no")]- [MaxLength(32,ErrorMessage = "MaxLength")]- public string package_no { get; set; } = string.Empty;+ [MaxLength(32, ErrorMessage = "MaxLength")]+ public string package_no { get; set; } = string.Empty;/// <summary>/// package_person/// </summary>[Display(Name = "package_person")]- [MaxLength(64,ErrorMessage = "MaxLength")]- public string package_person { get; set; } = string.Empty;+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string package_person { get; set; } = string.Empty;/// <summary>/// package_time/// </summary>[Display(Name = "package_time")]- [DataType(DataType.DateTime, ErrorMessage = "DataType_DateTime")]- public DateTime package_time { get; set; } = UtilConvert.MinDate;+ [DataType(DataType.DateTime, ErrorMessage = "DataType_DateTime")]+ public DateTime package_time { get; set; } = UtilConvert.MinDate;/// <summary>/// weighing_no/// </summary>[Display(Name = "weighing_no")]- [MaxLength(32,ErrorMessage = "MaxLength")]- public string weighing_no { get; set; } = string.Empty;+ [MaxLength(32, ErrorMessage = "MaxLength")]+ public string weighing_no { get; set; } = string.Empty;/// <summary>/// weighing_person/// </summary>[Display(Name = "weighing_person")]- [MaxLength(64,ErrorMessage = "MaxLength")]- public string weighing_person { get; set; } = string.Empty;+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string weighing_person { get; set; } = string.Empty;/// <summary>/// weighing_weight/// </summary>[Display(Name = "weighing_weight")]- public decimal weighing_weight { get; set; } = 0;+ public decimal weighing_weight { get; set; } = 0;/// <summary>/// waybill_no/// </summary>[Display(Name = "waybill_no")]- [MaxLength(64,ErrorMessage = "MaxLength")]- public string waybill_no { get; set; } = string.Empty;+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string waybill_no { get; set; } = string.Empty;/// <summary>/// carrier/// </summary>[Display(Name = "carrier")]- [MaxLength(256,ErrorMessage = "MaxLength")]- public string carrier { get; set; } = string.Empty;+ [MaxLength(256, ErrorMessage = "MaxLength")]+ public string carrier { get; set; } = string.Empty;/// <summary>/// freightfee/// </summary>[Display(Name = "freightfee")]- public decimal freightfee { get; set; } = 0;+ public decimal freightfee { get; set; } = 0;/// <summary>/// last_update_time/// </summary>[Display(Name = "last_update_time")]- [DataType(DataType.DateTime, ErrorMessage = "DataType_DateTime")]- public DateTime last_update_time { get; set; } = UtilConvert.MinDate;+ [DataType(DataType.DateTime, ErrorMessage = "DataType_DateTime")]+ public DateTime last_update_time { get; set; } = UtilConvert.MinDate;/// <summary>/// tenant_id/// </summary>[Display(Name = "tenant_id")]- public long tenant_id { get; set; } = 0;-+ public long tenant_id { get; set; } = 0;/// <summary>/// spu_code@@ -286,7 +287,11 @@ namespace ModernWMS.WMS.Entities.ViewModels/// </summary>public string unit { get; set; } = string.Empty;- #endregion+ /// <summary>+ /// is_todo+ /// </summary>+ public bool is_todo { get; set; } = false;+ #endregion Property}-}+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Dispatchlist/DispatchpicklistViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Dispatchlist/DispatchpicklistViewModel.csindex c842922..8c044f5 100644--- a/backend/ModernWMS.WMS/Entities/ViewModels/Dispatchlist/DispatchpicklistViewModel.cs+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Dispatchlist/DispatchpicklistViewModel.cs@@ -2,6 +2,7 @@* date:2022-12-22* developer:NoNo*/+using System;using System.ComponentModel.DataAnnotations;using ModernWMS.Core.Utility;@@ -13,59 +14,60 @@ namespace ModernWMS.WMS.Entities.ViewModels/// </summary>public class DispatchpicklistViewModel{+ #region constructor++ /// <summary>+ /// constructor+ /// </summary>+ public DispatchpicklistViewModel()+ {+ }++ #endregion constructor- #region constructor- /// <summary>- /// constructor- /// </summary>- public DispatchpicklistViewModel()- {-- }- #endregion#region Property/// <summary>/// id/// </summary>[Display(Name = "id")]- public int id { get; set; } = 0;+ public int id { get; set; } = 0;/// <summary>/// dispatchlist_id/// </summary>[Display(Name = "dispatchlist_id")]- public int dispatchlist_id { get; set; } = 0;+ public int dispatchlist_id { get; set; } = 0;/// <summary>/// goods_owner_id/// </summary>[Display(Name = "goods_owner_id")]- public int goods_owner_id { get; set; } = 0;+ public int goods_owner_id { get; set; } = 0;/// <summary>/// goods_location_id/// </summary>[Display(Name = "goods_location_id")]- public int goods_location_id { get; set; } = 0;+ public int goods_location_id { get; set; } = 0;/// <summary>/// sku_id/// </summary>[Display(Name = "sku_id")]- public int sku_id { get; set; } = 0;+ public int sku_id { get; set; } = 0;/// <summary>/// pick_qty/// </summary>[Display(Name = "pick_qty")]- public int pick_qty { get; set; } = 0;+ public int pick_qty { get; set; } = 0;/// <summary>/// picked_qty/// </summary>[Display(Name = "picked_qty")]- public int picked_qty { get; set; } = 0;+ public int picked_qty { get; set; } = 0;/// <summary>/// spu_code@@ -117,7 +119,13 @@ namespace ModernWMS.WMS.Entities.ViewModels/// </summary>public string location_name { get; set; } = string.Empty;- #endregion+ /// <summary>+ /// series_number+ /// </summary>+ [Display(Name = "series_number")]+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string series_number { get; set; } = string.Empty;+ #endregion Property}-}+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Print/PrintSolutionGetByPathInputViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Print/PrintSolutionGetByPathInputViewModel.csnew file mode 100644index 0000000..470023e--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Print/PrintSolutionGetByPathInputViewModel.cs@@ -0,0 +1,43 @@+using System;+using System.Collections.Generic;+using System.ComponentModel.DataAnnotations;+using System.Linq;+using System.Text;+using System.Threading.Tasks;++namespace ModernWMS.WMS.Entities.ViewModels+{+ /// <summary>+ /// PrintSolutionGetByPathInputViewModel+ /// </summary>+ public class PrintSolutionGetByPathInputViewModel+ {+ #region constructor++ /// <summary>+ /// constructor+ /// </summary>+ public PrintSolutionGetByPathInputViewModel()+ {+ }++ #endregion constructor++ #region Property++ /// <summary>+ /// vue_path+ /// </summary>+ [Display(Name = "vue_path")]+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string vue_path { get; set; } = string.Empty;++ /// <summary>+ /// tab_page+ /// </summary>+ [Display(Name = "tab_page")]+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string tab_page { get; set; } = string.Empty;+ #endregion Property+ }+}diff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Print/PrintSolutionViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Print/PrintSolutionViewModel.csnew file mode 100644index 0000000..04b1148--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Print/PrintSolutionViewModel.cs@@ -0,0 +1,90 @@+/*+ * date:2023-09-11+ * developer:NoNo+ */++using System;+using System.ComponentModel.DataAnnotations;+using ModernWMS.Core.Utility;++namespace ModernWMS.WMS.Entities.ViewModels+{+ /// <summary>+ /// user_defined_print_solution viewModel+ /// </summary>+ public class PrintSolutionViewModel+ {+ #region constructor++ /// <summary>+ /// constructor+ /// </summary>+ public PrintSolutionViewModel()+ {+ }++ #endregion constructor++ #region Property++ /// <summary>+ /// id+ /// </summary>+ [Display(Name = "id")]+ public int id { get; set; } = 0;++ /// <summary>+ /// vue_path+ /// </summary>+ [Display(Name = "vue_path")]+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string vue_path { get; set; } = string.Empty;++ /// <summary>+ /// tab_page+ /// </summary>+ [Display(Name = "tab_page")]+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string tab_page { get; set; } = string.Empty;++ /// <summary>+ /// solution_name+ /// </summary>+ [Display(Name = "solution_name")]+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string solution_name { get; set; } = string.Empty;++ /// <summary>+ /// config_json+ /// </summary>+ [Display(Name = "config_json")]+ public string config_json { get; set; }++ /// <summary>+ /// report_length+ /// </summary>+ [Display(Name = "report_length")]+ public decimal report_length { get; set; } = 0;++ /// <summary>+ /// report_width+ /// </summary>+ [Display(Name = "report_width")]+ public decimal report_width { get; set; } = 0;++ /// <summary>+ /// report_direction+ /// </summary>+ [Display(Name = "report_direction")]+ [MaxLength(2, ErrorMessage = "MaxLength")]+ public string report_direction { get; set; } = string.Empty;++ /// <summary>+ /// tenant_id+ /// </summary>+ [Display(Name = "tenant_id")]+ public long tenant_id { get; set; } = 0;++ #endregion Property+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Rolemenu/MenuViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Rolemenu/MenuViewModel.csindex f553021..9669b4a 100644--- a/backend/ModernWMS.WMS/Entities/ViewModels/Rolemenu/MenuViewModel.cs+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Rolemenu/MenuViewModel.cs@@ -47,5 +47,9 @@ namespace ModernWMS.WMS.Entities.ViewModels/// </summary>public int sort { get; set; } = 0;+ /// <summary>+ /// menu's actions+ /// </summary>+ public List<string> menu_actions { get; set; } = new List<string>();}}diff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Rolemenu/RolemenuViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Rolemenu/RolemenuViewModel.csindex 39ea08b..f6c9dad 100644--- a/backend/ModernWMS.WMS/Entities/ViewModels/Rolemenu/RolemenuViewModel.cs+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Rolemenu/RolemenuViewModel.cs@@ -49,6 +49,11 @@ namespace ModernWMS.WMS.Entities.ViewModels[Display(Name = "authority")]public byte authority { get; set; } = 1;++ /// <summary>+ /// actions authority+ /// </summary>+ public List<string> menu_actions_authority { get; set; } = new List<string>();#endregion}diff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Sku/SkuDetailViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Sku/SkuDetailViewModel.csindex 4a396dd..1ad0d27 100644--- a/backend/ModernWMS.WMS/Entities/ViewModels/Sku/SkuDetailViewModel.cs+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Sku/SkuDetailViewModel.cs@@ -1,8 +1,7 @@/*- * date:2-23-01-05- * developer:NoNo+ * date:2022-12-21+ * developer:AMo*/-using System.ComponentModel.DataAnnotations;using System.Xml.Linq;@@ -68,13 +67,6 @@ namespace ModernWMS.WMS.Entities.ViewModels[MaxLength(1000, ErrorMessage = "MaxLength")]public string spu_description { get; set; } = string.Empty;- /// <summary>- /// bar_code- /// </summary>- [Display(Name = "bar_code")]- [MaxLength(64, ErrorMessage = "MaxLength")]- public string bar_code { get; set; } = string.Empty;-/// <summary>/// supplier_id/// </summary>@@ -142,6 +134,13 @@ namespace ModernWMS.WMS.Entities.ViewModels[MaxLength(200, ErrorMessage = "MaxLength")]public string sku_name { get; set; } = string.Empty;+ /// <summary>+ /// bar_code+ /// </summary>+ [Display(Name = "bar_code")]+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string bar_code { get; set; } = string.Empty;+/// <summary>/// weight/// </summary>diff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Sku/SkuSafetyStockPutViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Sku/SkuSafetyStockPutViewModel.csnew file mode 100644index 0000000..7950380--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Sku/SkuSafetyStockPutViewModel.cs@@ -0,0 +1,23 @@+using System.ComponentModel.DataAnnotations;++namespace ModernWMS.WMS.Entities.ViewModels+{+ /// <summary>+ /// safety stock qty put view model+ /// </summary>+ public class SkuSafetyStockPutViewModel+ {++ /// <summary>+ /// sku id+ /// </summary>+ [Display(Name = "sku_id")]+ [Required(ErrorMessage = "Required")]+ public int sku_id { get; set; } = 0;++ /// <summary>+ /// safety stock qty list+ /// </summary>+ public List<SkuSafetyStockViewModel> detailList { get; set; } = new List<SkuSafetyStockViewModel>();+ }+}diff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Sku/SkuSafetyStockViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Sku/SkuSafetyStockViewModel.csnew file mode 100644index 0000000..6b6cc33--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Sku/SkuSafetyStockViewModel.cs@@ -0,0 +1,59 @@+/*+ * date:2023-08-25+ * developer:AMo+ */+using System.ComponentModel.DataAnnotations;++namespace ModernWMS.WMS.Entities.ViewModels+{+ /// <summary>+ /// sku_safety_stock view model+ /// </summary>+ public class SkuSafetyStockViewModel+ {+ #region constructor+ /// <summary>+ /// constructor+ /// </summary>+ public SkuSafetyStockViewModel()+ {++ }+ #endregion++ #region Property++ /// <summary>+ /// id+ /// </summary>+ [Display(Name = "id")]+ public int id { get; set; } = 0;++ /// <summary>+ /// sku id+ /// </summary>+ [Display(Name = "sku_id")]+ public int sku_id { get; set; } = 0;++ /// <summary>+ /// warehouse's id+ /// </summary>+ [Display(Name = "warehouse_id")]+ public int warehouse_id { get; set; } = 0;++ /// <summary>+ /// warehouse_name+ /// </summary>+ [Display(Name = "warehouse_name")]+ [MaxLength(32, ErrorMessage = "MaxLength")]+ [Required(ErrorMessage = "Required")]+ public string warehouse_name { get; set; } = string.Empty;++ /// <summary>+ /// safety stock+ /// </summary>+ [Display(Name = "safety_stock_qty")]+ public int safety_stock_qty { get; set; } = 0;+ #endregion+ }+}diff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Sku/SkuViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Sku/SkuViewModel.csindex cdb1980..f70f636 100644--- a/backend/ModernWMS.WMS/Entities/ViewModels/Sku/SkuViewModel.cs+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Sku/SkuViewModel.cs@@ -54,6 +54,13 @@ namespace ModernWMS.WMS.Entities.ViewModels[MaxLength(200, ErrorMessage = "MaxLength")]public string sku_name { get; set; } = string.Empty;+ /// <summary>+ /// bar_code+ /// </summary>+ [Display(Name = "bar_code")]+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string bar_code { get; set; } = string.Empty;+/// <summary>/// weight/// </summary>@@ -118,5 +125,12 @@ namespace ModernWMS.WMS.Entities.ViewModelspublic DateTime last_update_time { get; set; } = DateTime.Now;#endregion+ #region sku safety stock+ /// <summary>+ /// sku safety sotck+ /// </summary>+ public List<SkuSafetyStockViewModel> detailList { get; set; } = new List<SkuSafetyStockViewModel>();++ #endregion}}diff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Sku/SpuViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Sku/SpuViewModel.csindex 6c820ca..ddba3cc 100644--- a/backend/ModernWMS.WMS/Entities/ViewModels/Sku/SpuViewModel.cs+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Sku/SpuViewModel.cs@@ -68,13 +68,6 @@ namespace ModernWMS.WMS.Entities.ViewModels[MaxLength(1000, ErrorMessage = "MaxLength")]public string spu_description { get; set; } = string.Empty;- /// <summary>- /// bar_code- /// </summary>- [Display(Name = "bar_code")]- [MaxLength(64, ErrorMessage = "MaxLength")]- public string bar_code { get; set; } = string.Empty;-/// <summary>/// supplier_id/// </summary>diff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Stock/DeliveryStatisticSearchViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Stock/DeliveryStatisticSearchViewModel.csnew file mode 100644index 0000000..2aa910f--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Stock/DeliveryStatisticSearchViewModel.cs@@ -0,0 +1,108 @@+/*+ * date:2023-9-8+ * developer:NoNo+ */++using ModernWMS.Core.Utility;+using System;+using System.Collections.Generic;+using System.ComponentModel.DataAnnotations;+using System.Linq;+using System.Text;+using System.Threading.Tasks;++namespace ModernWMS.WMS.Entities.ViewModels.Stock+{+ /// <summary>+ /// delivery data statistic input viewModel+ /// </summary>+ public class DeliveryStatisticSearchViewModel+ {+ #region constructor++ /// <summary>+ /// constructor+ /// </summary>+ public DeliveryStatisticSearchViewModel()+ {+ }++ #endregion constructor++ #region Property++ /// <summary>+ /// current page number+ /// </summary>+ public int pageIndex { get; set; } = 1;++ /// <summary>+ /// rows per page+ /// </summary>+ public int pageSize { get; set; } = 20;++ /// <summary>+ /// spu_code+ /// </summary>+ [Display(Name = "spu_code")]+ [MaxLength(32, ErrorMessage = "MaxLength")]+ public string spu_code { get; set; } = string.Empty;++ /// <summary>+ /// spu_name+ /// </summary>+ [Display(Name = "spu_name")]+ [MaxLength(200, ErrorMessage = "MaxLength")]+ public string spu_name { get; set; } = string.Empty;++ /// <summary>+ /// sku_code+ /// </summary>+ [Display(Name = "sku_code")]+ [MaxLength(32, ErrorMessage = "MaxLength")]+ public string sku_code { get; set; } = string.Empty;++ /// <summary>+ /// sku_name+ /// </summary>+ [Display(Name = "sku_name")]+ [MaxLength(200, ErrorMessage = "MaxLength")]+ public string sku_name { get; set; } = string.Empty;++ /// <summary>+ /// warehouse_name+ /// </summary>+ [Display(Name = "warehouse_name")]+ [MaxLength(32, ErrorMessage = "MaxLength")]+ public string warehouse_name { get; set; } = string.Empty;++ /// <summary>+ /// customer_name+ /// </summary>+ [Display(Name = "customer_name")]+ [MaxLength(256, ErrorMessage = "MaxLength")]+ public string customer_name { get; set; } = string.Empty;++ /// <summary>+ /// Delivery date from+ /// </summary>+ [Display(Name = "delivery_date_from")]+ [DataType(DataType.DateTime, ErrorMessage = "DataType_DateTime")]+ public DateTime delivery_date_from { get; set; } = UtilConvert.MinDate;++ /// <summary>+ /// Delivery date to+ /// </summary>+ [Display(Name = "delivery_date_to")]+ [DataType(DataType.DateTime, ErrorMessage = "DataType_DateTime")]+ public DateTime delivery_date_to { get; set; } = UtilConvert.MinDate;++ /// <summary>+ /// goods_owner_name+ /// </summary>+ [Display(Name = "goods_owner_name")]+ public string goods_owner_name { get; set; } = string.Empty;++ #endregion Property+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Stock/DeliveryStatisticViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Stock/DeliveryStatisticViewModel.csnew file mode 100644index 0000000..dbcf284--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Stock/DeliveryStatisticViewModel.cs@@ -0,0 +1,104 @@+/*+ * date:2023-9-8+ * developer:NoNo+ */++using ModernWMS.Core.Utility;+using System;+using System.Collections.Generic;+using System.ComponentModel.DataAnnotations;+using System.Linq;+using System.Text;+using System.Threading.Tasks;++namespace ModernWMS.WMS.Entities.ViewModels.Stock+{+ /// <summary>+ /// delivery data statistic viewmodel+ /// </summary>+ public class DeliveryStatisticViewModel+ {+ #region constructor++ /// <summary>+ /// constructor+ /// </summary>+ public DeliveryStatisticViewModel()+ {+ }++ #endregion constructor++ #region Property++ /// <summary>+ /// dispatch_no+ /// </summary>+ public string dispatch_no { get; set; } = string.Empty;++ /// <summary>+ /// warehouse_name+ /// </summary>+ public string warehouse_name { get; set; } = string.Empty;++ /// <summary>+ /// location_name+ /// </summary>+ public string location_name { get; set; } = string.Empty;++ /// <summary>+ /// sku_code+ /// </summary>+ public string sku_code { get; set; } = string.Empty;++ /// <summary>+ /// sku_name+ /// </summary>+ public string sku_name { get; set; } = string.Empty;++ /// <summary>+ /// spu_code+ /// </summary>+ public string spu_code { get; set; } = string.Empty;++ /// <summary>+ /// spu_name+ /// </summary>+ public string spu_name { get; set; } = string.Empty;++ /// <summary>+ /// customer_name+ /// </summary>+ public string customer_name { get; set; } = string.Empty;++ /// <summary>+ /// series_number+ /// </summary>++ public string series_number { get; set; } = string.Empty;++ /// <summary>+ /// delivery qty+ /// </summary>+ public int delivery_qty { get; set; } = 0;++ /// <summary>+ /// Delivery date+ /// </summary>+ [Display(Name = "delivery_date")]+ [DataType(DataType.DateTime, ErrorMessage = "DataType_DateTime")]+ public DateTime delivery_date { get; set; } = UtilConvert.MinDate;++ /// <summary>+ /// goods owner name+ /// </summary>+ public string goods_owner_name { get; set; } = string.Empty;++ /// <summary>+ /// delivery amount+ /// </summary>+ public decimal delivery_amount { get; set; } = 0;++ #endregion Property+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Stock/LocationStockForPhoneSearchViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Stock/LocationStockForPhoneSearchViewModel.csindex 79d3ada..e4c45bf 100644--- a/backend/ModernWMS.WMS/Entities/ViewModels/Stock/LocationStockForPhoneSearchViewModel.cs+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Stock/LocationStockForPhoneSearchViewModel.cs@@ -1,7 +1,7 @@/*-* date:2023-9-3-* developer:NoNo-*/+ * date:2023-9-3+ * developer:NoNo+ */using System;using System.Collections.Generic;diff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Stock/LocationStockManagementViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Stock/LocationStockManagementViewModel.csindex 907f289..14168de 100644--- a/backend/ModernWMS.WMS/Entities/ViewModels/Stock/LocationStockManagementViewModel.cs+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Stock/LocationStockManagementViewModel.cs@@ -1,4 +1,9 @@-using System;+/*+ * date:2023-9-3+ * developer:NoNo+ */++using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations;using System.Linq;@@ -73,6 +78,13 @@ namespace ModernWMS.WMS.Entities.ViewModels/// </summary>public string goods_owner_name { get; set; } = string.Empty;+ /// <summary>+ /// series_number+ /// </summary>+ [Display(Name = "series_number")]+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string series_number { get; set; } = string.Empty;+/// <summary>/// goods_location_id/// </summary>diff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Stock/SafetyStockManagementViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Stock/SafetyStockManagementViewModel.csnew file mode 100644index 0000000..5d4dceb--- /dev/null+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Stock/SafetyStockManagementViewModel.cs@@ -0,0 +1,89 @@+/*+ * date:2023-9-3+ * developer:NoNo+ */++using System;+using System.Collections.Generic;+using System.Linq;+using System.Text;+using System.Threading.Tasks;++namespace ModernWMS.WMS.Entities.ViewModels.Stock+{+ /// <summary>+ /// safety stock mangement viewmodel+ /// </summary>+ public class SafetyStockManagementViewModel+ {+ #region constructor++ /// <summary>+ /// constructor+ /// </summary>+ public SafetyStockManagementViewModel()+ {+ }++ #endregion constructor++ #region Property++ /// <summary>+ /// warehouse_name+ /// </summary>+ public string warehouse_name { get; set; } = string.Empty;++ /// <summary>+ /// spu_code+ /// </summary>+ public string spu_code { get; set; } = string.Empty;++ /// <summary>+ /// spu_name+ /// </summary>+ public string spu_name { get; set; } = string.Empty;++ /// <summary>+ /// sku_code+ /// </summary>+ public string sku_code { get; set; } = string.Empty;++ /// <summary>+ /// sku_name+ /// </summary>+ public string sku_name { get; set; } = string.Empty;++ /// <summary>+ /// sku_id+ /// </summary>+ public int sku_id { get; set; } = 0;++ /// <summary>+ /// quantity+ /// </summary>+ public int qty { get; set; } = 0;++ /// <summary>+ /// quantity available+ /// </summary>+ public int qty_available { get; set; } = 0;++ /// <summary>+ /// quantity locked+ /// </summary>+ public int qty_locked { get; set; } = 0;++ /// <summary>+ /// quantity frozen+ /// </summary>+ public int qty_frozen { get; set; } = 0;++ /// <summary>+ /// safety_stock_qty+ /// </summary>+ public int safety_stock_qty { get; set; } = 0;++ #endregion Property+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Stock/StockManagementViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Stock/StockManagementViewModel.csindex 93ecbd7..27a1cec 100644--- a/backend/ModernWMS.WMS/Entities/ViewModels/Stock/StockManagementViewModel.cs+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Stock/StockManagementViewModel.cs@@ -12,15 +12,18 @@ namespace ModernWMS.WMS.Entities.ViewModelspublic class StockManagementViewModel{#region constructor+/// <summary>/// constructor/// </summary>public StockManagementViewModel(){-}- #endregion++ #endregion constructor+#region Property+/// <summary>/// spu_code/// </summary>@@ -49,7 +52,7 @@ namespace ModernWMS.WMS.Entities.ViewModels/// <summary>/// quantity available/// </summary>- public int qty_available { get; set; } = 0;+ public int qty_available { get; set; } = 0;/// <summary>/// quantity locked@@ -85,7 +88,7 @@ namespace ModernWMS.WMS.Entities.ViewModels/// shortage qty/// </summary>public int shortage_qty { get; set; } = 0;- #endregion+ #endregion Property}-}+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Stock/StockViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Stock/StockViewModel.csindex 5aceca8..b3a6ff2 100644--- a/backend/ModernWMS.WMS/Entities/ViewModels/Stock/StockViewModel.cs+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Stock/StockViewModel.cs@@ -2,6 +2,7 @@* date:2022-12-22* developer:NoNo*/+using System;using System.ComponentModel.DataAnnotations;using ModernWMS.Core.Utility;@@ -13,16 +14,17 @@ namespace ModernWMS.WMS.Entities.ViewModels/// </summary>public class StockViewModel{-#region constructor+/// <summary>/// constructor/// </summary>public StockViewModel(){-}- #endregion++ #endregion constructor+#region Property/// <summary>@@ -119,7 +121,14 @@ namespace ModernWMS.WMS.Entities.ViewModels/// goods owner name/// </summary>public string goods_owner_name { get; set; } = string.Empty;- #endregion+ /// <summary>+ /// series_number+ /// </summary>+ [Display(Name = "series_number")]+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string series_number { get; set; } = string.Empty;++ #endregion Property}-}+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Stockadjust/StockadjustViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Stockadjust/StockadjustViewModel.csindex c8e076c..74ad15a 100644--- a/backend/ModernWMS.WMS/Entities/ViewModels/Stockadjust/StockadjustViewModel.cs+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Stockadjust/StockadjustViewModel.cs@@ -2,6 +2,7 @@* date:2022-12-26* developer:NoNo*/+using System;using System.ComponentModel.DataAnnotations;using ModernWMS.Core.Utility;@@ -13,23 +14,24 @@ namespace ModernWMS.WMS.Entities.ViewModels/// </summary>public class StockadjustViewModel{+ #region constructor++ /// <summary>+ /// constructor+ /// </summary>+ public StockadjustViewModel()+ {+ }++ #endregion constructor- #region constructor- /// <summary>- /// constructor- /// </summary>- public StockadjustViewModel()- {-- }- #endregion#region Property/// <summary>/// id/// </summary>[Display(Name = "id")]- public int id { get; set; } = 0;+ public int id { get; set; } = 0;/// <summary>/// job_type@@ -41,8 +43,8 @@ namespace ModernWMS.WMS.Entities.ViewModels/// job_code/// </summary>[Display(Name = "job_code")]- [MaxLength(32,ErrorMessage = "MaxLength")]- public string job_code { get; set; } = string.Empty;+ [MaxLength(32, ErrorMessage = "MaxLength")]+ public string job_code { get; set; } = string.Empty;/// <summary>/// spu_code@@ -101,49 +103,54 @@ namespace ModernWMS.WMS.Entities.ViewModels/// qty/// </summary>[Display(Name = "qty")]- public int qty { get; set; } = 0;+ public int qty { get; set; } = 0;/// <summary>/// creator/// </summary>[Display(Name = "creator")]- [MaxLength(64,ErrorMessage = "MaxLength")]- public string creator { get; set; } = string.Empty;+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string creator { get; set; } = string.Empty;/// <summary>/// create_time/// </summary>[Display(Name = "create_time")]- [DataType(DataType.DateTime, ErrorMessage = "DataType_DateTime")]- public DateTime create_time { get; set; } = UtilConvert.MinDate;+ [DataType(DataType.DateTime, ErrorMessage = "DataType_DateTime")]+ public DateTime create_time { get; set; } = UtilConvert.MinDate;/// <summary>/// last_update_time/// </summary>[Display(Name = "last_update_time")]- [DataType(DataType.DateTime, ErrorMessage = "DataType_DateTime")]- public DateTime last_update_time { get; set; } = UtilConvert.MinDate;+ [DataType(DataType.DateTime, ErrorMessage = "DataType_DateTime")]+ public DateTime last_update_time { get; set; } = UtilConvert.MinDate;/// <summary>/// tenant_id/// </summary>[Display(Name = "tenant_id")]- public long tenant_id { get; set; } = 0;+ public long tenant_id { get; set; } = 0;/// <summary>/// is_update_stock/// </summary>[Display(Name = "is_update_stock")]- public bool is_update_stock { get; set; } =false;+ public bool is_update_stock { get; set; } = false;/// <summary>/// source_table_id/// </summary>[Display(Name = "source_table_id")]- public int source_table_id { get; set; } = 0;-+ public int source_table_id { get; set; } = 0;- #endregion+ /// <summary>+ /// series_number+ /// </summary>+ [Display(Name = "series_number")]+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string series_number { get; set; } = string.Empty;+ #endregion Property}-}+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Stockfreeze/StockfreezeViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Stockfreeze/StockfreezeViewModel.csindex 4de60e5..e852b40 100644--- a/backend/ModernWMS.WMS/Entities/ViewModels/Stockfreeze/StockfreezeViewModel.cs+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Stockfreeze/StockfreezeViewModel.cs@@ -2,6 +2,7 @@* date:2022-12-26* developer:NoNo*/+using System;using System.ComponentModel.DataAnnotations;using ModernWMS.Core.Utility;@@ -13,81 +14,82 @@ namespace ModernWMS.WMS.Entities.ViewModels/// </summary>public class StockfreezeViewModel{+ #region constructor++ /// <summary>+ /// constructor+ /// </summary>+ public StockfreezeViewModel()+ {+ }++ #endregion constructor- #region constructor- /// <summary>- /// constructor- /// </summary>- public StockfreezeViewModel()- {-- }- #endregion#region Property/// <summary>/// id/// </summary>[Display(Name = "id")]- public int id { get; set; } = 0;+ public int id { get; set; } = 0;/// <summary>/// job_code/// </summary>[Display(Name = "job_code")]- [MaxLength(32,ErrorMessage = "MaxLength")]- public string job_code { get; set; } = string.Empty;+ [MaxLength(32, ErrorMessage = "MaxLength")]+ public string job_code { get; set; } = string.Empty;/// <summary>/// job_type/// </summary>[Display(Name = "job_type")]- public bool job_type { get; set; } =true;+ public bool job_type { get; set; } = true;/// <summary>/// sku_id/// </summary>[Display(Name = "sku_id")]- public int sku_id { get; set; } = 0;+ public int sku_id { get; set; } = 0;/// <summary>/// goods_owner_id/// </summary>[Display(Name = "goods_owner_id")]- public int goods_owner_id { get; set; } = 0;+ public int goods_owner_id { get; set; } = 0;/// <summary>/// goods_location_id/// </summary>[Display(Name = "goods_location_id")]- public int goods_location_id { get; set; } = 0;+ public int goods_location_id { get; set; } = 0;/// <summary>/// operator/// </summary>[Display(Name = "handler")]- [MaxLength(64,ErrorMessage = "MaxLength")]- public string handler { get; set; } = string.Empty;+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string handler { get; set; } = string.Empty;/// <summary>/// operate_time/// </summary>[Display(Name = "handle_time")]- [DataType(DataType.DateTime, ErrorMessage = "DataType_DateTime")]- public DateTime handle_time { get; set; } = UtilConvert.MinDate;+ [DataType(DataType.DateTime, ErrorMessage = "DataType_DateTime")]+ public DateTime handle_time { get; set; } = UtilConvert.MinDate;/// <summary>/// last_update_time/// </summary>[Display(Name = "last_update_time")]- [DataType(DataType.DateTime, ErrorMessage = "DataType_DateTime")]- public DateTime last_update_time { get; set; } = UtilConvert.MinDate;+ [DataType(DataType.DateTime, ErrorMessage = "DataType_DateTime")]+ public DateTime last_update_time { get; set; } = UtilConvert.MinDate;/// <summary>/// tenant_id/// </summary>[Display(Name = "tenant_id")]- public long tenant_id { get; set; } = 0;+ public long tenant_id { get; set; } = 0;/// <summary>/// warehouse_name@@ -113,7 +115,14 @@ namespace ModernWMS.WMS.Entities.ViewModels/// sku_code/// </summary>public string sku_code { get; set; } = string.Empty;- #endregion+ /// <summary>+ /// series_number+ /// </summary>+ [Display(Name = "series_number")]+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string series_number { get; set; } = string.Empty;++ #endregion Property}-}+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Stockmove/StockmoveViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Stockmove/StockmoveViewModel.csindex a336461..9d6432a 100644--- a/backend/ModernWMS.WMS/Entities/ViewModels/Stockmove/StockmoveViewModel.cs+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Stockmove/StockmoveViewModel.cs@@ -2,6 +2,7 @@* date:2022-12-27* developer:NoNo*/+using System;using System.ComponentModel.DataAnnotations;using ModernWMS.Core.Utility;@@ -13,16 +14,17 @@ namespace ModernWMS.WMS.Entities.ViewModels/// </summary>public class StockmoveViewModel{-#region constructor+/// <summary>/// constructor/// </summary>public StockmoveViewModel(){-}- #endregion++ #endregion constructor+#region Property/// <summary>@@ -154,7 +156,14 @@ namespace ModernWMS.WMS.Entities.ViewModels/// sku_name/// </summary>public string sku_name { get; set; } = string.Empty;- #endregion+ /// <summary>+ /// series_number+ /// </summary>+ [Display(Name = "series_number")]+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string series_number { get; set; } = string.Empty;++ #endregion Property}-}+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/ViewModels/Stockprocess/StockprocessdetailViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/Stockprocess/StockprocessdetailViewModel.csindex 7c8f44d..bc08b04 100644--- a/backend/ModernWMS.WMS/Entities/ViewModels/Stockprocess/StockprocessdetailViewModel.cs+++ b/backend/ModernWMS.WMS/Entities/ViewModels/Stockprocess/StockprocessdetailViewModel.cs@@ -2,6 +2,7 @@* date:2022-12-23* developer:NoNo*/+using System;using System.ComponentModel.DataAnnotations;using ModernWMS.Core.Utility;@@ -13,16 +14,17 @@ namespace ModernWMS.WMS.Entities.ViewModels/// </summary>public class StockprocessdetailViewModel{-#region constructor+/// <summary>/// constructor/// </summary>public StockprocessdetailViewModel(){-}- #endregion++ #endregion constructor+#region Property/// <summary>@@ -72,7 +74,7 @@ namespace ModernWMS.WMS.Entities.ViewModels/// tenant_id/// </summary>[Display(Name = "tenant_id")]- public long tenant_id { get; set; } = 0;+ public long tenant_id { get; set; } = 0;/// <summary>/// is_source@@ -109,7 +111,14 @@ namespace ModernWMS.WMS.Entities.ViewModels/// goods location name/// </summary>public string location_name { get; set; } = string.Empty;- #endregion+ /// <summary>+ /// series_number+ /// </summary>+ [Display(Name = "series_number")]+ [MaxLength(64, ErrorMessage = "MaxLength")]+ public string series_number { get; set; } = string.Empty;++ #endregion Property}-}+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Entities/ViewModels/User/UserViewModel.cs b/backend/ModernWMS.WMS/Entities/ViewModels/User/UserViewModel.csindex 6aca893..0469ac7 100644--- a/backend/ModernWMS.WMS/Entities/ViewModels/User/UserViewModel.cs+++ b/backend/ModernWMS.WMS/Entities/ViewModels/User/UserViewModel.cs@@ -11,11 +11,13 @@ namespace ModernWMS.WMS.Entities.ViewModelspublic class UserViewModel{#region constructor+public UserViewModel(){-}- #endregion++ #endregion constructor+#region property/// <summary>@@ -26,10 +28,9 @@ namespace ModernWMS.WMS.Entities.ViewModels/// <summary>/// user's number/// </summary>- [Display(Name ="user_num")]+ [Display(Name = "user_num")][Required(ErrorMessage = "Required")][MaxLength(128, ErrorMessage = "MaxLength")]-public string user_num { get; set; } = string.Empty;/// <summary>@@ -89,7 +90,7 @@ namespace ModernWMS.WMS.Entities.ViewModels[DataType(DataType.DateTime, ErrorMessage = "DataType_DateTime")]public DateTime create_time { get; set; } = UtilConvert.MinDate;- /// <summary>+ /// <summary>/// last update time/// </summary>[Display(Name = "last_update_time")]@@ -100,8 +101,8 @@ namespace ModernWMS.WMS.Entities.ViewModels/// tenant/// </summary>[Display(Name = "tenant")]- public long tenant_id { get; set; } = 0;+ public long tenant_id { get; set; } = 0;- #endregion+ #endregion property}-}+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/IServices/ActionLog/IActionLogService.cs b/backend/ModernWMS.WMS/IServices/ActionLog/IActionLogService.csnew file mode 100644index 0000000..39e4d8c--- /dev/null+++ b/backend/ModernWMS.WMS/IServices/ActionLog/IActionLogService.cs@@ -0,0 +1,37 @@+/*+ * date:2023-08-24+ * developer:NoNo+ */++using ModernWMS.Core.JWT;+using ModernWMS.Core.Models;+using ModernWMS.Core.Services;+using ModernWMS.WMS.Entities.Models;+using ModernWMS.WMS.Entities.ViewModels;++namespace ModernWMS.WMS.IServices+{+ /// <summary>+ /// Interface of Action_logService+ /// </summary>+ public interface IActionLogService : IBaseService<ActionLogEntity>+ {+ #region Api++ /// <summary>+ /// page search+ /// </summary>+ /// <param name="pageSearch">args</param>+ /// <param name="currentUser">currentUser</param>+ /// <returns></returns>+ Task<(List<ActionLogViewModel> data, int totals)> PageAsync(PageSearch pageSearch, CurrentUser currentUser);++ /// <summary>+ /// add a new log record+ /// </summary>+ /// <returns></returns>+ Task<bool> AddLogAsync(string vue_path, string content, CurrentUser currentUser);++ #endregion Api+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/IServices/Asn/IAsnService.cs b/backend/ModernWMS.WMS/IServices/Asn/IAsnService.csindex f29efdd..45594d0 100644--- a/backend/ModernWMS.WMS/IServices/Asn/IAsnService.cs+++ b/backend/ModernWMS.WMS/IServices/Asn/IAsnService.cs@@ -65,55 +65,72 @@ namespace ModernWMS.WMS.IServices/// Confirm Delivery/// change the asn_status from 0 to 1/// </summary>- /// <param name="id">id</param>+ /// <param name="viewModels">args</param>/// <returns></returns>- Task<(bool flag, string msg)> ConfirmAsync(int id);+ Task<(bool flag, string msg)> ConfirmAsync(List<AsnConfirmInputViewModel> viewModels);/// <summary>/// Cancel confirm, change asn_status 1 to 0/// </summary>- /// <param name="id">id</param>+ /// <param name="idList">id list</param>/// <returns></returns>- Task<(bool flag, string msg)> ConfirmCancelAsync(int id);+ Task<(bool flag, string msg)> ConfirmCancelAsync(List<int> idList);/// <summary>/// Unload/// change the asn_status from 1 to 2/// </summary>- /// <param name="id">id</param>+ /// <param name="viewModels">args</param>+ /// <param name="user">user</param>/// <returns></returns>- Task<(bool flag, string msg)> UnloadAsync(int id);+ Task<(bool flag, string msg)> UnloadAsync(List<AsnUnloadInputViewModel> viewModels, CurrentUser user);/// <summary>/// Cancel unload/// change the asn_status from 2 to 1/// </summary>- /// <param name="id">id</param>+ /// <param name="idList">id list</param>/// <returns></returns>- Task<(bool flag, string msg)> UnloadCancelAsync(int id);+ Task<(bool flag, string msg)> UnloadCancelAsync(List<int> idList);/// <summary>/// sorting, add a new asnsort record and update asn sorted_qty/// </summary>- /// <param name="viewModel">args</param>+ /// <param name="viewModels">args</param>/// <param name="currentUser">currentUser</param>/// <returns></returns>- Task<(bool flag, string msg)> SortingAsync(AsnsortInputViewModel viewModel, CurrentUser currentUser);+ Task<(bool flag, string msg)> SortingAsync(List<AsnsortInputViewModel> viewModels, CurrentUser currentUser);++ /// <summary>+ /// get asnsorts list by asn_id+ /// </summary>+ /// <param name="asn_id">asn id</param>+ /// <returns></returns>+ Task<List<AsnsortEntity>> GetAsnsortsAsync(int asn_id);++ /// <summary>+ /// update or delete asnsorts data+ /// </summary>+ /// <param name="entities">data</param>+ /// <param name="user">CurrentUser</param>+ /// <returns></returns>+ Task<(bool flag, string msg)> ModifyAsnsortsAsync(List<AsnsortEntity> entities, CurrentUser user);+/// <summary>/// Sorted/// change the asn_status from 2 to 3/// </summary>- /// <param name="id">id</param>+ /// <param name="idList">id list</param>/// <returns></returns>- Task<(bool flag, string msg)> SortedAsync(int id);+ Task<(bool flag, string msg)> SortedAsync(List<int> idList);/// <summary>/// Cancel sorted/// change the asn_status from 3 to 2/// </summary>- /// <param name="id">id</param>+ /// <param name="idList">id list</param>/// <returns></returns>- Task<(bool flag, string msg)> SortedCancelAsync(int id);+ Task<(bool flag, string msg)> SortedCancelAsync(List<int> idList);/// <summary>/// get pending putaway data by asn_id@@ -125,20 +142,50 @@ namespace ModernWMS.WMS.IServices/// <summary>/// PutAway/// </summary>- /// <param name="viewModel">args</param>+ /// <param name="viewModels">args</param>/// <param name="currentUser">currentUser</param>/// <returns></returns>- Task<(bool flag, string msg)> PutAwayAsync(AsnPutAwayInputViewModel viewModel, CurrentUser currentUser);+ Task<(bool flag, string msg)> PutAwayAsync(List<AsnPutAwayInputViewModel> viewModels, CurrentUser currentUser);#endregion- #region excel import++ #region Arrival list/// <summary>- /// excel import+ /// Arrival list/// </summary>- /// <param name="excelData">excel data</param>- /// <param name="currentUser">current user</param>+ /// <param name="pageSearch">args</param>+ /// <param name="currentUser">currentUser</param>+ /// <returns></returns>+ Task<(List<AsnmasterBothViewModel> data, int totals)> PageAsnmasterAsync(PageSearch pageSearch, CurrentUser currentUser);+ /// <summary>+ /// get Arrival list+ /// </summary>+ /// <param name="id"></param>+ /// <param name="currentUser"></param>+ /// <returns></returns>+ Task<AsnmasterBothViewModel> GetAsnmasterAsync(int id, CurrentUser currentUser);++ /// <summary>+ /// add a new record+ /// </summary>+ /// <param name="viewModel">viewmodel</param>+ /// <param name="currentUser">currentUser</param>+ /// <returns></returns>+ Task<(int id, string msg)> AddAsnmasterAsync(AsnmasterBothViewModel viewModel, CurrentUser currentUser);+ /// <summary>+ /// add a new record+ /// </summary>+ /// <param name="viewModel">viewmodel</param>+ /// <param name="currentUser">currentUser</param>+ /// <returns></returns>+ Task<(bool flag, string msg)> UpdateAsnmasterAsync(AsnmasterBothViewModel viewModel, CurrentUser currentUser);++ /// <summary>+ /// delete a record+ /// </summary>+ /// <param name="id">id</param>/// <returns></returns>- Task<(bool flag, string msg, List<AsnExcelImportViewModel> errList)> ImportAsync(List<AsnExcelImportViewModel> excelData, CurrentUser currentUser);+ Task<(bool flag, string msg)> DeleteAsnmasterAsync(int id);#endregion}}diff --git a/backend/ModernWMS.WMS/IServices/Dispatchlist/IDispatchlistService.cs b/backend/ModernWMS.WMS/IServices/Dispatchlist/IDispatchlistService.csindex d2a4f51..d8a24f9 100644--- a/backend/ModernWMS.WMS/IServices/Dispatchlist/IDispatchlistService.cs+++ b/backend/ModernWMS.WMS/IServices/Dispatchlist/IDispatchlistService.cs@@ -158,7 +158,7 @@ namespace ModernWMS.WMS.IServices/// <param name="currentUser">currentUser</param>/// <returns></returns>Task<(bool flag, string msg)> Import(List<DispatchlistImportViewModel> viewModels, CurrentUser currentUser);- #endregion- }+ #endregion+ }}diff --git a/backend/ModernWMS.WMS/IServices/Print/IPrintSolutionService.cs b/backend/ModernWMS.WMS/IServices/Print/IPrintSolutionService.csnew file mode 100644index 0000000..4de575a--- /dev/null+++ b/backend/ModernWMS.WMS/IServices/Print/IPrintSolutionService.cs@@ -0,0 +1,73 @@+/*+ * date:2023-09-11+ * developer:NoNo+ */++using ModernWMS.Core.JWT;+using ModernWMS.Core.Models;+using ModernWMS.Core.Services;+using ModernWMS.WMS.Entities.Models;+using ModernWMS.WMS.Entities.ViewModels;++namespace ModernWMS.WMS.IServices+{+ /// <summary>+ /// Interface of User_defined_print_solutionService+ /// </summary>+ public interface IPrintSolutionService : IBaseService<PrintSolutionEntity>+ {+ #region Api++ /// <summary>+ /// page search+ /// </summary>+ /// <param name="pageSearch">args</param>+ /// <param name="currentUser">current user</param>+ /// <returns></returns>+ Task<(List<PrintSolutionViewModel> data, int totals)> PageAsync(PageSearch pageSearch, CurrentUser currentUser);++ /// <summary>+ /// Get all records+ /// </summary>+ /// <returns></returns>+ Task<List<PrintSolutionViewModel>> GetAllAsync(CurrentUser currentUser);++ /// <summary>+ /// Get a record by id+ /// </summary>+ /// <param name="id">primary key</param>+ /// <returns></returns>+ Task<PrintSolutionViewModel> GetAsync(int id);++ /// <summary>+ /// get a record by path+ /// </summary>+ /// <param name="input">input</param>+ /// <param name="currentUser">currentUser</param>+ /// <returns></returns>+ Task<List<PrintSolutionViewModel>> GetByPathAsync(PrintSolutionGetByPathInputViewModel input, CurrentUser currentUser);++ /// <summary>+ /// add a new record+ /// </summary>+ /// <param name="viewModel">viewmodel</param>+ /// <returns></returns>+ Task<(int id, string msg)> AddAsync(PrintSolutionViewModel viewModel, CurrentUser currentUser);++ /// <summary>+ /// update a record+ /// </summary>+ /// <param name="viewModel">viewmodel</param>+ /// <returns></returns>+ Task<(bool flag, string msg)> UpdateAsync(PrintSolutionViewModel viewModel);++ /// <summary>+ /// delete a record+ /// </summary>+ /// <param name="id">id</param>+ /// <returns></returns>+ Task<(bool flag, string msg)> DeleteAsync(int id);++ #endregion Api+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/IServices/Sku/ISpuService.cs b/backend/ModernWMS.WMS/IServices/Sku/ISpuService.csindex 1b065fb..8e43f25 100644--- a/backend/ModernWMS.WMS/IServices/Sku/ISpuService.cs+++ b/backend/ModernWMS.WMS/IServices/Sku/ISpuService.cs@@ -35,6 +35,14 @@ using ModernWMS.WMS.Entities.ViewModels;/// <param name="sku_id">sku_id</param>/// <returns></returns>Task<SkuDetailViewModel> GetSkuAsync(int sku_id);++ /// <summary>+ /// get sku info by bar_code+ /// </summary>+ /// <param name="bar_code">bar_code</param>+ /// <returns></returns>+ Task<SkuDetailViewModel> GetSkuByBarCodeAsync(string bar_code);+/// <summary>/// add a new record/// </summary>@@ -56,6 +64,15 @@ using ModernWMS.WMS.Entities.ViewModels;/// <returns></returns>Task<(bool flag, string msg)> DeleteAsync(int id);#endregion++ #region add or update sku_safety_stock+ /// <summary>+ /// add or update sku_safety_stock+ /// </summary>+ /// <param name="viewModel">args</param>+ /// <returns></returns>+ Task<(bool flag, string msg)> InsertOrUpdateSkuSafetyStockAsync(SkuSafetyStockPutViewModel viewModel);+ #endregion}- }+}diff --git a/backend/ModernWMS.WMS/IServices/Stock/IStockService.cs b/backend/ModernWMS.WMS/IServices/Stock/IStockService.csindex d78394d..40a2667 100644--- a/backend/ModernWMS.WMS/IServices/Stock/IStockService.cs+++ b/backend/ModernWMS.WMS/IServices/Stock/IStockService.cs@@ -8,6 +8,7 @@ using ModernWMS.Core.Models;using ModernWMS.Core.JWT;using ModernWMS.WMS.Entities.Models;using ModernWMS.WMS.Entities.ViewModels;+using ModernWMS.WMS.Entities.ViewModels.Stock;namespace ModernWMS.WMS.IServices{@@ -50,6 +51,14 @@ namespace ModernWMS.WMS.IServices/// <returns></returns>Task<(List<SkuSelectViewModel> data, int totals)> SkuSelectPageAsync(PageSearch pageSearch, CurrentUser currentUser);+ /// <summary>+ /// safety stock+ /// </summary>+ /// <param name="pageSearch">args</param>+ /// <param name="currentUser">currentUser</param>+ /// <returns></returns>+ Task<(List<SafetyStockManagementViewModel> data, int totals)> SafetyStockPageAsync(PageSearch pageSearch, CurrentUser currentUser);+/// <summary>/// get stock infomation by phone/// </summary>@@ -58,6 +67,14 @@ namespace ModernWMS.WMS.IServices/// <returns></returns>Task<List<LocationStockManagementViewModel>> LocationStockForPhoneAsync(LocationStockForPhoneSearchViewModel input, CurrentUser currentUser);+ /// <summary>+ /// delivery statistic+ /// </summary>+ /// <param name="input">input</param>+ /// <param name="currentUser">current user</param>+ /// <returns></returns>+ Task<(List<DeliveryStatisticViewModel> datas, int totals)> DeliveryStatistic(DeliveryStatisticSearchViewModel input, CurrentUser currentUser);+#endregion Api}}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/IServices/Stockprocess/IStockprocessService.cs b/backend/ModernWMS.WMS/IServices/Stockprocess/IStockprocessService.csindex 6c32ec4..fd7de78 100644--- a/backend/ModernWMS.WMS/IServices/Stockprocess/IStockprocessService.cs+++ b/backend/ModernWMS.WMS/IServices/Stockprocess/IStockprocessService.cs@@ -70,12 +70,6 @@/// <param name="currentUser">current user</param>/// <returns></returns>Task<(bool flag, string msg)> ConfirmAdjustment(int id, CurrentUser currentUser);-- /// <summary>- /// Excel Import- /// </summary>- /// <returns></returns>- Task<(bool flag, string msg)> Import(List<StockprocessImportViewModel> viewModels, CurrentUser currentUser);#endregion}}diff --git a/backend/ModernWMS.WMS/IServices/user/IUserService.cs b/backend/ModernWMS.WMS/IServices/user/IUserService.csindex 9f40fb0..ac45fff 100644--- a/backend/ModernWMS.WMS/IServices/user/IUserService.cs+++ b/backend/ModernWMS.WMS/IServices/user/IUserService.cs@@ -2,9 +2,10 @@* date:2022-12-20* developer:NoNo*/- using ModernWMS.Core.Services;- using ModernWMS.WMS.Entities.Models;- using ModernWMS.WMS.Entities.ViewModels;++using ModernWMS.Core.Services;+using ModernWMS.WMS.Entities.Models;+using ModernWMS.WMS.Entities.ViewModels;using ModernWMS.Core.Models;using ModernWMS.Core.JWT;@@ -13,15 +14,17 @@ namespace ModernWMS.WMS.IServices/// <summary>/// Interface of UserService/// </summary>- public interface IUserService : IBaseService<userEntity>- {+ public interface IUserService : IBaseService<userEntity>+ {#region Api+/// <summary>/// get select items/// </summary>/// <param name="currentUser">current user</param>/// <returns></returns>Task<List<FormSelectItem>> GetSelectItemsAsnyc(CurrentUser currentUser);+/// <summary>/// page search/// </summary>@@ -29,23 +32,27 @@ namespace ModernWMS.WMS.IServices/// <param name="currentUser">current user</param>/// <returns></returns>Task<(List<UserViewModel> data, int totals)> PageAsync(PageSearch pageSearch, CurrentUser currentUser);+/// <summary>/// Get all datas/// </summary>/// <returns></returns>Task<List<UserViewModel>> GetAllAsync(CurrentUser currentUser);- /// <summary>- /// Get a data by id- /// </summary>- /// <param name="id">primary key</param>- /// <returns></returns>- Task<UserViewModel> GetAsync(int id);- /// <summary>- /// add a new data- /// </summary>- /// <param name="viewModel">viewmodel</param>- /// <returns></returns>- Task<(int id, string msg)> AddAsync(UserViewModel viewModel, CurrentUser currentUser);++ /// <summary>+ /// Get a data by id+ /// </summary>+ /// <param name="id">primary key</param>+ /// <returns></returns>+ Task<UserViewModel> GetAsync(int id);++ /// <summary>+ /// add a new data+ /// </summary>+ /// <param name="viewModel">viewmodel</param>+ /// <returns></returns>+ Task<(int id, string msg)> AddAsync(UserViewModel viewModel, CurrentUser currentUser);+/// <summary>/// update a data/// </summary>@@ -53,13 +60,13 @@ namespace ModernWMS.WMS.IServices/// <param name="currentUser">currentUser</param>/// <returns></returns>Task<(bool flag, string msg)> UpdateAsync(UserViewModel viewModel, CurrentUser currentUser);-- /// <summary>- /// delete a data- /// </summary>- /// <param name="id">id</param>- /// <returns></returns>- Task<(bool flag, string msg)> DeleteAsync(int id);++ /// <summary>+ /// delete a data+ /// </summary>+ /// <param name="id">id</param>+ /// <returns></returns>+ Task<(bool flag, string msg)> DeleteAsync(int id);/// <summary>/// import users by excel@@ -67,7 +74,7 @@ namespace ModernWMS.WMS.IServices/// <param name="datas">excel datas</param>/// <param name="currentUser">current user</param>/// <returns></returns>- Task<(bool flag, string msg)> ExcelAsync(List<UserExcelImportViewModel> datas,CurrentUser currentUser);+ Task<(bool flag, string msg)> ExcelAsync(List<UserExcelImportViewModel> datas, CurrentUser currentUser);/// <summary>/// reset password@@ -89,7 +96,7 @@ namespace ModernWMS.WMS.IServices/// <param name="viewModel">viewModel</param>/// <returns></returns>Task<(bool flag, string msg)> Register(RegisterViewModel viewModel);- #endregion- }- }-++ #endregion Api+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/ModernWMS.WMS.csproj b/backend/ModernWMS.WMS/ModernWMS.WMS.csprojindex c24705c..66e26ad 100644--- a/backend/ModernWMS.WMS/ModernWMS.WMS.csproj+++ b/backend/ModernWMS.WMS/ModernWMS.WMS.csproj@@ -1,4 +1,4 @@-<Project Sdk="Microsoft.NET.Sdk">+<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup><TargetFramework>net7.0</TargetFramework>diff --git a/backend/ModernWMS.WMS/Services/ActionLog/ActionLogService.cs b/backend/ModernWMS.WMS/Services/ActionLog/ActionLogService.csnew file mode 100644index 0000000..87f2bb7--- /dev/null+++ b/backend/ModernWMS.WMS/Services/ActionLog/ActionLogService.cs@@ -0,0 +1,122 @@+/*+ * date:2023-08-24+ * developer:NoNo+ */++using Mapster;+using Microsoft.EntityFrameworkCore;+using ModernWMS.Core.DBContext;+using ModernWMS.Core.Services;+using ModernWMS.WMS.Entities.Models;+using ModernWMS.WMS.Entities.ViewModels;+using ModernWMS.WMS.IServices;+using Microsoft.Extensions.Localization;+using ModernWMS.Core.DynamicSearch;+using ModernWMS.Core.JWT;+using ModernWMS.Core.Models;++namespace ModernWMS.WMS.Services+{+ /// <summary>+ /// ActionLog Service+ /// </summary>+ public class ActionLogService : BaseService<ActionLogEntity>, IActionLogService+ {+ #region Args++ /// <summary>+ /// The DBContext+ /// </summary>+ private readonly SqlDBContext _dBContext;++ /// <summary>+ /// Localizer Service+ /// </summary>+ private readonly IStringLocalizer<ModernWMS.Core.MultiLanguage> _stringLocalizer;++ #endregion Args++ #region constructor++ /// <summary>+ ///ActionLog constructor+ /// </summary>+ /// <param name="dBContext">The DBContext</param>+ /// <param name="stringLocalizer">Localizer</param>+ public ActionLogService(+ SqlDBContext dBContext+ , IStringLocalizer<ModernWMS.Core.MultiLanguage> stringLocalizer+ )+ {+ this._dBContext = dBContext;+ this._stringLocalizer = stringLocalizer;+ }++ #endregion constructor++ #region Api++ /// <summary>+ /// add a new log record+ /// </summary>+ /// <returns></returns>+ public async Task<bool> AddLogAsync(string vue_path, string content, CurrentUser currentUser)+ {+ var DbSet = _dBContext.GetDbSet<ActionLogEntity>();+ var entity = new ActionLogEntity();+ entity.vue_path = vue_path;+ entity.action_content = content;+ entity.id = 0;+ entity.action_time = DateTime.Now;+ entity.tenant_id = currentUser.tenant_id;+ entity.user_name = currentUser.user_name;+ await DbSet.AddAsync(entity);+ await _dBContext.SaveChangesAsync();+ if (entity.id > 0)+ {+ return (true);+ }+ else+ {+ return (false);+ }+ }++ /// <summary>+ /// page search+ /// </summary>+ /// <param name="pageSearch">args</param>+ /// <param name="currentUser">currentUser</param>+ /// <returns></returns>+ public async Task<(List<ActionLogViewModel> data, int totals)> PageAsync(PageSearch pageSearch, CurrentUser currentUser)+ {+ QueryCollection queries = new QueryCollection();+ if (pageSearch.searchObjects.Any())+ {+ pageSearch.searchObjects.ForEach(s =>+ {+ queries.Add(s);+ });+ }+ var query = from log in _dBContext.GetDbSet<ActionLogEntity>().AsNoTracking()+ where log.tenant_id == currentUser.tenant_id+ select new ActionLogViewModel+ {+ id = log.id,+ vue_path = log.vue_path,+ user_name = log.user_name,+ action_content = log.action_content,+ action_time = log.action_time,+ };+ query = query.Where(queries.AsExpression<ActionLogViewModel>());+ int totals = await query.CountAsync();+ var list = await query.OrderByDescending(t => t.action_time)+ .Skip((pageSearch.pageIndex - 1) * pageSearch.pageSize)+ .Take(pageSearch.pageSize)+ .ToListAsync();+ return (list, totals);+ }++ #endregion Api+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Services/Approve/FlowSetService.cs b/backend/ModernWMS.WMS/Services/Approve/FlowSetService.csnew file mode 100644index 0000000..ee21eab--- /dev/null+++ b/backend/ModernWMS.WMS/Services/Approve/FlowSetService.cs@@ -0,0 +1,144 @@+/*+ * date:2023-08-18+ * developer:NoNo+ */++using ModernWMS.WMS.Entities.Models;+using Mapster;+using Microsoft.EntityFrameworkCore;+using Microsoft.Extensions.Localization;+using ModernWMS.Core.DBContext;+using ModernWMS.Core.DynamicSearch;+using ModernWMS.Core.JWT;+using ModernWMS.Core.Models;+using ModernWMS.Core.Services;+using ModernWMS.WMS.Entities.ViewModels;+using ModernWMS.WMS.IServices;+using ModernWMS.WMS.Entities.Models.Approve;+using ModernWMS.WMS.Entities.ViewModels.Approve;++namespace ModernWMS.WMS.Services+{+ /// <summary>+ /// FlowSet Service+ /// </summary>+ public class FlowSetService : BaseService<FlowSetEntity>+ {+ #region Args++ /// <summary>+ /// The DBContext+ /// </summary>+ private readonly SqlDBContext _dBContext;++ /// <summary>+ /// Localizer Service+ /// </summary>+ private readonly IStringLocalizer<ModernWMS.Core.MultiLanguage> _stringLocalizer;++ #endregion Args++ #region constructor++ /// <summary>+ /// FlowSet constructor+ /// </summary>+ /// <param name="dBContext">The DBContext</param>+ /// <param name="stringLocalizer">Localizer</param>+ public FlowSetService(+ SqlDBContext dBContext+ , IStringLocalizer<ModernWMS.Core.MultiLanguage> stringLocalizer+ )+ {+ this._dBContext = dBContext;+ this._stringLocalizer = stringLocalizer;+ }++ #endregion constructor++ /// <summary>+ /// get flowset map by id+ /// </summary>+ /// <param name="id"></param>+ /// <returns></returns>+ public async Task<FlowSetMapGetViewModel> GetFlowSetMap(int id)+ {+ var main_data = await _dBContext.Set<FlowSetMainEntity>().FirstOrDefaultAsync(t => t.id == id);+ if (main_data == null)+ {+ return null;+ }++ var flowset_data = await _dBContext.Set<FlowSetEntity>().Where(t => t.flowsetmain_id == main_data.id).ToListAsync();+ var user_data = await (from fsu in _dBContext.Set<FlowSetUserEntity>().AsNoTracking()+ join user in _dBContext.Set<userEntity>().AsNoTracking() on fsu.user_id equals user.id+ where fsu.flowsetmain_id == main_data.id+ select new FlowSetUserViewModel+ {+ id = fsu.id,+ flowset_id = fsu.flowset_id,+ menu = main_data.menu,+ node_guid = fsu.node_guid,+ user_id = fsu.user_id,+ user_name = user.user_name+ }+ ).ToListAsync();+ var filter_data = await (from fsf in _dBContext.Set<FlowSetFilterEntity>().AsNoTracking().Where(t => t.flowsetmain_id == main_data.id)+ select new FlowSetConditionViewModel+ {+ id = fsf.id,+ flowset_id = fsf.flowset_id,+ scheme_name = fsf.scheme_name,+ table_name = fsf.table_name,+ node_guid = fsf.node_guid,+ menu = main_data.menu,+ logic = fsf.logic,+ c1 = fsf.c1,+ c2 = fsf.c2,+ col_label = fsf.col_label,+ col_name = fsf.col_name,+ compare = fsf.compare,+ condition_group = fsf.condition_group,+ assert_mode = fsf.assert_mode,+ formulas = fsf.formulas,+ content = fsf.content,+ sort = fsf.sort,+ }+ ).ToListAsync();+ var flowset_vm = flowset_data.Adapt<List<FlowSetMapGetViewModel>>().ToList();+ foreach (var flowset in flowset_vm)+ {+ flowset.user_list = user_data.Where(t => t.node_guid == flowset.node_guid).ToList();+ flowset.filter_list = filter_data.Where(t => t.node_guid == flowset.node_guid).ToList();+ }+ var flow_list = BuildFlow(flowset_vm);+ var res = new FlowSetMapGetViewModel();+ if (flow_list.Count() > 0)+ {+ res = flow_list.FirstOrDefault();+ }+ return res;+ }++ /// <summary>+ /// build flow+ /// </summary>+ /// <param name="fsm_lsit">FlowSetMap List</param>+ /// <param name="prev_node">prev node guid</param>+ /// <returns></returns>+ public List<FlowSetMapGetViewModel> BuildFlow(List<FlowSetMapGetViewModel> fsm_lsit, string? prev_node = "")+ {+ List<FlowSetMapGetViewModel> flowNodes = new List<FlowSetMapGetViewModel>();+ foreach (var fsm in fsm_lsit)+ {+ if (fsm.prev_node_guid == prev_node)+ {+ var childNodes = BuildFlow(fsm_lsit, fsm.prev_node_guid);+ fsm.children = childNodes;+ flowNodes.Add(fsm);+ }+ }+ return flowNodes;+ }+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Services/Asn/AsnService.cs b/backend/ModernWMS.WMS/Services/Asn/AsnService.csindex 2459a06..833b915 100644--- a/backend/ModernWMS.WMS/Services/Asn/AsnService.cs+++ b/backend/ModernWMS.WMS/Services/Asn/AsnService.cs@@ -3,6 +3,7 @@* developer:AMo*/using Mapster;+using Microsoft.AspNetCore.Http.HttpResults;using Microsoft.EntityFrameworkCore;using Microsoft.Extensions.Localization;using ModernWMS.Core.DBContext;@@ -13,7 +14,8 @@ using ModernWMS.Core.Services;using ModernWMS.WMS.Entities.Models;using ModernWMS.WMS.Entities.ViewModels;using ModernWMS.WMS.IServices;-using System.Text;+using System.Collections.Generic;+using System.Linq;namespace ModernWMS.WMS.Services{@@ -67,14 +69,9 @@ namespace ModernWMS.WMS.Servicesqueries.Add(s);});}+ Byte asn_status = 255;var Asns = _dBContext.GetDbSet<AsnEntity>().AsNoTracking();- Byte asn_status = 255;- bool isShowAllData = false;- if (pageSearch.sqlTitle.ToLower().Contains("asn_status:-1"))- {- isShowAllData = true;- }- else if (pageSearch.sqlTitle.ToLower().Contains("asn_status:alltodo"))+ if (pageSearch.sqlTitle.ToLower().Contains("asn_status:alltodo")){Asns = Asns.Where(t => t.asn_status <= 3);}@@ -85,15 +82,21 @@ namespace ModernWMS.WMS.ServicesAsns = Asns.Where(t => t.asn_status == asn_status);}var Spus = _dBContext.GetDbSet<SpuEntity>().AsNoTracking();- var Skus = _dBContext.GetDbSet<SkuEntity>().AsNoTracking();+ var Skus = _dBContext.GetDbSet<SkuEntity>().AsNoTracking();+ var Asnmasters = _dBContext.GetDbSet<AsnmasterEntity>().AsNoTracking();+var query = from m in Asns+ join am in Asnmasters on m.asnmaster_id equals am.idjoin p in Spus on m.spu_id equals p.idjoin k in Skus on m.sku_id equals k.idwhere m.tenant_id == currentUser.tenant_idselect new AsnViewModel{id = m.id,+ asnmaster_id = m.asnmaster_id,asn_no = m.asn_no,+ asn_batch = am.asn_batch,+ estimated_arrival_time = am.estimated_arrival_time,asn_status = m.asn_status,spu_id = m.spu_id,spu_code = p.spu_code,@@ -107,6 +110,10 @@ namespace ModernWMS.WMS.Servicesweight_unit = p.weight_unit,asn_qty = m.asn_qty,actual_qty = m.actual_qty,+ arrival_time = m.arrival_time,+ unload_person = m.unload_person,+ unload_person_id = m.unload_person_id,+ unload_time = m.unload_time,sorted_qty = m.sorted_qty,shortage_qty = m.shortage_qty,more_qty = m.more_qty,@@ -140,13 +147,18 @@ namespace ModernWMS.WMS.Servicesvar Spus = _dBContext.GetDbSet<SpuEntity>();var Skus = _dBContext.GetDbSet<SkuEntity>();var Asns = _dBContext.GetDbSet<AsnEntity>();+ var Asnmasters = _dBContext.GetDbSet<AsnmasterEntity>();var query = from m in Asns.AsNoTracking()+ join am in Asnmasters.AsNoTracking() on m.asnmaster_id equals am.idjoin p in Spus.AsNoTracking() on m.spu_id equals p.idjoin k in Skus.AsNoTracking() on m.sku_id equals k.idselect new AsnViewModel{id = m.id,+ asnmaster_id = m.asnmaster_id,asn_no = m.asn_no,+ asn_batch = am.asn_batch,+ estimated_arrival_time = am.estimated_arrival_time,asn_status = m.asn_status,spu_id = m.spu_id,spu_code = p.spu_code,@@ -160,6 +172,10 @@ namespace ModernWMS.WMS.Servicesweight_unit = p.weight_unit,asn_qty = m.asn_qty,actual_qty = m.actual_qty,+ arrival_time = m.arrival_time,+ unload_person = m.unload_person,+ unload_person_id = m.unload_person_id,+ unload_time = m.unload_time,sorted_qty = m.sorted_qty,shortage_qty = m.shortage_qty,more_qty = m.more_qty,@@ -352,21 +368,30 @@ namespace ModernWMS.WMS.Services/// Confirm Delivery/// change the asn_status from 0 to 1/// </summary>- /// <param name="id">id</param>+ /// <param name="viewModels">args</param>/// <returns></returns>- public async Task<(bool flag, string msg)> ConfirmAsync(int id)+ public async Task<(bool flag, string msg)> ConfirmAsync(List<AsnConfirmInputViewModel> viewModels){+ var idList = viewModels.Where(t => t.id > 0).Select(t => t.id).ToList();var Asns = _dBContext.GetDbSet<AsnEntity>();- var entity = await Asns.FirstOrDefaultAsync(t => t.id == id);- if (entity == null)+ var entities = await Asns.Where(t => idList.Contains(t.id)).ToListAsync();+ if (!entities.Any()){return (false, "[202]" + _stringLocalizer["not_exists_entity"]);}- else if (entity.asn_status > 0)+ else if (entities.Any(t => t.asn_status > 0)){- return (false, "[202]" + $"{entity.asn_no}{_stringLocalizer["ASN_Status_Is_Not_Pre_Delivery"]}");+ return (false, "[202]" + $"{_stringLocalizer["ASN_Status_Is_Not_Pre_Delivery"]}");}- entity.asn_status = 1;+ entities.ForEach(t =>+ {+ var vm = viewModels.FirstOrDefault(t => t.id == t.id);+ if (vm != null)+ {+ t.asn_status = 1;+ t.arrival_time = vm.arrival_time;+ }+ });var qty = await _dBContext.SaveChangesAsync();if (qty > 0){@@ -380,21 +405,25 @@ namespace ModernWMS.WMS.Services/// <summary>/// Cancel confirm, change asn_status 1 to 0/// </summary>- /// <param name="id">id</param>+ /// <param name="idList">id list</param>/// <returns></returns>- public async Task<(bool flag, string msg)> ConfirmCancelAsync(int id)+ public async Task<(bool flag, string msg)> ConfirmCancelAsync(List<int> idList){var Asns = _dBContext.GetDbSet<AsnEntity>();- var entity = await Asns.FirstOrDefaultAsync(t => t.id == id);- if (entity == null)+ var entities = await Asns.Where(t => idList.Contains(t.id)).ToListAsync();+ if (!entities.Any()){return (false, "[202]" + _stringLocalizer["not_exists_entity"]);}- else if (entity.asn_status != (byte)1)+ if (entities.Any(t => t.asn_status != (byte)1)){- return (false, "[202]" + $"{entity.asn_no}{_stringLocalizer["ASN_Status_Is_Not_Pre_Delivery"]}");+ return (false, "[202]" + $"{_stringLocalizer["ASN_Status_Is_Not_Pre_Delivery"]}");}- entity.asn_status = 0;+ entities.ForEach(e =>+ {+ e.asn_status = 0;+ e.arrival_time = Core.Utility.UtilConvert.MinDate;+ });var qty = await _dBContext.SaveChangesAsync();if (qty > 0){@@ -410,22 +439,34 @@ namespace ModernWMS.WMS.Services/// Unload/// change the asn_status from 1 to 2/// </summary>- /// <param name="id">id</param>+ /// <param name="viewModels">args</param>+ /// <param name="user">user</param>/// <returns></returns>- public async Task<(bool flag, string msg)> UnloadAsync(int id)+ public async Task<(bool flag, string msg)> UnloadAsync(List<AsnUnloadInputViewModel> viewModels, CurrentUser user){+ var idList = viewModels.Where(t => t.id > 0).Select(t => t.id).ToList();var Asns = _dBContext.GetDbSet<AsnEntity>();- var entity = await Asns.FirstOrDefaultAsync(t => t.id == id);- if (entity == null)+ var entities = await Asns.Where(t => idList.Contains(t.id)).ToListAsync();+ if (!entities.Any()){return (false, "[202]" + _stringLocalizer["not_exists_entity"]);}- else if (entity.asn_status > 1)+ else if (entities.Any(t => t.asn_status > 1)){- return (false, "[202]" + $"{entity.asn_no}{_stringLocalizer["ASN_Status_Is_Not_Pre_Load"]}");+ return (false, "[202]" + $"{_stringLocalizer["ASN_Status_Is_Not_Pre_Load"]}");}- entity.asn_status = 2;- entity.last_update_time = DateTime.Now;+ entities.ForEach(t =>+ {+ var vm = viewModels.FirstOrDefault(t => t.id == t.id);+ if (vm != null)+ {+ t.asn_status = 2;+ t.last_update_time = DateTime.Now;+ t.unload_time = vm.unload_time;+ t.unload_person_id = vm.unload_person_id == 0 ? user.user_id : vm.unload_person_id;+ t.unload_person = vm.unload_person_id == 0 ? user.user_name : vm.unload_person;+ }+ });var qty = await _dBContext.SaveChangesAsync();if (qty > 0){@@ -441,22 +482,29 @@ namespace ModernWMS.WMS.Services/// Cancel unload/// change the asn_status from 2 to 1/// </summary>- /// <param name="id">id</param>+ /// <param name="idList">id list</param>/// <returns></returns>- public async Task<(bool flag, string msg)> UnloadCancelAsync(int id)+ public async Task<(bool flag, string msg)> UnloadCancelAsync(List<int> idList){var Asns = _dBContext.GetDbSet<AsnEntity>();- var entity = await Asns.FirstOrDefaultAsync(t => t.id == id);- if (entity == null)+ var entities = await Asns.Where(t => idList.Contains(t.id)).ToListAsync();+ if (!entities.Any()){return (false, "[202]" + _stringLocalizer["not_exists_entity"]);}- else if (entity.asn_status != (byte)2)+ if (entities.Any(t => t.asn_status != (byte)2)){- return (false, "[202]" + $"{entity.asn_no}{_stringLocalizer["ASN_Status_Is_Not_Pre_Load"]}");+ return (false, "[202]" + $"{_stringLocalizer["ASN_Status_Is_Not_Pre_Load"]}");}- entity.asn_status = 1;- entity.last_update_time = DateTime.Now;++ entities.ForEach(e =>+ {+ e.asn_status = 1;+ e.unload_time = Core.Utility.UtilConvert.MinDate;+ e.unload_person_id =0;+ e.unload_person = string.Empty;+ e.last_update_time = DateTime.Now;+ });var qty = await _dBContext.SaveChangesAsync();if (qty > 0){@@ -470,35 +518,45 @@ namespace ModernWMS.WMS.Services/// <summary>/// sorting, add a new asnsort record and update asn sorted_qty/// </summary>- /// <param name="viewModel">args</param>+ /// <param name="viewModels">args</param>/// <param name="currentUser">currentUser</param>/// <returns></returns>- public async Task<(bool flag, string msg)> SortingAsync(AsnsortInputViewModel viewModel, CurrentUser currentUser)+ public async Task<(bool flag, string msg)> SortingAsync(List<AsnsortInputViewModel> viewModels, CurrentUser currentUser){var Asns = _dBContext.GetDbSet<AsnEntity>();var Asnsorts = _dBContext.GetDbSet<AsnsortEntity>();+ var idList = viewModels.Select(t => t.asn_id).ToList().Distinct().ToList();+ var entities = await Asns.Where(t => idList.Contains(t.id)).ToListAsync();- var entity = await Asns.FirstOrDefaultAsync(t => t.id == viewModel.asn_id);- if (entity == null)+ if (!entities.Any()){return (false, "[202]" + _stringLocalizer["not_exists_entity"]);}- else if (entity.asn_status != 2)+ else if (entities.Any(t => t.asn_status != 2)){- return (false, "[202]" + $"{entity.asn_no}{_stringLocalizer["ASN_Status_Is_Not_Pre_Sort"]}");+ return (false, "[202]" + $"{_stringLocalizer["ASN_Status_Is_Not_Pre_Sort"]}");}- await Asnsorts.AddAsync(new AsnsortEntity+ var sortEntities = viewModels.Where(v => entities.Select(e => e.id).ToList().Contains(v.asn_id))+ .Select(v => new AsnsortEntity+ {+ id = 0,+ asn_id = v.asn_id,+ sorted_qty = v.sorted_qty,+ series_number = v.series_number,+ create_time = DateTime.Now,+ creator = currentUser.user_name,+ is_valid = true,+ last_update_time = DateTime.Now,+ tenant_id = currentUser.tenant_id+ }).ToList();+ await Asnsorts.AddRangeAsync(sortEntities);++ entities.ForEach(e =>{- id = 0,- asn_id = viewModel.asn_id,- sorted_qty = viewModel.sorted_qty,- create_time = DateTime.Now,- creator = currentUser.user_name,- is_valid = true,- last_update_time = DateTime.Now, tenant_id = currentUser.tenant_id+ int sum_sorted_qty = viewModels.Where(t => t.asn_id.Equals(e.id)).Sum(v => v.sorted_qty);+ e.sorted_qty += sum_sorted_qty;+ e.last_update_time = DateTime.Now;});- entity.sorted_qty += viewModel.sorted_qty;- entity.last_update_time = DateTime.Now;var qty = await _dBContext.SaveChangesAsync();if (qty > 0){@@ -509,34 +567,117 @@ namespace ModernWMS.WMS.Servicesreturn (false, _stringLocalizer["save_failed"]);}}+ /// <summary>+ /// get asnsorts list by asn_id+ /// </summary>+ /// <param name="asn_id">asn id</param>+ /// <returns></returns>+ public async Task<List<AsnsortEntity>> GetAsnsortsAsync(int asn_id)+ {+ var Asnsorts = _dBContext.GetDbSet<AsnsortEntity>();+ var sortsEntities = await Asnsorts.AsNoTracking().Where(t => t.asn_id == asn_id).ToListAsync();+ if (sortsEntities.Any())+ {+ return sortsEntities;+ }+ else+ {+ return new List<AsnsortEntity>();+ }+ }+ /// <summary>+ /// update or delete asnsorts data+ /// </summary>+ /// <param name="entities">data</param>+ /// <param name="user">CurrentUser</param>+ /// <returns></returns>+ public async Task<(bool flag, string msg)> ModifyAsnsortsAsync(List<AsnsortEntity> entities, CurrentUser user)+ {+ var Asnsorts = _dBContext.GetDbSet<AsnsortEntity>();+ if (entities.Any(t => t.id < 0 || t.sorted_qty == 0))+ {+ var delIDList = entities.Where(t => t.id < 0).Select(t => Math.Abs(t.id)).ToList();+ await Asnsorts.Where(t => delIDList.Contains(t.id)).ExecuteDeleteAsync();+ }+ var updateEntities = entities.Where(t => t.id > 0 && t.sorted_qty > 0).ToList();+ if (updateEntities.Any())+ {+ updateEntities.ForEach(t =>+ {+ t.last_update_time = DateTime.Now;+ t.is_valid = true;+ t.create_time = t.create_time.Year < 1985 ? DateTime.Now : t.create_time;+ t.creator = string.IsNullOrEmpty(t.creator) ? user.user_name : t.creator;+ });+ Asnsorts.UpdateRange(updateEntities);+ }++ var qty = await _dBContext.SaveChangesAsync();+ if (qty > 0)+ {+ var Asns = _dBContext.GetDbSet<AsnEntity>();+ var asnids = entities.Select(t => t.asn_id).Distinct().ToList();++ var sumQty = await Asnsorts.AsNoTracking()+ .Where(t => asnids.Contains(t.asn_id))+ .GroupBy(t => t.asn_id)+ .Select(g => new+ {+ asn_id = g.Key,+ sorted_qty = g.Sum(o => o.sorted_qty)+ }).ToListAsync();+ var asnEntities = await Asns.Where(t => asnids.Contains(t.id)).ToListAsync();+ if (asnEntities.Any())+ {+ asnEntities.ForEach(e =>+ {+ var s = sumQty.FirstOrDefault(t => t.asn_id == e.id);+ if (s != null)+ {+ e.sorted_qty = s.sorted_qty;+ }+ });+ await _dBContext.SaveChangesAsync();+ }+ return (true, _stringLocalizer["sorted_success"]);+ }+ else+ {+ return (false, _stringLocalizer["sorted_failed"]);+ }+ }+/// <summary>/// Sorted/// change the asn_status from 2 to 3/// </summary>- /// <param name="id">id</param>+ /// <param name="idList">id list</param>/// <returns></returns>- public async Task<(bool flag, string msg)> SortedAsync(int id)+ public async Task<(bool flag, string msg)> SortedAsync(List<int> idList){var Asns = _dBContext.GetDbSet<AsnEntity>();- var entity = await Asns.FirstOrDefaultAsync(t => t.id == id);- if (entity == null)+ var entities = await Asns.Where(t => idList.Contains(t.id)).ToListAsync();+ if (!entities.Any()){return (false, "[202]" + _stringLocalizer["not_exists_entity"]);}- else if (entity.sorted_qty < 1)- {- return (false, "[202]" + $"{entity.asn_no}{_stringLocalizer["ASN_Status_Is_Not_Sorting"]}");- }- entity.asn_status = 3;- if (entity.sorted_qty > entity.asn_qty)+ else if (entities.Any(t => t.sorted_qty < 1)){- entity.more_qty = entity.sorted_qty - entity.asn_qty;+ return (false, "[202]" + $"{_stringLocalizer["ASN_Status_Is_Not_Sorting"]}");}- else if (entity.sorted_qty < entity.asn_qty)+ entities.ForEach(e =>{- entity.shortage_qty = entity.asn_qty - entity.sorted_qty;- }- entity.last_update_time = DateTime.Now;+ e.asn_status = 3;+ if (e.sorted_qty > e.asn_qty)+ {+ e.more_qty = e.sorted_qty - e.asn_qty;+ }+ else if (e.sorted_qty < e.asn_qty)+ {+ e.shortage_qty = e.asn_qty - e.sorted_qty;+ }+ e.last_update_time = DateTime.Now;+ });var qty = await _dBContext.SaveChangesAsync();if (qty > 0){@@ -552,34 +693,37 @@ namespace ModernWMS.WMS.Services/// Cancel sorted/// change the asn_status from 3 to 2/// </summary>- /// <param name="id">id</param>+ /// <param name="idList">id list</param>/// <returns></returns>- public async Task<(bool flag, string msg)> SortedCancelAsync(int id)+ public async Task<(bool flag, string msg)> SortedCancelAsync(List<int> idList){var Asns = _dBContext.GetDbSet<AsnEntity>();- var entity = await Asns.FirstOrDefaultAsync(t => t.id == id);- if (entity == null)+ var entities = await Asns.Where(t => idList.Contains(t.id)).ToListAsync();+ if (!entities.Any()){return (false, "[202]" + _stringLocalizer["not_exists_entity"]);}- else if (entity.actual_qty > 0)+ else if (entities.Any(t => t.actual_qty > 0)){- return (false, "[202]" + $"{entity.asn_no}{_stringLocalizer["ASN_Status_Is_Putaway"]}");+ return (false, "[202]" + $"{_stringLocalizer["ASN_Status_Is_Putaway"]}");}- else if (entity.sorted_qty < 1)+ else if (entities.Any(t => t.sorted_qty < 1)){- return (false, "[202]" + $"{entity.asn_no}{_stringLocalizer["ASN_Status_Is_Not_Sorting"]}");+ return (false, "[202]" + $"{_stringLocalizer["ASN_Status_Is_Not_Sorting"]}");}- entity.asn_status = 2;- entity.sorted_qty = 0;- entity.more_qty = 0;- entity.shortage_qty = 0;- entity.last_update_time = DateTime.Now;+ entities.ForEach(e =>+ {+ e.asn_status = 2;+ e.sorted_qty = 0;+ e.more_qty = 0;+ e.shortage_qty = 0;+ e.last_update_time = DateTime.Now;+ });var qty = await _dBContext.SaveChangesAsync();if (qty > 0){var Asnsorts = _dBContext.GetDbSet<AsnsortEntity>();- await Asnsorts.Where(t => t.asn_id.Equals(id)).ExecuteDeleteAsync();+ await Asnsorts.Where(t => idList.Contains(t.asn_id)).ExecuteDeleteAsync();return (true, _stringLocalizer["save_success"]);}else@@ -600,48 +744,159 @@ namespace ModernWMS.WMS.Servicesvar data = await (from m in Asns.AsNoTracking()join s in Asnsorts.AsNoTracking() on m.id equals s.asn_id- where m.id == id- group new { m, s } by new { m.id, m.goods_owner_id, m.goods_owner_name, m.actual_qty }+ where m.id == id && s.putaway_qty < s.sorted_qty+ group new { m, s } by new { m.id, m.goods_owner_id, m.goods_owner_name, s.series_number }into gselect new AsnPendingPutawayViewModel{asn_id = g.Key.id,goods_owner_id = g.Key.goods_owner_id,goods_owner_name = g.Key.goods_owner_name,- series_number = "",- sorted_qty = g.Sum(o => o.s.sorted_qty) - g.Key.actual_qty+ series_number = g.Key.series_number,+ sorted_qty = g.Sum(o => o.s.sorted_qty - o.s.putaway_qty)}).ToListAsync();return data;}+/// <summary>/// PutAway/// </summary>- /// <param name="viewModel">args</param>+ /// <param name="viewModels">args</param>/// <param name="currentUser">currentUser</param>/// <returns></returns>- public async Task<(bool flag, string msg)> PutAwayAsync(AsnPutAwayInputViewModel viewModel, CurrentUser currentUser)+ public async Task<(bool flag, string msg)> PutAwayAsync(List<AsnPutAwayInputViewModel> viewModels, CurrentUser currentUser){+ viewModels.RemoveAll(v => v.putaway_qty < 1);+ if (viewModels.Any(t => t.goods_location_id == 0))+ {+ return (false, "[202]" + string.Format(_stringLocalizer["Required"], _stringLocalizer["location_name"]));+ }var Asns = _dBContext.GetDbSet<AsnEntity>();-var Goodslocations = _dBContext.GetDbSet<GoodslocationEntity>();+ var Stocks = _dBContext.GetDbSet<StockEntity>();+ var Asnsorts = _dBContext.GetDbSet<AsnsortEntity>();++ var LocationIdList = viewModels.Where(v => v.goods_location_id > 0)+ .Select(v => v.goods_location_id)+ .Distinct().ToList();++ var Locations = await Goodslocations.Where(t => LocationIdList.Contains(t.id))+ .ToListAsync();+ if (!Locations.Any() || LocationIdList.Count != Locations.Count)+ {+ return (false, "[202]" + string.Format(_stringLocalizer["Required"], _stringLocalizer["location_name"]));+ }+ int sumPutawayQty = viewModels.Sum(v => v.putaway_qty);+ var entity = await Asns.FirstOrDefaultAsync(t => t.id == viewModels[0].asn_id);+ if (entity == null)+ {+ return (false, "[202]" + _stringLocalizer["not_exists_entity"]);+ }+ else if (entity.asn_status != 3)+ {+ return (false, "[202]" + $"{entity.asn_no}{_stringLocalizer["ASN_Status_Is_Not_Sorted"]}");+ }+ else if (entity.actual_qty + sumPutawayQty > entity.sorted_qty)+ {+ return (false, "[202]" + $"{entity.asn_no}{_stringLocalizer["ASN_Total_PutAway_Qty_Greater_Than_Sorted_Qty"]}");+ }+ entity.actual_qty += sumPutawayQty;+ if (entity.actual_qty.Equals(entity.sorted_qty))+ {+ entity.asn_status = 4;+ }+ entity.last_update_time = DateTime.Now;++ // 获取已上架数小于分拣数的分拣记录+ var sortEntities = await Asnsorts.Where(t => t.asn_id == viewModels[0].asn_id && t.sorted_qty > t.putaway_qty).ToListAsync();++ foreach (var viewModel in viewModels)+ {+ // 根据sn码,将本次上架数量反写到分拣记录中。如果sn码是空的,则分摊进去+ var sortList = sortEntities.Where(s => s.series_number == viewModel.series_number).ToList();+ if (sortList.Any())+ {+ int left_putaway_qty = viewModel.putaway_qty;+ sortList.ForEach(s =>+ {+ if (left_putaway_qty > 0)+ {+ int can_putaway_qty = s.sorted_qty - s.putaway_qty;+ if (left_putaway_qty > can_putaway_qty)+ {+ s.putaway_qty += can_putaway_qty;+ left_putaway_qty -= can_putaway_qty;+ }+ else+ {+ s.putaway_qty += left_putaway_qty;+ left_putaway_qty = 0;+ }+ }+ });+ }++ var Location = Locations.FirstOrDefault(t => t.id == viewModel.goods_location_id);+ if (Location != null && Location.warehouse_area_property.Equals(5))+ {+ entity.damage_qty += viewModel.putaway_qty;+ }+ var stockEntity = await Stocks.FirstOrDefaultAsync(t => t.sku_id.Equals(entity.sku_id)+ && t.goods_location_id.Equals(viewModel.goods_location_id)+ && t.goods_owner_id.Equals(viewModel.goods_owner_id)+ && t.series_number.Equals(viewModel.series_number)+ );+ if (stockEntity == null)+ {+ stockEntity = new StockEntity+ {+ sku_id = entity.sku_id,+ goods_location_id = viewModel.goods_location_id,+ goods_owner_id = entity.goods_owner_id,+ series_number = viewModel.series_number,+ qty = viewModel.putaway_qty,+ is_freeze = false,+ last_update_time = DateTime.Now,+ tenant_id = currentUser.tenant_id,+ id = 0+ };+ await Stocks.AddAsync(stockEntity);+ }+ else+ {+ stockEntity.qty += viewModel.putaway_qty;+ stockEntity.last_update_time = DateTime.Now;+ }+ }+ var qty = await _dBContext.SaveChangesAsync();+ if (qty > 0)+ {+ return (true, _stringLocalizer["putaway_success"]);+ }+ else+ {+ return (false, _stringLocalizer["putaway_failed"]);+ }+ /*+var Location = await Goodslocations.FirstOrDefaultAsync(t => t.id.Equals(viewModel.goods_location_id));if (Location == null){- return (false, "[202]" + string.Format(_stringLocalizer["Required"], _stringLocalizer["location_name"]));+ return (false, string.Format(_stringLocalizer["Required"], _stringLocalizer["location_name"]));}var entity = await Asns.FirstOrDefaultAsync(t => t.id == viewModel.asn_id);if (entity == null){- return (false, "[202]" + _stringLocalizer["not_exists_entity"]);+ return (false, _stringLocalizer["not_exists_entity"]);}else if (entity.asn_status != 3){- return (false, "[202]" + $"{entity.asn_no}{_stringLocalizer["ASN_Status_Is_Not_Sorted"]}");+ return (false, $"{entity.asn_no}{_stringLocalizer["ASN_Status_Is_Not_Sorted"]}");}else if (entity.actual_qty + viewModel.putaway_qty > entity.sorted_qty){- return (false, "[202]" + $"{entity.asn_no}{_stringLocalizer["ASN_Total_PutAway_Qty_Greater_Than_Sorted_Qty"]}");+ return (false, $"{entity.asn_no}{_stringLocalizer["ASN_Total_PutAway_Qty_Greater_Than_Sorted_Qty"]}");}entity.actual_qty += viewModel.putaway_qty;if (Location.warehouse_area_property.Equals(5))@@ -685,98 +940,318 @@ namespace ModernWMS.WMS.Services{return (false, _stringLocalizer["putaway_failed"]);}+ */}#endregion- #region excel import+ #region Arrival list/// <summary>- /// excel import+ /// Arrival list/// </summary>- /// <param name="excelData">excel data</param>- /// <param name="currentUser">current user</param>+ /// <param name="pageSearch">args</param>+ /// <param name="currentUser">currentUser</param>/// <returns></returns>- public async Task<(bool flag, string msg, List<AsnExcelImportViewModel> errList)> ImportAsync(List<AsnExcelImportViewModel> excelData, CurrentUser currentUser)+ public async Task<(List<AsnmasterBothViewModel> data, int totals)> PageAsnmasterAsync(PageSearch pageSearch, CurrentUser currentUser){- var Spus = _dBContext.GetDbSet<SpuEntity>().AsNoTracking();- var Skus = _dBContext.GetDbSet<SkuEntity>().AsNoTracking();-- var ownerList = excelData.Where(e => e.goods_owner_name != "").Select(e => e.goods_owner_name).ToList();- if (ownerList == null)- {- ownerList = new List<string>();- }- var goods_owner = await _dBContext.GetDbSet<GoodsownerEntity>().AsNoTracking()- .Where(t => t.tenant_id == currentUser.tenant_id)- .Where(t => ownerList.Contains(t.goods_owner_name))- .Select(t => new { t.id, t.goods_owner_name}).ToListAsync();-- var dbSku = await (from m in Spus- join d in Skus on m.id equals d.spu_id- where m.tenant_id == currentUser.tenant_id- select new- {- spu_id = m.id,- m.spu_code,- m.spu_name,- m.supplier_id,- m.supplier_name,- sku_id = d.id,- d.sku_code,- d.sku_name- }).ToListAsync();- StringBuilder sb = new StringBuilder();- excelData.ForEach(ex =>- {- var sku = dbSku.FirstOrDefault(t => t.spu_code == ex.spu_code && t.sku_code == ex.sku_code && t.supplier_name == ex.supplier_name);- if (sku != null)+ QueryCollection queries = new QueryCollection();+ if (pageSearch.searchObjects.Any())+ {+ pageSearch.searchObjects.ForEach(s =>{- ex.spu_id = sku.spu_id;- ex.sku_id = sku.sku_id;- ex.supplier_id = sku.supplier_id;+ queries.Add(s);+ });+ }+ Byte asn_status = 255;+ if (pageSearch.sqlTitle.ToLower().Contains("asn_status"))+ {+ asn_status = Convert.ToByte(pageSearch.sqlTitle.Trim().ToLower().Replace("asn_status", "").Replace(":", "").Replace(":", "").Replace("=", ""));+ asn_status = asn_status.Equals(4) ? (Byte)255 : asn_status;+ }+ var Spus = _dBContext.GetDbSet<SpuEntity>();+ var Skus = _dBContext.GetDbSet<SkuEntity>();+ var Asns = _dBContext.GetDbSet<AsnEntity>();+ var Asnmasters = _dBContext.GetDbSet<AsnmasterEntity>();+ var query = from m in Asnmasters.AsNoTracking()+ where m.tenant_id == currentUser.tenant_id+ && (asn_status == 255 || m.asn_status == asn_status)+ select new AsnmasterBothViewModel+ {+ id = m.id,+ asn_no = m.asn_no,+ asn_batch = m.asn_batch,+ estimated_arrival_time = m.estimated_arrival_time,+ asn_status = m.asn_status,+ weight = m.weight,+ volume = m.volume,+ goods_owner_id = m.goods_owner_id,+ goods_owner_name = m.goods_owner_name,+ creator = m.creator,+ create_time = m.create_time,+ last_update_time = m.last_update_time,+ detailList = (from a in Asns.AsNoTracking()+ join p in Spus.AsNoTracking() on a.spu_id equals p.id+ join k in Skus.AsNoTracking() on a.sku_id equals k.id+ where a.asnmaster_id == m.id+ select new AsnmasterDetailViewModel+ {+ id = a.id,+ asnmaster_id = a.asnmaster_id,+ asn_status = a.asn_status,+ spu_id = a.spu_id,+ spu_code = p.spu_code,+ spu_name = p.spu_name,+ sku_id = a.sku_id,+ sku_code = k.sku_code,+ sku_name = k.sku_name,+ origin = p.origin,+ length_unit = p.length_unit,+ volume_unit = p.volume_unit,+ weight_unit = p.weight_unit,+ asn_qty = a.asn_qty,+ actual_qty = a.actual_qty,+ weight = a.weight,+ volume = a.volume,+ supplier_id = a.supplier_id,+ supplier_name = a.supplier_name,+ is_valid = a.is_valid+ }).ToList()+ };+ query = query.Where(queries.AsExpression<AsnmasterBothViewModel>());+ int totals = await query.CountAsync();+ var list = await query.OrderByDescending(t => t.create_time)+ .Skip((pageSearch.pageIndex - 1) * pageSearch.pageSize)+ .Take(pageSearch.pageSize)+ .ToListAsync();+ return (list, totals);+ }+ /// <summary>+ /// get Arrival list+ /// </summary>+ /// <param name="id"></param>+ /// <param name="currentUser"></param>+ /// <returns></returns>+ public async Task<AsnmasterBothViewModel> GetAsnmasterAsync(int id, CurrentUser currentUser)+ {+ var Spus = _dBContext.GetDbSet<SpuEntity>();+ var Skus = _dBContext.GetDbSet<SkuEntity>();+ var Asns = _dBContext.GetDbSet<AsnEntity>();+ var Asnmasters = _dBContext.GetDbSet<AsnmasterEntity>();+ var query = from m in Asnmasters.AsNoTracking()+ where m.tenant_id == currentUser.tenant_id+ && m.id == id+ select new AsnmasterBothViewModel+ {+ id = m.id,+ asn_no = m.asn_no,+ asn_batch = m.asn_batch,+ estimated_arrival_time = m.estimated_arrival_time,+ asn_status = m.asn_status,+ weight = m.weight,+ volume = m.volume,+ goods_owner_id = m.goods_owner_id,+ goods_owner_name = m.goods_owner_name,+ creator = m.creator,+ create_time = m.create_time,+ last_update_time = m.last_update_time,+ detailList = (from a in Asns.AsNoTracking()+ join p in Spus.AsNoTracking() on a.spu_id equals p.id+ join k in Skus.AsNoTracking() on a.sku_id equals k.id+ where a.asnmaster_id == m.id+ select new AsnmasterDetailViewModel+ {+ id = a.id,+ asnmaster_id = a.asnmaster_id,+ asn_status = a.asn_status,+ spu_id = a.spu_id,+ spu_code = p.spu_code,+ spu_name = p.spu_name,+ sku_id = a.sku_id,+ sku_code = k.sku_code,+ sku_name = k.sku_name,+ origin = p.origin,+ length_unit = p.length_unit,+ volume_unit = p.volume_unit,+ weight_unit = p.weight_unit,+ asn_qty = a.asn_qty,+ actual_qty = a.actual_qty,+ weight = a.weight,+ volume = a.volume,+ supplier_id = a.supplier_id,+ supplier_name = a.supplier_name,+ is_valid = a.is_valid+ }).ToList()+ };+ var data = await query.FirstOrDefaultAsync();+ return data ?? new AsnmasterBothViewModel();+ }- var owner = goods_owner.FirstOrDefault(t => t.goods_owner_name == ex.goods_owner_name);- if (owner != null)- {- ex.goods_owner_id = owner.id;- }- }- else+ /// <summary>+ /// add a new record+ /// </summary>+ /// <param name="viewModel">viewmodel</param>+ /// <param name="currentUser">currentUser</param>+ /// <returns></returns>+ public async Task<(int id, string msg)> AddAsnmasterAsync(AsnmasterBothViewModel viewModel, CurrentUser currentUser)+ {+ var Asns = _dBContext.GetDbSet<AsnEntity>();+ var Asnmasters = _dBContext.GetDbSet<AsnmasterEntity>();+ string asn_no = await GetOrderCode(currentUser);+ var entity = new AsnmasterEntity+ {+ id = 0,+ asn_no = asn_no,+ asn_batch = viewModel.asn_batch,+ estimated_arrival_time = viewModel.estimated_arrival_time,+ asn_status = 0,+ weight = viewModel.weight,+ volume = viewModel.volume,+ goods_owner_id = viewModel.goods_owner_id,+ goods_owner_name = viewModel.goods_owner_name,+ creator = currentUser.user_name,+ create_time = DateTime.Now,+ last_update_time = DateTime.Now,+ tenant_id = currentUser.tenant_id,+ detailList = viewModel.detailList.Select(d => new AsnEntity{- string err = $"[{_stringLocalizer["spu_code"]}:{ex.spu_name},{_stringLocalizer["sku_code"]}:{ex.sku_code},{_stringLocalizer["supplier_name"]}:{ex.supplier_name}{_stringLocalizer["not_exists_entity"]}]";- ex.error_msg = err;- sb.AppendLine(err);- }- });- if (excelData.Any(t => t.error_msg.Length > 0))+ id = 0,+ asnmaster_id = 0,+ asn_no = asn_no,+ asn_status = 0,+ spu_id = d.spu_id,+ sku_id = d.sku_id,+ asn_qty = d.asn_qty,+ actual_qty = d.actual_qty,+ weight = d.weight,+ volume = d.volume,+ supplier_id = d.supplier_id,+ supplier_name = d.supplier_name,+ goods_owner_id = viewModel.goods_owner_id,+ goods_owner_name = viewModel.goods_owner_name,+ creator = currentUser.user_name,+ create_time = DateTime.Now,+ last_update_time = DateTime.Now,+ is_valid = true,+ tenant_id = currentUser.tenant_id+ }).ToList()+ };+ await Asnmasters.AddAsync(entity);+ await _dBContext.SaveChangesAsync();+ if (entity.id > 0){- return (false, sb.ToString(), excelData.Where(t => t.error_msg.Length > 0).ToList());+ return (entity.id, _stringLocalizer["save_success"]);}else{- var DbSet = _dBContext.GetDbSet<AsnEntity>();- var entities = excelData.Adapt<List<AsnEntity>>();- foreach (var entity in entities)- {- entity.id = 0;- entity.creator = currentUser.user_name;- entity.create_time = DateTime.Now;- entity.last_update_time = DateTime.Now;- entity.tenant_id = currentUser.tenant_id;- entity.is_valid = true;- }- await DbSet.AddRangeAsync(entities);- int qty = await _dBContext.SaveChangesAsync();- if (qty > 0)- {- return (true, _stringLocalizer["save_success"], new List<AsnExcelImportViewModel>());- }- else+ return (0, _stringLocalizer["save_failed"]);+ }+ }+ /// <summary>+ /// add a new record+ /// </summary>+ /// <param name="viewModel">viewmodel</param>+ /// <param name="currentUser">currentUser</param>+ /// <returns></returns>+ public async Task<(bool flag, string msg)> UpdateAsnmasterAsync(AsnmasterBothViewModel viewModel, CurrentUser currentUser)+ {+ var Asns = _dBContext.GetDbSet<AsnEntity>();+ var Asnmasters = _dBContext.GetDbSet<AsnmasterEntity>();++ var entity = await Asnmasters.Include(t => t.detailList)+ .FirstOrDefaultAsync(t => t.id.Equals(viewModel.id));+ if (entity == null)+ {+ return (false, _stringLocalizer["not_exists_entity"]);+ }+ entity.asn_batch = viewModel.asn_batch;+ entity.estimated_arrival_time = viewModel.estimated_arrival_time;+ entity.weight = viewModel.weight;+ entity.volume = viewModel.volume;+ entity.goods_owner_id = viewModel.goods_owner_id;+ entity.goods_owner_name = viewModel.goods_owner_name;+ entity.last_update_time = DateTime.Now;+ if (viewModel.detailList.Any(t => t.id > 0))+ {+ entity.detailList.ForEach(d =>{- return (false, _stringLocalizer["save_failed"], new List<AsnExcelImportViewModel>());- }+ var vm = viewModel.detailList.Where(t => t.id > 0)+ .FirstOrDefault(t => t.id == d.id);+ if (vm != null)+ {+ d.spu_id = vm.spu_id;+ d.sku_id = vm.sku_id;+ d.asn_qty = vm.asn_qty;+ d.actual_qty = vm.actual_qty;+ d.weight = vm.weight;+ d.volume = vm.volume;+ d.supplier_id = vm.supplier_id;+ d.supplier_name = vm.supplier_name;+ d.goods_owner_id = viewModel.goods_owner_id;+ d.goods_owner_name = viewModel.goods_owner_name;+ d.last_update_time = DateTime.Now;+ }+ });+ }+ if (viewModel.detailList.Any(d => d.id == 0))+ {+ var adds = viewModel.detailList.Where(d => d.id == 0)+ .Select(d => new AsnEntity+ {+ id = 0,+ asnmaster_id = 0,+ asn_no = viewModel.asn_no,+ asn_status = 0,+ spu_id = d.spu_id,+ sku_id = d.sku_id,+ asn_qty = d.asn_qty,+ actual_qty = d.actual_qty,+ weight = d.weight,+ volume = d.volume,+ supplier_id = d.supplier_id,+ supplier_name = d.supplier_name,+ goods_owner_id = viewModel.goods_owner_id,+ goods_owner_name = viewModel.goods_owner_name,+ creator = currentUser.user_name,+ create_time = DateTime.Now,+ last_update_time = DateTime.Now,+ is_valid = true,+ tenant_id = currentUser.tenant_id+ }).ToList();+ entity.detailList.AddRange(adds);+ }+ if (viewModel.detailList.Any(t => t.id < 0))+ {+ var delIds = viewModel.detailList.Where(t => t.id < 0).Select(t => t.id * -1).ToList();+ entity.detailList.RemoveAll(entity => delIds.Contains(entity.id));+ }+ var qty = await _dBContext.SaveChangesAsync();+ if (qty > 0)+ {+ return (true, _stringLocalizer["save_success"]);+ }+ else+ {+ return (false, _stringLocalizer["save_failed"]);}}+ /// <summary>+ /// delete a record+ /// </summary>+ /// <param name="id">id</param>+ /// <returns></returns>+ public async Task<(bool flag, string msg)> DeleteAsnmasterAsync(int id)+ {+ var qty = await _dBContext.GetDbSet<AsnEntity>().Where(t => t.asnmaster_id.Equals(id)).ExecuteDeleteAsync();+ qty += await _dBContext.GetDbSet<AsnmasterEntity>().Where(t => t.id.Equals(id)).ExecuteDeleteAsync();+ if (qty > 0)+ {+ return (true, _stringLocalizer["delete_success"]);+ }+ else+ {+ return (false, _stringLocalizer["delete_failed"]);+ }+ }#endregion}}diff --git a/backend/ModernWMS.WMS/Services/Dispatchlist/DispatchlistService.cs b/backend/ModernWMS.WMS/Services/Dispatchlist/DispatchlistService.csindex 1d446b7..f164677 100644--- a/backend/ModernWMS.WMS/Services/Dispatchlist/DispatchlistService.cs+++ b/backend/ModernWMS.WMS/Services/Dispatchlist/DispatchlistService.cs@@ -17,7 +17,6 @@ using ModernWMS.WMS.Entities.Models;using ModernWMS.WMS.Entities.ViewModels;using ModernWMS.WMS.IServices;using System.Collections.Generic;-using System.Linq;namespace ModernWMS.WMS.Services{@@ -76,7 +75,25 @@ namespace ModernWMS.WMS.Servicesqueries.Add(s);});}- var DbSet = _dBContext.GetDbSet<DispatchlistEntity>();+ var DbSet = _dBContext.GetDbSet<DispatchlistEntity>().AsNoTracking();+ if (pageSearch.sqlTitle.Contains("dispatch_status"))+ {+ var dispatch_status = Convert.ToByte(pageSearch.sqlTitle.Trim().ToLower().Replace("dispatch_status", "").Replace(":", "").Replace(":", "").Replace("=", ""));+ DbSet = DbSet.Where(t => t.dispatch_status.Equals(dispatch_status));+ }+ else if (pageSearch.sqlTitle.Equals("package"))+ {+ DbSet = DbSet.Where(t => t.picked_qty == t.qty && (t.dispatch_status.Equals(3) || (t.package_qty < t.picked_qty && t.dispatch_status.Equals(5)) || t.dispatch_status.Equals(4)));+ }+ else if (pageSearch.sqlTitle.Equals("weight"))+ {+ DbSet = DbSet.Where(t => t.picked_qty == t.qty && (t.dispatch_status.Equals(3) || (t.weighing_qty < t.picked_qty && t.dispatch_status.Equals(4)) || t.dispatch_status.Equals(5)));+ }+ else if (pageSearch.sqlTitle.Equals("delivery"))+ {+ DbSet = DbSet.Where(t => t.picked_qty == t.qty && (t.dispatch_status.Equals(3) || t.dispatch_status.Equals(4) || t.dispatch_status.Equals(5) || t.dispatch_status.Equals(6)));+ }+var query = from d in DbSet.AsNoTracking()join sku in _dBContext.GetDbSet<SkuEntity>().AsNoTracking() on d.sku_id equals sku.idjoin spu in _dBContext.GetDbSet<SpuEntity>().AsNoTracking() on sku.spu_id equals spu.id@@ -118,37 +135,24 @@ namespace ModernWMS.WMS.Servicesspu_code = spu.spu_code,spu_description = spu.spu_description,spu_name = spu.spu_name,- bar_code = spu.bar_code,+ bar_code = sku.bar_code,unpicked_qty = d.qty - d.picked_qty,length_unit = spu.length_unit,volume_unit = spu.volume_unit,- weight_unit = spu.weight_unit+ weight_unit = spu.weight_unit,+ is_todo = pageSearch.sqlTitle.Contains("dispatch_status") || (pageSearch.sqlTitle.Equals("package") && d.dispatch_status.Equals(4))+ || (pageSearch.sqlTitle.Equals("weight") && d.dispatch_status.Equals(5))+ || (pageSearch.sqlTitle.Equals("delivery") && d.dispatch_status.Equals(6)) ? false : true,};query = query.Where(t => t.tenant_id.Equals(currentUser.tenant_id)).Where(queries.AsExpression<DispatchlistViewModel>());- if (pageSearch.sqlTitle.Contains("dispatch_status"))- {- var dispatch_status = Convert.ToByte(pageSearch.sqlTitle.Trim().ToLower().Replace("dispatch_status", "").Replace(":", "").Replace(":", "").Replace("=", ""));- query = query.Where(t => t.dispatch_status.Equals(dispatch_status));- }- else if (pageSearch.sqlTitle.Equals("to_package"))- {- query = query.Where(t => (t.picked_qty == t.qty && (t.dispatch_status.Equals(3)) || (t.package_qty < t.picked_qty && t.dispatch_status.Equals(5))));- }- else if (pageSearch.sqlTitle.Equals("to_weight"))- {- query = query.Where(t => t.picked_qty == t.qty && (t.dispatch_status.Equals(3) || (t.weighing_qty < t.picked_qty && t.dispatch_status.Equals(4))));- }- else if (pageSearch.sqlTitle.Equals("to_delivery"))- {- query = query.Where(t => t.picked_qty == t.qty && (t.dispatch_status.Equals(3) || t.dispatch_status.Equals(4) || t.dispatch_status.Equals(5)));- }-+int totals = await query.CountAsync();- var list = await query.OrderByDescending(t => t.create_time)+ var list = await query.OrderBy(t => t.is_todo == true ? 0 : 1).ThenByDescending(t => t.create_time).Skip((pageSearch.pageIndex - 1) * pageSearch.pageSize).Take(pageSearch.pageSize).ToListAsync();+return (list, totals);}@@ -203,7 +207,7 @@ namespace ModernWMS.WMS.Servicesspu_code = spu.spu_code,spu_description = spu.spu_description,spu_name = spu.spu_name,- bar_code = spu.bar_code,+ bar_code = sku.bar_code,unpicked_qty = d.qty - d.picked_qty,sku_name = sku.sku_name,unit = sku.unit@@ -228,7 +232,7 @@ namespace ModernWMS.WMS.Servicesvar skus = await (_dBContext.GetDbSet<SkuEntity>().AsNoTracking().Where(t => sku_id_list.Contains(t.id))).ToListAsync();if (entities.Any(t => t.dispatch_status != 1 && t.dispatch_status != 0)){- return (false,"[202]"+ _stringLocalizer["data_changed"]);+ return (false, "[202]" + _stringLocalizer["data_changed"]);}foreach (var vm in viewModels){@@ -300,7 +304,7 @@ namespace ModernWMS.WMS.Services}else{- return (false, "[202]" + _stringLocalizer["save_failed"]);+ return (false, _stringLocalizer["save_failed"]);}}@@ -332,11 +336,12 @@ namespace ModernWMS.WMS.Servicesspu_code = spu.spu_code,spu_description = spu.spu_description,spu_name = spu.spu_name,- bar_code = spu.bar_code,+ bar_code = sku.bar_code,location_name = location.location_name,warehouse_area_name = location.warehouse_area_name,warehouse_area_property = location.warehouse_area_property,warehouse_name = location.warehouse_name,+ series_number = dpl.series_number}).ToListAsync();return datas;}@@ -396,7 +401,7 @@ namespace ModernWMS.WMS.Services.Take(pageSearch.pageSize).ToListAsync();- #region sqlit cannot sum data of decimal type+ #region sqlite cannot sum data of decimal typevar dispatch_no_list = list.Select(t => t.dispatch_no).Distinct().ToList();var d_datas = await (from d in DbSet.AsNoTracking()@@ -415,7 +420,7 @@ namespace ModernWMS.WMS.Servicest.weight = d_datas.Where(d => d.dispatch_no == t.dispatch_no).Sum(t => t.weight);});- #endregion sqlit cannot sum data of decimal type+ #endregion sqlite cannot sum data of decimal typereturn (list, totals);}@@ -441,7 +446,7 @@ namespace ModernWMS.WMS.Servicesspu_code = spu.spu_code,spu_description = spu.spu_description,spu_name = spu.spu_name,- bar_code = spu.bar_code,+ bar_code = sku.bar_code,dispatch_status = dl.dispatch_status,customer_id = dl.customer_id,customer_name = dl.customer_name,@@ -509,7 +514,7 @@ namespace ModernWMS.WMS.Services}else{- return (false, "[202]" + _stringLocalizer["save_failed"]);+ return (false, _stringLocalizer["save_failed"]);}}@@ -534,7 +539,7 @@ namespace ModernWMS.WMS.Services}else{- return (false, "[202]" + _stringLocalizer["delete_failed"]);+ return (false, _stringLocalizer["delete_failed"]);}}@@ -559,55 +564,60 @@ namespace ModernWMS.WMS.Servicesvar location_DBSet = _dBContext.GetDbSet<GoodslocationEntity>();var stock_group_datas = from stock in stock_DbSet.AsNoTracking()join gl in _dBContext.GetDbSet<GoodslocationEntity>().AsNoTracking() on stock.goods_location_id equals gl.id- group stock by new { stock.id, stock.sku_id, stock.goods_location_id, stock.goods_owner_id } into sg+ where stock.tenant_id == currentUser.user_id+ group stock by new { stock.id, stock.sku_id, stock.goods_location_id, stock.goods_owner_id, stock.series_number } into sgselect new{stock_id = sg.Key.id,goods_owner_id = sg.Key.goods_owner_id,sku_id = sg.Key.sku_id,goods_location_id = sg.Key.goods_location_id,+ series_number = sg.Key.series_number,qty_frozen = sg.Where(t => t.is_freeze == true).Sum(e => e.qty),qty = sg.Sum(t => t.qty)};var dispatch_group_datas = from dp in DbSet.AsNoTracking()join dpp in dispatchpick_DBSet.AsNoTracking() on dp.id equals dpp.dispatchlist_idwhere dp.dispatch_status > 1 && dp.dispatch_status < 6- group dpp by new { dpp.sku_id, dpp.goods_location_id, dpp.goods_owner_id } into dg+ group dpp by new { dpp.sku_id, dpp.goods_location_id, dpp.goods_owner_id, dpp.series_number } into dgselect new{goods_owner_id = dg.Key.goods_owner_id,sku_id = dg.Key.sku_id,goods_location_id = dg.Key.goods_location_id,+ series_number = dg.Key.series_number,qty_locked = dg.Sum(t => t.pick_qty)};var process_locked_group_datas = from pd in processdetail_DBSetwhere pd.is_update_stock == false- group pd by new { pd.sku_id, pd.goods_location_id, pd.goods_owner_id } into pdg+ group pd by new { pd.sku_id, pd.goods_location_id, pd.goods_owner_id, pd.series_number } into pdgselect new{goods_owner_id = pdg.Key.goods_owner_id,sku_id = pdg.Key.sku_id,goods_location_id = pdg.Key.goods_location_id,+ series_number = pdg.Key.series_number,qty_locked = pdg.Sum(t => t.qty)};var move_locked_group_datas = from m in move_DBSet.AsNoTracking()where m.move_status == 0- group m by new { m.sku_id, m.orig_goods_location_id, m.goods_owner_id } into mg+ group m by new { m.sku_id, m.orig_goods_location_id, m.goods_owner_id, m.series_number } into mgselect new{goods_owner_id = mg.Key.goods_owner_id,sku_id = mg.Key.sku_id,goods_location_id = mg.Key.orig_goods_location_id,+ series_number = mg.Key.series_number,qty_locked = mg.Sum(t => t.qty)};var datas = await (from dl in DbSetjoin sg in stock_group_datas on dl.sku_id equals sg.sku_id into sg_leftfrom sg in sg_left.DefaultIfEmpty()- join dp in dispatch_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id } equals new { dp.sku_id, dp.goods_location_id, dp.goods_owner_id } into dp_left+ join dp in dispatch_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id, sg.series_number } equals new { dp.sku_id, dp.goods_location_id, dp.goods_owner_id, dp.series_number } into dp_leftfrom dp in dp_left.DefaultIfEmpty()- join pl in process_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id } equals new { pl.sku_id, pl.goods_location_id, pl.goods_owner_id } into pl_left+ join pl in process_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id, sg.series_number } equals new { pl.sku_id, pl.goods_location_id, pl.goods_owner_id, pl.series_number } into pl_leftfrom pl in pl_left.DefaultIfEmpty()- join m in move_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id } equals new { m.sku_id, m.goods_location_id, m.goods_owner_id } into m_left+ join m in move_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id, sg.series_number } equals new { m.sku_id, m.goods_location_id, m.goods_owner_id, m.series_number } into m_leftfrom m in m_left.DefaultIfEmpty()join sku in sku_DBSet on dl.sku_id equals sku.idjoin spu in spu_DBSet on sku.spu_id equals spu.id@@ -631,13 +641,14 @@ namespace ModernWMS.WMS.Servicesid = dl.id,spu_description = spu.spu_description,dispatch_status = dl.dispatch_status,- bar_code = spu.bar_code,+ bar_code = sku.bar_code,customer_id = dl.customer_id,customer_name = dl.customer_name,dispatch_no = dl.dispatch_no,location_name = gl.location_name == null ? "" : gl.location_name,warehouse_area_name = gl.warehouse_area_name == null ? "" : gl.warehouse_area_name,- warehouse_name = gl.warehouse_name == null ? "" : gl.warehouse_name+ warehouse_name = gl.warehouse_name == null ? "" : gl.warehouse_name,+ series_number = sg.series_number}).ToListAsync();var res = (from d in datasgroup d by new@@ -687,7 +698,8 @@ namespace ModernWMS.WMS.Serviceslocation_name = d.location_name,warehouse_area_name = d.warehouse_area_name,warehouse_name = d.warehouse_name,- pick_qty = 0+ pick_qty = 0,+ series_number = d.series_number,}).OrderByDescending(o => o.qty_available).ToList();int pick_qty = 0;@@ -753,6 +765,7 @@ namespace ModernWMS.WMS.Servicesgoods_location_id = p.goods_location_id,goods_owner_id = p.goods_owner_id,last_update_time = DateTime.Now,+ series_number = p.series_number,pick_qty = p.pick_qty,});topick_viewmodels.Add(new StockViewModel { id = p.stock_id, qty = p.pick_qty });@@ -764,7 +777,9 @@ namespace ModernWMS.WMS.Servicessku_id = vm.sku_id,dispatch_status = 1,qty = d.qty - d.lock_qty,- tenant_id = currentUser.tenant_id+ tenant_id = currentUser.tenant_id,+ customer_id = d.customer_id,+ customer_name = d.customer_name,});d.qty = d.lock_qty;}@@ -776,60 +791,66 @@ namespace ModernWMS.WMS.Servicessku_id = vm.sku_id,dispatch_status = 1,qty = vm.qty,- tenant_id = currentUser.tenant_id+ tenant_id = currentUser.tenant_id,+ customer_id = d.customer_id,+ customer_name = d.customer_name,});DBSet.Remove(d);}}var stock_group_datas = from stock in stock_DBSet.AsNoTracking()where stock_id_list.Contains(stock.id)- group stock by new { stock.id, stock.sku_id, stock.goods_location_id, stock.goods_owner_id } into sg+ group stock by new { stock.id, stock.sku_id, stock.goods_location_id, stock.goods_owner_id, stock.series_number } into sgselect new{stock_id = sg.Key.id,goods_owner_id = sg.Key.goods_owner_id,sku_id = sg.Key.sku_id,goods_location_id = sg.Key.goods_location_id,+ series_number = sg.Key.series_number,qty_frozen = sg.Where(t => t.is_freeze == true).Sum(e => e.qty),qty = sg.Sum(t => t.qty)};var dispatch_group_datas = from dp in DBSet.AsNoTracking()join dpp in pick_DBSet.AsNoTracking() on dp.id equals dpp.dispatchlist_idwhere dp.dispatch_status > 1 && dp.dispatch_status < 6- group dpp by new { dpp.sku_id, dpp.goods_location_id, dpp.goods_owner_id } into dg+ group dpp by new { dpp.sku_id, dpp.goods_location_id, dpp.goods_owner_id, dpp.series_number } into dgselect new{goods_owner_id = dg.Key.goods_owner_id,sku_id = dg.Key.sku_id,goods_location_id = dg.Key.goods_location_id,+ series_number = dg.Key.series_number,qty_locked = dg.Sum(t => t.pick_qty)};var process_locked_group_datas = from pd in processdetail_DBSetwhere pd.is_update_stock == false- group pd by new { pd.sku_id, pd.goods_location_id, pd.goods_owner_id } into pdg+ group pd by new { pd.sku_id, pd.goods_location_id, pd.goods_owner_id, pd.series_number } into pdgselect new{goods_owner_id = pdg.Key.goods_owner_id,sku_id = pdg.Key.sku_id,goods_location_id = pdg.Key.goods_location_id,+ series_number = pdg.Key.series_number,qty_locked = pdg.Sum(t => t.qty)};var move_locked_group_datas = from m in move_DBSet.AsNoTracking()where m.move_status == 0- group m by new { m.sku_id, m.orig_goods_location_id, m.goods_owner_id } into mg+ group m by new { m.sku_id, m.orig_goods_location_id, m.goods_owner_id, m.series_number } into mgselect new{goods_owner_id = mg.Key.goods_owner_id,sku_id = mg.Key.sku_id,goods_location_id = mg.Key.orig_goods_location_id,+ series_number = mg.Key.series_number,qty_locked = mg.Sum(t => t.qty)};var stock_datas = await (from sg in stock_group_datas- join dp in dispatch_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id } equals new { dp.sku_id, dp.goods_location_id, dp.goods_owner_id } into dp_left+ join dp in dispatch_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id, sg.series_number } equals new { dp.sku_id, dp.goods_location_id, dp.goods_owner_id, dp.series_number } into dp_leftfrom dp in dp_left.DefaultIfEmpty()- join pl in process_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id } equals new { pl.sku_id, pl.goods_location_id, pl.goods_owner_id } into pl_left+ join pl in process_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id, sg.series_number } equals new { pl.sku_id, pl.goods_location_id, pl.goods_owner_id, pl.series_number } into pl_leftfrom pl in pl_left.DefaultIfEmpty()- join m in move_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id } equals new { m.sku_id, m.goods_location_id, m.goods_owner_id } into m_left+ join m in move_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id, sg.series_number } equals new { m.sku_id, m.goods_location_id, m.goods_owner_id, m.series_number } into m_leftfrom m in m_left.DefaultIfEmpty()select new{@@ -867,7 +888,7 @@ namespace ModernWMS.WMS.Services}else{- return (false, "[202]" + _stringLocalizer["operation_failed"]);+ return (false, _stringLocalizer["operation_failed"]);}}@@ -884,7 +905,7 @@ namespace ModernWMS.WMS.Servicesvar entities = await DBSet.Where(t => t.dispatch_no == viewModel.dispatch_no && t.tenant_id == currentUser.tenant_id && t.dispatch_status == viewModel.dispatch_status).ToListAsync();if (entities.Count == 0){- return (false, "[202]" + _stringLocalizer["status_changed"]);+ return (false, _stringLocalizer["status_changed"]);}var time = DateTime.Now;var dispatch_id_list = entities.Select(t => t.id).ToList();@@ -949,7 +970,7 @@ namespace ModernWMS.WMS.Services}else{- return (false, "[202]" + _stringLocalizer["operation_failed"]);+ return (false, _stringLocalizer["operation_failed"]);}}@@ -965,7 +986,7 @@ namespace ModernWMS.WMS.Servicesvar time = DateTime.Now;if (entity == null){- return (false, "[202]" + _stringLocalizer["not_exists_entity"]);+ return (false, _stringLocalizer["not_exists_entity"]);}if (entity.dispatch_status == 4){@@ -999,7 +1020,7 @@ namespace ModernWMS.WMS.Services}else{- return (false, "[202]" + _stringLocalizer["status_changed"]);+ return (false, _stringLocalizer["status_changed"]);}entity.last_update_time = time;var qty = await _dBContext.SaveChangesAsync();@@ -1009,7 +1030,7 @@ namespace ModernWMS.WMS.Services}else{- return (false, "[202]" + _stringLocalizer["operation_failed"]);+ return (false, _stringLocalizer["operation_failed"]);}}@@ -1044,7 +1065,7 @@ namespace ModernWMS.WMS.Services}else{- return (false, "[202]" + _stringLocalizer["operation_failed"]);+ return (false, _stringLocalizer["operation_failed"]);}}@@ -1132,7 +1153,7 @@ namespace ModernWMS.WMS.Services}else{- return (false,"[202]"+ _stringLocalizer["operation_failed"]);+ return (false, _stringLocalizer["operation_failed"]);}}@@ -1222,7 +1243,7 @@ namespace ModernWMS.WMS.Services}else{- return (false, "[202]" + _stringLocalizer["operation_failed"]);+ return (false, _stringLocalizer["operation_failed"]);}}@@ -1255,14 +1276,14 @@ namespace ModernWMS.WMS.Services}var pick_sql = pick_DBSet.Where(t => dispatchlist_id_list.Contains(t.dispatchlist_id));var pick_datas = await pick_sql.ToListAsync();- var picks_g = pick_sql.AsNoTracking().GroupBy(e => new { e.goods_location_id, e.sku_id, e.goods_owner_id }).Select(c => new { c.Key.goods_location_id, c.Key.sku_id, c.Key.goods_owner_id, picked_qty = c.Sum(t => t.picked_qty) });+ var picks_g = pick_sql.AsNoTracking().GroupBy(e => new { e.goods_location_id, e.sku_id, e.goods_owner_id, e.series_number }).Select(c => new { c.Key.goods_location_id, c.Key.sku_id, c.Key.goods_owner_id, c.Key.series_number, picked_qty = c.Sum(t => t.picked_qty) });var picks = await picks_g.ToListAsync();var stocks = await (from stock in stock_DBSet- where pick_sql.Any(t => t.goods_location_id == stock.goods_location_id && t.sku_id == stock.sku_id && t.goods_owner_id == stock.goods_owner_id)+ where pick_sql.Any(t => t.goods_location_id == stock.goods_location_id && t.sku_id == stock.sku_id && t.goods_owner_id == stock.goods_owner_id && t.series_number == stock.series_number)select stock).ToListAsync();foreach (var pick in picks){- var s = stocks.FirstOrDefault(t => t.goods_location_id == pick.goods_location_id && t.sku_id == pick.sku_id && t.goods_owner_id == pick.goods_owner_id);+ var s = stocks.FirstOrDefault(t => t.goods_location_id == pick.goods_location_id && t.sku_id == pick.sku_id && t.goods_owner_id == pick.goods_owner_id && t.series_number == pick.series_number);if (s == null){return (false, "[202]" + _stringLocalizer["data_changed"]);@@ -1276,7 +1297,6 @@ namespace ModernWMS.WMS.Servicespick.is_update_stock = true;pick.last_update_time = DateTime.Now;}- pick_DBSet.UpdateRange(pick_datas);var saved = false;int res = 0;while (!saved)@@ -1328,7 +1348,7 @@ namespace ModernWMS.WMS.Services}else{- return (false, "[202]" + _stringLocalizer["operation_failed"]);+ return (false, _stringLocalizer["operation_failed"]);}}@@ -1374,7 +1394,7 @@ namespace ModernWMS.WMS.Services}else{- return (false, "[202]" + _stringLocalizer["operation_failed"]);+ return (false, _stringLocalizer["operation_failed"]);}}@@ -1407,7 +1427,7 @@ namespace ModernWMS.WMS.Services}else{- return (false, "[202]" + _stringLocalizer["operation_failed"]);+ return (false, _stringLocalizer["operation_failed"]);}}@@ -1443,17 +1463,6 @@ namespace ModernWMS.WMS.Servicesreturn code;}- /// <summary>- /// get package or weight code- /// </summary>- /// <returns></returns>- public string GetPackageOrWeightCode()- {- string date = DateTime.Now.ToString("yyyy" + "MM" + "dd");- DateTime _dtStart = new DateTime(1970, 1, 1, 8, 0, 0);- long timeStamp = Convert.ToInt32(DateTime.Now.Subtract(_dtStart).TotalSeconds);- return date + timeStamp.ToString();- }/// <summary>/// Excel Import/// </summary>@@ -1528,7 +1537,7 @@ namespace ModernWMS.WMS.Services{for (int i = 1; i <= cnt; i++){- code.Add(date + "-" + i.ToString("0000"));+ code.Add(date +"-"+ cnt.ToString("0000"));}}else@@ -1540,20 +1549,122 @@ namespace ModernWMS.WMS.Servicesint.TryParse(maxDateNo, out int dd);for (int i = 1; i <= cnt; i++){- code.Add(date + "-" + (dd + i).ToString("0000"));+ code.Add(date + "-" + (dd + cnt).ToString("0000"));}}else{for (int i = 1; i <= cnt; i++){- code.Add(date + "-" + i.ToString("0000"));+ code.Add(date + "-" + cnt.ToString("0000"));}}}return code;}++ /// <summary>+ /// get package or weight code+ /// </summary>+ /// <returns></returns>+ public string GetPackageOrWeightCode()+ {+ string date = DateTime.Now.ToString("yyyy" + "MM" + "dd");+ DateTime _dtStart = new DateTime(1970, 1, 1, 8, 0, 0);+ long timeStamp = Convert.ToInt32(DateTime.Now.Subtract(_dtStart).TotalSeconds);+ return date + timeStamp.ToString();+ }++ /*public async Task<bool> AllocateInventory(DateTime TimeBegin, DateTime TimeEnd, CurrentUser currentUser)+ {+ var DbSet = _dBContext.GetDbSet<DispatchlistEntity>();+ var dispatchpick_DBSet = _dBContext.GetDbSet<DispatchpicklistEntity>();+ var to_pick_query = DbSet.Where(t => t.tenant_id == currentUser.tenant_id && t.create_time >= TimeBegin && t.create_time <= TimeEnd && t.dispatch_status == 1);+ var to_pick_list = await dispatchpick_DBSet.Where(t => to_pick_query.Any(e => e.id == t.dispatchlist_id)).OrderBy(t => t.id).ToListAsync();+ var to_pick = await to_pick_query.ToListAsync();+ var pick_sku = to_pick.Select(t => t.sku_id).ToList();++ var stock_DbSet = _dBContext.GetDbSet<StockEntity>();+ var asn_DBSet = _dBContext.GetDbSet<AsnEntity>();+ var dispatch_DBSet = _dBContext.GetDbSet<DispatchlistEntity>();+ var sku_DBSet = _dBContext.GetDbSet<SkuEntity>().AsNoTracking();+ var spu_DBSet = _dBContext.GetDbSet<SpuEntity>().AsNoTracking();+ var processdetail_DBSet = _dBContext.GetDbSet<StockprocessdetailEntity>().AsNoTracking();+ var move_DBSet = _dBContext.GetDbSet<StockmoveEntity>();+ var owner_DBSet = _dBContext.GetDbSet<GoodsownerEntity>();+ var location_DBSet = _dBContext.GetDbSet<GoodslocationEntity>();+ var stock_group_datas = stock_DbSet.Where(t => t.tenant_id == currentUser.tenant_id && pick_sku.Any(s => s == t.sku_id));++ var dispatch_group_datas = from dp in DbSet.AsNoTracking()+ join dpp in dispatchpick_DBSet.AsNoTracking() on dp.id equals dpp.dispatchlist_id+ where dp.dispatch_status > 1 && dp.dispatch_status < 6 && dp.tenant_id == currentUser.tenant_id+ group dpp by new { dpp.sku_id, dpp.goods_location_id, dpp.goods_owner_id, dpp.series_number } into dg+ select new+ {+ goods_owner_id = dg.Key.goods_owner_id,+ sku_id = dg.Key.sku_id,+ goods_location_id = dg.Key.goods_location_id,+ series_number = dg.Key.series_number,+ qty_locked = dg.Sum(t => t.pick_qty)+ };+ var process_locked_group_datas = from pd in processdetail_DBSet+ where pd.is_update_stock == false && pd.tenant_id == currentUser.tenant_id+ group pd by new { pd.sku_id, pd.goods_location_id, pd.goods_owner_id, pd.series_number } into pdg+ select new+ {+ goods_owner_id = pdg.Key.goods_owner_id,+ sku_id = pdg.Key.sku_id,+ goods_location_id = pdg.Key.goods_location_id,+ series_number = pdg.Key.series_number,+ qty_locked = pdg.Sum(t => t.qty)+ };+ var move_locked_group_datas = from m in move_DBSet.AsNoTracking()+ where m.move_status == 0 && m.tenant_id == currentUser.tenant_id+ group m by new { m.sku_id, m.orig_goods_location_id, m.goods_owner_id, m.series_number } into mg+ select new+ {+ goods_owner_id = mg.Key.goods_owner_id,+ sku_id = mg.Key.sku_id,+ goods_location_id = mg.Key.orig_goods_location_id,+ series_number = mg.Key.series_number,+ qty_locked = mg.Sum(t => t.qty)+ };+ var datas = await (from sg in stock_group_datas+ join dp in dispatch_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id, sg.series_number } equals new { dp.sku_id, dp.goods_location_id, dp.goods_owner_id, dp.series_number } into dp_left+ from dp in dp_left.DefaultIfEmpty()+ join pl in process_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id, sg.series_number } equals new { pl.sku_id, pl.goods_location_id, pl.goods_owner_id, pl.series_number } into pl_left+ from pl in pl_left.DefaultIfEmpty()+ join m in move_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id, sg.series_number } equals new { m.sku_id, m.goods_location_id, m.goods_owner_id, m.series_number } into m_left+ from m in m_left.DefaultIfEmpty()+ where pick_sku.Contains(sg.sku_id)+ select new+ {+ stock_id = sg.stock_id,+ goods_location_id = sg.goods_location_id,+ goods_owner_id = sg.goods_owner_id,+ qty_available = sg.qty - sg.qty_frozen - (dp.qty_locked == null ? 0 : dp.qty_locked) - (pl.qty_locked == null ? 0 : pl.qty_locked) - (m.qty_locked == null ? 0 : m.qty_locked),+ sku_id = sg.sku_id,+ series_number = sg.series_number+ }).ToListAsync();+ foreach (var p in to_pick_list)+ {+ var picklist = datas.Where(t => t.sku_id == p.sku_id && t.stock_id > 0).OrderBy(o => o.qty_available).OrderByDescending(o => o.qty_available).ToList();+ int pick_qty = 0;+ foreach (var pick in picklist)+ {+ if (pick_qty >= d.qty)+ {+ break;+ }+ pick.pick_qty = (r.qty <= (pick_qty + pick.qty_available)) ? (r.qty - pick_qty) : pick.qty_available;+ pick_qty += pick.pick_qty;+ }+ r.pick_list = picklist.Where(t => t.qty_available > 0).ToList();+ }+ }*/++#endregion Api}}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Services/Print/PrintSolutionService.cs b/backend/ModernWMS.WMS/Services/Print/PrintSolutionService.csnew file mode 100644index 0000000..8cfab89--- /dev/null+++ b/backend/ModernWMS.WMS/Services/Print/PrintSolutionService.cs@@ -0,0 +1,206 @@+/*+ * date:2023-09-11+ * developer:NoNo+ */++using Mapster;+using Microsoft.EntityFrameworkCore;+using ModernWMS.Core.DBContext;+using ModernWMS.Core.Services;+using ModernWMS.WMS.Entities.Models;+using ModernWMS.WMS.Entities.ViewModels;+using ModernWMS.WMS.IServices;+using Microsoft.Extensions.Localization;+using ModernWMS.Core.DynamicSearch;+using ModernWMS.Core.Models;+using ModernWMS.Core.JWT;++namespace ModernWMS.WMS.Services+{+ /// <summary>+ /// User_defined_print_solution Service+ /// </summary>+ public class PrintSolutionService : BaseService<PrintSolutionEntity>, IPrintSolutionService+ {+ #region Args++ /// <summary>+ /// The DBContext+ /// </summary>+ private readonly SqlDBContext _dBContext;++ /// <summary>+ /// Localizer Service+ /// </summary>+ private readonly IStringLocalizer<ModernWMS.Core.MultiLanguage> _stringLocalizer;++ #endregion Args++ #region constructor++ /// <summary>+ ///User_defined_print_solution constructor+ /// </summary>+ /// <param name="dBContext">The DBContext</param>+ /// <param name="stringLocalizer">Localizer</param>+ public PrintSolutionService(+ SqlDBContext dBContext+ , IStringLocalizer<ModernWMS.Core.MultiLanguage> stringLocalizer+ )+ {+ this._dBContext = dBContext;+ this._stringLocalizer = stringLocalizer;+ }++ #endregion constructor++ #region Api++ /// <summary>+ /// page search+ /// </summary>+ /// <param name="pageSearch">args</param>+ /// <param name="currentUser">currentUser</param>+ /// <returns></returns>+ public async Task<(List<PrintSolutionViewModel> data, int totals)> PageAsync(PageSearch pageSearch, CurrentUser currentUser)+ {+ QueryCollection queries = new QueryCollection();+ if (pageSearch.searchObjects.Any())+ {+ pageSearch.searchObjects.ForEach(s =>+ {+ queries.Add(s);+ });+ }+ var DbSet = _dBContext.GetDbSet<PrintSolutionEntity>();+ var query = DbSet.AsNoTracking()+ .Where(t => t.tenant_id.Equals(currentUser.tenant_id))+ .Where(queries.AsExpression<PrintSolutionEntity>());+ int totals = await query.CountAsync();+ var list = await query.OrderByDescending(t => t.id)+ .Skip((pageSearch.pageIndex - 1) * pageSearch.pageSize)+ .Take(pageSearch.pageSize)+ .ToListAsync();+ return (list.Adapt<List<PrintSolutionViewModel>>(), totals);+ }++ /// <summary>+ /// Get all records+ /// </summary>+ /// <returns></returns>+ public async Task<List<PrintSolutionViewModel>> GetAllAsync(CurrentUser currentUser)+ {+ var DbSet = _dBContext.GetDbSet<PrintSolutionEntity>();+ var data = await DbSet.AsNoTracking().Where(t => t.tenant_id.Equals(currentUser.tenant_id)).ToListAsync();+ return data.Adapt<List<PrintSolutionViewModel>>();+ }++ /// <summary>+ /// Get a record by id+ /// </summary>+ /// <returns></returns>+ public async Task<PrintSolutionViewModel> GetAsync(int id)+ {+ var DbSet = _dBContext.GetDbSet<PrintSolutionEntity>();+ var entity = await DbSet.AsNoTracking().FirstOrDefaultAsync(t => t.id.Equals(id));+ if (entity == null)+ {+ return null;+ }+ return entity.Adapt<PrintSolutionViewModel>();+ }++ /// <summary>+ /// get a record by path+ /// </summary>+ /// <param name="input">input</param>+ /// <param name="currentUser">currentUser</param>+ /// <returns></returns>+ public async Task<List<PrintSolutionViewModel>> GetByPathAsync(PrintSolutionGetByPathInputViewModel input, CurrentUser currentUser)+ {+ var DbSet = _dBContext.GetDbSet<PrintSolutionEntity>();+ var entity = await DbSet.AsNoTracking().Where(t => t.tenant_id.Equals(currentUser.tenant_id) && t.vue_path.Equals(input.vue_path) && t.tab_page.Equals(input.tab_page)).ToListAsync();+ if (entity == null)+ {+ return null;+ }+ return entity.Adapt<List<PrintSolutionViewModel>>();+ }++ /// <summary>+ /// add a new record+ /// </summary>+ /// <param name="viewModel">viewmodel</param>+ /// <returns></returns>+ public async Task<(int id, string msg)> AddAsync(PrintSolutionViewModel viewModel, CurrentUser currentUser)+ {+ var DbSet = _dBContext.GetDbSet<PrintSolutionEntity>();+ var entity = viewModel.Adapt<PrintSolutionEntity>();+ entity.id = 0;+ entity.tenant_id = currentUser.tenant_id;+ entity.last_update_time = DateTime.Now;+ await DbSet.AddAsync(entity);+ await _dBContext.SaveChangesAsync();+ if (entity.id > 0)+ {+ return (entity.id, _stringLocalizer["save_success"]);+ }+ else+ {+ return (0, _stringLocalizer["save_failed"]);+ }+ }++ /// <summary>+ /// update a record+ /// </summary>+ /// <param name="viewModel">args</param>+ /// <returns></returns>+ public async Task<(bool flag, string msg)> UpdateAsync(PrintSolutionViewModel viewModel)+ {+ var DbSet = _dBContext.GetDbSet<PrintSolutionEntity>();+ var entity = await DbSet.FirstOrDefaultAsync(t => t.id.Equals(viewModel.id));+ if (entity == null)+ {+ return (false, _stringLocalizer["not_exists_entity"]);+ }+ entity.vue_path = viewModel.vue_path;+ entity.tab_page = viewModel.tab_page;+ entity.solution_name = viewModel.solution_name;+ entity.config_json = viewModel.config_json;+ entity.report_length = viewModel.report_length;+ entity.report_width = viewModel.report_width;+ entity.report_direction = viewModel.report_direction;+ entity.last_update_time = DateTime.Now;+ var qty = await _dBContext.SaveChangesAsync();+ if (qty > 0)+ {+ return (true, _stringLocalizer["save_success"]);+ }+ else+ {+ return (false, _stringLocalizer["save_failed"]);+ }+ }++ /// <summary>+ /// delete a record+ /// </summary>+ /// <param name="id">id</param>+ /// <returns></returns>+ public async Task<(bool flag, string msg)> DeleteAsync(int id)+ {+ var qty = await _dBContext.GetDbSet<PrintSolutionEntity>().Where(t => t.id.Equals(id)).ExecuteDeleteAsync();+ if (qty > 0)+ {+ return (true, _stringLocalizer["delete_success"]);+ }+ else+ {+ return (false, _stringLocalizer["delete_failed"]);+ }+ }++ #endregion Api+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Services/Rolemenu/RolemenuService.cs b/backend/ModernWMS.WMS/Services/Rolemenu/RolemenuService.csindex e2fb75c..42c1c45 100644--- a/backend/ModernWMS.WMS/Services/Rolemenu/RolemenuService.cs+++ b/backend/ModernWMS.WMS/Services/Rolemenu/RolemenuService.cs@@ -2,16 +2,17 @@* date:2022-12-20* developer:AMo*/-using Mapster;using Microsoft.EntityFrameworkCore;using Microsoft.Extensions.Localization;using ModernWMS.Core.DBContext;using ModernWMS.Core.JWT;+using ModernWMS.Core.Models;using ModernWMS.Core.Services;+using ModernWMS.Core.Utility;using ModernWMS.WMS.Entities.Models;using ModernWMS.WMS.Entities.ViewModels;using ModernWMS.WMS.IServices;-using ModernWMS.Core.Models;+namespace ModernWMS.WMS.Services{/// <summary>@@ -104,6 +105,7 @@ namespace ModernWMS.WMS.Servicesrm.menu_id,m.menu_name,rm.authority,+ rm.menu_actions_authority,rm.create_time,rm.last_update_time}).ToListAsync();@@ -114,7 +116,14 @@ namespace ModernWMS.WMS.Servicesuserrole_id = entities.First().userrole_id,role_name = entities.First().role_name,is_valid = entities.First().is_valid,- detailList = entities.Adapt<List<RolemenuViewModel>>()+ detailList = entities.Select(t => new RolemenuViewModel+ {+ id = t.id,+ menu_id = t.menu_id,+ menu_name = t.menu_name,+ authority = t.authority,+ menu_actions_authority = JsonHelper.DeserializeObject<List<string>>(t.menu_actions_authority)+ }).ToList()};return data;}@@ -133,7 +142,7 @@ namespace ModernWMS.WMS.Servicesvar Menus = _dBContext.GetDbSet<MenuEntity>();var data = await Menus.AsNoTracking().Where(t => t.tenant_id == currentUser.tenant_id)- .Select(m => new MenuViewModel+ .Select(m => new{id = m.id,menu_name = m.menu_name,@@ -141,9 +150,22 @@ namespace ModernWMS.WMS.Servicesvue_path = m.vue_path,vue_path_detail = m.vue_path_detail,vue_directory = m.vue_directory,- sort = m.sort+ sort = m.sort,+ menu_actions = m.menu_actions}).ToListAsync();- return data;++ var result = data.Select(m => new MenuViewModel+ {+ id = m.id,+ menu_name = m.menu_name,+ module = m.module,+ vue_path = m.vue_path,+ vue_path_detail = m.vue_path_detail,+ vue_directory = m.vue_directory,+ sort = m.sort,+ menu_actions = JsonHelper.DeserializeObject<List<string>>(m.menu_actions)+ }).ToList();+ return result;}/// <summary>/// Get menu's authority by user role id@@ -158,7 +180,7 @@ namespace ModernWMS.WMS.Servicesjoin m in Menus.AsNoTracking() on rm.menu_id equals m.idwhere rm.userrole_id == userrole_idorderby m.sort, m.menu_name- select new MenuViewModel+ select new{id = m.id,menu_name = m.menu_name,@@ -166,9 +188,25 @@ namespace ModernWMS.WMS.Servicesvue_path = m.vue_path,vue_path_detail = m.vue_path_detail,vue_directory = m.vue_directory,- sort = m.sort+ sort = m.sort,+ rm.menu_actions_authority}).ToListAsync();- return data;+ if (data.Any())+ {+ var result = data.Select(m => new MenuViewModel+ {+ id = m.id,+ menu_name = m.menu_name,+ module = m.module,+ vue_path = m.vue_path,+ vue_path_detail = m.vue_path_detail,+ vue_directory = m.vue_directory,+ sort = m.sort,+ menu_actions = JsonHelper.DeserializeObject<List<string>>(m.menu_actions_authority)+ }).ToList();+ return result;+ }+ return new List<MenuViewModel>();}/// <summary>/// add a new record@@ -189,6 +227,7 @@ namespace ModernWMS.WMS.Servicesuserrole_id = viewModel.userrole_id,menu_id = t.menu_id,authority = t.authority,+ menu_actions_authority = JsonHelper.SerializeObject(t.menu_actions_authority),create_time = DateTime.Now,last_update_time = DateTime.Now,tenant_id = currentUser.tenant_id@@ -229,6 +268,7 @@ namespace ModernWMS.WMS.Servicesuserrole_id = viewModel.userrole_id,menu_id = vm.menu_id,authority = vm.authority,+ menu_actions_authority = JsonHelper.SerializeObject(vm.menu_actions_authority),create_time = db == null ? DateTime.Now : db.create_time,last_update_time = DateTime.Now,tenant_id = currentUser.tenant_iddiff --git a/backend/ModernWMS.WMS/Services/Sku/SpuService.cs b/backend/ModernWMS.WMS/Services/Sku/SpuService.csindex 581fe5d..7348e37 100644--- a/backend/ModernWMS.WMS/Services/Sku/SpuService.cs+++ b/backend/ModernWMS.WMS/Services/Sku/SpuService.cs@@ -13,6 +13,7 @@using ModernWMS.Core.DynamicSearch;using ModernWMS.Core.Models;using ModernWMS.Core.JWT;+using Microsoft.AspNetCore.Mvc;namespace ModernWMS.WMS.Services{@@ -69,6 +70,8 @@ namespace ModernWMS.WMS.Servicesvar Categorys = _dBContext.GetDbSet<CategoryEntity>();var Spus = _dBContext.GetDbSet<SpuEntity>();var Skus = _dBContext.GetDbSet<SkuEntity>();+ var SkuSafetyStocks = _dBContext.GetDbSet<SkuSafetyStockEntity>();+ var Warehouses = _dBContext.GetDbSet<WarehouseEntity>();var query = from m in Spus.AsNoTracking()join c in Categorys.AsNoTracking() on m.category_id equals c.idwhere m.tenant_id == currentUser.tenant_id@@ -80,7 +83,6 @@ namespace ModernWMS.WMS.Servicescategory_id = m.category_id,category_name = c.category_name,spu_description = m.spu_description,- bar_code = m.bar_code,supplier_id = m.supplier_id,supplier_name = m.supplier_name,brand = m.brand,@@ -99,6 +101,7 @@ namespace ModernWMS.WMS.Servicesspu_id = t.spu_id,sku_code = t.sku_code,sku_name = t.sku_name,+ bar_code = t.bar_code,weight = t.weight,lenght = t.lenght,width = t.width,@@ -108,7 +111,18 @@ namespace ModernWMS.WMS.Servicescost = t.cost,price = t.price,create_time = t.create_time,- last_update_time = t.last_update_time+ last_update_time = t.last_update_time,+ detailList = (from sss in SkuSafetyStocks.AsNoTracking()+ join wh in Warehouses on sss.warehouse_id equals wh.id+ where sss.sku_id.Equals(t.id)+ select new SkuSafetyStockViewModel+ {+ id = sss.id,+ sku_id = sss.sku_id,+ safety_stock_qty = sss.safety_stock_qty,+ warehouse_id = sss.warehouse_id,+ warehouse_name = wh.warehouse_name+ }).ToList()}).ToList()};@@ -130,6 +144,8 @@ namespace ModernWMS.WMS.Servicesvar Categorys = _dBContext.GetDbSet<CategoryEntity>();var Spus = _dBContext.GetDbSet<SpuEntity>();var Skus = _dBContext.GetDbSet<SkuEntity>();+ var SkuSafetyStocks = _dBContext.GetDbSet<SkuSafetyStockEntity>();+ var Warehouses = _dBContext.GetDbSet<WarehouseEntity>();var query = from m in Spus.AsNoTracking()join c in Categorys.AsNoTracking() on m.category_id equals c.idwhere m.id == id@@ -141,7 +157,6 @@ namespace ModernWMS.WMS.Servicescategory_id = m.category_id,category_name = c.category_name,spu_description = m.spu_description,- bar_code = m.bar_code,supplier_id = m.supplier_id,supplier_name = m.supplier_name,brand = m.brand,@@ -160,6 +175,7 @@ namespace ModernWMS.WMS.Servicesspu_id = t.spu_id,sku_code = t.sku_code,sku_name = t.sku_name,+ bar_code = t.bar_code,weight = t.weight,lenght = t.lenght,width = t.width,@@ -169,7 +185,18 @@ namespace ModernWMS.WMS.Servicescost = t.cost,price = t.price,create_time = t.create_time,- last_update_time = t.last_update_time+ last_update_time = t.last_update_time,+ detailList = (from sss in SkuSafetyStocks.AsNoTracking()+ join wh in Warehouses on sss.warehouse_id equals wh.id+ where sss.sku_id.Equals(t.id)+ select new SkuSafetyStockViewModel+ {+ id = sss.id,+ sku_id = sss.sku_id,+ safety_stock_qty = sss.safety_stock_qty,+ warehouse_id = sss.warehouse_id,+ warehouse_name = wh.warehouse_name+ }).ToList()}).ToList()};@@ -205,7 +232,6 @@ namespace ModernWMS.WMS.Servicescategory_id = m.category_id,category_name = c.category_name,spu_description = m.spu_description,- bar_code = m.bar_code,supplier_id = m.supplier_id,supplier_name = m.supplier_name,brand = m.brand,@@ -216,6 +242,61 @@ namespace ModernWMS.WMS.Servicessku_id = d.id,sku_code = d.sku_code,sku_name = d.sku_name,+ bar_code = d.bar_code,+ weight = d.weight,+ lenght = d.lenght,+ width = d.width,+ height = d.height,+ volume = d.volume,+ unit = d.unit,+ cost = d.cost,+ price = d.price+ };+ var data = await query.FirstOrDefaultAsync();+ if (data != null)+ {+ return data;+ }+ else+ {+ return new SkuDetailViewModel();+ }++ }++ /// <summary>+ /// get sku info by bar_code+ /// </summary>+ /// <param name="bar_code">bar_code</param>+ /// <returns></returns>+ public async Task<SkuDetailViewModel> GetSkuByBarCodeAsync(string bar_code)+ {+ var Categorys = _dBContext.GetDbSet<CategoryEntity>();+ var Spus = _dBContext.GetDbSet<SpuEntity>();+ var Skus = _dBContext.GetDbSet<SkuEntity>();+ var query = from m in Spus.AsNoTracking()+ join c in Categorys.AsNoTracking() on m.category_id equals c.id+ join d in Skus.AsNoTracking() on m.id equals d.spu_id+ where d.bar_code == bar_code+ select new SkuDetailViewModel+ {+ spu_id = m.id,+ spu_code = m.spu_code,+ spu_name = m.spu_name,+ category_id = m.category_id,+ category_name = c.category_name,+ spu_description = m.spu_description,+ supplier_id = m.supplier_id,+ supplier_name = m.supplier_name,+ brand = m.brand,+ origin = m.origin,+ length_unit = m.length_unit,+ volume_unit = m.volume_unit,+ weight_unit = m.weight_unit,+ sku_id = d.id,+ sku_code = d.sku_code,+ sku_name = d.sku_name,+ bar_code = d.bar_code,weight = d.weight,lenght = d.lenght,width = d.width,@@ -347,6 +428,67 @@ namespace ModernWMS.WMS.Services}}++ private async Task<SpuEntity?> GetSpuEntityAsync(int id)+ {+ var Spus = _dBContext.GetDbSet<SpuEntity>();+ var Skus = _dBContext.GetDbSet<SkuEntity>();+ var SkuSafetyStocks = _dBContext.GetDbSet<SkuSafetyStockEntity>();+ var entity = await (+ from m in Spus+ where m.id == id+ select new SpuEntity+ {+ id = m.id,+ spu_code = m.spu_code,+ spu_name = m.spu_name,+ category_id = m.category_id,+ spu_description = m.spu_description,+ supplier_id = m.supplier_id,+ supplier_name = m.supplier_name,+ brand = m.brand,+ origin = m.origin,+ length_unit = m.length_unit,+ volume_unit = m.volume_unit,+ weight_unit = m.weight_unit,+ creator = m.creator,+ create_time = m.create_time,+ last_update_time = m.last_update_time,+ is_valid = m.is_valid,+ detailList = Skus.Where(t => t.spu_id.Equals(m.id))+ .Select(t => new SkuEntity+ {+ Spu = m,+ id = t.id,+ spu_id = t.spu_id,+ sku_code = t.sku_code,+ sku_name = t.sku_name,+ bar_code = t.bar_code,+ weight = t.weight,+ lenght = t.lenght,+ width = t.width,+ height = t.height,+ volume = t.volume,+ unit = t.unit,+ cost = t.cost,+ price = t.price,+ create_time = t.create_time,+ last_update_time = t.last_update_time,+ detailList = (from sss in SkuSafetyStocks+ where sss.sku_id.Equals(t.id)+ select new SkuSafetyStockEntity+ {+ Sku = t,+ id = sss.id,+ sku_id = sss.sku_id,+ safety_stock_qty = sss.safety_stock_qty,+ warehouse_id = sss.warehouse_id+ }).ToList()+ }).ToList()++ }).FirstOrDefaultAsync();+ return entity;+ }/// <summary>/// update a record/// </summary>@@ -355,7 +497,8 @@ namespace ModernWMS.WMS.Servicespublic async Task<(bool flag, string msg)> UpdateAsync(SpuBothViewModel viewModel){var DbSet = _dBContext.GetDbSet<SpuEntity>();- var entity = await DbSet.Include(d => d.detailList).FirstOrDefaultAsync(t => t.id.Equals(viewModel.id));+ var entity = await DbSet.Include(d => d.detailList)+ .FirstOrDefaultAsync(t => t.id.Equals(viewModel.id));if (entity == null){return (false, _stringLocalizer["not_exists_entity"]);@@ -368,7 +511,6 @@ namespace ModernWMS.WMS.Servicesentity.spu_name = viewModel.spu_name;entity.category_id = viewModel.category_id;entity.spu_description = viewModel.spu_description;- entity.bar_code = viewModel.bar_code;entity.supplier_id = viewModel.supplier_id;entity.supplier_name = viewModel.supplier_name;entity.brand = viewModel.brand;@@ -389,6 +531,7 @@ namespace ModernWMS.WMS.Services{d.sku_code = vm.sku_code;d.sku_name = vm.sku_name;+ d.bar_code = vm.bar_code;d.weight = vm.weight;d.lenght = vm.lenght;d.width = vm.width;@@ -447,6 +590,54 @@ namespace ModernWMS.WMS.Services}}#endregion++ #region add or update sku_safety_stock+ /// <summary>+ /// add or update sku_safety_stock+ /// </summary>+ /// <param name="viewModel">args</param>+ /// <returns></returns>+ public async Task<(bool flag, string msg)> InsertOrUpdateSkuSafetyStockAsync(SkuSafetyStockPutViewModel viewModel)+ {+ if (viewModel.detailList.Any())+ {+ var SafetyDB = _dBContext.GetDbSet<SkuSafetyStockEntity>();+ var entities = await SafetyDB.Where(t => t.sku_id == viewModel.sku_id)+ .ToListAsync();+ viewModel.detailList.ForEach(async t =>+ {+ if (t.id == 0)+ {+ await SafetyDB.AddAsync(new SkuSafetyStockEntity { sku_id = viewModel.sku_id, safety_stock_qty = t.safety_stock_qty, warehouse_id = t.warehouse_id });++ }+ else+ {+ var ent = entities.FirstOrDefault(e => e.id == Math.Abs(t.id));+ if (ent != null)+ {+ if (t.id < 0)+ {+ SafetyDB.Remove(ent);+ }+ else+ {+ ent.warehouse_id = t.warehouse_id;+ ent.safety_stock_qty = t.safety_stock_qty;+ }+ }+ }+ });+ await _dBContext.SaveChangesAsync();+ return (true, _stringLocalizer["save_success"]);+ }+ else+ {+ return (false, _stringLocalizer["save_failed"]);+ }+ }++ #endregion}- }+}diff --git a/backend/ModernWMS.WMS/Services/Stock/StockService.cs b/backend/ModernWMS.WMS/Services/Stock/StockService.csindex d63e5f0..8420a05 100644--- a/backend/ModernWMS.WMS/Services/Stock/StockService.cs+++ b/backend/ModernWMS.WMS/Services/Stock/StockService.cs@@ -17,6 +17,9 @@ using ModernWMS.Core.DynamicSearch;using System.Runtime.Intrinsics.Arm;using System.Net.WebSockets;using System.Linq;+using ModernWMS.WMS.Entities.ViewModels.Stock;+using ModernWMS.Core.Utility;+using static Microsoft.EntityFrameworkCore.DbLoggerCategory;namespace ModernWMS.WMS.Services{@@ -198,55 +201,62 @@ namespace ModernWMS.WMS.Servicesvar move_DBSet = _dBContext.GetDbSet<StockmoveEntity>();var stock_group_datas = from stock in DbSet.AsNoTracking()+ join gw in _dBContext.GetDbSet<GoodsownerEntity>().AsNoTracking() on stock.goods_owner_id equals gw.id into gw_left+ from gw in gw_left.DefaultIfEmpty()where stock.tenant_id == currentUser.tenant_id- group stock by new { stock.sku_id, stock.goods_location_id, stock.goods_owner_id } into sg+ group new { stock, gw } by new { stock.sku_id, stock.goods_location_id, stock.goods_owner_id, stock.series_number, gw.goods_owner_name } into sgselect new{sku_id = sg.Key.sku_id,goods_location_id = sg.Key.goods_location_id,- sg.Key.goods_owner_id,- qty_frozen = sg.Where(t => t.is_freeze == true).Sum(e => e.qty),- qty = sg.Sum(t => t.qty)+ goods_owner_id = sg.Key.goods_owner_id,+ goods_owner_name = sg.Key.goods_owner_name,+ series_number = sg.Key.series_number,+ qty_frozen = sg.Where(t => t.stock.is_freeze == true).Sum(e => e.stock.qty),+ qty = sg.Sum(t => t.stock.qty)};var dispatch_group_datas = from dp in dispatch_DBSet.AsNoTracking()join dpp in dispatchpick_DBSet.AsNoTracking() on dp.id equals dpp.dispatchlist_idwhere dp.dispatch_status > 1 && dp.dispatch_status < 6- group dpp by new { dpp.sku_id, dpp.goods_location_id, dpp.goods_owner_id } into dg+ group dpp by new { dpp.sku_id, dpp.goods_location_id, dpp.goods_owner_id, dpp.series_number } into dgselect new{sku_id = dg.Key.sku_id,goods_location_id = dg.Key.goods_location_id,- dg.Key.goods_owner_id,+ goods_owner_id = dg.Key.goods_owner_id,+ series_number = dg.Key.series_number,qty_locked = dg.Sum(t => t.pick_qty)};var process_locked_group_datas = from pd in processdetail_DBSetwhere pd.is_update_stock == false && pd.is_source == true- group pd by new { pd.sku_id, pd.goods_location_id, pd.goods_owner_id } into pdg+ group pd by new { pd.sku_id, pd.goods_location_id, pd.goods_owner_id, pd.series_number } into pdgselect new{sku_id = pdg.Key.sku_id,goods_location_id = pdg.Key.goods_location_id,- pdg.Key.goods_owner_id,+ goods_owner_id = pdg.Key.goods_owner_id,+ series_number = pdg.Key.series_number,qty_locked = pdg.Sum(t => t.qty)};var move_locked_group_datas = from m in move_DBSet.AsNoTracking()where m.move_status == 0- group m by new { m.sku_id, m.orig_goods_location_id, m.goods_owner_id } into mg+ group m by new { m.sku_id, m.orig_goods_location_id, m.goods_owner_id, m.series_number } into mgselect new{sku_id = mg.Key.sku_id,goods_location_id = mg.Key.orig_goods_location_id,- mg.Key.goods_owner_id,+ goods_owner_id = mg.Key.goods_owner_id,+ series_number = mg.Key.series_number,qty_locked = mg.Sum(t => t.qty)};var query = from sg in stock_group_datas- join dp in dispatch_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id } equals new { dp.sku_id, dp.goods_location_id, dp.goods_owner_id } into dp_left+ join dp in dispatch_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id, sg.series_number } equals new { dp.sku_id, dp.goods_location_id, dp.goods_owner_id, dp.series_number } into dp_leftfrom dp in dp_left.DefaultIfEmpty()- join pl in process_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id } equals new { pl.sku_id, pl.goods_location_id, pl.goods_owner_id } into pl_left+ join pl in process_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id, sg.series_number } equals new { pl.sku_id, pl.goods_location_id, pl.goods_owner_id, pl.series_number } into pl_leftfrom pl in pl_left.DefaultIfEmpty()- join m in move_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id } equals new { m.sku_id, m.goods_location_id, m.goods_owner_id } into m_left+ join m in move_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id, sg.series_number } equals new { m.sku_id, m.goods_location_id, m.goods_owner_id, m.series_number } into m_leftfrom m in m_left.DefaultIfEmpty()join sku in sku_DBSet on sg.sku_id equals sku.idjoin spu in spu_DBSet on sku.spu_id equals spu.id@@ -254,6 +264,7 @@ namespace ModernWMS.WMS.Servicesselect new LocationStockManagementViewModel{sku_id = sg.sku_id,+ goods_owner_name = sg.goods_owner_name,spu_name = spu.spu_name,spu_code = spu.spu_code,sku_code = sku.sku_code,@@ -264,7 +275,7 @@ namespace ModernWMS.WMS.Servicesqty = sg.qty,location_name = gl.location_name,warehouse_name = gl.warehouse_name,- goods_location_id = sg.goods_owner_id,+ series_number = sg.series_number,};query = query.Where(t => t.qty > 0).Where(queries.AsExpression<LocationStockManagementViewModel>());int totals = await query.CountAsync();@@ -275,6 +286,111 @@ namespace ModernWMS.WMS.Servicesreturn (list, totals);}+ /// <summary>+ /// safety stock+ /// </summary>+ /// <param name="pageSearch">args</param>+ /// <param name="currentUser">currentUser</param>+ /// <returns></returns>+ public async Task<(List<SafetyStockManagementViewModel> data, int totals)> SafetyStockPageAsync(PageSearch pageSearch, CurrentUser currentUser)+ {+ QueryCollection queries = new QueryCollection();+ if (pageSearch.searchObjects.Any())+ {+ pageSearch.searchObjects.ForEach(s =>+ {+ queries.Add(s);+ });+ }++ var DbSet = _dBContext.GetDbSet<StockEntity>().Where(t => t.tenant_id.Equals(currentUser.tenant_id));+ var dispatchpick_DBSet = _dBContext.GetDbSet<DispatchpicklistEntity>();+ var dispatch_DBSet = _dBContext.GetDbSet<DispatchlistEntity>().Where(t => t.tenant_id.Equals(currentUser.tenant_id));+ var sku_DBSet = _dBContext.GetDbSet<SkuEntity>().AsNoTracking();+ var spu_DBSet = _dBContext.GetDbSet<SpuEntity>().AsNoTracking();+ var location_DBSet = _dBContext.GetDbSet<GoodslocationEntity>().AsNoTracking();+ var processdetail_DBSet = _dBContext.GetDbSet<StockprocessdetailEntity>().AsNoTracking();+ var move_DBSet = _dBContext.GetDbSet<StockmoveEntity>();+ var sku_safety_DBSet = _dBContext.GetDbSet<SkuSafetyStockEntity>();+ var stock_group_datas = from stock in DbSet.AsNoTracking()+ join gl in location_DBSet.AsNoTracking() on stock.goods_location_id equals gl.id+ where stock.tenant_id == currentUser.tenant_id+ group new { stock, gl } by new { stock.sku_id, gl.warehouse_id } into sg+ select new+ {+ sku_id = sg.Key.sku_id,+ warehouse_id = sg.Key.warehouse_id,+ qty_frozen = sg.Where(t => t.stock.is_freeze == true).Sum(e => e.stock.qty),+ qty = sg.Sum(t => t.stock.qty)+ };++ var dispatch_group_datas = from dp in dispatch_DBSet.AsNoTracking()+ join dpp in dispatchpick_DBSet.AsNoTracking() on dp.id equals dpp.dispatchlist_id+ join gl in location_DBSet.AsNoTracking() on dpp.goods_location_id equals gl.id+ where dp.dispatch_status > 1 && dp.dispatch_status < 6+ group dpp by new { dpp.sku_id, gl.warehouse_id } into dg+ select new+ {+ sku_id = dg.Key.sku_id,+ warehouse_id = dg.Key.warehouse_id,+ qty_locked = dg.Sum(t => t.pick_qty)+ };+ var process_locked_group_datas = from pd in processdetail_DBSet+ join gl in location_DBSet.AsNoTracking() on pd.goods_location_id equals gl.id+ where pd.is_update_stock == false && pd.is_source == true+ group new { pd, gl } by new { pd.sku_id, gl.warehouse_id } into pdg+ select new+ {+ sku_id = pdg.Key.sku_id,+ warehouse_id = pdg.Key.warehouse_id,+ qty_locked = pdg.Sum(t => t.pd.qty)+ };++ var move_locked_group_datas = from m in move_DBSet.AsNoTracking()+ join gl in location_DBSet.AsNoTracking() on m.orig_goods_location_id equals gl.id+ where m.move_status == 0+ group new { m, gl } by new { m.sku_id, gl.warehouse_id } into mg+ select new+ {+ sku_id = mg.Key.sku_id,+ warehouse_id = mg.Key.warehouse_id,+ qty_locked = mg.Sum(t => t.m.qty)+ };+ var query = from sg in stock_group_datas+ join dp in dispatch_group_datas on new { sg.sku_id, sg.warehouse_id } equals new { dp.sku_id, dp.warehouse_id } into dp_left+ from dp in dp_left.DefaultIfEmpty()+ join pl in process_locked_group_datas on new { sg.sku_id, sg.warehouse_id } equals new { pl.sku_id, pl.warehouse_id } into pl_left+ from pl in pl_left.DefaultIfEmpty()+ join m in move_locked_group_datas on new { sg.sku_id, sg.warehouse_id } equals new { m.sku_id, m.warehouse_id } into m_left+ from m in m_left.DefaultIfEmpty()+ join sku in sku_DBSet on sg.sku_id equals sku.id+ join spu in spu_DBSet on sku.spu_id equals spu.id+ join gl in location_DBSet on sg.warehouse_id equals gl.id+ join sss in sku_safety_DBSet on new { sg.sku_id, sg.warehouse_id } equals new { sss.sku_id, sss.warehouse_id } into sss_left+ from sss in sss_left.DefaultIfEmpty()+ select new SafetyStockManagementViewModel+ {+ sku_id = sg.sku_id,+ spu_name = spu.spu_name,+ spu_code = spu.spu_code,+ sku_code = sku.sku_code,+ sku_name = sku.sku_name,+ qty_available = gl.warehouse_area_property == 5 ? 0 : (sg.qty - sg.qty_frozen - (dp.qty_locked == null ? 0 : dp.qty_locked) - (pl.qty_locked == null ? 0 : pl.qty_locked) - (m.qty_locked == null ? 0 : m.qty_locked)),+ qty_frozen = sg.qty_frozen,+ qty_locked = (dp.qty_locked == null ? 0 : dp.qty_locked) + (pl.qty_locked == null ? 0 : pl.qty_locked) + (m.qty_locked == null ? 0 : m.qty_locked),+ qty = sg.qty,+ warehouse_name = gl.warehouse_name,+ safety_stock_qty = sss.safety_stock_qty == null ? 0 : sss.safety_stock_qty,+ };+ query = query.Where(queries.AsExpression<SafetyStockManagementViewModel>());+ int totals = await query.CountAsync();+ var list = await query.OrderBy(t => t.sku_code)+ .Skip((pageSearch.pageIndex - 1) * pageSearch.pageSize)+ .Take(pageSearch.pageSize)+ .ToListAsync();+ return (list, totals);+ }+/// <summary>/// page search select/// </summary>@@ -304,40 +420,43 @@ namespace ModernWMS.WMS.Servicesvar dispatch_group_datas = from dp in dispatch_DBSet.AsNoTracking()join dpp in dispatchpick_DBSet.AsNoTracking() on dp.id equals dpp.dispatchlist_idwhere dp.dispatch_status > 1 && dp.dispatch_status < 6- group dpp by new { dpp.sku_id, dpp.goods_location_id, dpp.goods_owner_id } into dg+ group dpp by new { dpp.sku_id, dpp.goods_location_id, dpp.goods_owner_id, dpp.series_number } into dgselect new{goods_owner_id = dg.Key.goods_owner_id,sku_id = dg.Key.sku_id,goods_location_id = dg.Key.goods_location_id,+ series_number = dg.Key.series_number,qty_locked = dg.Sum(t => t.pick_qty)};var process_locked_group_datas = from pd in processdetail_DBSetwhere pd.is_update_stock == false && pd.is_source == true- group pd by new { pd.sku_id, pd.goods_location_id, pd.goods_owner_id } into pdg+ group pd by new { pd.sku_id, pd.goods_location_id, pd.goods_owner_id, pd.series_number } into pdgselect new{goods_owner_id = pdg.Key.goods_owner_id,sku_id = pdg.Key.sku_id,goods_location_id = pdg.Key.goods_location_id,+ series_number = pdg.Key.series_number,qty_locked = pdg.Sum(t => t.qty)};var move_locked_group_datas = from m in move_DBSet.AsNoTracking()where m.move_status == 0- group m by new { m.sku_id, m.orig_goods_location_id, m.goods_owner_id } into mg+ group m by new { m.sku_id, m.orig_goods_location_id, m.goods_owner_id, m.series_number } into mgselect new{goods_owner_id = mg.Key.goods_owner_id,sku_id = mg.Key.sku_id,goods_location_id = mg.Key.orig_goods_location_id,+ series_number = mg.Key.series_number,qty_locked = mg.Sum(t => t.qty)};var query = from sg in DbSet.AsNoTracking()- join dp in dispatch_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id } equals new { dp.sku_id, dp.goods_location_id, dp.goods_owner_id } into dp_left+ join dp in dispatch_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id, sg.series_number } equals new { dp.sku_id, dp.goods_location_id, dp.goods_owner_id, dp.series_number } into dp_leftfrom dp in dp_left.DefaultIfEmpty()- join pl in process_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id } equals new { pl.sku_id, pl.goods_location_id, pl.goods_owner_id } into pl_left+ join pl in process_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id, sg.series_number } equals new { pl.sku_id, pl.goods_location_id, pl.goods_owner_id, pl.series_number } into pl_leftfrom pl in pl_left.DefaultIfEmpty()- join m in move_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id } equals new { m.sku_id, m.goods_location_id, m.goods_owner_id } into m_left+ join m in move_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id, sg.series_number } equals new { m.sku_id, m.goods_location_id, m.goods_owner_id, m.series_number } into m_leftfrom m in m_left.DefaultIfEmpty()join sku in sku_DBSet on sg.sku_id equals sku.idjoin spu in spu_DBSet on sku.spu_id equals spu.id@@ -354,14 +473,14 @@ namespace ModernWMS.WMS.Servicessku.sku_name,sg.goods_location_id,sg.goods_owner_id,- owner.goods_owner_name- ,+ owner.goods_owner_name,sg.qty,gl.location_name,sg.is_freeze,gl.warehouse_name,sg.id,sku.unit,+ sg.series_number,sg.tenant_id} into gselect new StockViewModel@@ -377,6 +496,7 @@ namespace ModernWMS.WMS.Servicesgoods_owner_id = g.Key.goods_owner_id,location_name = g.Key.location_name,warehouse_name = g.Key.warehouse_name,+ series_number = g.Key.series_number,is_freeze = g.Key.is_freeze,id = g.Key.id,tenant_id = g.Key.tenant_id,@@ -475,13 +595,14 @@ namespace ModernWMS.WMS.Services&& (input.warehouse_id == 0 || gl.warehouse_id == input.warehouse_id)&& (input.spu_name == "" || spu.spu_name.Contains(input.spu_name))&& (input.location_name == "" || gl.location_name.Contains(input.location_name))- group new { stock, gw } by new { stock.sku_id, stock.goods_location_id, stock.goods_owner_id, gw.goods_owner_name } into sg+ group new { stock, gw } by new { stock.sku_id, stock.goods_location_id, stock.goods_owner_id, gw.goods_owner_name, stock.series_number } into sgselect new{sku_id = sg.Key.sku_id,goods_location_id = sg.Key.goods_location_id,goods_owner_id = sg.Key.goods_owner_id,goods_owner_name = sg.Key.goods_owner_name,+ series_number = sg.Key.series_number,qty_frozen = sg.Where(t => t.stock.is_freeze == true).Sum(e => e.stock.qty),qty = sg.Sum(t => t.stock.qty)};@@ -489,41 +610,44 @@ namespace ModernWMS.WMS.Servicesvar dispatch_group_datas = from dp in dispatch_DBSet.AsNoTracking()join dpp in dispatchpick_DBSet.AsNoTracking() on dp.id equals dpp.dispatchlist_idwhere dp.dispatch_status > 1 && dp.dispatch_status < 6- group dpp by new { dpp.sku_id, dpp.goods_location_id, dpp.goods_owner_id } into dg+ group dpp by new { dpp.sku_id, dpp.goods_location_id, dpp.goods_owner_id, dpp.series_number } into dgselect new{sku_id = dg.Key.sku_id,goods_location_id = dg.Key.goods_location_id,goods_owner_id = dg.Key.goods_owner_id,+ series_number = dg.Key.series_number,qty_locked = dg.Sum(t => t.pick_qty)};var process_locked_group_datas = from pd in processdetail_DBSetwhere pd.is_update_stock == false && pd.is_source == true- group pd by new { pd.sku_id, pd.goods_location_id, pd.goods_owner_id } into pdg+ group pd by new { pd.sku_id, pd.goods_location_id, pd.goods_owner_id, pd.series_number } into pdgselect new{sku_id = pdg.Key.sku_id,goods_location_id = pdg.Key.goods_location_id,goods_owner_id = pdg.Key.goods_owner_id,+ series_number = pdg.Key.series_number,qty_locked = pdg.Sum(t => t.qty)};var move_locked_group_datas = from m in move_DBSet.AsNoTracking()where m.move_status == 0- group m by new { m.sku_id, m.orig_goods_location_id, m.goods_owner_id } into mg+ group m by new { m.sku_id, m.orig_goods_location_id, m.goods_owner_id, m.series_number } into mgselect new{sku_id = mg.Key.sku_id,goods_location_id = mg.Key.orig_goods_location_id,goods_owner_id = mg.Key.goods_owner_id,+ series_number = mg.Key.series_number,qty_locked = mg.Sum(t => t.qty)};var query = from sg in stock_group_datas- join dp in dispatch_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id } equals new { dp.sku_id, dp.goods_location_id, dp.goods_owner_id } into dp_left+ join dp in dispatch_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id, sg.series_number } equals new { dp.sku_id, dp.goods_location_id, dp.goods_owner_id, dp.series_number } into dp_leftfrom dp in dp_left.DefaultIfEmpty()- join pl in process_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id } equals new { pl.sku_id, pl.goods_location_id, pl.goods_owner_id } into pl_left+ join pl in process_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id, sg.series_number } equals new { pl.sku_id, pl.goods_location_id, pl.goods_owner_id, pl.series_number } into pl_leftfrom pl in pl_left.DefaultIfEmpty()- join m in move_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id } equals new { m.sku_id, m.goods_location_id, m.goods_owner_id } into m_left+ join m in move_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id, sg.series_number } equals new { m.sku_id, m.goods_location_id, m.goods_owner_id, m.series_number } into m_leftfrom m in m_left.DefaultIfEmpty()join sku in sku_DBSet on sg.sku_id equals sku.idjoin spu in spu_DBSet on sku.spu_id equals spu.id@@ -542,6 +666,7 @@ namespace ModernWMS.WMS.Servicesqty = sg.qty,location_name = gl.location_name,warehouse_name = gl.warehouse_name,+ series_number = sg.series_number,goods_location_id = sg.goods_location_id};@@ -550,6 +675,79 @@ namespace ModernWMS.WMS.Servicesreturn list;}+ /// <summary>+ /// delivery statistic+ /// </summary>+ /// <param name="input">input</param>+ /// <param name="currentUser">current user</param>+ /// <returns></returns>+ public async Task<(List<DeliveryStatisticViewModel> datas, int totals)> DeliveryStatistic(DeliveryStatisticSearchViewModel input, CurrentUser currentUser)+ {+ var dispatch_DBSet = _dBContext.GetDbSet<DispatchlistEntity>().Where(t => t.tenant_id.Equals(currentUser.tenant_id));+ var dispatchpick_DBSet = _dBContext.GetDbSet<DispatchpicklistEntity>();+ var sku_DBSet = _dBContext.GetDbSet<SkuEntity>();+ var spu_DBSet = _dBContext.GetDbSet<SpuEntity>();+ var location_DBSet = _dBContext.GetDbSet<WarehouseareaEntity>();+ var warehouse_DBSet = _dBContext.GetDbSet<WarehouseEntity>();+ var owner_DbSet = _dBContext.GetDbSet<GoodsownerEntity>();+ if (input.delivery_date_from > UtilConvert.MinDate)+ {+ dispatch_DBSet = dispatch_DBSet.Where(t => t.create_time >= input.delivery_date_from);+ }+ if (input.delivery_date_to > UtilConvert.MinDate)+ {+ dispatch_DBSet = dispatch_DBSet.Where(t => t.create_time <= input.delivery_date_to);+ }+ var query = from dp in dispatch_DBSet.AsNoTracking()+ join dpp in dispatchpick_DBSet.AsNoTracking() on dp.id equals dpp.dispatchlist_id+ join sku in sku_DBSet.AsNoTracking() on dp.sku_id equals sku.id+ join spu in spu_DBSet.AsNoTracking() on sku.spu_id equals spu.id+ join location in location_DBSet.AsNoTracking() on dpp.goods_location_id equals location.id+ join wh in warehouse_DBSet.AsNoTracking() on location.warehouse_id equals wh.id+ join go in owner_DbSet.AsNoTracking() on dpp.goods_owner_id equals go.id+ where dp.dispatch_status >= 6 && spu.spu_name.Contains(input.spu_name) && spu.spu_code.Contains(input.spu_code)+ && sku.sku_name.Contains(input.sku_name) && sku.sku_code.Contains(input.sku_code) && wh.warehouse_name.Contains(input.warehouse_name)+ && dp.customer_name.Contains(input.customer_name) && go.goods_owner_name.Contains(input.goods_owner_name)+ group new { dpp, dp, spu, sku } by+ new+ {+ dp.dispatch_no,+ wh.warehouse_name,+ location_name = location.area_name,+ spu.spu_name,+ spu.spu_code,+ sku.sku_name,+ sku.sku_code,+ dpp.series_number,+ dp.customer_name,+ dp.create_time,+ dpp.goods_owner_id,+ go.goods_owner_name,+ }+ into dg+ select new DeliveryStatisticViewModel+ {+ dispatch_no = dg.Key.dispatch_no,+ warehouse_name = dg.Key.warehouse_name,+ location_name = dg.Key.location_name,+ spu_name = dg.Key.spu_name,+ spu_code = dg.Key.spu_code,+ sku_name = dg.Key.sku_name,+ sku_code = dg.Key.sku_code,+ series_number = dg.Key.series_number,+ customer_name = dg.Key.customer_name,+ delivery_date = dg.Key.create_time,+ goods_owner_name = dg.Key.goods_owner_name,+ delivery_qty = dg.Sum(t => t.dpp.picked_qty),+ delivery_amount = dg.Sum(t => t.dpp.picked_qty * t.sku.price)+ };+ int totals = await query.CountAsync();+ var list = await query.OrderByDescending(t => t.delivery_date)+ .Skip((input.pageIndex - 1) * input.pageSize)+ .Take(input.pageSize).ToListAsync();+ return (list, totals);+ }+#endregion Api}}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Services/Stockadjust/StockadjustService.cs b/backend/ModernWMS.WMS/Services/Stockadjust/StockadjustService.csindex 9f231f4..49c2f96 100644--- a/backend/ModernWMS.WMS/Services/Stockadjust/StockadjustService.cs+++ b/backend/ModernWMS.WMS/Services/Stockadjust/StockadjustService.cs@@ -2,72 +2,78 @@* date:2022-12-26* developer:NoNo*/- using Mapster;- using Microsoft.EntityFrameworkCore;- using ModernWMS.Core.DBContext;- using ModernWMS.Core.Services;- using ModernWMS.WMS.Entities.Models;- using ModernWMS.WMS.Entities.ViewModels;- using ModernWMS.WMS.IServices;- using ModernWMS.Core.Models;- using ModernWMS.Core.JWT;- using Microsoft.Extensions.Localization;- using ModernWMS.Core.DynamicSearch;++using Mapster;+using Microsoft.EntityFrameworkCore;+using ModernWMS.Core.DBContext;+using ModernWMS.Core.Services;+using ModernWMS.WMS.Entities.Models;+using ModernWMS.WMS.Entities.ViewModels;+using ModernWMS.WMS.IServices;+using ModernWMS.Core.Models;+using ModernWMS.Core.JWT;+using Microsoft.Extensions.Localization;+using ModernWMS.Core.DynamicSearch;using System.Net.Quic;namespace ModernWMS.WMS.Services- {- /// <summary>- /// Stockadjust Service- /// </summary>- public class StockadjustService : BaseService<StockadjustEntity>, IStockadjustService- {- #region Args- /// <summary>- /// The DBContext- /// </summary>- private readonly SqlDBContext _dBContext;-- /// <summary>- /// Localizer Service- /// </summary>- private readonly IStringLocalizer<ModernWMS.Core.MultiLanguage> _stringLocalizer;- #endregion-- #region constructor- /// <summary>- ///Stockadjust constructor- /// </summary>- /// <param name="dBContext">The DBContext</param>+{+ /// <summary>+ /// Stockadjust Service+ /// </summary>+ public class StockadjustService : BaseService<StockadjustEntity>, IStockadjustService+ {+ #region Args++ /// <summary>+ /// The DBContext+ /// </summary>+ private readonly SqlDBContext _dBContext;++ /// <summary>+ /// Localizer Service+ /// </summary>+ private readonly IStringLocalizer<ModernWMS.Core.MultiLanguage> _stringLocalizer;++ #endregion Args++ #region constructor++ /// <summary>+ ///Stockadjust constructor+ /// </summary>+ /// <param name="dBContext">The DBContext</param>/// <param name="stringLocalizer">Localizer</param>- public StockadjustService(- SqlDBContext dBContext- , IStringLocalizer<ModernWMS.Core.MultiLanguage> stringLocalizer- )- {- this._dBContext = dBContext;- this._stringLocalizer= stringLocalizer;- }- #endregion-- #region Api- /// <summary>- /// page search- /// </summary>- /// <param name="pageSearch">args</param>- /// <param name="currentUser">currentUser</param>- /// <returns></returns>- public async Task<(List<StockadjustViewModel> data, int totals)> PageAsync(PageSearch pageSearch, CurrentUser currentUser)- {- QueryCollection queries = new QueryCollection();- if (pageSearch.searchObjects.Any())- {- pageSearch.searchObjects.ForEach(s =>- {- queries.Add(s);- });- }- var Stockadjusts = _dBContext.GetDbSet<StockadjustEntity>();+ public StockadjustService(+ SqlDBContext dBContext+ , IStringLocalizer<ModernWMS.Core.MultiLanguage> stringLocalizer+ )+ {+ this._dBContext = dBContext;+ this._stringLocalizer = stringLocalizer;+ }++ #endregion constructor++ #region Api++ /// <summary>+ /// page search+ /// </summary>+ /// <param name="pageSearch">args</param>+ /// <param name="currentUser">currentUser</param>+ /// <returns></returns>+ public async Task<(List<StockadjustViewModel> data, int totals)> PageAsync(PageSearch pageSearch, CurrentUser currentUser)+ {+ QueryCollection queries = new QueryCollection();+ if (pageSearch.searchObjects.Any())+ {+ pageSearch.searchObjects.ForEach(s =>+ {+ queries.Add(s);+ });+ }+ var Stockadjusts = _dBContext.GetDbSet<StockadjustEntity>();var Spus = _dBContext.GetDbSet<SpuEntity>();var Skus = _dBContext.GetDbSet<SkuEntity>();var Goodsowners = _dBContext.GetDbSet<GoodsownerEntity>();@@ -99,8 +105,9 @@ namespace ModernWMS.WMS.Servicesgoods_owner_id = sj.goods_owner_id,goods_owner_name = gso.goods_owner_name == null ? string.Empty : gso.goods_owner_name,creator = sj.creator,- create_time = sj.create_time,- last_update_time = sj.last_update_time+ create_time = sj.create_time,+ last_update_time = sj.last_update_time,+ series_number = sj.series_number,};query = query.Where(queries.AsExpression<StockadjustViewModel>());int totals = await query.CountAsync();@@ -110,115 +117,119 @@ namespace ModernWMS.WMS.Services.ToListAsync();return (list, totals);}-- /// <summary>- /// Get all records- /// </summary>- /// <returns></returns>- public async Task<List<StockadjustViewModel>> GetAllAsync(CurrentUser currentUser)- {- var DbSet = _dBContext.GetDbSet<StockadjustEntity>();- var data = await DbSet.AsNoTracking().Where(t=>t.tenant_id.Equals(currentUser.tenant_id)).ToListAsync();- return data.Adapt<List<StockadjustViewModel>>();- }-- /// <summary>- /// Get a record by id- /// </summary>- /// <returns></returns>- public async Task<StockadjustViewModel> GetAsync(int id)- {- var DbSet = _dBContext.GetDbSet<StockadjustEntity>();- var entity = await DbSet.AsNoTracking().FirstOrDefaultAsync(t=>t.id.Equals(id));- if (entity == null)- {- return null;- }- return entity.Adapt<StockadjustViewModel>();- }- /// <summary>- /// add a new record- /// </summary>- /// <param name="viewModel">viewmodel</param>- /// <param name="currentUser">current user</param>- /// <returns></returns>- public async Task<(int id, string msg)> AddAsync(StockadjustViewModel viewModel, CurrentUser currentUser)- {- var DbSet = _dBContext.GetDbSet<StockadjustEntity>();- var entity = viewModel.Adapt<StockadjustEntity>();- entity.id = 0;- entity.create_time = DateTime.Now;- entity.creator = currentUser.user_name;- entity.last_update_time = DateTime.Now;- entity.tenant_id = currentUser.tenant_id;- await DbSet.AddAsync(entity);- await _dBContext.SaveChangesAsync();- if (entity.id > 0)- {- return (entity.id, _stringLocalizer["save_success"]);- }- else- {- return (0, _stringLocalizer["save_failed"]);- }- }- /// <summary>- /// update a record- /// </summary>- /// <param name="viewModel">args</param>- /// <returns></returns>- public async Task<(bool flag, string msg)> UpdateAsync(StockadjustViewModel viewModel)- {- var DbSet = _dBContext.GetDbSet<StockadjustEntity>();- var entity = await DbSet.FirstOrDefaultAsync(t => t.id.Equals(viewModel.id));- if (entity == null)- {- return (false,_stringLocalizer[ "not_exists_entity"]);- }- entity.id = viewModel.id;- entity.job_code = viewModel.job_code;- entity.sku_id = viewModel.sku_id;- entity.goods_owner_id = viewModel.goods_owner_id;- entity.goods_location_id = viewModel.goods_location_id;- entity.qty = viewModel.qty;- entity.is_update_stock = viewModel.is_update_stock;- entity.job_type = viewModel.job_type;- entity.source_table_id = viewModel.source_table_id;- entity.last_update_time = DateTime.Now;- var qty = await _dBContext.SaveChangesAsync();- if (qty > 0)- {- return (true, _stringLocalizer["save_success"]);- }- else- {- return (false, _stringLocalizer["save_failed"]);- }- }- /// <summary>- /// delete a record- /// </summary>- /// <param name="id">id</param>- /// <returns></returns>- public async Task<(bool flag, string msg)> DeleteAsync(int id)- {++ /// <summary>+ /// Get all records+ /// </summary>+ /// <returns></returns>+ public async Task<List<StockadjustViewModel>> GetAllAsync(CurrentUser currentUser)+ {+ var DbSet = _dBContext.GetDbSet<StockadjustEntity>();+ var data = await DbSet.AsNoTracking().Where(t => t.tenant_id.Equals(currentUser.tenant_id)).ToListAsync();+ return data.Adapt<List<StockadjustViewModel>>();+ }++ /// <summary>+ /// Get a record by id+ /// </summary>+ /// <returns></returns>+ public async Task<StockadjustViewModel> GetAsync(int id)+ {+ var DbSet = _dBContext.GetDbSet<StockadjustEntity>();+ var entity = await DbSet.AsNoTracking().FirstOrDefaultAsync(t => t.id.Equals(id));+ if (entity == null)+ {+ return null;+ }+ return entity.Adapt<StockadjustViewModel>();+ }++ /// <summary>+ /// add a new record+ /// </summary>+ /// <param name="viewModel">viewmodel</param>+ /// <param name="currentUser">current user</param>+ /// <returns></returns>+ public async Task<(int id, string msg)> AddAsync(StockadjustViewModel viewModel, CurrentUser currentUser)+ {+ var DbSet = _dBContext.GetDbSet<StockadjustEntity>();+ var entity = viewModel.Adapt<StockadjustEntity>();+ entity.id = 0;+ entity.create_time = DateTime.Now;+ entity.creator = currentUser.user_name;+ entity.last_update_time = DateTime.Now;+ entity.tenant_id = currentUser.tenant_id;+ await DbSet.AddAsync(entity);+ await _dBContext.SaveChangesAsync();+ if (entity.id > 0)+ {+ return (entity.id, _stringLocalizer["save_success"]);+ }+ else+ {+ return (0, _stringLocalizer["save_failed"]);+ }+ }++ /// <summary>+ /// update a record+ /// </summary>+ /// <param name="viewModel">args</param>+ /// <returns></returns>+ public async Task<(bool flag, string msg)> UpdateAsync(StockadjustViewModel viewModel)+ {+ var DbSet = _dBContext.GetDbSet<StockadjustEntity>();+ var entity = await DbSet.FirstOrDefaultAsync(t => t.id.Equals(viewModel.id));+ if (entity == null)+ {+ return (false, _stringLocalizer["not_exists_entity"]);+ }+ entity.id = viewModel.id;+ entity.job_code = viewModel.job_code;+ entity.sku_id = viewModel.sku_id;+ entity.goods_owner_id = viewModel.goods_owner_id;+ entity.goods_location_id = viewModel.goods_location_id;+ entity.qty = viewModel.qty;+ entity.is_update_stock = viewModel.is_update_stock;+ entity.job_type = viewModel.job_type;+ entity.source_table_id = viewModel.source_table_id;+ entity.last_update_time = DateTime.Now;+ entity.series_number = viewModel.series_number;+ var qty = await _dBContext.SaveChangesAsync();+ if (qty > 0)+ {+ return (true, _stringLocalizer["save_success"]);+ }+ else+ {+ return (false, _stringLocalizer["save_failed"]);+ }+ }++ /// <summary>+ /// delete a record+ /// </summary>+ /// <param name="id">id</param>+ /// <returns></returns>+ public async Task<(bool flag, string msg)> DeleteAsync(int id)+ {var DBSet = _dBContext.GetDbSet<StockadjustEntity>();- var entity = await DBSet.Where(t=>t.id == id).FirstOrDefaultAsync();+ var entity = await DBSet.Where(t => t.id == id).FirstOrDefaultAsync();if (entity == null){return (false, _stringLocalizer["not_exists_entity"]);}DBSet.Remove(entity);var qty = await _dBContext.SaveChangesAsync();- if (qty > 0)- {- return (true, _stringLocalizer["delete_success"]);- }- else- {- return (false, _stringLocalizer["delete_failed"]);- }- }+ if (qty > 0)+ {+ return (true, _stringLocalizer["delete_success"]);+ }+ else+ {+ return (false, _stringLocalizer["delete_failed"]);+ }+ }/// <summary>/// confirm adjustment@@ -233,7 +244,7 @@ namespace ModernWMS.WMS.Services{return (false, _stringLocalizer["not_exists_entity"]);}- if(entity.job_type == 2)+ if (entity.job_type == 2){var processdetail_DBSet = _dBContext.GetDbSet<StockprocessdetailEntity>();var processdetail = await processdetail_DBSet.Where(t => t.id == entity.source_table_id).FirstOrDefaultAsync();@@ -244,8 +255,8 @@ namespace ModernWMS.WMS.Services}}var stock_DBSet = _dBContext.GetDbSet<StockEntity>();- var stock = await stock_DBSet.Where(t=>t.goods_location_id == entity.goods_location_id&&t.sku_id== entity.sku_id).FirstOrDefaultAsync();- if(stock == null)+ var stock = await stock_DBSet.Where(t => t.goods_owner_id == entity.goods_owner_id && t.series_number == entity.series_number && t.goods_location_id == entity.goods_location_id && t.sku_id == entity.sku_id).FirstOrDefaultAsync();+ if (stock == null){stock = new StockEntity{@@ -254,6 +265,7 @@ namespace ModernWMS.WMS.Servicesgoods_location_id = entity.goods_location_id,qty = entity.qty,goods_owner_id = entity.goods_owner_id,+ series_number = entity.series_number,is_freeze = false,last_update_time = DateTime.Now,tenant_id = entity.tenant_id,@@ -262,8 +274,8 @@ namespace ModernWMS.WMS.Serviceselse{stock.qty += entity.qty;- stock.goods_owner_id= entity.goods_owner_id;- stock.last_update_time= DateTime.Now;+ stock.goods_owner_id = entity.goods_owner_id;+ stock.last_update_time = DateTime.Now;}entity.is_update_stock = true;entity.last_update_time = DateTime.Now;@@ -274,7 +286,7 @@ namespace ModernWMS.WMS.Services}return (false, _stringLocalizer["operation_failed"]);}- #endregion++ #endregion Api}- }-+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Services/Stockfreeze/StockfreezeService.cs b/backend/ModernWMS.WMS/Services/Stockfreeze/StockfreezeService.csindex 9f4a2aa..517fadd 100644--- a/backend/ModernWMS.WMS/Services/Stockfreeze/StockfreezeService.cs+++ b/backend/ModernWMS.WMS/Services/Stockfreeze/StockfreezeService.cs@@ -2,6 +2,7 @@* date:2022-12-26* developer:NoNo*/+using Mapster;using Microsoft.EntityFrameworkCore;using ModernWMS.Core.DBContext;@@ -25,6 +26,7 @@ namespace ModernWMS.WMS.Servicespublic class StockfreezeService : BaseService<StockfreezeEntity>, IStockfreezeService{#region Args+/// <summary>/// The DBContext/// </summary>@@ -34,9 +36,11 @@ namespace ModernWMS.WMS.Services/// Localizer Service/// </summary>private readonly IStringLocalizer<ModernWMS.Core.MultiLanguage> _stringLocalizer;- #endregion++ #endregion Args#region constructor+/// <summary>///Stockfreeze constructor/// </summary>@@ -50,9 +54,11 @@ namespace ModernWMS.WMS.Servicesthis._dBContext = dBContext;this._stringLocalizer = stringLocalizer;}- #endregion++ #endregion constructor#region Api+/// <summary>/// page search/// </summary>@@ -91,7 +97,8 @@ namespace ModernWMS.WMS.Servicesspu_code = spu.spu_code,spu_name = spu.spu_name,location_name = location.location_name,- warehouse_name = location.warehouse_name+ warehouse_name = location.warehouse_name,+ series_number = m.series_number,};query = query.Where(t => t.tenant_id.Equals(currentUser.tenant_id))@@ -143,7 +150,8 @@ namespace ModernWMS.WMS.Servicesspu_code = spu.spu_code,spu_name = spu.spu_name,location_name = location.location_name,- warehouse_name = location.warehouse_name+ warehouse_name = location.warehouse_name,+ series_number = m.series_number,}).FirstOrDefaultAsync();if (data == null){@@ -151,6 +159,7 @@ namespace ModernWMS.WMS.Services}return data;}+/// <summary>/// add a new record/// </summary>@@ -168,7 +177,7 @@ namespace ModernWMS.WMS.Servicesentity.tenant_id = currentUser.tenant_id;entity.job_code = await GetOrderCode(currentUser);var stock_DBSet = _dBContext.GetDbSet<StockEntity>();- var stocks = await stock_DBSet.Where(t => t.goods_location_id == entity.goods_location_id&& t.goods_owner_id == entity.goods_owner_id && t.sku_id == entity.sku_id).ToListAsync();+ var stocks = await stock_DBSet.Where(t => t.goods_location_id == entity.goods_location_id && t.goods_owner_id == entity.goods_owner_id && t.sku_id == entity.sku_id).ToListAsync();foreach (var stock in stocks){if (entity.job_type == true)@@ -177,7 +186,7 @@ namespace ModernWMS.WMS.Servicesstock.is_freeze = false;}await DbSet.AddAsync(entity);- if( await (_dBContext.GetDbSet<StockprocessdetailEntity>().AnyAsync(t => t.goods_location_id == entity.goods_location_id && t.goods_owner_id == entity.goods_owner_id && t.sku_id == entity.sku_id && t.is_update_stock == false)))+ if (await (_dBContext.GetDbSet<StockprocessdetailEntity>().AnyAsync(t => t.goods_location_id == entity.goods_location_id && t.goods_owner_id == entity.goods_owner_id && t.sku_id == entity.sku_id && t.is_update_stock == false))){return (0, _stringLocalizer["process_not_comfirm"]);}@@ -185,7 +194,7 @@ namespace ModernWMS.WMS.Services{return (0, _stringLocalizer["dispatch_not_comfirm"]);}- else if (await (_dBContext.GetDbSet<StockmoveEntity>().AnyAsync(t =>( t.orig_goods_location_id == entity.goods_location_id || t.dest_googs_location_id == entity.goods_location_id)&& t.sku_id == entity.sku_id && t.move_status == 0)))+ else if (await (_dBContext.GetDbSet<StockmoveEntity>().AnyAsync(t => (t.orig_goods_location_id == entity.goods_location_id || t.dest_googs_location_id == entity.goods_location_id) && t.sku_id == entity.sku_id && t.move_status == 0))){return (0, _stringLocalizer["move_not_comfirm"]);}@@ -202,6 +211,7 @@ namespace ModernWMS.WMS.Servicesreturn (0, _stringLocalizer["save_failed"]);}}+/// <summary>/// update a record/// </summary>@@ -224,6 +234,7 @@ namespace ModernWMS.WMS.Servicesentity.handler = viewModel.handler;entity.handle_time = viewModel.handle_time;entity.last_update_time = DateTime.Now;+ entity.series_number = viewModel.series_number;var qty = await _dBContext.SaveChangesAsync();if (qty > 0){@@ -234,6 +245,7 @@ namespace ModernWMS.WMS.Servicesreturn (false, _stringLocalizer["save_failed"]);}}+/// <summary>/// delete a record/// </summary>@@ -260,7 +272,7 @@ namespace ModernWMS.WMS.Services{string code;string date = DateTime.Now.ToString("yyyy" + "MM" + "dd");- string maxNo = await _dBContext.GetDbSet<StockfreezeEntity>().AsNoTracking().Where(t=> t.tenant_id == currentUser.tenant_id).MaxAsync(t => t.job_code);+ string maxNo = await _dBContext.GetDbSet<StockfreezeEntity>().AsNoTracking().Where(t => t.tenant_id == currentUser.tenant_id).MaxAsync(t => t.job_code);if (maxNo == null){code = date + "-0001";@@ -282,7 +294,7 @@ namespace ModernWMS.WMS.Services}return code;}- #endregion- }-}+ #endregion Api+ }+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Services/Stockmove/StockmoveService.cs b/backend/ModernWMS.WMS/Services/Stockmove/StockmoveService.csindex 7e8097a..374897c 100644--- a/backend/ModernWMS.WMS/Services/Stockmove/StockmoveService.cs+++ b/backend/ModernWMS.WMS/Services/Stockmove/StockmoveService.cs@@ -107,6 +107,7 @@ namespace ModernWMS.WMS.Servicesdest_googs_warehouse = dest_location.warehouse_name,orig_goods_location_name = orig_location.location_name,orig_goods_warehouse = orig_location.warehouse_name,+ series_number = m.series_number,};query = query.Where(t => t.tenant_id.Equals(currentUser.tenant_id)).Where(queries.AsExpression<StockmoveViewModel>());@@ -155,6 +156,7 @@ namespace ModernWMS.WMS.Servicesdest_googs_warehouse = dest_location.warehouse_name,orig_goods_location_name = orig_location.location_name,orig_goods_warehouse = orig_location.warehouse_name,+ series_number = m.series_number,}).ToListAsync();return data.Adapt<List<StockmoveViewModel>>();@@ -198,6 +200,7 @@ namespace ModernWMS.WMS.Servicesdest_googs_warehouse = dest_location.warehouse_name,orig_goods_location_name = orig_location.location_name,orig_goods_warehouse = orig_location.warehouse_name,+ series_number = m.series_number,}).FirstOrDefaultAsync();if (data == null){@@ -223,56 +226,53 @@ namespace ModernWMS.WMS.Servicesvar dispatch_group_datas = from dp in dispatch_DBSet.AsNoTracking()join dpp in dispatchpick_DBSet.AsNoTracking() on dp.id equals dpp.dispatchlist_idwhere dp.dispatch_status > 1 && dp.dispatch_status < 6- && dpp.goods_location_id == entity.orig_goods_location_id && dpp.sku_id == entity.sku_id- && dpp.goods_owner_id == entity.goods_owner_id- group dpp by new { dpp.sku_id, dpp.goods_location_id, dpp.goods_owner_id } into dg+ && dpp.goods_owner_id == entity.goods_owner_id && dpp.series_number == entity.series_number && dpp.goods_location_id == entity.orig_goods_location_id && dpp.sku_id == entity.sku_id+ group dpp by new { dpp.sku_id, dpp.goods_location_id } into dgselect new{sku_id = dg.Key.sku_id,goods_location_id = dg.Key.goods_location_id,- goods_owner_id = dg.Key.goods_location_id,qty_locked = dg.Sum(t => t.pick_qty)};var process_locked_group_datas = from pd in processdetail_DBSetwhere pd.is_update_stock == false&& pd.sku_id == entity.sku_id && pd.goods_location_id == entity.orig_goods_location_id- && pd.goods_owner_id == entity.goods_owner_id- group pd by new { pd.sku_id, pd.goods_location_id, pd.goods_owner_id } into pdg+ && pd.goods_owner_id == entity.goods_owner_id && pd.series_number == entity.series_number+ group pd by new { pd.sku_id, pd.goods_location_id } into pdgselect new{sku_id = pdg.Key.sku_id,goods_location_id = pdg.Key.goods_location_id,- pdg.Key.goods_owner_id,qty_locked = pdg.Sum(t => t.qty)};var move_locked_group_datas = from sm in DbSet.AsNoTracking()where sm.move_status == 0 && sm.sku_id == entity.sku_id && sm.orig_goods_location_id == entity.orig_goods_location_id- && sm.goods_owner_id == entity.goods_owner_id- group sm by new { sm.sku_id, goods_location_id = sm.orig_goods_location_id, sm.goods_owner_id } into smg+ && sm.goods_owner_id == entity.goods_owner_id && sm.series_number == entity.series_number+ group sm by new { sm.sku_id, goods_location_id = sm.orig_goods_location_id } into smgselect new{smg.Key.sku_id,smg.Key.goods_location_id,- smg.Key.goods_owner_id,qty_locked = smg.Sum(t => t.qty)};var orig_stock = await(from sg in stock_DBSet.AsNoTracking()- join dp in dispatch_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id } equals new { dp.sku_id, dp.goods_location_id, dp.goods_owner_id } into dp_left+ join dp in dispatch_group_datas on new { sg.sku_id, sg.goods_location_id } equals new { dp.sku_id, dp.goods_location_id } into dp_leftfrom dp in dp_left.DefaultIfEmpty()- join pl in process_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id } equals new { pl.sku_id, pl.goods_location_id, pl.goods_owner_id } into pl_left+ join pl in process_locked_group_datas on new { sg.sku_id, sg.goods_location_id } equals new { pl.sku_id, pl.goods_location_id } into pl_leftfrom pl in pl_left.DefaultIfEmpty()- join sm in move_locked_group_datas on new { sg.sku_id, sg.goods_location_id, sg.goods_owner_id } equals new { sm.sku_id, goods_location_id = sm.goods_location_id, sm.goods_owner_id } into sm_left+ join sm in move_locked_group_datas on new { sg.sku_id, sg.goods_location_id } equals new { sm.sku_id, goods_location_id = sm.goods_location_id } into sm_leftfrom sm in sm_left.DefaultIfEmpty()- where sg.sku_id == entity.sku_id && sg.goods_location_id == entity.orig_goods_location_id && sg.goods_owner_id == entity.goods_owner_id+ where sg.sku_id == entity.sku_id && sg.goods_location_id == entity.orig_goods_location_id+ && sg.goods_owner_id == entity.goods_owner_id && sg.series_number == entity.series_numberselect new{id = sg.id,qty_available = sg.is_freeze ? 0 : (sg.qty - (dp.qty_locked == null ? 0 : dp.qty_locked) - (pl.qty_locked == null ? 0 : pl.qty_locked) - (sm.qty_locked == null ? 0 : sm.qty_locked)),}).FirstOrDefaultAsync();- var dest_stock = await stock_DBSet.FirstOrDefaultAsync(t => t.goods_location_id == entity.dest_googs_location_id && t.sku_id == entity.sku_id && t.goods_owner_id == entity.goods_owner_id);+ var dest_stock = await stock_DBSet.FirstOrDefaultAsync(t => t.goods_owner_id == entity.goods_owner_id && t.series_number == entity.series_number && t.goods_location_id == entity.dest_googs_location_id && t.sku_id == entity.sku_id);if (orig_stock == null || orig_stock.qty_available < entity.qty){return (0, _stringLocalizer["qty_not_available"]);@@ -319,8 +319,8 @@ namespace ModernWMS.WMS.Servicesentity.handle_time = DateTime.Now;entity.move_status = 1;entity.last_update_time = DateTime.Now;- var orig_stock = await stock_DBSet.FirstOrDefaultAsync(t => t.goods_location_id == entity.orig_goods_location_id && t.goods_owner_id == entity.goods_owner_id && t.sku_id == entity.sku_id);- var dest_stock = await stock_DBSet.FirstOrDefaultAsync(t => t.goods_location_id == entity.dest_googs_location_id && t.goods_owner_id == entity.goods_owner_id && t.sku_id == entity.sku_id);+ var orig_stock = await stock_DBSet.FirstOrDefaultAsync(t => t.goods_owner_id == entity.goods_owner_id && t.series_number == entity.series_number && t.goods_location_id == entity.orig_goods_location_id && t.sku_id == entity.sku_id);+ var dest_stock = await stock_DBSet.FirstOrDefaultAsync(t => t.goods_owner_id == entity.goods_owner_id && t.series_number == entity.series_number && t.goods_location_id == entity.dest_googs_location_id && t.sku_id != entity.sku_id);if (orig_stock != null){if (orig_stock.qty == entity.qty)diff --git a/backend/ModernWMS.WMS/Services/Stockprocess/StockprocessService.cs b/backend/ModernWMS.WMS/Services/Stockprocess/StockprocessService.csindex da81f04..0dd96cc 100644--- a/backend/ModernWMS.WMS/Services/Stockprocess/StockprocessService.cs+++ b/backend/ModernWMS.WMS/Services/Stockprocess/StockprocessService.cs@@ -2,6 +2,7 @@* date:2022-12-23* developer:NoNo*/+using Mapster;using Microsoft.EntityFrameworkCore;using ModernWMS.Core.DBContext;@@ -19,7 +20,6 @@ using System.Collections.Generic;using Microsoft.AspNetCore.Mvc.Formatters.Xml;using Microsoft.AspNetCore.SignalR.Protocol;using System.Linq;-using Microsoft.CodeAnalysis;namespace ModernWMS.WMS.Services{@@ -29,6 +29,7 @@ namespace ModernWMS.WMS.Servicespublic class StockprocessService : BaseService<StockprocessEntity>, IStockprocessService{#region Args+/// <summary>/// The DBContext/// </summary>@@ -38,9 +39,11 @@ namespace ModernWMS.WMS.Services/// Localizer Service/// </summary>private readonly IStringLocalizer<ModernWMS.Core.MultiLanguage> _stringLocalizer;- #endregion++ #endregion Args#region constructor+/// <summary>///Stockprocess constructor/// </summary>@@ -54,9 +57,11 @@ namespace ModernWMS.WMS.Servicesthis._dBContext = dBContext;this._stringLocalizer = stringLocalizer;}- #endregion++ #endregion constructor#region Api+/// <summary>/// page search/// </summary>@@ -98,7 +103,7 @@ namespace ModernWMS.WMS.Servicescreate_time = m.create_time,last_update_time = m.last_update_time,tenant_id = m.tenant_id,- adjust_status = (m.process_status && (a.stockprocess_id == null ? false : true)) ? true : false+ adjust_status = (m.process_status && (a.stockprocess_id == null ? false : true)) ? true : false,};query = query.Where(t => t.tenant_id.Equals(currentUser.tenant_id))@@ -128,7 +133,6 @@ namespace ModernWMS.WMS.Services/// <returns></returns>public async Task<StockprocessWithDetailViewModel> GetAsync(int id){-var DbSet = _dBContext.GetDbSet<StockprocessEntity>();var entity = await DbSet.AsNoTracking().FirstOrDefaultAsync(t => t.id.Equals(id));var details = await (from spd in _dBContext.GetDbSet<StockprocessdetailEntity>().AsNoTracking().Where(t => t.stock_process_id == id)@@ -151,7 +155,8 @@ namespace ModernWMS.WMS.Servicesspu_code = spu.spu_code,spu_name = spu.spu_name,unit = sku.unit,- location_name = gl.location_name == null ? "" : gl.location_name+ location_name = gl.location_name == null ? "" : gl.location_name,+ series_number = spd.series_number,}).ToListAsync();if (entity == null){@@ -169,6 +174,7 @@ namespace ModernWMS.WMS.Servicesres.target_detail_list = details.Where(t => t.is_source == false).ToList();return res;}+/// <summary>/// add a new record/// </summary>@@ -197,6 +203,10 @@ namespace ModernWMS.WMS.ServicesPropertyInfo t_prop_owner = typeof(StockEntity).GetProperty("goods_owner_id");MemberExpression t_owner_exp = Expression.Property(parameterExpression, t_prop_owner);BinaryExpression t_owner_full_exp = Expression.Equal(t_owner_exp, t_constan_owner);+ ConstantExpression t_constan_sn = Expression.Constant(entity.detailList[i].series_number);+ PropertyInfo t_prop_sn = typeof(StockEntity).GetProperty("series_number");+ MemberExpression t_sn_exp = Expression.Property(parameterExpression, t_prop_sn);+ BinaryExpression t_sn_full_exp = Expression.Equal(t_sn_exp, t_constan_sn);var t_exp = Expression.And(t_location_full_exp, t_sku_full_exp);t_exp = Expression.And(t_exp, t_owner_full_exp);if (exp != null)@@ -211,11 +221,13 @@ namespace ModernWMS.WMS.Servicesvar lockeds = await (from d in _dBContext.GetDbSet<StockprocessdetailEntity>().AsNoTracking()where d.is_update_stock == false && goods_location_id_list.Contains(d.goods_location_id)&& sku_id_list.Contains(d.sku_id)- group d by new { d.goods_location_id, d.sku_id } into lg+ group d by new { d.goods_location_id, d.sku_id, d.goods_owner_id, d.series_number } into lgselect new{sku_id = lg.Key.sku_id,goods_location_id = lg.Key.goods_location_id,+ goods_owner_id = lg.Key.goods_owner_id,+ series_number = lg.Key.series_number,qty_locked = lg.Sum(e => e.qty)}).ToListAsync();entity.id = 0;@@ -230,14 +242,14 @@ namespace ModernWMS.WMS.Servicesd.tenant_id = currentUser.tenant_id;d.last_update_time = DateTime.Now;d.id = 0;- var s = stocks.FirstOrDefault(t => t.sku_id == d.sku_id && t.goods_location_id == d.goods_location_id);+ var s = stocks.FirstOrDefault(t => t.sku_id == d.sku_id && t.goods_location_id == d.goods_location_id && t.goods_owner_id == d.goods_owner_id && t.series_number == d.series_number);if (d.is_source == true){if (s == null){return (0, _stringLocalizer["data_changed"]);}- var locked = lockeds.FirstOrDefault(t => t.sku_id == d.sku_id && t.goods_location_id == d.goods_location_id);+ var locked = lockeds.FirstOrDefault(t => t.sku_id == d.sku_id && t.goods_location_id == d.goods_location_id && t.goods_owner_id == d.goods_owner_id && t.series_number == d.series_number);if ((s.qty - (locked == null ? 0 : locked.qty_locked)) < d.qty){return (0, _stringLocalizer["data_changed"]);@@ -258,6 +270,7 @@ namespace ModernWMS.WMS.Servicesreturn (0, _stringLocalizer["save_failed"]);}}+/// <summary>/// update a record/// </summary>@@ -288,6 +301,7 @@ namespace ModernWMS.WMS.Servicesreturn (false, _stringLocalizer["save_failed"]);}}+/// <summary>/// delete a record/// </summary>@@ -348,6 +362,7 @@ namespace ModernWMS.WMS.Servicescreator = currentUser.user_name,last_update_time = DateTime.Now,tenant_id = currentUser.tenant_id,+ series_number = d.series_number,}).ToList();entity.last_update_time = DateTime.Now;var stock_DBSet = _dBContext.GetDbSet<StockEntity>();@@ -356,10 +371,10 @@ namespace ModernWMS.WMS.Servicesreturn (false, _stringLocalizer["not_exists_entity"]);}- var stocks = await stock_DBSet.Where(s => detail_DBSet.Where(t => t.stock_process_id == id).Any(t => t.goods_location_id == s.goods_location_id && t.sku_id == s.sku_id && t.goods_owner_id == s.goods_owner_id)).ToListAsync();+ var stocks = await stock_DBSet.Where(s => detail_DBSet.Where(t => t.stock_process_id == id).Any(t => t.goods_location_id == s.goods_location_id && t.sku_id == s.sku_id && t.goods_owner_id == s.goods_owner_id && t.series_number == s.series_number)).ToListAsync();foreach (var d in details){- var stock = stocks.FirstOrDefault(t => t.goods_location_id == d.goods_location_id && t.sku_id == d.sku_id && t.goods_owner_id == d.goods_owner_id);+ var stock = stocks.FirstOrDefault(t => t.goods_location_id == d.goods_location_id && t.sku_id == d.sku_id && t.goods_owner_id == d.goods_owner_id && t.series_number == d.series_number);d.is_update_stock = true;d.last_update_time = DateTime.Now;if (d.is_source)@@ -380,6 +395,7 @@ namespace ModernWMS.WMS.Servicessku_id = d.sku_id,goods_location_id = d.goods_location_id,goods_owner_id = d.goods_owner_id,+ series_number = d.series_number,is_freeze = false,last_update_time = DateTime.Now,qty = d.qty,@@ -464,6 +480,7 @@ namespace ModernWMS.WMS.Servicesreturn code;}+/// <summary>/// get next order code number/// </summary>@@ -495,182 +512,7 @@ namespace ModernWMS.WMS.Servicesreturn code;}- /// <summary>- /// get next order code number- /// </summary>- /// <returns></returns>- public async Task<List<string>> GetOrderCodeList(CurrentUser currentUser, int cnt)- {- List<string> code = new List<string>();- string date = DateTime.Now.ToString("yyyy" + "MM" + "dd");- string maxNo = await _dBContext.GetDbSet<DispatchlistEntity>().Where(t => t.tenant_id == currentUser.tenant_id).MaxAsync(t => t.dispatch_no);- if (maxNo == null)- {- for (int i = 1; i <= cnt; i++)- {- code.Add(date + "-" + i.ToString("0000"));- }- }- else- {- string maxDate = maxNo.Substring(0, 8);- string maxDateNo = maxNo.Substring(9, 4);- if (date == maxDate)- {- int.TryParse(maxDateNo, out int dd);- for (int i = 1; i <= cnt; i++)- {- code.Add(date + "-" + (dd + i).ToString("0000"));- }- }- else- {- for (int i = 1; i <= cnt; i++)- {- code.Add(date + "-" + i.ToString("0000"));- }- }- }-- return code;- }--- /// <summary>- /// Excel Import- /// </summary>- /// <returns></returns>- public async Task<(bool flag, string msg)> Import(List<StockprocessImportViewModel> viewModels, CurrentUser currentUser)- {-- var sku_code_list = viewModels.Select(t => t.sku_code).Distinct().ToList();- var sku_list = await (from sku in _dBContext.GetDbSet<SkuEntity>().AsNoTracking()- join spu in _dBContext.GetDbSet<SpuEntity>().AsNoTracking() on sku.spu_id equals spu.id- where sku_code_list.Contains(sku.sku_code) && spu.tenant_id == currentUser.tenant_id- select sku).ToListAsync();- var location_name_list = viewModels.Select(t => t.location_name).Distinct().ToList();- var location_list = await (from l in _dBContext.GetDbSet<GoodslocationEntity>().AsNoTracking()- where location_name_list.Contains(l.location_name) && l.tenant_id == currentUser.tenant_id- select new- {- l.id,- l.location_name- }).ToListAsync();- var goods_owner_name_list = viewModels.Select(t => t.goods_owner_name).Distinct().ToList();- var goods_owner_list = await _dBContext.GetDbSet<GoodsownerEntity>().AsNoTracking().Where(t => goods_owner_name_list.Contains(t.goods_owner_name) && t.tenant_id == currentUser.tenant_id).ToListAsync();-- var entities = new List<StockprocessEntity>();- var vm_group = viewModels.GroupBy(t => t.import_group);- foreach(var vg in vm_group)- {- if (vg.All(t => t.is_ori==true) || vg.All(t=>t.is_ori == false))- {- return (false,_stringLocalizer["job_number"]+": " +vg.Key.ToString() +" "+ _stringLocalizer["process_valid"]);- }- }- var groups = vm_group.Select(t => t.Key).ToList();- var groups_code = await GetOrderCodeList(currentUser, groups.Count());- var group_code_dic = new Dictionary<int, string>();- for (int i = 0; i < groups.Count(); i++)- {- group_code_dic.Add(groups[i], groups_code[i]);- }- var location_id_list = location_list.Select(t => t.id).ToList();- var sku_id_list = sku_list.Select(t => t.id).ToList();-- var check_details_all = new List<StockprocessdetailViewModel>();- foreach (var vg in vm_group)- {- var ent = new StockprocessEntity();- ent.creator = currentUser.user_name;- ent.create_time = DateTime.Now;- ent.last_update_time = DateTime.Now;- ent.tenant_id = currentUser.tenant_id;- ent.job_code = group_code_dic[vg.Key];- ent.job_type = true;- foreach (var v in vg)- {- var sku = sku_list.FirstOrDefault(t => t.sku_code == v.sku_code);- if (sku == null)- {- return (false, _stringLocalizer["sku_name"] + ":" + v.sku_name + "-" + _stringLocalizer["sku_code"] + ":" + v.sku_code + " " + _stringLocalizer["not_exists_entity"]);- }- var area = location_list.FirstOrDefault(t => t.location_name == v.location_name);- if (area == null)- {- return (false, _stringLocalizer["location_name"] + ":" + v.location_name + " " + _stringLocalizer["not_exists_entity"]);- }- var goods_owner = goods_owner_list.FirstOrDefault(t => t.goods_owner_name == v.goods_owner_name);- ent.detailList.Add(new StockprocessdetailEntity- {- sku_id = sku.id,- is_source = v.is_ori,- last_update_time = DateTime.Now,- goods_owner_id = goods_owner == null ? 0 : goods_owner.id,- is_update_stock = false,- qty = v.qty,- goods_location_id = area.id,- tenant_id = currentUser.tenant_id,-- });- if (v.is_ori)- check_details_all.Add(new StockprocessdetailViewModel- {- sku_id = sku.id,- sku_code = v.sku_code,- goods_location_id = area.id,- qty = v.qty,- goods_owner_id = goods_owner == null ? 0 : goods_owner.id,- location_name = v.location_name- });- }- entities.Add(ent);- }-- var check_details_sum = check_details_all.GroupBy(t => new { t.sku_id, t.goods_location_id, t.goods_owner_id, t.sku_code, t.location_name }).Select(t => new- {- t.Key.sku_id,- t.Key.sku_code,- t.Key.goods_location_id,- t.Key.location_name,- t.Key.goods_owner_id,- qty = t.Sum(e=>e.qty),- }).ToList();- var stocks = await _dBContext.GetDbSet<StockEntity>().Where(t => sku_id_list.Contains(t.sku_id) && location_id_list.Contains(t.goods_location_id)).ToListAsync();- var lockeds = await (from d in _dBContext.GetDbSet<StockprocessdetailEntity>().AsNoTracking()- where d.is_update_stock == false && location_id_list.Contains(d.goods_location_id)- && sku_id_list.Contains(d.sku_id)- group d by new { d.goods_location_id, d.sku_id } into lg- select new- {- sku_id = lg.Key.sku_id,- goods_location_id = lg.Key.goods_location_id,- qty_locked = lg.Sum(e => e.qty)- }).ToListAsync();- foreach (var c in check_details_sum)- {- var s = stocks.FirstOrDefault(t => t.sku_id == c.sku_id && t.goods_location_id == c.goods_location_id);- if (s == null)- {- return (false, _stringLocalizer["sku_code"]+":"+c.sku_code + "-" + _stringLocalizer["location_name"] +c.location_name+" "+ _stringLocalizer["stock_insufficiency"]);- }- var locked = lockeds.FirstOrDefault(t => t.sku_id == c.sku_id && t.goods_location_id == c.goods_location_id );- if ((s.qty - (locked == null ? 0 : locked.qty_locked)) < c.qty)- {- return (false, _stringLocalizer["sku_code"] + ":" + c.sku_code + "-" + _stringLocalizer["location_name"] + c.location_name + " " + _stringLocalizer["stock_insufficiency"]);- }- if (s.is_freeze == true)- {- return (false, _stringLocalizer["stock_frozen"]);- }-- }- await _dBContext.GetDbSet<StockprocessEntity>().AddRangeAsync(entities);- await _dBContext.SaveChangesAsync();- return (true, "");- }- #endregion+ #endregion Api}-}-+}\ No newline at end of filediff --git a/backend/ModernWMS.WMS/Services/user/UserService.cs b/backend/ModernWMS.WMS/Services/user/UserService.csindex d7c788d..0eecce0 100644--- a/backend/ModernWMS.WMS/Services/user/UserService.cs+++ b/backend/ModernWMS.WMS/Services/user/UserService.cs@@ -456,15 +456,51 @@ namespace ModernWMS.WMS.Servicessort = 11,tenant_id = tenant_id},new MenuEntity+ {+ menu_name = "print",+ module = "baseModule",+ vue_path = "print",+ vue_path_detail = "",+ vue_directory = "base/print",+ sort = 12,+ tenant_id = tenant_id+ },new MenuEntity{menu_name = "stockManagement",- module = "",+ module = "statisticAnalysis ",vue_path = "stockManagement",vue_path_detail = "",vue_directory = "wms/stockManagement",sort = 3,tenant_id = tenant_id},new MenuEntity+ {+ menu_name = "saftyStock",+ module = "statisticAnalysis ",+ vue_path = "saftyStock",+ vue_path_detail = "",+ vue_directory = "statisticAnalysis/saftyStock",+ sort = 4,+ tenant_id = tenant_id+ },new MenuEntity+ {+ menu_name = "asnStatistic",+ module = "statisticAnalysis ",+ vue_path = "asnStatistic",+ vue_path_detail = "",+ vue_directory = "statisticAnalysis/asnStatistic",+ sort = 5,+ tenant_id = tenant_id+ },new MenuEntity+ {+ menu_name = "deliveryStatistic",+ module = "statisticAnalysis ",+ vue_path = "deliveryStatistic",+ vue_path_detail = "",+ vue_directory = "statisticAnalysis/deliveryStatistic",+ sort = 6,+ tenant_id = tenant_id+ },new MenuEntity{menu_name = "warehouseProcessing",module = "warehouseWorkingModule",diff --git a/backend/ModernWMS/appsettings.json b/backend/ModernWMS/appsettings.jsonindex be67520..32803ee 100644--- a/backend/ModernWMS/appsettings.json+++ b/backend/ModernWMS/appsettings.json@@ -6,9 +6,9 @@}},"AllowedHosts": "*",- "Database": { "db": "SqlLite" },+ "Database": { "db": "MySql" },"ConnectionStrings": {- "MySqlConn": "Server=127.0.0.1;Database=wms;Port=3306;charset=utf8;uid=root;pwd=123456;",+ "MySqlConn": "Server=192.168.103.80;Database=wms;Port=3306;charset=utf8;uid=root;pwd=123456789a?;","SqlServerConn": "Data Source= 127.0.0.1; Connect Timeout=600;User ID= sa;Password= 123456; Initial Catalog= wms;Encrypt=False;","SqlLiteConn": "Data Source = wms.db","PostGresConn": "Server=127.0.0.1;Port=5432;User Id=postgres;Password=123456;Database=wms;"@@ -30,4 +30,4 @@"SigningKey": "ModernWMS_SigningKey","ExpireMinute": 60}-}+}\ No newline at end of filediff --git a/frontend/.env.development b/frontend/.env.developmentnew file mode 100644index 0000000..7c552fc--- /dev/null+++ b/frontend/.env.development@@ -0,0 +1,6 @@+ENV = 'development'++VITE_CLI_PORT = 5173+VITE_SERVER_PORT = 21011+VITE_BASE_API = /api+VITE_BASE_PATH = http://192.168.103.80diff --git a/frontend/.env.production b/frontend/.env.productionnew file mode 100644index 0000000..b83b2cf--- /dev/null+++ b/frontend/.env.production@@ -0,0 +1,6 @@+ENV = 'production'++VITE_CLI_PORT = 5174+VITE_SERVER_PORT = 20011+VITE_BASE_API = /api+VITE_BASE_PATH = http://127.0.0.1\ No newline at end of filediff --git a/frontend/.eslintrc b/frontend/.eslintrcnew file mode 100644index 0000000..973a451--- /dev/null+++ b/frontend/.eslintrc@@ -0,0 +1,82 @@+{+ "root": true,+ "globals": {+ "defineEmits": "readonly",+ "defineProps": "readonly",+ "defineExpose": "readonly"+ },+ "extends": ["plugin:@typescript-eslint/recommended", "plugin:vue/vue3-recommended", "airbnb-base"],+ "parserOptions": {+ "parser": "@typescript-eslint/parser",+ "ecmaVersion": 2020+ },+ "rules": {+ "camelcase": "off",+ "no-bitwise": "off", // 禁用按位运算符+ "no-tabs": "off", // 禁用 tab+ "array-element-newline": ["error", "consistent"], // 强制数组元素间出现换行+ "indent": "off", // 强制使用一致的缩进+ "quotes": ["error", "single"], // 强制使用一致的反勾号、双引号或单引号+ "comma-dangle": "off", // 要求或禁止末尾逗号+ "object-curly-spacing": ["error", "always"], // 强制在大括号中使用一致的空格+ "max-len": ["error", 200], // 强制一行的最大长度; 注意: 这里特意调整的比prettierrc多50, 因为某些情况下两个插件格式化出来的结果不同导致界面上有波浪线+ "no-new": "off", // 禁止使用 new 以避免产生副作用+ "linebreak-style": "off", // 强制使用一致的换行风格+ "import/extensions": "off", // 确保在导入路径中统一使用文件扩展名+ "eol-last": "off", // 要求或禁止文件末尾存在空行+ "no-shadow": "off", // 禁止变量声明与外层作用域的变量同名+ "no-unused-vars": "warn", // 禁止出现未使用过的变量+ "import/no-cycle": "off", // 禁止一个模块导入一个有依赖路径的模块回到自己身上+ "arrow-parens": "off", // 要求箭头函数的参数使用圆括号+ "semi": ["error", "never"], // 要求或禁止使用分号代替 ASI+ "eqeqeq": "off", // 要求使用 === 和 !==+ "no-param-reassign": "off", // 禁止对 function 的参数进行重新赋值+ "import/prefer-default-export": "off", // 如果模块只输入一个名字,则倾向于默认输出+ "no-use-before-define": "off", // 禁止在变量定义之前使用它们,则倾向于默认输出+ "no-continue": "off", // 禁用 continue 语句+ "prefer-destructuring": "off", // 优先使用数组和对象解构+ "no-plusplus": "off", // 禁用一元操作符 ++ 和 --+ "prefer-const": "warn", // 要求使用 const 声明那些声明后不再被修改的变量+ "global-require": "off", // 要求 require() 出现在顶层模块作用域中+ "no-prototype-builtins": "off", // 禁止直接调用 Object.prototypes 的内置属性+ "consistent-return": "off", // 要求 return 语句要么总是指定返回的值,要么不指定+ "one-var-declaration-per-line": "off", // 要求或禁止在变量声明周围换行+ "one-var": "off", // 强制函数中的变量要么一起声明要么分开声明+ "import/named": "off", // 确保命名导入与远程文件中的命名导出相对应+ "object-curly-newline": "off", // 强制大括号内换行符的一致性+ "default-case": "off", // 要求 switch 语句中有 default 分支+ "no-trailing-spaces": "off", // 禁用行尾空格+ "func-names": "off", // 要求或禁止使用命名的 function 表达式+ "radix": "off", // 强制在 parseInt() 使用基数参数+ "no-unused-expressions": "off", // 禁止出现未使用过的表达式+ "no-underscore-dangle": "off", // 禁止标识符中有悬空下划线+ "no-nested-ternary": "off", // 禁用嵌套的三元表达式+ "no-restricted-syntax": "off", // 禁用特定的语法+ "no-await-in-loop": "off", // 禁止在循环中出现 await+ "import/no-extraneous-dependencies": "off", // 禁止使用外部包+ "import/no-unresolved": "off", // 确保导入指向一个可以解析的文件/模块+ "template-curly-spacing": ["error", "always"], // 要求或禁止模板字符串中的嵌入表达式周围空格的使用+ "@typescript-eslint/no-var-requires": "off", // 除import语句外,禁止使用require语句+ "@typescript-eslint/no-empty-function": "off", // 不允许空函数+ "@typescript-eslint/no-explicit-any": "off", // 禁止使用 any 类型+ "guard-for-in": "off", // 要求 for-in 循环中有一个 if 语句+ "class-methods-use-this": "off", // 强制类方法使用 this+ "vue/html-indent": ["error", 2], // 在<template>中强制一致缩进+ "vue/html-self-closing": "off", // 执行自闭合的风格+ "vue/max-attributes-per-line": [+ // 强制每行属性的最大数量+ "warn",+ {+ "singleline": {+ "max": 10,+ "allowFirstLine": true+ },+ "multiline": {+ "max": 1,+ "allowFirstLine": false+ }+ }+ ],+ "vue/singleline-html-element-content-newline": "off" // 要求单行元素的内容前后有一个换行符+ }+}diff --git a/frontend/.gitignore b/frontend/.gitignorenew file mode 100644index 0000000..a547bf3--- /dev/null+++ b/frontend/.gitignore@@ -0,0 +1,24 @@+# Logs+logs+*.log+npm-debug.log*+yarn-debug.log*+yarn-error.log*+pnpm-debug.log*+lerna-debug.log*++node_modules+dist+dist-ssr+*.local++# Editor directories and files+.vscode/*+!.vscode/extensions.json+.idea+.DS_Store+*.suo+*.ntvs*+*.njsproj+*.sln+*.sw?diff --git a/frontend/.prettierrc.json b/frontend/.prettierrc.jsonnew file mode 100644index 0000000..ff2eec4--- /dev/null+++ b/frontend/.prettierrc.json@@ -0,0 +1,19 @@+{+ "eslintIntegration": false,+ "printWidth": 150,+ "tabWidth": 2,+ "useTabs": false,+ "semi": false,+ "singleQuote": true,+ "quoteProps": "as-needed",+ "bracketSpacing": true,+ "trailingComma": "none",+ "jsxBracketSameLine": false,+ "jsxSingleQuote": false,+ "arrowParens": "always",+ "insertPragma": false,+ "requirePragma": false,+ "proseWrap": "never",+ "htmlWhitespaceSensitivity": "strict",+ "endOfLine": "lf"+}\ No newline at end of filediff --git a/frontend/README.md b/frontend/README.mdnew file mode 100644index 0000000..6a05371--- /dev/null+++ b/frontend/README.md@@ -0,0 +1,4 @@+ # 系统环境+ Vue + TS: 3.2.45+ Vite: 4.0.0+ Node: 16.13.1\ No newline at end of filediff --git a/frontend/auto-imports.d.ts b/frontend/auto-imports.d.tsnew file mode 100644index 0000000..08908ed--- /dev/null+++ b/frontend/auto-imports.d.ts@@ -0,0 +1,5 @@+// Generated by 'unplugin-auto-import'+export {}+declare global {++}diff --git a/frontend/components.d.ts b/frontend/components.d.tsnew file mode 100644index 0000000..607d675--- /dev/null+++ b/frontend/components.d.ts@@ -0,0 +1,13 @@+// generated by unplugin-vue-components+// We suggest you to commit this file into source control+// Read more: https://github.com/vuejs/core/pull/3399+import '@vue/runtime-core'++export {}++declare module '@vue/runtime-core' {+ export interface GlobalComponents {+ RouterLink: typeof import('vue-router')['RouterLink']+ RouterView: typeof import('vue-router')['RouterView']+ }+}diff --git a/frontend/index.html b/frontend/index.htmlnew file mode 100644index 0000000..15bdd4a--- /dev/null+++ b/frontend/index.html@@ -0,0 +1,17 @@+<!DOCTYPE html>+<html lang="en">+ <head>+ <meta charset="UTF-8" />+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />+ <title>ModernWMS</title>+ <link rel="icon" href="./src/assets/img/webLogoMini.png" />+ <!-- hiprint 拖拽图标需要 -->+ <link rel="stylesheet" type="text/css" media="print" href="/bootstrap.min.css">+ <link rel="stylesheet" type="text/css" media="print" href="/print-lock.css">+ </head>++ <body>+ <div id="app"></div>+ <script type="module" src="/src/main.ts"></script>+ </body>+</html>diff --git a/frontend/package-lock.json b/frontend/package-lock.jsonnew file mode 100644index 0000000..b9b8666--- /dev/null+++ b/frontend/package-lock.json@@ -0,0 +1,4393 @@+{+ "name": "ykwms",+ "version": "0.0.0",+ "lockfileVersion": 1,+ "requires": true,+ "dependencies": {+ "@antfu/install-pkg": {+ "version": "0.1.1",+ "resolved": "https://registry.npmmirror.com/@antfu/install-pkg/-/install-pkg-0.1.1.tgz",+ "integrity": "sha512-LyB/8+bSfa0DFGC06zpCEfs89/XoWZwws5ygEa5D+Xsm3OfI+aXQ86VgVG7Acyef+rSZ5HE7J8rrxzrQeM3PjQ==",+ "dev": true,+ "requires": {+ "execa": "^5.1.1",+ "find-up": "^5.0.0"+ }+ },+ "@antfu/utils": {+ "version": "0.7.2",+ "resolved": "https://registry.npmmirror.com/@antfu/utils/-/utils-0.7.2.tgz",+ "integrity": "sha512-vy9fM3pIxZmX07dL+VX1aZe7ynZ+YyB0jY+jE6r3hOK6GNY2t6W8rzpFC4tgpbXUYABkFQwgJq2XYXlxbXAI0g==",+ "dev": true+ },+ "@babel/code-frame": {+ "version": "7.18.6",+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz",+ "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==",+ "dev": true,+ "requires": {+ "@babel/highlight": "^7.18.6"+ }+ },+ "@babel/helper-validator-identifier": {+ "version": "7.19.1",+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz",+ "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==",+ "dev": true+ },+ "@babel/highlight": {+ "version": "7.18.6",+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz",+ "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==",+ "dev": true,+ "requires": {+ "@babel/helper-validator-identifier": "^7.18.6",+ "chalk": "^2.0.0",+ "js-tokens": "^4.0.0"+ },+ "dependencies": {+ "chalk": {+ "version": "2.4.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.1",+ "escape-string-regexp": "^1.0.5",+ "supports-color": "^5.3.0"+ }+ }+ }+ },+ "@babel/parser": {+ "version": "7.20.5",+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.20.5.tgz",+ "integrity": "sha512-r27t/cy/m9uKLXQNWWebeCUHgnAZq0CpG1OwKRxzJMP1vpSU4bSIK2hq+/cp0bQxetkXx38n09rNu8jVkcK/zA=="+ },+ "@babel/runtime": {+ "version": "7.22.15",+ "resolved": "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.22.15.tgz",+ "integrity": "sha512-T0O+aa+4w0u06iNmapipJXMV4HoUir03hpx3/YqXXhu9xim3w+dVphjFWl1OH8NbZHw5Lbm9k45drDkgq2VNNA==",+ "requires": {+ "regenerator-runtime": "^0.14.0"+ },+ "dependencies": {+ "regenerator-runtime": {+ "version": "0.14.0",+ "resolved": "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz",+ "integrity": "sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA=="+ }+ }+ },+ "@claviska/jquery-minicolors": {+ "version": "2.3.6",+ "resolved": "https://registry.npmmirror.com/@claviska/jquery-minicolors/-/jquery-minicolors-2.3.6.tgz",+ "integrity": "sha512-8Ro6D4GCrmOl41+6w4NFhEOpx8vjxwVRI69bulXsFDt49uVRKhLU5TnzEV7AmOJrylkVq+ugnYNMiGHBieeKUQ=="+ },+ "@esbuild/android-arm": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.16.4.tgz",+ "integrity": "sha512-rZzb7r22m20S1S7ufIc6DC6W659yxoOrl7sKP1nCYhuvUlnCFHVSbATG4keGUtV8rDz11sRRDbWkvQZpzPaHiw==",+ "dev": true,+ "optional": true+ },+ "@esbuild/android-arm64": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.16.4.tgz",+ "integrity": "sha512-VPuTzXFm/m2fcGfN6CiwZTlLzxrKsWbPkG7ArRFpuxyaHUm/XFHQPD4xNwZT6uUmpIHhnSjcaCmcla8COzmZ5Q==",+ "dev": true,+ "optional": true+ },+ "@esbuild/android-x64": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.16.4.tgz",+ "integrity": "sha512-MW+B2O++BkcOfMWmuHXB15/l1i7wXhJFqbJhp82IBOais8RBEQv2vQz/jHrDEHaY2X0QY7Wfw86SBL2PbVOr0g==",+ "dev": true,+ "optional": true+ },+ "@esbuild/darwin-arm64": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.16.4.tgz",+ "integrity": "sha512-a28X1O//aOfxwJVZVs7ZfM8Tyih2Za4nKJrBwW5Wm4yKsnwBy9aiS/xwpxiiTRttw3EaTg4Srerhcm6z0bu9Wg==",+ "dev": true,+ "optional": true+ },+ "@esbuild/darwin-x64": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.16.4.tgz",+ "integrity": "sha512-e3doCr6Ecfwd7VzlaQqEPrnbvvPjE9uoTpxG5pyLzr2rI2NMjDHmvY1E5EO81O/e9TUOLLkXA5m6T8lfjK9yAA==",+ "dev": true,+ "optional": true+ },+ "@esbuild/freebsd-arm64": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.4.tgz",+ "integrity": "sha512-Oup3G/QxBgvvqnXWrBed7xxkFNwAwJVHZcklWyQt7YCAL5bfUkaa6FVWnR78rNQiM8MqqLiT6ZTZSdUFuVIg1w==",+ "dev": true,+ "optional": true+ },+ "@esbuild/freebsd-x64": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.16.4.tgz",+ "integrity": "sha512-vAP+eYOxlN/Bpo/TZmzEQapNS8W1njECrqkTpNgvXskkkJC2AwOXwZWai/Kc2vEFZUXQttx6UJbj9grqjD/+9Q==",+ "dev": true,+ "optional": true+ },+ "@esbuild/linux-arm": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.16.4.tgz",+ "integrity": "sha512-A47ZmtpIPyERxkSvIv+zLd6kNIOtJH03XA0Hy7jaceRDdQaQVGSDt4mZqpWqJYgDk9rg96aglbF6kCRvPGDSUA==",+ "dev": true,+ "optional": true+ },+ "@esbuild/linux-arm64": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.16.4.tgz",+ "integrity": "sha512-2zXoBhv4r5pZiyjBKrOdFP4CXOChxXiYD50LRUU+65DkdS5niPFHbboKZd/c81l0ezpw7AQnHeoCy5hFrzzs4g==",+ "dev": true,+ "optional": true+ },+ "@esbuild/linux-ia32": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.16.4.tgz",+ "integrity": "sha512-uxdSrpe9wFhz4yBwt2kl2TxS/NWEINYBUFIxQtaEVtglm1eECvsj1vEKI0KX2k2wCe17zDdQ3v+jVxfwVfvvjw==",+ "dev": true,+ "optional": true+ },+ "@esbuild/linux-loong64": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.16.4.tgz",+ "integrity": "sha512-peDrrUuxbZ9Jw+DwLCh/9xmZAk0p0K1iY5d2IcwmnN+B87xw7kujOkig6ZRcZqgrXgeRGurRHn0ENMAjjD5DEg==",+ "dev": true,+ "optional": true+ },+ "@esbuild/linux-mips64el": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.16.4.tgz",+ "integrity": "sha512-sD9EEUoGtVhFjjsauWjflZklTNr57KdQ6xfloO4yH1u7vNQlOfAlhEzbyBKfgbJlW7rwXYBdl5/NcZ+Mg2XhQA==",+ "dev": true,+ "optional": true+ },+ "@esbuild/linux-ppc64": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.16.4.tgz",+ "integrity": "sha512-X1HSqHUX9D+d0l6/nIh4ZZJ94eQky8d8z6yxAptpZE3FxCWYWvTDd9X9ST84MGZEJx04VYUD/AGgciddwO0b8g==",+ "dev": true,+ "optional": true+ },+ "@esbuild/linux-riscv64": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.16.4.tgz",+ "integrity": "sha512-97ANpzyNp0GTXCt6SRdIx1ngwncpkV/z453ZuxbnBROCJ5p/55UjhbaG23UdHj88fGWLKPFtMoU4CBacz4j9FA==",+ "dev": true,+ "optional": true+ },+ "@esbuild/linux-s390x": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.16.4.tgz",+ "integrity": "sha512-pUvPQLPmbEeJRPjP0DYTC1vjHyhrnCklQmCGYbipkep+oyfTn7GTBJXoPodR7ZS5upmEyc8lzAkn2o29wD786A==",+ "dev": true,+ "optional": true+ },+ "@esbuild/linux-x64": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.16.4.tgz",+ "integrity": "sha512-N55Q0mJs3Sl8+utPRPBrL6NLYZKBCLLx0bme/+RbjvMforTGGzFvsRl4xLTZMUBFC1poDzBEPTEu5nxizQ9Nlw==",+ "dev": true,+ "optional": true+ },+ "@esbuild/netbsd-x64": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.16.4.tgz",+ "integrity": "sha512-LHSJLit8jCObEQNYkgsDYBh2JrJT53oJO2HVdkSYLa6+zuLJh0lAr06brXIkljrlI+N7NNW1IAXGn/6IZPi3YQ==",+ "dev": true,+ "optional": true+ },+ "@esbuild/openbsd-x64": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.16.4.tgz",+ "integrity": "sha512-nLgdc6tWEhcCFg/WVFaUxHcPK3AP/bh+KEwKtl69Ay5IBqUwKDaq/6Xk0E+fh/FGjnLwqFSsarsbPHeKM8t8Sw==",+ "dev": true,+ "optional": true+ },+ "@esbuild/sunos-x64": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.16.4.tgz",+ "integrity": "sha512-08SluG24GjPO3tXKk95/85n9kpyZtXCVwURR2i4myhrOfi3jspClV0xQQ0W0PYWHioJj+LejFMt41q+PG3mlAQ==",+ "dev": true,+ "optional": true+ },+ "@esbuild/win32-arm64": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.16.4.tgz",+ "integrity": "sha512-yYiRDQcqLYQSvNQcBKN7XogbrSvBE45FEQdH8fuXPl7cngzkCvpsG2H9Uey39IjQ6gqqc+Q4VXYHsQcKW0OMjQ==",+ "dev": true,+ "optional": true+ },+ "@esbuild/win32-ia32": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.16.4.tgz",+ "integrity": "sha512-5rabnGIqexekYkh9zXG5waotq8mrdlRoBqAktjx2W3kb0zsI83mdCwrcAeKYirnUaTGztR5TxXcXmQrEzny83w==",+ "dev": true,+ "optional": true+ },+ "@esbuild/win32-x64": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.16.4.tgz",+ "integrity": "sha512-sN/I8FMPtmtT2Yw+Dly8Ur5vQ5a/RmC8hW7jO9PtPSQUPkowxWpcUZnqOggU7VwyT3Xkj6vcXWd3V/qTXwultQ==",+ "dev": true,+ "optional": true+ },+ "@fast-csv/format": {+ "version": "4.3.5",+ "resolved": "https://registry.npmmirror.com/@fast-csv/format/-/format-4.3.5.tgz",+ "integrity": "sha512-8iRn6QF3I8Ak78lNAa+Gdl5MJJBM5vRHivFtMRUWINdevNo00K7OXxS2PshawLKTejVwieIlPmK5YlLu6w4u8A==",+ "requires": {+ "@types/node": "^14.0.1",+ "lodash.escaperegexp": "^4.1.2",+ "lodash.isboolean": "^3.0.3",+ "lodash.isequal": "^4.5.0",+ "lodash.isfunction": "^3.0.9",+ "lodash.isnil": "^4.0.0"+ },+ "dependencies": {+ "@types/node": {+ "version": "14.18.54",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.54.tgz",+ "integrity": "sha512-uq7O52wvo2Lggsx1x21tKZgqkJpvwCseBBPtX/nKQfpVlEsLOb11zZ1CRsWUKvJF0+lzuA9jwvA7Pr2Wt7i3xw=="+ }+ }+ },+ "@fast-csv/parse": {+ "version": "4.3.6",+ "resolved": "https://registry.npmmirror.com/@fast-csv/parse/-/parse-4.3.6.tgz",+ "integrity": "sha512-uRsLYksqpbDmWaSmzvJcuApSEe38+6NQZBUsuAyMZKqHxH0g1wcJgsKUvN3WC8tewaqFjBMMGrkHmC+T7k8LvA==",+ "requires": {+ "@types/node": "^14.0.1",+ "lodash.escaperegexp": "^4.1.2",+ "lodash.groupby": "^4.6.0",+ "lodash.isfunction": "^3.0.9",+ "lodash.isnil": "^4.0.0",+ "lodash.isundefined": "^3.0.1",+ "lodash.uniq": "^4.5.0"+ },+ "dependencies": {+ "@types/node": {+ "version": "14.18.54",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.54.tgz",+ "integrity": "sha512-uq7O52wvo2Lggsx1x21tKZgqkJpvwCseBBPtX/nKQfpVlEsLOb11zZ1CRsWUKvJF0+lzuA9jwvA7Pr2Wt7i3xw=="+ }+ }+ },+ "@iconify/types": {+ "version": "2.0.0",+ "resolved": "https://registry.npmmirror.com/@iconify/types/-/types-2.0.0.tgz",+ "integrity": "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==",+ "dev": true+ },+ "@iconify/utils": {+ "version": "2.0.9",+ "resolved": "https://registry.npmmirror.com/@iconify/utils/-/utils-2.0.9.tgz",+ "integrity": "sha512-ropNqaeamoxZvXxvaTJXrI0MrqdWdDVIs/mW7/sEQbNi0aXYUGL2iuLs1da3QR163gyG63kiyTsqw2oQYamw3Q==",+ "dev": true,+ "requires": {+ "@antfu/install-pkg": "^0.1.1",+ "@antfu/utils": "^0.7.2",+ "@iconify/types": "^2.0.0",+ "debug": "^4.3.4",+ "kolorist": "^1.6.0",+ "local-pkg": "^0.4.2"+ }+ },+ "@intlify/core-base": {+ "version": "9.2.2",+ "resolved": "https://registry.npmmirror.com/@intlify/core-base/-/core-base-9.2.2.tgz",+ "integrity": "sha512-JjUpQtNfn+joMbrXvpR4hTF8iJQ2sEFzzK3KIESOx+f+uwIjgw20igOyaIdhfsVVBCds8ZM64MoeNSx+PHQMkA==",+ "requires": {+ "@intlify/devtools-if": "9.2.2",+ "@intlify/message-compiler": "9.2.2",+ "@intlify/shared": "9.2.2",+ "@intlify/vue-devtools": "9.2.2"+ }+ },+ "@intlify/devtools-if": {+ "version": "9.2.2",+ "resolved": "https://registry.npmmirror.com/@intlify/devtools-if/-/devtools-if-9.2.2.tgz",+ "integrity": "sha512-4ttr/FNO29w+kBbU7HZ/U0Lzuh2cRDhP8UlWOtV9ERcjHzuyXVZmjyleESK6eVP60tGC9QtQW9yZE+JeRhDHkg==",+ "requires": {+ "@intlify/shared": "9.2.2"+ }+ },+ "@intlify/message-compiler": {+ "version": "9.2.2",+ "resolved": "https://registry.npmmirror.com/@intlify/message-compiler/-/message-compiler-9.2.2.tgz",+ "integrity": "sha512-IUrQW7byAKN2fMBe8z6sK6riG1pue95e5jfokn8hA5Q3Bqy4MBJ5lJAofUsawQJYHeoPJ7svMDyBaVJ4d0GTtA==",+ "requires": {+ "@intlify/shared": "9.2.2",+ "source-map": "0.6.1"+ }+ },+ "@intlify/shared": {+ "version": "9.2.2",+ "resolved": "https://registry.npmmirror.com/@intlify/shared/-/shared-9.2.2.tgz",+ "integrity": "sha512-wRwTpsslgZS5HNyM7uDQYZtxnbI12aGiBZURX3BTR9RFIKKRWpllTsgzHWvj3HKm3Y2Sh5LPC1r0PDCKEhVn9Q=="+ },+ "@intlify/vue-devtools": {+ "version": "9.2.2",+ "resolved": "https://registry.npmmirror.com/@intlify/vue-devtools/-/vue-devtools-9.2.2.tgz",+ "integrity": "sha512-+dUyqyCHWHb/UcvY1MlIpO87munedm3Gn6E9WWYdWrMuYLcoIoOEVDWSS8xSwtlPU+kA+MEQTP6Q1iI/ocusJg==",+ "requires": {+ "@intlify/core-base": "9.2.2",+ "@intlify/shared": "9.2.2"+ }+ },+ "@jridgewell/sourcemap-codec": {+ "version": "1.4.14",+ "resolved": "https://registry.npmmirror.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz",+ "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==",+ "dev": true+ },+ "@mdi/font": {+ "version": "7.1.96",+ "resolved": "https://registry.npmmirror.com/@mdi/font/-/font-7.1.96.tgz",+ "integrity": "sha512-Imag6npmfkBDi2Ze2jiZVAPTDIKLxhz2Sx82xJ2zctyAU5LYJejLI5ChnDwiD9bMkQfVuzEsI98Q8toHyC+HCg==",+ "dev": true+ },+ "@nodelib/fs.scandir": {+ "version": "2.1.5",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",+ "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",+ "dev": true,+ "requires": {+ "@nodelib/fs.stat": "2.0.5",+ "run-parallel": "^1.1.9"+ }+ },+ "@nodelib/fs.stat": {+ "version": "2.0.5",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",+ "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",+ "dev": true+ },+ "@nodelib/fs.walk": {+ "version": "1.2.8",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",+ "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",+ "dev": true,+ "requires": {+ "@nodelib/fs.scandir": "2.1.5",+ "fastq": "^1.6.0"+ }+ },+ "@rollup/pluginutils": {+ "version": "5.0.2",+ "resolved": "https://registry.npmmirror.com/@rollup/pluginutils/-/pluginutils-5.0.2.tgz",+ "integrity": "sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==",+ "dev": true,+ "requires": {+ "@types/estree": "^1.0.0",+ "estree-walker": "^2.0.2",+ "picomatch": "^2.3.1"+ }+ },+ "@socket.io/component-emitter": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz",+ "integrity": "sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg=="+ },+ "@types/estree": {+ "version": "1.0.0",+ "resolved": "https://registry.npmmirror.com/@types/estree/-/estree-1.0.0.tgz",+ "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==",+ "dev": true+ },+ "@types/json-schema": {+ "version": "7.0.11",+ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz",+ "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==",+ "dev": true+ },+ "@types/json5": {+ "version": "0.0.29",+ "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz",+ "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==",+ "dev": true+ },+ "@types/node": {+ "version": "18.11.13",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.13.tgz",+ "integrity": "sha512-IASpMGVcWpUsx5xBOrxMj7Bl8lqfuTY7FKAnPmu5cHkfQVWF8GulWS1jbRqA934qZL35xh5xN/+Xe/i26Bod4w==",+ "dev": true+ },+ "@types/raf": {+ "version": "3.4.0",+ "resolved": "https://registry.npmmirror.com/@types/raf/-/raf-3.4.0.tgz",+ "integrity": "sha512-taW5/WYqo36N7V39oYyHP9Ipfd5pNFvGTIQsNGj86xV88YQ7GnI30/yMfKDF7Zgin0m3e+ikX88FvImnK4RjGw=="+ },+ "@types/semver": {+ "version": "7.3.13",+ "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.13.tgz",+ "integrity": "sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==",+ "dev": true+ },+ "@typescript-eslint/eslint-plugin": {+ "version": "5.46.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.46.0.tgz",+ "integrity": "sha512-QrZqaIOzJAjv0sfjY4EjbXUi3ZOFpKfzntx22gPGr9pmFcTjcFw/1sS1LJhEubfAGwuLjNrPV0rH+D1/XZFy7Q==",+ "dev": true,+ "requires": {+ "@typescript-eslint/scope-manager": "5.46.0",+ "@typescript-eslint/type-utils": "5.46.0",+ "@typescript-eslint/utils": "5.46.0",+ "debug": "^4.3.4",+ "ignore": "^5.2.0",+ "natural-compare-lite": "^1.4.0",+ "regexpp": "^3.2.0",+ "semver": "^7.3.7",+ "tsutils": "^3.21.0"+ }+ },+ "@typescript-eslint/parser": {+ "version": "5.46.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.46.0.tgz",+ "integrity": "sha512-joNO6zMGUZg+C73vwrKXCd8usnsmOYmgW/w5ZW0pG0RGvqeznjtGDk61EqqTpNrFLUYBW2RSBFrxdAZMqA4OZA==",+ "dev": true,+ "requires": {+ "@typescript-eslint/scope-manager": "5.46.0",+ "@typescript-eslint/types": "5.46.0",+ "@typescript-eslint/typescript-estree": "5.46.0",+ "debug": "^4.3.4"+ }+ },+ "@typescript-eslint/scope-manager": {+ "version": "5.46.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.46.0.tgz",+ "integrity": "sha512-7wWBq9d/GbPiIM6SqPK9tfynNxVbfpihoY5cSFMer19OYUA3l4powA2uv0AV2eAZV6KoAh6lkzxv4PoxOLh1oA==",+ "dev": true,+ "requires": {+ "@typescript-eslint/types": "5.46.0",+ "@typescript-eslint/visitor-keys": "5.46.0"+ }+ },+ "@typescript-eslint/type-utils": {+ "version": "5.46.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.46.0.tgz",+ "integrity": "sha512-dwv4nimVIAsVS2dTA0MekkWaRnoYNXY26dKz8AN5W3cBFYwYGFQEqm/cG+TOoooKlncJS4RTbFKgcFY/pOiBCg==",+ "dev": true,+ "requires": {+ "@typescript-eslint/typescript-estree": "5.46.0",+ "@typescript-eslint/utils": "5.46.0",+ "debug": "^4.3.4",+ "tsutils": "^3.21.0"+ }+ },+ "@typescript-eslint/types": {+ "version": "5.46.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.46.0.tgz",+ "integrity": "sha512-wHWgQHFB+qh6bu0IAPAJCdeCdI0wwzZnnWThlmHNY01XJ9Z97oKqKOzWYpR2I83QmshhQJl6LDM9TqMiMwJBTw==",+ "dev": true+ },+ "@typescript-eslint/typescript-estree": {+ "version": "5.46.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.46.0.tgz",+ "integrity": "sha512-kDLNn/tQP+Yp8Ro2dUpyyVV0Ksn2rmpPpB0/3MO874RNmXtypMwSeazjEN/Q6CTp8D7ExXAAekPEcCEB/vtJkw==",+ "dev": true,+ "requires": {+ "@typescript-eslint/types": "5.46.0",+ "@typescript-eslint/visitor-keys": "5.46.0",+ "debug": "^4.3.4",+ "globby": "^11.1.0",+ "is-glob": "^4.0.3",+ "semver": "^7.3.7",+ "tsutils": "^3.21.0"+ }+ },+ "@typescript-eslint/utils": {+ "version": "5.46.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.46.0.tgz",+ "integrity": "sha512-4O+Ps1CRDw+D+R40JYh5GlKLQERXRKW5yIQoNDpmXPJ+C7kaPF9R7GWl+PxGgXjB3PQCqsaaZUpZ9dG4U6DO7g==",+ "dev": true,+ "requires": {+ "@types/json-schema": "^7.0.9",+ "@types/semver": "^7.3.12",+ "@typescript-eslint/scope-manager": "5.46.0",+ "@typescript-eslint/types": "5.46.0",+ "@typescript-eslint/typescript-estree": "5.46.0",+ "eslint-scope": "^5.1.1",+ "eslint-utils": "^3.0.0",+ "semver": "^7.3.7"+ }+ },+ "@typescript-eslint/visitor-keys": {+ "version": "5.46.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.46.0.tgz",+ "integrity": "sha512-E13gBoIXmaNhwjipuvQg1ByqSAu/GbEpP/qzFihugJ+MomtoJtFAJG/+2DRPByf57B863m0/q7Zt16V9ohhANw==",+ "dev": true,+ "requires": {+ "@typescript-eslint/types": "5.46.0",+ "eslint-visitor-keys": "^3.3.0"+ }+ },+ "@vitejs/plugin-vue": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-4.0.0.tgz",+ "integrity": "sha512-e0X4jErIxAB5oLtDqbHvHpJe/uWNkdpYV83AOG2xo2tEVSzCzewgJMtREZM30wXnM5ls90hxiOtAuVU6H5JgbA==",+ "dev": true+ },+ "@volar/language-core": {+ "version": "1.0.11",+ "resolved": "https://registry.npmmirror.com/@volar/language-core/-/language-core-1.0.11.tgz",+ "integrity": "sha512-YwUYKxIyDc+Fq3kQ6BGGfkrKCG5JzE2Yr6vMxrxEXW2rg/gsq3JgMk/4sI8ybRsaTirhCB4V8+AIVYsvcRxgig==",+ "dev": true,+ "requires": {+ "@volar/source-map": "1.0.11",+ "@vue/reactivity": "^3.2.45",+ "muggle-string": "^0.1.0"+ }+ },+ "@volar/source-map": {+ "version": "1.0.11",+ "resolved": "https://registry.npmmirror.com/@volar/source-map/-/source-map-1.0.11.tgz",+ "integrity": "sha512-tkuV9MD+OuiZfHA0qZXrPdW6F7TvnpnuTan6Qe7UGUs9+sflezlMJdjaYdGgQObfP+06pcT1E3xdkOoi08ZyyQ==",+ "dev": true,+ "requires": {+ "muggle-string": "^0.1.0"+ }+ },+ "@volar/typescript": {+ "version": "1.0.11",+ "resolved": "https://registry.npmmirror.com/@volar/typescript/-/typescript-1.0.11.tgz",+ "integrity": "sha512-mq7wDDAs0Eb43jev2FxbowuiwWqvL3kb+tar1we8VQbdabpyQ5dmbWPwo/IglevMmW3SKo1Et+6rqAeZpXNnPQ==",+ "dev": true,+ "requires": {+ "@volar/language-core": "1.0.11"+ }+ },+ "@volar/vue-language-core": {+ "version": "1.0.11",+ "resolved": "https://registry.npmmirror.com/@volar/vue-language-core/-/vue-language-core-1.0.11.tgz",+ "integrity": "sha512-A3ODs0/ua7BcpSSnE7KtO8bzWsYsbOJRyW2Q/2uktxlfHj8srln3JdgK/mNlIgfnWtACbE5K+EfMJOgJKv864A==",+ "dev": true,+ "requires": {+ "@volar/language-core": "1.0.11",+ "@volar/source-map": "1.0.11",+ "@vue/compiler-dom": "^3.2.45",+ "@vue/compiler-sfc": "^3.2.45",+ "@vue/reactivity": "^3.2.45",+ "@vue/shared": "^3.2.45",+ "minimatch": "^5.1.0",+ "vue-template-compiler": "^2.7.14"+ }+ },+ "@volar/vue-typescript": {+ "version": "1.0.11",+ "resolved": "https://registry.npmmirror.com/@volar/vue-typescript/-/vue-typescript-1.0.11.tgz",+ "integrity": "sha512-jlnFPvBcTyPiAbGlgjhKK7fp3Q+Z7Z5eU1NTbTSS0lQC8Gog3sh2UxLAFG5Voe1gHIxasoOEPXzMR0CWF4bKbA==",+ "dev": true,+ "requires": {+ "@volar/typescript": "1.0.11",+ "@volar/vue-language-core": "1.0.11"+ }+ },+ "@vue/compiler-core": {+ "version": "3.2.45",+ "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.45.tgz",+ "integrity": "sha512-rcMj7H+PYe5wBV3iYeUgbCglC+pbpN8hBLTJvRiK2eKQiWqu+fG9F+8sW99JdL4LQi7Re178UOxn09puSXvn4A==",+ "requires": {+ "@babel/parser": "^7.16.4",+ "@vue/shared": "3.2.45",+ "estree-walker": "^2.0.2",+ "source-map": "^0.6.1"+ }+ },+ "@vue/compiler-dom": {+ "version": "3.2.45",+ "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.45.tgz",+ "integrity": "sha512-tyYeUEuKqqZO137WrZkpwfPCdiiIeXYCcJ8L4gWz9vqaxzIQRccTSwSWZ/Axx5YR2z+LvpUbmPNXxuBU45lyRw==",+ "requires": {+ "@vue/compiler-core": "3.2.45",+ "@vue/shared": "3.2.45"+ }+ },+ "@vue/compiler-sfc": {+ "version": "3.2.45",+ "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.45.tgz",+ "integrity": "sha512-1jXDuWah1ggsnSAOGsec8cFjT/K6TMZ0sPL3o3d84Ft2AYZi2jWJgRMjw4iaK0rBfA89L5gw427H4n1RZQBu6Q==",+ "requires": {+ "@babel/parser": "^7.16.4",+ "@vue/compiler-core": "3.2.45",+ "@vue/compiler-dom": "3.2.45",+ "@vue/compiler-ssr": "3.2.45",+ "@vue/reactivity-transform": "3.2.45",+ "@vue/shared": "3.2.45",+ "estree-walker": "^2.0.2",+ "magic-string": "^0.25.7",+ "postcss": "^8.1.10",+ "source-map": "^0.6.1"+ }+ },+ "@vue/compiler-ssr": {+ "version": "3.2.45",+ "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.45.tgz",+ "integrity": "sha512-6BRaggEGqhWht3lt24CrIbQSRD5O07MTmd+LjAn5fJj568+R9eUD2F7wMQJjX859seSlrYog7sUtrZSd7feqrQ==",+ "requires": {+ "@vue/compiler-dom": "3.2.45",+ "@vue/shared": "3.2.45"+ }+ },+ "@vue/devtools-api": {+ "version": "6.4.5",+ "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.4.5.tgz",+ "integrity": "sha512-JD5fcdIuFxU4fQyXUu3w2KpAJHzTVdN+p4iOX2lMWSHMOoQdMAcpFLZzm9Z/2nmsoZ1a96QEhZ26e50xLBsgOQ=="+ },+ "@vue/reactivity": {+ "version": "3.2.45",+ "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.45.tgz",+ "integrity": "sha512-PRvhCcQcyEVohW0P8iQ7HDcIOXRjZfAsOds3N99X/Dzewy8TVhTCT4uXpAHfoKjVTJRA0O0K+6QNkDIZAxNi3A==",+ "requires": {+ "@vue/shared": "3.2.45"+ }+ },+ "@vue/reactivity-transform": {+ "version": "3.2.45",+ "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.45.tgz",+ "integrity": "sha512-BHVmzYAvM7vcU5WmuYqXpwaBHjsS8T63jlKGWVtHxAHIoMIlmaMyurUSEs1Zcg46M4AYT5MtB1U274/2aNzjJQ==",+ "requires": {+ "@babel/parser": "^7.16.4",+ "@vue/compiler-core": "3.2.45",+ "@vue/shared": "3.2.45",+ "estree-walker": "^2.0.2",+ "magic-string": "^0.25.7"+ }+ },+ "@vue/runtime-core": {+ "version": "3.2.45",+ "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.45.tgz",+ "integrity": "sha512-gzJiTA3f74cgARptqzYswmoQx0fIA+gGYBfokYVhF8YSXjWTUA2SngRzZRku2HbGbjzB6LBYSbKGIaK8IW+s0A==",+ "requires": {+ "@vue/reactivity": "3.2.45",+ "@vue/shared": "3.2.45"+ }+ },+ "@vue/runtime-dom": {+ "version": "3.2.45",+ "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.45.tgz",+ "integrity": "sha512-cy88YpfP5Ue2bDBbj75Cb4bIEZUMM/mAkDMfqDTpUYVgTf/kuQ2VQ8LebuZ8k6EudgH8pYhsGWHlY0lcxlvTwA==",+ "requires": {+ "@vue/runtime-core": "3.2.45",+ "@vue/shared": "3.2.45",+ "csstype": "^2.6.8"+ }+ },+ "@vue/server-renderer": {+ "version": "3.2.45",+ "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.45.tgz",+ "integrity": "sha512-ebiMq7q24WBU1D6uhPK//2OTR1iRIyxjF5iVq/1a5I1SDMDyDu4Ts6fJaMnjrvD3MqnaiFkKQj+LKAgz5WIK3g==",+ "requires": {+ "@vue/compiler-ssr": "3.2.45",+ "@vue/shared": "3.2.45"+ }+ },+ "@vue/shared": {+ "version": "3.2.45",+ "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.45.tgz",+ "integrity": "sha512-Ewzq5Yhimg7pSztDV+RH1UDKBzmtqieXQlpTVm2AwraoRL/Rks96mvd8Vgi7Lj+h+TH8dv7mXD3FRZR3TUvbSg=="+ },+ "acorn": {+ "version": "7.4.1",+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",+ "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==",+ "dev": true+ },+ "acorn-jsx": {+ "version": "5.3.2",+ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",+ "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",+ "dev": true+ },+ "adler-32": {+ "version": "1.3.1",+ "resolved": "https://registry.npmmirror.com/adler-32/-/adler-32-1.3.1.tgz",+ "integrity": "sha512-ynZ4w/nUUv5rrsR8UUGoe1VC9hZj6V5hU9Qw1HlMDJGEJw5S7TfTErWTjMys6M7vr0YWcPqs3qAr4ss0nDfP+A=="+ },+ "ajv": {+ "version": "6.12.6",+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",+ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",+ "dev": true,+ "requires": {+ "fast-deep-equal": "^3.1.1",+ "fast-json-stable-stringify": "^2.0.0",+ "json-schema-traverse": "^0.4.1",+ "uri-js": "^4.2.2"+ }+ },+ "ansi-escapes": {+ "version": "4.3.2",+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",+ "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",+ "dev": true,+ "requires": {+ "type-fest": "^0.21.3"+ },+ "dependencies": {+ "type-fest": {+ "version": "0.21.3",+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",+ "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",+ "dev": true+ }+ }+ },+ "ansi-regex": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",+ "dev": true+ },+ "ansi-styles": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",+ "dev": true,+ "requires": {+ "color-convert": "^1.9.0"+ }+ },+ "anymatch": {+ "version": "3.1.3",+ "resolved": "https://registry.npmmirror.com/anymatch/-/anymatch-3.1.3.tgz",+ "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",+ "dev": true,+ "requires": {+ "normalize-path": "^3.0.0",+ "picomatch": "^2.0.4"+ }+ },+ "archiver": {+ "version": "5.3.1",+ "resolved": "https://registry.npmjs.org/archiver/-/archiver-5.3.1.tgz",+ "integrity": "sha512-8KyabkmbYrH+9ibcTScQ1xCJC/CGcugdVIwB+53f5sZziXgwUh3iXlAlANMxcZyDEfTHMe6+Z5FofV8nopXP7w==",+ "requires": {+ "archiver-utils": "^2.1.0",+ "async": "^3.2.3",+ "buffer-crc32": "^0.2.1",+ "readable-stream": "^3.6.0",+ "readdir-glob": "^1.0.0",+ "tar-stream": "^2.2.0",+ "zip-stream": "^4.1.0"+ }+ },+ "archiver-utils": {+ "version": "2.1.0",+ "resolved": "https://registry.npmmirror.com/archiver-utils/-/archiver-utils-2.1.0.tgz",+ "integrity": "sha512-bEL/yUb/fNNiNTuUz979Z0Yg5L+LzLxGJz8x79lYmR54fmTIb6ob/hNQgkQnIUDWIFjZVQwl9Xs356I6BAMHfw==",+ "requires": {+ "glob": "^7.1.4",+ "graceful-fs": "^4.2.0",+ "lazystream": "^1.0.0",+ "lodash.defaults": "^4.2.0",+ "lodash.difference": "^4.5.0",+ "lodash.flatten": "^4.4.0",+ "lodash.isplainobject": "^4.0.6",+ "lodash.union": "^4.6.0",+ "normalize-path": "^3.0.0",+ "readable-stream": "^2.0.0"+ },+ "dependencies": {+ "readable-stream": {+ "version": "2.3.8",+ "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz",+ "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",+ "requires": {+ "core-util-is": "~1.0.0",+ "inherits": "~2.0.3",+ "isarray": "~1.0.0",+ "process-nextick-args": "~2.0.0",+ "safe-buffer": "~5.1.1",+ "string_decoder": "~1.1.1",+ "util-deprecate": "~1.0.1"+ }+ }+ }+ },+ "argparse": {+ "version": "1.0.10",+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",+ "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",+ "dev": true,+ "requires": {+ "sprintf-js": "~1.0.2"+ }+ },+ "array-includes": {+ "version": "3.1.6",+ "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.6.tgz",+ "integrity": "sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==",+ "dev": true,+ "requires": {+ "call-bind": "^1.0.2",+ "define-properties": "^1.1.4",+ "es-abstract": "^1.20.4",+ "get-intrinsic": "^1.1.3",+ "is-string": "^1.0.7"+ }+ },+ "array-union": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz",+ "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==",+ "dev": true+ },+ "array.prototype.flat": {+ "version": "1.3.1",+ "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz",+ "integrity": "sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==",+ "dev": true,+ "requires": {+ "call-bind": "^1.0.2",+ "define-properties": "^1.1.4",+ "es-abstract": "^1.20.4",+ "es-shim-unscopables": "^1.0.0"+ }+ },+ "astral-regex": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz",+ "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==",+ "dev": true+ },+ "async": {+ "version": "3.2.4",+ "resolved": "https://registry.npmmirror.com/async/-/async-3.2.4.tgz",+ "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ=="+ },+ "asynckit": {+ "version": "0.4.0",+ "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",+ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="+ },+ "atob": {+ "version": "2.1.2",+ "resolved": "https://registry.npmmirror.com/atob/-/atob-2.1.2.tgz",+ "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg=="+ },+ "axios": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.2.1.tgz",+ "integrity": "sha512-I88cFiGu9ryt/tfVEi4kX2SITsvDddTajXTOFmt2uK1ZVA8LytjtdeyefdQWEf5PU8w+4SSJDoYnggflB5tW4A==",+ "requires": {+ "follow-redirects": "^1.15.0",+ "form-data": "^4.0.0",+ "proxy-from-env": "^1.1.0"+ }+ },+ "balanced-match": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="+ },+ "base64-arraybuffer": {+ "version": "1.0.2",+ "resolved": "https://registry.npmmirror.com/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz",+ "integrity": "sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ=="+ },+ "base64-js": {+ "version": "1.5.1",+ "resolved": "https://registry.npmmirror.com/base64-js/-/base64-js-1.5.1.tgz",+ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="+ },+ "big-integer": {+ "version": "1.6.51",+ "resolved": "https://registry.npmmirror.com/big-integer/-/big-integer-1.6.51.tgz",+ "integrity": "sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg=="+ },+ "binary": {+ "version": "0.3.0",+ "resolved": "https://registry.npmmirror.com/binary/-/binary-0.3.0.tgz",+ "integrity": "sha512-D4H1y5KYwpJgK8wk1Cue5LLPgmwHKYSChkbspQg5JtVuR5ulGckxfR62H3AE9UDkdMC8yyXlqYihuz3Aqg2XZg==",+ "requires": {+ "buffers": "~0.1.1",+ "chainsaw": "~0.1.0"+ }+ },+ "binary-extensions": {+ "version": "2.2.0",+ "resolved": "https://registry.npmmirror.com/binary-extensions/-/binary-extensions-2.2.0.tgz",+ "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",+ "dev": true+ },+ "bl": {+ "version": "4.1.0",+ "resolved": "https://registry.npmmirror.com/bl/-/bl-4.1.0.tgz",+ "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",+ "requires": {+ "buffer": "^5.5.0",+ "inherits": "^2.0.4",+ "readable-stream": "^3.4.0"+ }+ },+ "bluebird": {+ "version": "3.4.7",+ "resolved": "https://registry.npmmirror.com/bluebird/-/bluebird-3.4.7.tgz",+ "integrity": "sha512-iD3898SR7sWVRHbiQv+sHUtHnMvC1o3nW5rAcqnq3uOn07DSAppZYUkIGslDz6gXC7HfunPe7YVBgoEJASPcHA=="+ },+ "brace-expansion": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",+ "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",+ "requires": {+ "balanced-match": "^1.0.0"+ }+ },+ "braces": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",+ "dev": true,+ "requires": {+ "fill-range": "^7.0.1"+ }+ },+ "btoa": {+ "version": "1.2.1",+ "resolved": "https://registry.npmmirror.com/btoa/-/btoa-1.2.1.tgz",+ "integrity": "sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g=="+ },+ "buffer": {+ "version": "5.7.1",+ "resolved": "https://registry.npmmirror.com/buffer/-/buffer-5.7.1.tgz",+ "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",+ "requires": {+ "base64-js": "^1.3.1",+ "ieee754": "^1.1.13"+ }+ },+ "buffer-crc32": {+ "version": "0.2.13",+ "resolved": "https://registry.npmmirror.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz",+ "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ=="+ },+ "buffer-indexof-polyfill": {+ "version": "1.0.2",+ "resolved": "https://registry.npmmirror.com/buffer-indexof-polyfill/-/buffer-indexof-polyfill-1.0.2.tgz",+ "integrity": "sha512-I7wzHwA3t1/lwXQh+A5PbNvJxgfo5r3xulgpYDB5zckTu/Z9oUK9biouBKQUjEqzaz3HnAT6TYoovmE+GqSf7A=="+ },+ "buffers": {+ "version": "0.1.1",+ "resolved": "https://registry.npmmirror.com/buffers/-/buffers-0.1.1.tgz",+ "integrity": "sha512-9q/rDEGSb/Qsvv2qvzIzdluL5k7AaJOTrw23z9reQthrbF7is4CtlT0DXyO1oei2DCp4uojjzQ7igaSHp1kAEQ=="+ },+ "call-bind": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",+ "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",+ "dev": true,+ "requires": {+ "function-bind": "^1.1.1",+ "get-intrinsic": "^1.0.2"+ }+ },+ "callsites": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",+ "dev": true+ },+ "canvg": {+ "version": "3.0.10",+ "resolved": "https://registry.npmmirror.com/canvg/-/canvg-3.0.10.tgz",+ "integrity": "sha512-qwR2FRNO9NlzTeKIPIKpnTY6fqwuYSequ8Ru8c0YkYU7U0oW+hLUvWadLvAu1Rl72OMNiFhoLu4f8eUjQ7l/+Q==",+ "requires": {+ "@babel/runtime": "^7.12.5",+ "@types/raf": "^3.4.0",+ "core-js": "^3.8.3",+ "raf": "^3.4.1",+ "regenerator-runtime": "^0.13.7",+ "rgbcolor": "^1.0.1",+ "stackblur-canvas": "^2.0.0",+ "svg-pathdata": "^6.0.3"+ }+ },+ "cfb": {+ "version": "1.2.2",+ "resolved": "https://registry.npmmirror.com/cfb/-/cfb-1.2.2.tgz",+ "integrity": "sha512-KfdUZsSOw19/ObEWasvBP/Ac4reZvAGauZhs6S/gqNhXhI7cKwvlH7ulj+dOEYnca4bm4SGo8C1bTAQvnTjgQA==",+ "requires": {+ "adler-32": "~1.3.0",+ "crc-32": "~1.2.0"+ }+ },+ "chainsaw": {+ "version": "0.1.0",+ "resolved": "https://registry.npmmirror.com/chainsaw/-/chainsaw-0.1.0.tgz",+ "integrity": "sha512-75kWfWt6MEKNC8xYXIdRpDehRYY/tNSgwKaJq+dbbDcxORuVrrQ+SEHoWsniVn9XPYfP4gmdWIeDk/4YNp1rNQ==",+ "requires": {+ "traverse": ">=0.3.0 <0.4"+ }+ },+ "chalk": {+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",+ "dev": true,+ "requires": {+ "ansi-styles": "^4.1.0",+ "supports-color": "^7.1.0"+ },+ "dependencies": {+ "ansi-styles": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",+ "dev": true,+ "requires": {+ "color-convert": "^2.0.1"+ }+ },+ "color-convert": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",+ "dev": true,+ "requires": {+ "color-name": "~1.1.4"+ }+ },+ "color-name": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",+ "dev": true+ },+ "has-flag": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",+ "dev": true+ },+ "supports-color": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",+ "dev": true,+ "requires": {+ "has-flag": "^4.0.0"+ }+ }+ }+ },+ "chardet": {+ "version": "0.7.0",+ "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz",+ "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==",+ "dev": true+ },+ "chokidar": {+ "version": "3.5.3",+ "resolved": "https://registry.npmmirror.com/chokidar/-/chokidar-3.5.3.tgz",+ "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",+ "dev": true,+ "requires": {+ "anymatch": "~3.1.2",+ "braces": "~3.0.2",+ "fsevents": "~2.3.2",+ "glob-parent": "~5.1.2",+ "is-binary-path": "~2.1.0",+ "is-glob": "~4.0.1",+ "normalize-path": "~3.0.0",+ "readdirp": "~3.6.0"+ }+ },+ "cli-cursor": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",+ "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==",+ "dev": true,+ "requires": {+ "restore-cursor": "^3.1.0"+ }+ },+ "cli-width": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz",+ "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==",+ "dev": true+ },+ "codepage": {+ "version": "1.15.0",+ "resolved": "https://registry.npmmirror.com/codepage/-/codepage-1.15.0.tgz",+ "integrity": "sha512-3g6NUTPd/YtuuGrhMnOMRjFc+LJw/bnMp3+0r/Wcz3IXUuCosKRJvMphm5+Q+bvTVGcJJuRvVLuYba+WojaFaA=="+ },+ "color-convert": {+ "version": "1.9.3",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",+ "dev": true,+ "requires": {+ "color-name": "1.1.3"+ }+ },+ "color-name": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",+ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",+ "dev": true+ },+ "combined-stream": {+ "version": "1.0.8",+ "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",+ "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",+ "requires": {+ "delayed-stream": "~1.0.0"+ }+ },+ "compress-commons": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/compress-commons/-/compress-commons-4.1.1.tgz",+ "integrity": "sha512-QLdDLCKNV2dtoTorqgxngQCMA+gWXkM/Nwu7FpeBhk/RdkzimqC3jueb/FDmaZeXh+uby1jkBqE3xArsLBE5wQ==",+ "requires": {+ "buffer-crc32": "^0.2.13",+ "crc32-stream": "^4.0.2",+ "normalize-path": "^3.0.0",+ "readable-stream": "^3.6.0"+ }+ },+ "concat-map": {+ "version": "0.0.1",+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="+ },+ "confusing-browser-globals": {+ "version": "1.0.11",+ "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz",+ "integrity": "sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA==",+ "dev": true+ },+ "copy-anything": {+ "version": "2.0.6",+ "resolved": "https://registry.npmjs.org/copy-anything/-/copy-anything-2.0.6.tgz",+ "integrity": "sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==",+ "dev": true,+ "requires": {+ "is-what": "^3.14.1"+ }+ },+ "core-js": {+ "version": "3.32.1",+ "resolved": "https://registry.npmmirror.com/core-js/-/core-js-3.32.1.tgz",+ "integrity": "sha512-lqufgNn9NLnESg5mQeYsxQP5w7wrViSj0jr/kv6ECQiByzQkrn1MKvV0L3acttpDqfQrHLwr2KCMgX5b8X+lyQ=="+ },+ "core-util-is": {+ "version": "1.0.3",+ "resolved": "https://registry.npmmirror.com/core-util-is/-/core-util-is-1.0.3.tgz",+ "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ=="+ },+ "crc-32": {+ "version": "1.2.2",+ "resolved": "https://registry.npmmirror.com/crc-32/-/crc-32-1.2.2.tgz",+ "integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ=="+ },+ "crc32-stream": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/crc32-stream/-/crc32-stream-4.0.2.tgz",+ "integrity": "sha512-DxFZ/Hk473b/muq1VJ///PMNLj0ZMnzye9thBpmjpJKCc5eMgB95aK8zCGrGfQ90cWo561Te6HK9D+j4KPdM6w==",+ "requires": {+ "crc-32": "^1.2.0",+ "readable-stream": "^3.4.0"+ }+ },+ "cross-spawn": {+ "version": "7.0.3",+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",+ "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",+ "dev": true,+ "requires": {+ "path-key": "^3.1.0",+ "shebang-command": "^2.0.0",+ "which": "^2.0.1"+ }+ },+ "css-line-break": {+ "version": "2.1.0",+ "resolved": "https://registry.npmmirror.com/css-line-break/-/css-line-break-2.1.0.tgz",+ "integrity": "sha512-FHcKFCZcAha3LwfVBhCQbW2nCNbkZXn7KVUJcsT5/P8YmfsVja0FMPJr0B903j/E69HUphKiV9iQArX8SDYA4w==",+ "requires": {+ "utrie": "^1.0.2"+ }+ },+ "csstype": {+ "version": "2.6.21",+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.21.tgz",+ "integrity": "sha512-Z1PhmomIfypOpoMjRQB70jfvy/wxT50qW08YXO5lMIJkrdq4yOTR+AW7FqutScmB9NkLwxo+jU+kZLbofZZq/w=="+ },+ "dayjs": {+ "version": "1.11.9",+ "resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.9.tgz",+ "integrity": "sha512-QvzAURSbQ0pKdIye2txOzNaHmxtUBXerpY0FJsFXUMKbIZeFm5ht1LS/jFsrncjnmtv8HsG0W2g6c0zUjZWmpA=="+ },+ "de-indent": {+ "version": "1.0.2",+ "resolved": "https://registry.npmmirror.com/de-indent/-/de-indent-1.0.2.tgz",+ "integrity": "sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==",+ "dev": true+ },+ "debug": {+ "version": "4.3.4",+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",+ "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",+ "requires": {+ "ms": "2.1.2"+ }+ },+ "decompress-response": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz",+ "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==",+ "requires": {+ "mimic-response": "^3.1.0"+ }+ },+ "deep-is": {+ "version": "0.1.4",+ "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",+ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",+ "dev": true+ },+ "deepmerge": {+ "version": "4.2.2",+ "resolved": "https://registry.npmmirror.com/deepmerge/-/deepmerge-4.2.2.tgz",+ "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg=="+ },+ "define-properties": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz",+ "integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==",+ "dev": true,+ "requires": {+ "has-property-descriptors": "^1.0.0",+ "object-keys": "^1.1.1"+ }+ },+ "delayed-stream": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",+ "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ=="+ },+ "dir-glob": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",+ "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==",+ "dev": true,+ "requires": {+ "path-type": "^4.0.0"+ }+ },+ "doctrine": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",+ "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",+ "dev": true,+ "requires": {+ "esutils": "^2.0.2"+ }+ },+ "dompurify": {+ "version": "2.4.7",+ "resolved": "https://registry.npmmirror.com/dompurify/-/dompurify-2.4.7.tgz",+ "integrity": "sha512-kxxKlPEDa6Nc5WJi+qRgPbOAbgTpSULL+vI3NUXsZMlkJxTqYI9wg5ZTay2sFrdZRWHPWNi+EdAhcJf81WtoMQ==",+ "optional": true+ },+ "duplexer2": {+ "version": "0.1.4",+ "resolved": "https://registry.npmmirror.com/duplexer2/-/duplexer2-0.1.4.tgz",+ "integrity": "sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA==",+ "requires": {+ "readable-stream": "^2.0.2"+ },+ "dependencies": {+ "readable-stream": {+ "version": "2.3.8",+ "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz",+ "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",+ "requires": {+ "core-util-is": "~1.0.0",+ "inherits": "~2.0.3",+ "isarray": "~1.0.0",+ "process-nextick-args": "~2.0.0",+ "safe-buffer": "~5.1.1",+ "string_decoder": "~1.1.1",+ "util-deprecate": "~1.0.1"+ }+ }+ }+ },+ "emoji-regex": {+ "version": "8.0.0",+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",+ "dev": true+ },+ "end-of-stream": {+ "version": "1.4.4",+ "resolved": "https://registry.npmmirror.com/end-of-stream/-/end-of-stream-1.4.4.tgz",+ "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",+ "requires": {+ "once": "^1.4.0"+ }+ },+ "engine.io-client": {+ "version": "6.5.2",+ "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-6.5.2.tgz",+ "integrity": "sha512-CQZqbrpEYnrpGqC07a9dJDz4gePZUgTPMU3NKJPSeQOyw27Tst4Pl3FemKoFGAlHzgZmKjoRmiJvbWfhCXUlIg==",+ "requires": {+ "@socket.io/component-emitter": "~3.1.0",+ "debug": "~4.3.1",+ "engine.io-parser": "~5.2.1",+ "ws": "~8.11.0",+ "xmlhttprequest-ssl": "~2.0.0"+ }+ },+ "engine.io-parser": {+ "version": "5.2.1",+ "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.2.1.tgz",+ "integrity": "sha512-9JktcM3u18nU9N2Lz3bWeBgxVgOKpw7yhRaoxQA3FUDZzzw+9WlA6p4G4u0RixNkg14fH7EfEc/RhpurtiROTQ=="+ },+ "errno": {+ "version": "0.1.8",+ "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.8.tgz",+ "integrity": "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==",+ "dev": true,+ "optional": true,+ "requires": {+ "prr": "~1.0.1"+ }+ },+ "es-abstract": {+ "version": "1.20.5",+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.20.5.tgz",+ "integrity": "sha512-7h8MM2EQhsCA7pU/Nv78qOXFpD8Rhqd12gYiSJVkrH9+e8VuA8JlPJK/hQjjlLv6pJvx/z1iRFKzYb0XT/RuAQ==",+ "dev": true,+ "requires": {+ "call-bind": "^1.0.2",+ "es-to-primitive": "^1.2.1",+ "function-bind": "^1.1.1",+ "function.prototype.name": "^1.1.5",+ "get-intrinsic": "^1.1.3",+ "get-symbol-description": "^1.0.0",+ "gopd": "^1.0.1",+ "has": "^1.0.3",+ "has-property-descriptors": "^1.0.0",+ "has-symbols": "^1.0.3",+ "internal-slot": "^1.0.3",+ "is-callable": "^1.2.7",+ "is-negative-zero": "^2.0.2",+ "is-regex": "^1.1.4",+ "is-shared-array-buffer": "^1.0.2",+ "is-string": "^1.0.7",+ "is-weakref": "^1.0.2",+ "object-inspect": "^1.12.2",+ "object-keys": "^1.1.1",+ "object.assign": "^4.1.4",+ "regexp.prototype.flags": "^1.4.3",+ "safe-regex-test": "^1.0.0",+ "string.prototype.trimend": "^1.0.6",+ "string.prototype.trimstart": "^1.0.6",+ "unbox-primitive": "^1.0.2"+ }+ },+ "es-shim-unscopables": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz",+ "integrity": "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==",+ "dev": true,+ "requires": {+ "has": "^1.0.3"+ }+ },+ "es-to-primitive": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",+ "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",+ "dev": true,+ "requires": {+ "is-callable": "^1.1.4",+ "is-date-object": "^1.0.1",+ "is-symbol": "^1.0.2"+ }+ },+ "esbuild": {+ "version": "0.16.4",+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.16.4.tgz",+ "integrity": "sha512-qQrPMQpPTWf8jHugLWHoGqZjApyx3OEm76dlTXobHwh/EBbavbRdjXdYi/GWr43GyN0sfpap14GPkb05NH3ROA==",+ "dev": true,+ "requires": {+ "@esbuild/android-arm": "0.16.4",+ "@esbuild/android-arm64": "0.16.4",+ "@esbuild/android-x64": "0.16.4",+ "@esbuild/darwin-arm64": "0.16.4",+ "@esbuild/darwin-x64": "0.16.4",+ "@esbuild/freebsd-arm64": "0.16.4",+ "@esbuild/freebsd-x64": "0.16.4",+ "@esbuild/linux-arm": "0.16.4",+ "@esbuild/linux-arm64": "0.16.4",+ "@esbuild/linux-ia32": "0.16.4",+ "@esbuild/linux-loong64": "0.16.4",+ "@esbuild/linux-mips64el": "0.16.4",+ "@esbuild/linux-ppc64": "0.16.4",+ "@esbuild/linux-riscv64": "0.16.4",+ "@esbuild/linux-s390x": "0.16.4",+ "@esbuild/linux-x64": "0.16.4",+ "@esbuild/netbsd-x64": "0.16.4",+ "@esbuild/openbsd-x64": "0.16.4",+ "@esbuild/sunos-x64": "0.16.4",+ "@esbuild/win32-arm64": "0.16.4",+ "@esbuild/win32-ia32": "0.16.4",+ "@esbuild/win32-x64": "0.16.4"+ }+ },+ "escape-string-regexp": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",+ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",+ "dev": true+ },+ "eslint": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.2.0.tgz",+ "integrity": "sha512-B3BtEyaDKC5MlfDa2Ha8/D6DsS4fju95zs0hjS3HdGazw+LNayai38A25qMppK37wWGWNYSPOR6oYzlz5MHsRQ==",+ "dev": true,+ "requires": {+ "@babel/code-frame": "^7.0.0",+ "ajv": "^6.10.0",+ "chalk": "^4.0.0",+ "cross-spawn": "^7.0.2",+ "debug": "^4.0.1",+ "doctrine": "^3.0.0",+ "eslint-scope": "^5.1.0",+ "eslint-utils": "^2.0.0",+ "eslint-visitor-keys": "^1.2.0",+ "espree": "^7.1.0",+ "esquery": "^1.2.0",+ "esutils": "^2.0.2",+ "file-entry-cache": "^5.0.1",+ "functional-red-black-tree": "^1.0.1",+ "glob-parent": "^5.0.0",+ "globals": "^12.1.0",+ "ignore": "^4.0.6",+ "import-fresh": "^3.0.0",+ "imurmurhash": "^0.1.4",+ "inquirer": "^7.0.0",+ "is-glob": "^4.0.0",+ "js-yaml": "^3.13.1",+ "json-stable-stringify-without-jsonify": "^1.0.1",+ "levn": "^0.4.1",+ "lodash": "^4.17.14",+ "minimatch": "^3.0.4",+ "natural-compare": "^1.4.0",+ "optionator": "^0.9.1",+ "progress": "^2.0.0",+ "regexpp": "^3.1.0",+ "semver": "^7.2.1",+ "strip-ansi": "^6.0.0",+ "strip-json-comments": "^3.1.0",+ "table": "^5.2.3",+ "text-table": "^0.2.0",+ "v8-compile-cache": "^2.0.3"+ },+ "dependencies": {+ "brace-expansion": {+ "version": "1.1.11",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",+ "dev": true,+ "requires": {+ "balanced-match": "^1.0.0",+ "concat-map": "0.0.1"+ }+ },+ "eslint-utils": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz",+ "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==",+ "dev": true,+ "requires": {+ "eslint-visitor-keys": "^1.1.0"+ }+ },+ "eslint-visitor-keys": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz",+ "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==",+ "dev": true+ },+ "ignore": {+ "version": "4.0.6",+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz",+ "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==",+ "dev": true+ },+ "minimatch": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",+ "dev": true,+ "requires": {+ "brace-expansion": "^1.1.7"+ }+ }+ }+ },+ "eslint-config-airbnb-base": {+ "version": "14.2.1",+ "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-14.2.1.tgz",+ "integrity": "sha512-GOrQyDtVEc1Xy20U7vsB2yAoB4nBlfH5HZJeatRXHleO+OS5Ot+MWij4Dpltw4/DyIkqUfqz1epfhVR5XWWQPA==",+ "dev": true,+ "requires": {+ "confusing-browser-globals": "^1.0.10",+ "object.assign": "^4.1.2",+ "object.entries": "^1.1.2"+ }+ },+ "eslint-import-resolver-node": {+ "version": "0.3.6",+ "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz",+ "integrity": "sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw==",+ "dev": true,+ "requires": {+ "debug": "^3.2.7",+ "resolve": "^1.20.0"+ },+ "dependencies": {+ "debug": {+ "version": "3.2.7",+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",+ "dev": true,+ "requires": {+ "ms": "^2.1.1"+ }+ }+ }+ },+ "eslint-module-utils": {+ "version": "2.7.4",+ "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.7.4.tgz",+ "integrity": "sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==",+ "dev": true,+ "requires": {+ "debug": "^3.2.7"+ },+ "dependencies": {+ "debug": {+ "version": "3.2.7",+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",+ "dev": true,+ "requires": {+ "ms": "^2.1.1"+ }+ }+ }+ },+ "eslint-plugin-import": {+ "version": "2.26.0",+ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz",+ "integrity": "sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==",+ "dev": true,+ "requires": {+ "array-includes": "^3.1.4",+ "array.prototype.flat": "^1.2.5",+ "debug": "^2.6.9",+ "doctrine": "^2.1.0",+ "eslint-import-resolver-node": "^0.3.6",+ "eslint-module-utils": "^2.7.3",+ "has": "^1.0.3",+ "is-core-module": "^2.8.1",+ "is-glob": "^4.0.3",+ "minimatch": "^3.1.2",+ "object.values": "^1.1.5",+ "resolve": "^1.22.0",+ "tsconfig-paths": "^3.14.1"+ },+ "dependencies": {+ "brace-expansion": {+ "version": "1.1.11",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",+ "dev": true,+ "requires": {+ "balanced-match": "^1.0.0",+ "concat-map": "0.0.1"+ }+ },+ "debug": {+ "version": "2.6.9",+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",+ "dev": true,+ "requires": {+ "ms": "2.0.0"+ }+ },+ "doctrine": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",+ "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==",+ "dev": true,+ "requires": {+ "esutils": "^2.0.2"+ }+ },+ "minimatch": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",+ "dev": true,+ "requires": {+ "brace-expansion": "^1.1.7"+ }+ },+ "ms": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",+ "dev": true+ }+ }+ },+ "eslint-plugin-vue": {+ "version": "7.20.0",+ "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-7.20.0.tgz",+ "integrity": "sha512-oVNDqzBC9h3GO+NTgWeLMhhGigy6/bQaQbHS+0z7C4YEu/qK/yxHvca/2PTZtGNPsCrHwOTgKMrwu02A9iPBmw==",+ "dev": true,+ "requires": {+ "eslint-utils": "^2.1.0",+ "natural-compare": "^1.4.0",+ "semver": "^6.3.0",+ "vue-eslint-parser": "^7.10.0"+ },+ "dependencies": {+ "eslint-utils": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz",+ "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==",+ "dev": true,+ "requires": {+ "eslint-visitor-keys": "^1.1.0"+ }+ },+ "eslint-visitor-keys": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz",+ "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==",+ "dev": true+ },+ "espree": {+ "version": "6.2.1",+ "resolved": "https://registry.npmjs.org/espree/-/espree-6.2.1.tgz",+ "integrity": "sha512-ysCxRQY3WaXJz9tdbWOwuWr5Y/XrPTGX9Kiz3yoUXwW0VZ4w30HTkQLaGx/+ttFjF8i+ACbArnB4ce68a9m5hw==",+ "dev": true,+ "requires": {+ "acorn": "^7.1.1",+ "acorn-jsx": "^5.2.0",+ "eslint-visitor-keys": "^1.1.0"+ }+ },+ "semver": {+ "version": "6.3.0",+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",+ "dev": true+ },+ "vue-eslint-parser": {+ "version": "7.11.0",+ "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-7.11.0.tgz",+ "integrity": "sha512-qh3VhDLeh773wjgNTl7ss0VejY9bMMa0GoDG2fQVyDzRFdiU3L7fw74tWZDHNQXdZqxO3EveQroa9ct39D2nqg==",+ "dev": true,+ "requires": {+ "debug": "^4.1.1",+ "eslint-scope": "^5.1.1",+ "eslint-visitor-keys": "^1.1.0",+ "espree": "^6.2.1",+ "esquery": "^1.4.0",+ "lodash": "^4.17.21",+ "semver": "^6.3.0"+ }+ }+ }+ },+ "eslint-scope": {+ "version": "5.1.1",+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz",+ "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==",+ "dev": true,+ "requires": {+ "esrecurse": "^4.3.0",+ "estraverse": "^4.1.1"+ }+ },+ "eslint-utils": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz",+ "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==",+ "dev": true,+ "requires": {+ "eslint-visitor-keys": "^2.0.0"+ },+ "dependencies": {+ "eslint-visitor-keys": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz",+ "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==",+ "dev": true+ }+ }+ },+ "eslint-visitor-keys": {+ "version": "3.3.0",+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz",+ "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==",+ "dev": true+ },+ "espree": {+ "version": "7.3.1",+ "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz",+ "integrity": "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==",+ "dev": true,+ "requires": {+ "acorn": "^7.4.0",+ "acorn-jsx": "^5.3.1",+ "eslint-visitor-keys": "^1.3.0"+ },+ "dependencies": {+ "eslint-visitor-keys": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz",+ "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==",+ "dev": true+ }+ }+ },+ "esprima": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",+ "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",+ "dev": true+ },+ "esquery": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz",+ "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==",+ "dev": true,+ "requires": {+ "estraverse": "^5.1.0"+ },+ "dependencies": {+ "estraverse": {+ "version": "5.3.0",+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",+ "dev": true+ }+ }+ },+ "esrecurse": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",+ "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",+ "dev": true,+ "requires": {+ "estraverse": "^5.2.0"+ },+ "dependencies": {+ "estraverse": {+ "version": "5.3.0",+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",+ "dev": true+ }+ }+ },+ "estraverse": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",+ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",+ "dev": true+ },+ "estree-walker": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",+ "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="+ },+ "esutils": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",+ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",+ "dev": true+ },+ "exceljs": {+ "version": "4.3.0",+ "resolved": "https://registry.npmmirror.com/exceljs/-/exceljs-4.3.0.tgz",+ "integrity": "sha512-hTAeo5b5TPvf8Z02I2sKIT4kSfCnOO2bCxYX8ABqODCdAjppI3gI9VYiGCQQYVcBaBSKlFDMKlAQRqC+kV9O8w==",+ "requires": {+ "archiver": "^5.0.0",+ "dayjs": "^1.8.34",+ "fast-csv": "^4.3.1",+ "jszip": "^3.5.0",+ "readable-stream": "^3.6.0",+ "saxes": "^5.0.1",+ "tmp": "^0.2.0",+ "unzipper": "^0.10.11",+ "uuid": "^8.3.0"+ },+ "dependencies": {+ "rimraf": {+ "version": "3.0.2",+ "resolved": "https://registry.npmmirror.com/rimraf/-/rimraf-3.0.2.tgz",+ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",+ "requires": {+ "glob": "^7.1.3"+ }+ },+ "tmp": {+ "version": "0.2.1",+ "resolved": "https://registry.npmmirror.com/tmp/-/tmp-0.2.1.tgz",+ "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==",+ "requires": {+ "rimraf": "^3.0.0"+ }+ }+ }+ },+ "execa": {+ "version": "5.1.1",+ "resolved": "https://registry.npmmirror.com/execa/-/execa-5.1.1.tgz",+ "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==",+ "dev": true,+ "requires": {+ "cross-spawn": "^7.0.3",+ "get-stream": "^6.0.0",+ "human-signals": "^2.1.0",+ "is-stream": "^2.0.0",+ "merge-stream": "^2.0.0",+ "npm-run-path": "^4.0.1",+ "onetime": "^5.1.2",+ "signal-exit": "^3.0.3",+ "strip-final-newline": "^2.0.0"+ }+ },+ "external-editor": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz",+ "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==",+ "dev": true,+ "requires": {+ "chardet": "^0.7.0",+ "iconv-lite": "^0.4.24",+ "tmp": "^0.0.33"+ }+ },+ "fast-csv": {+ "version": "4.3.6",+ "resolved": "https://registry.npmmirror.com/fast-csv/-/fast-csv-4.3.6.tgz",+ "integrity": "sha512-2RNSpuwwsJGP0frGsOmTb9oUF+VkFSM4SyLTDgwf2ciHWTarN0lQTC+F2f/t5J9QjW+c65VFIAAu85GsvMIusw==",+ "requires": {+ "@fast-csv/format": "4.3.5",+ "@fast-csv/parse": "4.3.6"+ }+ },+ "fast-deep-equal": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",+ "dev": true+ },+ "fast-glob": {+ "version": "3.2.12",+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz",+ "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==",+ "dev": true,+ "requires": {+ "@nodelib/fs.stat": "^2.0.2",+ "@nodelib/fs.walk": "^1.2.3",+ "glob-parent": "^5.1.2",+ "merge2": "^1.3.0",+ "micromatch": "^4.0.4"+ }+ },+ "fast-json-stable-stringify": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",+ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",+ "dev": true+ },+ "fast-levenshtein": {+ "version": "2.0.6",+ "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",+ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",+ "dev": true+ },+ "fastq": {+ "version": "1.14.0",+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.14.0.tgz",+ "integrity": "sha512-eR2D+V9/ExcbF9ls441yIuN6TI2ED1Y2ZcA5BmMtJsOkWOFRJQ0Jt0g1UwqXJJVAb+V+umH5Dfr8oh4EVP7VVg==",+ "dev": true,+ "requires": {+ "reusify": "^1.0.4"+ }+ },+ "fflate": {+ "version": "0.4.8",+ "resolved": "https://registry.npmmirror.com/fflate/-/fflate-0.4.8.tgz",+ "integrity": "sha512-FJqqoDBR00Mdj9ppamLa/Y7vxm+PRmNWA67N846RvsoYVMKB4q3y/de5PA7gUmRMYK/8CMz2GDZQmCRN1wBcWA=="+ },+ "figures": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz",+ "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==",+ "dev": true,+ "requires": {+ "escape-string-regexp": "^1.0.5"+ }+ },+ "file-entry-cache": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz",+ "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==",+ "dev": true,+ "requires": {+ "flat-cache": "^2.0.1"+ }+ },+ "fill-range": {+ "version": "7.0.1",+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",+ "dev": true,+ "requires": {+ "to-regex-range": "^5.0.1"+ }+ },+ "find-up": {+ "version": "5.0.0",+ "resolved": "https://registry.npmmirror.com/find-up/-/find-up-5.0.0.tgz",+ "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",+ "dev": true,+ "requires": {+ "locate-path": "^6.0.0",+ "path-exists": "^4.0.0"+ }+ },+ "flat-cache": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz",+ "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==",+ "dev": true,+ "requires": {+ "flatted": "^2.0.0",+ "rimraf": "2.6.3",+ "write": "1.0.3"+ }+ },+ "flatted": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.2.tgz",+ "integrity": "sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==",+ "dev": true+ },+ "follow-redirects": {+ "version": "1.15.2",+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz",+ "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA=="+ },+ "form-data": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",+ "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",+ "requires": {+ "asynckit": "^0.4.0",+ "combined-stream": "^1.0.8",+ "mime-types": "^2.1.12"+ }+ },+ "frac": {+ "version": "1.1.2",+ "resolved": "https://registry.npmmirror.com/frac/-/frac-1.1.2.tgz",+ "integrity": "sha512-w/XBfkibaTl3YDqASwfDUqkna4Z2p9cFSr1aHDt0WoMTECnRfBOv2WArlZILlqgWlmdIlALXGpM2AOhEk5W3IA=="+ },+ "fs-constants": {+ "version": "1.0.0",+ "resolved": "https://registry.npmmirror.com/fs-constants/-/fs-constants-1.0.0.tgz",+ "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow=="+ },+ "fs.realpath": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",+ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="+ },+ "fsevents": {+ "version": "2.3.2",+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",+ "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",+ "dev": true,+ "optional": true+ },+ "fstream": {+ "version": "1.0.12",+ "resolved": "https://registry.npmmirror.com/fstream/-/fstream-1.0.12.tgz",+ "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==",+ "requires": {+ "graceful-fs": "^4.1.2",+ "inherits": "~2.0.0",+ "mkdirp": ">=0.5 0",+ "rimraf": "2"+ }+ },+ "function-bind": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",+ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",+ "dev": true+ },+ "function.prototype.name": {+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz",+ "integrity": "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==",+ "dev": true,+ "requires": {+ "call-bind": "^1.0.2",+ "define-properties": "^1.1.3",+ "es-abstract": "^1.19.0",+ "functions-have-names": "^1.2.2"+ }+ },+ "functional-red-black-tree": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz",+ "integrity": "sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==",+ "dev": true+ },+ "functions-have-names": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz",+ "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==",+ "dev": true+ },+ "get-intrinsic": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz",+ "integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==",+ "dev": true,+ "requires": {+ "function-bind": "^1.1.1",+ "has": "^1.0.3",+ "has-symbols": "^1.0.3"+ }+ },+ "get-stream": {+ "version": "6.0.1",+ "resolved": "https://registry.npmmirror.com/get-stream/-/get-stream-6.0.1.tgz",+ "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==",+ "dev": true+ },+ "get-symbol-description": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz",+ "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==",+ "dev": true,+ "requires": {+ "call-bind": "^1.0.2",+ "get-intrinsic": "^1.1.1"+ }+ },+ "glob": {+ "version": "7.2.3",+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",+ "requires": {+ "fs.realpath": "^1.0.0",+ "inflight": "^1.0.4",+ "inherits": "2",+ "minimatch": "^3.1.1",+ "once": "^1.3.0",+ "path-is-absolute": "^1.0.0"+ },+ "dependencies": {+ "brace-expansion": {+ "version": "1.1.11",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",+ "requires": {+ "balanced-match": "^1.0.0",+ "concat-map": "0.0.1"+ }+ },+ "minimatch": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",+ "requires": {+ "brace-expansion": "^1.1.7"+ }+ }+ }+ },+ "glob-parent": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",+ "dev": true,+ "requires": {+ "is-glob": "^4.0.1"+ }+ },+ "globals": {+ "version": "12.4.0",+ "resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz",+ "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==",+ "dev": true,+ "requires": {+ "type-fest": "^0.8.1"+ }+ },+ "globby": {+ "version": "11.1.0",+ "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz",+ "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==",+ "dev": true,+ "requires": {+ "array-union": "^2.1.0",+ "dir-glob": "^3.0.1",+ "fast-glob": "^3.2.9",+ "ignore": "^5.2.0",+ "merge2": "^1.4.1",+ "slash": "^3.0.0"+ }+ },+ "gopd": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",+ "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==",+ "dev": true,+ "requires": {+ "get-intrinsic": "^1.1.3"+ }+ },+ "graceful-fs": {+ "version": "4.2.10",+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz",+ "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA=="+ },+ "has": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",+ "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",+ "dev": true,+ "requires": {+ "function-bind": "^1.1.1"+ }+ },+ "has-bigints": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz",+ "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==",+ "dev": true+ },+ "has-flag": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",+ "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",+ "dev": true+ },+ "has-property-descriptors": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz",+ "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==",+ "dev": true,+ "requires": {+ "get-intrinsic": "^1.1.1"+ }+ },+ "has-symbols": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",+ "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==",+ "dev": true+ },+ "has-tostringtag": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz",+ "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==",+ "dev": true,+ "requires": {+ "has-symbols": "^1.0.2"+ }+ },+ "he": {+ "version": "1.2.0",+ "resolved": "https://registry.npmmirror.com/he/-/he-1.2.0.tgz",+ "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==",+ "dev": true+ },+ "html2canvas": {+ "version": "1.4.1",+ "resolved": "https://registry.npmmirror.com/html2canvas/-/html2canvas-1.4.1.tgz",+ "integrity": "sha512-fPU6BHNpsyIhr8yyMpTLLxAbkaK8ArIBcmZIRiBLiDhjeqvXolaEmDGmELFuX9I4xDcaKKcJl+TKZLqruBbmWA==",+ "requires": {+ "css-line-break": "^2.1.0",+ "text-segmentation": "^1.0.3"+ }+ },+ "human-signals": {+ "version": "2.1.0",+ "resolved": "https://registry.npmmirror.com/human-signals/-/human-signals-2.1.0.tgz",+ "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==",+ "dev": true+ },+ "iconv-lite": {+ "version": "0.4.24",+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",+ "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",+ "dev": true,+ "requires": {+ "safer-buffer": ">= 2.1.2 < 3"+ }+ },+ "ieee754": {+ "version": "1.2.1",+ "resolved": "https://registry.npmmirror.com/ieee754/-/ieee754-1.2.1.tgz",+ "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="+ },+ "ignore": {+ "version": "5.2.1",+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.1.tgz",+ "integrity": "sha512-d2qQLzTJ9WxQftPAuEQpSPmKqzxePjzVbpAVv62AQ64NTL+wR4JkrVqR/LqFsFEUsHDAiId52mJteHDFuDkElA==",+ "dev": true+ },+ "image-size": {+ "version": "0.5.5",+ "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz",+ "integrity": "sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==",+ "dev": true,+ "optional": true+ },+ "immediate": {+ "version": "3.0.6",+ "resolved": "https://registry.npmmirror.com/immediate/-/immediate-3.0.6.tgz",+ "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ=="+ },+ "import-fresh": {+ "version": "3.3.0",+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",+ "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",+ "dev": true,+ "requires": {+ "parent-module": "^1.0.0",+ "resolve-from": "^4.0.0"+ }+ },+ "imurmurhash": {+ "version": "0.1.4",+ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",+ "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",+ "dev": true+ },+ "inflight": {+ "version": "1.0.6",+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",+ "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",+ "requires": {+ "once": "^1.3.0",+ "wrappy": "1"+ }+ },+ "inherits": {+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="+ },+ "inquirer": {+ "version": "7.3.3",+ "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.3.3.tgz",+ "integrity": "sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==",+ "dev": true,+ "requires": {+ "ansi-escapes": "^4.2.1",+ "chalk": "^4.1.0",+ "cli-cursor": "^3.1.0",+ "cli-width": "^3.0.0",+ "external-editor": "^3.0.3",+ "figures": "^3.0.0",+ "lodash": "^4.17.19",+ "mute-stream": "0.0.8",+ "run-async": "^2.4.0",+ "rxjs": "^6.6.0",+ "string-width": "^4.1.0",+ "strip-ansi": "^6.0.0",+ "through": "^2.3.6"+ }+ },+ "internal-slot": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz",+ "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==",+ "dev": true,+ "requires": {+ "get-intrinsic": "^1.1.0",+ "has": "^1.0.3",+ "side-channel": "^1.0.4"+ }+ },+ "is-bigint": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz",+ "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==",+ "dev": true,+ "requires": {+ "has-bigints": "^1.0.1"+ }+ },+ "is-binary-path": {+ "version": "2.1.0",+ "resolved": "https://registry.npmmirror.com/is-binary-path/-/is-binary-path-2.1.0.tgz",+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",+ "dev": true,+ "requires": {+ "binary-extensions": "^2.0.0"+ }+ },+ "is-boolean-object": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz",+ "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==",+ "dev": true,+ "requires": {+ "call-bind": "^1.0.2",+ "has-tostringtag": "^1.0.0"+ }+ },+ "is-callable": {+ "version": "1.2.7",+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz",+ "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==",+ "dev": true+ },+ "is-core-module": {+ "version": "2.11.0",+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz",+ "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==",+ "dev": true,+ "requires": {+ "has": "^1.0.3"+ }+ },+ "is-date-object": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz",+ "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==",+ "dev": true,+ "requires": {+ "has-tostringtag": "^1.0.0"+ }+ },+ "is-extglob": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",+ "dev": true+ },+ "is-fullwidth-code-point": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",+ "dev": true+ },+ "is-glob": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",+ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",+ "dev": true,+ "requires": {+ "is-extglob": "^2.1.1"+ }+ },+ "is-negative-zero": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz",+ "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==",+ "dev": true+ },+ "is-number": {+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",+ "dev": true+ },+ "is-number-object": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz",+ "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==",+ "dev": true,+ "requires": {+ "has-tostringtag": "^1.0.0"+ }+ },+ "is-regex": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",+ "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==",+ "dev": true,+ "requires": {+ "call-bind": "^1.0.2",+ "has-tostringtag": "^1.0.0"+ }+ },+ "is-shared-array-buffer": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz",+ "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==",+ "dev": true,+ "requires": {+ "call-bind": "^1.0.2"+ }+ },+ "is-stream": {+ "version": "2.0.1",+ "resolved": "https://registry.npmmirror.com/is-stream/-/is-stream-2.0.1.tgz",+ "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",+ "dev": true+ },+ "is-string": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz",+ "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==",+ "dev": true,+ "requires": {+ "has-tostringtag": "^1.0.0"+ }+ },+ "is-symbol": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz",+ "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==",+ "dev": true,+ "requires": {+ "has-symbols": "^1.0.2"+ }+ },+ "is-weakref": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz",+ "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==",+ "dev": true,+ "requires": {+ "call-bind": "^1.0.2"+ }+ },+ "is-what": {+ "version": "3.14.1",+ "resolved": "https://registry.npmjs.org/is-what/-/is-what-3.14.1.tgz",+ "integrity": "sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==",+ "dev": true+ },+ "isarray": {+ "version": "1.0.0",+ "resolved": "https://registry.npmmirror.com/isarray/-/isarray-1.0.0.tgz",+ "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ=="+ },+ "isexe": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",+ "dev": true+ },+ "jquery": {+ "version": "3.7.1",+ "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz",+ "integrity": "sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg=="+ },+ "js-binary-schema-parser": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/js-binary-schema-parser/-/js-binary-schema-parser-2.0.3.tgz",+ "integrity": "sha512-xezGJmOb4lk/M1ZZLTR/jaBHQ4gG/lqQnJqdIv4721DMggsa1bDVlHXNeHYogaIEHD9vCRv0fcL4hMA+Coarkg=="+ },+ "js-tokens": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",+ "dev": true+ },+ "js-yaml": {+ "version": "3.14.1",+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz",+ "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",+ "dev": true,+ "requires": {+ "argparse": "^1.0.7",+ "esprima": "^4.0.0"+ }+ },+ "jsbarcode": {+ "version": "3.11.5",+ "resolved": "https://registry.npmjs.org/jsbarcode/-/jsbarcode-3.11.5.tgz",+ "integrity": "sha512-zv3KsH51zD00I/LrFzFSM6dst7rDn0vIMzaiZFL7qusTjPZiPtxg3zxetp0RR7obmjTw4f6NyGgbdkBCgZUIrA=="+ },+ "json-schema-traverse": {+ "version": "0.4.1",+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",+ "dev": true+ },+ "json-stable-stringify-without-jsonify": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",+ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",+ "dev": true+ },+ "json5": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz",+ "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==",+ "dev": true,+ "requires": {+ "minimist": "^1.2.0"+ }+ },+ "jsonc-parser": {+ "version": "3.2.0",+ "resolved": "https://registry.npmmirror.com/jsonc-parser/-/jsonc-parser-3.2.0.tgz",+ "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==",+ "dev": true+ },+ "jspdf": {+ "version": "2.5.1",+ "resolved": "https://registry.npmmirror.com/jspdf/-/jspdf-2.5.1.tgz",+ "integrity": "sha512-hXObxz7ZqoyhxET78+XR34Xu2qFGrJJ2I2bE5w4SM8eFaFEkW2xcGRVUss360fYelwRSid/jT078kbNvmoW0QA==",+ "requires": {+ "@babel/runtime": "^7.14.0",+ "atob": "^2.1.2",+ "btoa": "^1.2.1",+ "canvg": "^3.0.6",+ "core-js": "^3.6.0",+ "dompurify": "^2.2.0",+ "fflate": "^0.4.8",+ "html2canvas": "^1.0.0-rc.5"+ }+ },+ "jszip": {+ "version": "3.10.1",+ "resolved": "https://registry.npmmirror.com/jszip/-/jszip-3.10.1.tgz",+ "integrity": "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==",+ "requires": {+ "lie": "~3.3.0",+ "pako": "~1.0.2",+ "readable-stream": "~2.3.6",+ "setimmediate": "^1.0.5"+ },+ "dependencies": {+ "readable-stream": {+ "version": "2.3.8",+ "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz",+ "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",+ "requires": {+ "core-util-is": "~1.0.0",+ "inherits": "~2.0.3",+ "isarray": "~1.0.0",+ "process-nextick-args": "~2.0.0",+ "safe-buffer": "~5.1.1",+ "string_decoder": "~1.1.1",+ "util-deprecate": "~1.0.1"+ }+ }+ }+ },+ "klona": {+ "version": "2.0.5",+ "resolved": "https://registry.npmjs.org/klona/-/klona-2.0.5.tgz",+ "integrity": "sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ==",+ "dev": true+ },+ "kolorist": {+ "version": "1.6.0",+ "resolved": "https://registry.npmmirror.com/kolorist/-/kolorist-1.6.0.tgz",+ "integrity": "sha512-dLkz37Ab97HWMx9KTes3Tbi3D1ln9fCAy2zr2YVExJasDRPGRaKcoE4fycWNtnCAJfjFqe0cnY+f8KT2JePEXQ==",+ "dev": true+ },+ "lazystream": {+ "version": "1.0.1",+ "resolved": "https://registry.npmmirror.com/lazystream/-/lazystream-1.0.1.tgz",+ "integrity": "sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==",+ "requires": {+ "readable-stream": "^2.0.5"+ },+ "dependencies": {+ "readable-stream": {+ "version": "2.3.8",+ "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz",+ "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",+ "requires": {+ "core-util-is": "~1.0.0",+ "inherits": "~2.0.3",+ "isarray": "~1.0.0",+ "process-nextick-args": "~2.0.0",+ "safe-buffer": "~5.1.1",+ "string_decoder": "~1.1.1",+ "util-deprecate": "~1.0.1"+ }+ }+ }+ },+ "less": {+ "version": "4.1.3",+ "resolved": "https://registry.npmjs.org/less/-/less-4.1.3.tgz",+ "integrity": "sha512-w16Xk/Ta9Hhyei0Gpz9m7VS8F28nieJaL/VyShID7cYvP6IL5oHeL6p4TXSDJqZE/lNv0oJ2pGVjJsRkfwm5FA==",+ "dev": true,+ "requires": {+ "copy-anything": "^2.0.1",+ "errno": "^0.1.1",+ "graceful-fs": "^4.1.2",+ "image-size": "~0.5.0",+ "make-dir": "^2.1.0",+ "mime": "^1.4.1",+ "needle": "^3.1.0",+ "parse-node-version": "^1.0.1",+ "source-map": "~0.6.0",+ "tslib": "^2.3.0"+ },+ "dependencies": {+ "tslib": {+ "version": "2.4.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz",+ "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==",+ "dev": true+ }+ }+ },+ "less-loader": {+ "version": "11.1.0",+ "resolved": "https://registry.npmjs.org/less-loader/-/less-loader-11.1.0.tgz",+ "integrity": "sha512-C+uDBV7kS7W5fJlUjq5mPBeBVhYpTIm5gB09APT9o3n/ILeaXVsiSFTbZpTJCJwQ/Crczfn3DmfQFwxYusWFug==",+ "dev": true,+ "requires": {+ "klona": "^2.0.4"+ }+ },+ "levn": {+ "version": "0.4.1",+ "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",+ "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",+ "dev": true,+ "requires": {+ "prelude-ls": "^1.2.1",+ "type-check": "~0.4.0"+ }+ },+ "lie": {+ "version": "3.3.0",+ "resolved": "https://registry.npmmirror.com/lie/-/lie-3.3.0.tgz",+ "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==",+ "requires": {+ "immediate": "~3.0.5"+ }+ },+ "listenercount": {+ "version": "1.0.1",+ "resolved": "https://registry.npmmirror.com/listenercount/-/listenercount-1.0.1.tgz",+ "integrity": "sha512-3mk/Zag0+IJxeDrxSgaDPy4zZ3w05PRZeJNnlWhzFz5OkX49J4krc+A8X2d2M69vGMBEX0uyl8M+W+8gH+kBqQ=="+ },+ "local-pkg": {+ "version": "0.4.2",+ "resolved": "https://registry.npmmirror.com/local-pkg/-/local-pkg-0.4.2.tgz",+ "integrity": "sha512-mlERgSPrbxU3BP4qBqAvvwlgW4MTg78iwJdGGnv7kibKjWcJksrG3t6LB5lXI93wXRDvG4NpUgJFmTG4T6rdrg==",+ "dev": true+ },+ "locate-path": {+ "version": "6.0.0",+ "resolved": "https://registry.npmmirror.com/locate-path/-/locate-path-6.0.0.tgz",+ "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",+ "dev": true,+ "requires": {+ "p-locate": "^5.0.0"+ }+ },+ "lodash": {+ "version": "4.17.21",+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",+ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",+ "dev": true+ },+ "lodash.defaults": {+ "version": "4.2.0",+ "resolved": "https://registry.npmmirror.com/lodash.defaults/-/lodash.defaults-4.2.0.tgz",+ "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ=="+ },+ "lodash.difference": {+ "version": "4.5.0",+ "resolved": "https://registry.npmmirror.com/lodash.difference/-/lodash.difference-4.5.0.tgz",+ "integrity": "sha512-dS2j+W26TQ7taQBGN8Lbbq04ssV3emRw4NY58WErlTO29pIqS0HmoT5aJ9+TUQ1N3G+JOZSji4eugsWwGp9yPA=="+ },+ "lodash.escaperegexp": {+ "version": "4.1.2",+ "resolved": "https://registry.npmmirror.com/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz",+ "integrity": "sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw=="+ },+ "lodash.flatten": {+ "version": "4.4.0",+ "resolved": "https://registry.npmmirror.com/lodash.flatten/-/lodash.flatten-4.4.0.tgz",+ "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g=="+ },+ "lodash.groupby": {+ "version": "4.6.0",+ "resolved": "https://registry.npmmirror.com/lodash.groupby/-/lodash.groupby-4.6.0.tgz",+ "integrity": "sha512-5dcWxm23+VAoz+awKmBaiBvzox8+RqMgFhi7UvX9DHZr2HdxHXM/Wrf8cfKpsW37RNrvtPn6hSwNqurSILbmJw=="+ },+ "lodash.isboolean": {+ "version": "3.0.3",+ "resolved": "https://registry.npmmirror.com/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz",+ "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg=="+ },+ "lodash.isequal": {+ "version": "4.5.0",+ "resolved": "https://registry.npmmirror.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz",+ "integrity": "sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ=="+ },+ "lodash.isfunction": {+ "version": "3.0.9",+ "resolved": "https://registry.npmmirror.com/lodash.isfunction/-/lodash.isfunction-3.0.9.tgz",+ "integrity": "sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw=="+ },+ "lodash.isnil": {+ "version": "4.0.0",+ "resolved": "https://registry.npmmirror.com/lodash.isnil/-/lodash.isnil-4.0.0.tgz",+ "integrity": "sha512-up2Mzq3545mwVnMhTDMdfoG1OurpA/s5t88JmQX809eH3C8491iu2sfKhTfhQtKY78oPNhiaHJUpT/dUDAAtng=="+ },+ "lodash.isplainobject": {+ "version": "4.0.6",+ "resolved": "https://registry.npmmirror.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz",+ "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA=="+ },+ "lodash.isundefined": {+ "version": "3.0.1",+ "resolved": "https://registry.npmmirror.com/lodash.isundefined/-/lodash.isundefined-3.0.1.tgz",+ "integrity": "sha512-MXB1is3s899/cD8jheYYE2V9qTHwKvt+npCwpD+1Sxm3Q3cECXCiYHjeHWXNwr6Q0SOBPrYUDxendrO6goVTEA=="+ },+ "lodash.union": {+ "version": "4.6.0",+ "resolved": "https://registry.npmmirror.com/lodash.union/-/lodash.union-4.6.0.tgz",+ "integrity": "sha512-c4pB2CdGrGdjMKYLA+XiRDO7Y0PRQbm/Gzg8qMj+QH+pFVAoTp5sBpO0odL3FjoPCGjK96p6qsP+yQoiLoOBcw=="+ },+ "lodash.uniq": {+ "version": "4.5.0",+ "resolved": "https://registry.npmmirror.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz",+ "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ=="+ },+ "lottie-web": {+ "version": "5.10.1",+ "resolved": "https://registry.npmmirror.com/lottie-web/-/lottie-web-5.10.1.tgz",+ "integrity": "sha512-u17bVNf/vA3oK9Wkyb1Vpo83WUIEQwaT0GeEN0qcvaExizyJ/RjmcbjSDj0CnwQCtpGqTgYhqprCC7cTWuXMNw=="+ },+ "lru-cache": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",+ "dev": true,+ "requires": {+ "yallist": "^4.0.0"+ }+ },+ "magic-string": {+ "version": "0.25.9",+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz",+ "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==",+ "requires": {+ "sourcemap-codec": "^1.4.8"+ }+ },+ "make-dir": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz",+ "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==",+ "dev": true,+ "optional": true,+ "requires": {+ "pify": "^4.0.1",+ "semver": "^5.6.0"+ },+ "dependencies": {+ "semver": {+ "version": "5.7.1",+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",+ "dev": true,+ "optional": true+ }+ }+ },+ "material-design-icons-iconfont": {+ "version": "6.7.0",+ "resolved": "https://registry.npmmirror.com/material-design-icons-iconfont/-/material-design-icons-iconfont-6.7.0.tgz",+ "integrity": "sha512-lSj71DgVv20kO0kGbs42icDzbRot61gEDBLQACzkUuznRQBUYmbxzEkGU6dNBb5fRWHMaScYlAXX96HQ4/cJWA==",+ "dev": true+ },+ "merge-stream": {+ "version": "2.0.0",+ "resolved": "https://registry.npmmirror.com/merge-stream/-/merge-stream-2.0.0.tgz",+ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",+ "dev": true+ },+ "merge2": {+ "version": "1.4.1",+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",+ "dev": true+ },+ "micromatch": {+ "version": "4.0.5",+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz",+ "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==",+ "dev": true,+ "requires": {+ "braces": "^3.0.2",+ "picomatch": "^2.3.1"+ }+ },+ "mime": {+ "version": "1.6.0",+ "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",+ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",+ "dev": true,+ "optional": true+ },+ "mime-db": {+ "version": "1.52.0",+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg=="+ },+ "mime-types": {+ "version": "2.1.35",+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",+ "requires": {+ "mime-db": "1.52.0"+ }+ },+ "mimic-fn": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",+ "dev": true+ },+ "mimic-response": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz",+ "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ=="+ },+ "minimatch": {+ "version": "5.1.1",+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.1.tgz",+ "integrity": "sha512-362NP+zlprccbEt/SkxKfRMHnNY85V74mVnpUpNyr3F35covl09Kec7/sEFLt3RA4oXmewtoaanoIf67SE5Y5g==",+ "requires": {+ "brace-expansion": "^2.0.1"+ }+ },+ "minimist": {+ "version": "1.2.7",+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz",+ "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g=="+ },+ "mitt": {+ "version": "3.0.0",+ "resolved": "https://registry.npmmirror.com/mitt/-/mitt-3.0.0.tgz",+ "integrity": "sha512-7dX2/10ITVyqh4aOSVI9gdape+t9l2/8QxHrFmUXu4EEUpdlxl6RudZUPZoc+zuY2hk1j7XxVroIVIan/pD/SQ=="+ },+ "mkdirp": {+ "version": "0.5.6",+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz",+ "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==",+ "requires": {+ "minimist": "^1.2.6"+ }+ },+ "mlly": {+ "version": "1.0.0",+ "resolved": "https://registry.npmmirror.com/mlly/-/mlly-1.0.0.tgz",+ "integrity": "sha512-QL108Hwt+u9bXdWgOI0dhzZfACovn5Aen4Xvc8Jasd9ouRH4NjnrXEiyP3nVvJo91zPlYjVRckta0Nt2zfoR6g==",+ "dev": true,+ "requires": {+ "acorn": "^8.8.1",+ "pathe": "^1.0.0",+ "pkg-types": "^1.0.0",+ "ufo": "^1.0.0"+ },+ "dependencies": {+ "acorn": {+ "version": "8.8.1",+ "resolved": "https://registry.npmmirror.com/acorn/-/acorn-8.8.1.tgz",+ "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==",+ "dev": true+ }+ }+ },+ "ms": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="+ },+ "muggle-string": {+ "version": "0.1.0",+ "resolved": "https://registry.npmmirror.com/muggle-string/-/muggle-string-0.1.0.tgz",+ "integrity": "sha512-Tr1knR3d2mKvvWthlk7202rywKbiOm4rVFLsfAaSIhJ6dt9o47W4S+JMtWhd/PW9Wrdew2/S2fSvhz3E2gkfEg==",+ "dev": true+ },+ "mute-stream": {+ "version": "0.0.8",+ "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz",+ "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==",+ "dev": true+ },+ "nanoid": {+ "version": "3.3.4",+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz",+ "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw=="+ },+ "natural-compare": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",+ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",+ "dev": true+ },+ "natural-compare-lite": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz",+ "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==",+ "dev": true+ },+ "needle": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/needle/-/needle-3.2.0.tgz",+ "integrity": "sha512-oUvzXnyLiVyVGoianLijF9O/RecZUf7TkBfimjGrLM4eQhXyeJwM6GeAWccwfQ9aa4gMCZKqhAOuLaMIcQxajQ==",+ "dev": true,+ "optional": true,+ "requires": {+ "debug": "^3.2.6",+ "iconv-lite": "^0.6.3",+ "sax": "^1.2.4"+ },+ "dependencies": {+ "debug": {+ "version": "3.2.7",+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",+ "dev": true,+ "optional": true,+ "requires": {+ "ms": "^2.1.1"+ }+ },+ "iconv-lite": {+ "version": "0.6.3",+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",+ "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",+ "dev": true,+ "optional": true,+ "requires": {+ "safer-buffer": ">= 2.1.2 < 3.0.0"+ }+ }+ }+ },+ "normalize-path": {+ "version": "3.0.0",+ "resolved": "https://registry.npmmirror.com/normalize-path/-/normalize-path-3.0.0.tgz",+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="+ },+ "npm-run-path": {+ "version": "4.0.1",+ "resolved": "https://registry.npmmirror.com/npm-run-path/-/npm-run-path-4.0.1.tgz",+ "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",+ "dev": true,+ "requires": {+ "path-key": "^3.0.0"+ }+ },+ "nzh": {+ "version": "1.0.11",+ "resolved": "https://registry.npmjs.org/nzh/-/nzh-1.0.11.tgz",+ "integrity": "sha512-Hmx1wuoj5zoFCEhfic4zW/2csg/vb5BxXAUGUNIyBlSu7ZtZezGVGloqNCnRcHVU1fMC9ZTfvbi6ayPWC1sRSQ=="+ },+ "object-inspect": {+ "version": "1.12.2",+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz",+ "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==",+ "dev": true+ },+ "object-keys": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",+ "dev": true+ },+ "object.assign": {+ "version": "4.1.4",+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz",+ "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==",+ "dev": true,+ "requires": {+ "call-bind": "^1.0.2",+ "define-properties": "^1.1.4",+ "has-symbols": "^1.0.3",+ "object-keys": "^1.1.1"+ }+ },+ "object.entries": {+ "version": "1.1.6",+ "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.6.tgz",+ "integrity": "sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==",+ "dev": true,+ "requires": {+ "call-bind": "^1.0.2",+ "define-properties": "^1.1.4",+ "es-abstract": "^1.20.4"+ }+ },+ "object.values": {+ "version": "1.1.6",+ "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz",+ "integrity": "sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==",+ "dev": true,+ "requires": {+ "call-bind": "^1.0.2",+ "define-properties": "^1.1.4",+ "es-abstract": "^1.20.4"+ }+ },+ "once": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",+ "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",+ "requires": {+ "wrappy": "1"+ }+ },+ "onetime": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",+ "dev": true,+ "requires": {+ "mimic-fn": "^2.1.0"+ }+ },+ "optionator": {+ "version": "0.9.1",+ "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz",+ "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==",+ "dev": true,+ "requires": {+ "deep-is": "^0.1.3",+ "fast-levenshtein": "^2.0.6",+ "levn": "^0.4.1",+ "prelude-ls": "^1.2.1",+ "type-check": "^0.4.0",+ "word-wrap": "^1.2.3"+ }+ },+ "os-tmpdir": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",+ "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==",+ "dev": true+ },+ "p-limit": {+ "version": "3.1.0",+ "resolved": "https://registry.npmmirror.com/p-limit/-/p-limit-3.1.0.tgz",+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",+ "dev": true,+ "requires": {+ "yocto-queue": "^0.1.0"+ }+ },+ "p-locate": {+ "version": "5.0.0",+ "resolved": "https://registry.npmmirror.com/p-locate/-/p-locate-5.0.0.tgz",+ "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",+ "dev": true,+ "requires": {+ "p-limit": "^3.0.2"+ }+ },+ "pako": {+ "version": "1.0.11",+ "resolved": "https://registry.npmmirror.com/pako/-/pako-1.0.11.tgz",+ "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw=="+ },+ "parent-module": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",+ "dev": true,+ "requires": {+ "callsites": "^3.0.0"+ }+ },+ "parenthesis": {+ "version": "3.1.8",+ "resolved": "https://registry.npmjs.org/parenthesis/-/parenthesis-3.1.8.tgz",+ "integrity": "sha512-KF/U8tk54BgQewkJPvB4s/US3VQY68BRDpH638+7O/n58TpnwiwnOtGIOsT2/i+M78s61BBpeC83STB88d8sqw=="+ },+ "parse-node-version": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/parse-node-version/-/parse-node-version-1.0.1.tgz",+ "integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==",+ "dev": true+ },+ "path-exists": {+ "version": "4.0.0",+ "resolved": "https://registry.npmmirror.com/path-exists/-/path-exists-4.0.0.tgz",+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",+ "dev": true+ },+ "path-is-absolute": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",+ "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg=="+ },+ "path-key": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",+ "dev": true+ },+ "path-parse": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",+ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",+ "dev": true+ },+ "path-type": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",+ "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",+ "dev": true+ },+ "pathe": {+ "version": "1.0.0",+ "resolved": "https://registry.npmmirror.com/pathe/-/pathe-1.0.0.tgz",+ "integrity": "sha512-nPdMG0Pd09HuSsr7QOKUXO2Jr9eqaDiZvDwdyIhNG5SHYujkQHYKDfGQkulBxvbDHz8oHLsTgKN86LSwYzSHAg==",+ "dev": true+ },+ "performance-now": {+ "version": "2.1.0",+ "resolved": "https://registry.npmmirror.com/performance-now/-/performance-now-2.1.0.tgz",+ "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow=="+ },+ "picocolors": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",+ "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="+ },+ "picomatch": {+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",+ "dev": true+ },+ "pify": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",+ "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",+ "dev": true,+ "optional": true+ },+ "pkg-types": {+ "version": "1.0.1",+ "resolved": "https://registry.npmmirror.com/pkg-types/-/pkg-types-1.0.1.tgz",+ "integrity": "sha512-jHv9HB+Ho7dj6ItwppRDDl0iZRYBD0jsakHXtFgoLr+cHSF6xC+QL54sJmWxyGxOLYSHm0afhXhXcQDQqH9z8g==",+ "dev": true,+ "requires": {+ "jsonc-parser": "^3.2.0",+ "mlly": "^1.0.0",+ "pathe": "^1.0.0"+ }+ },+ "postcss": {+ "version": "8.4.19",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.19.tgz",+ "integrity": "sha512-h+pbPsyhlYj6N2ozBmHhHrs9DzGmbaarbLvWipMRO7RLS+v4onj26MPFXA5OBYFxyqYhUJK456SwDcY9H2/zsA==",+ "requires": {+ "nanoid": "^3.3.4",+ "picocolors": "^1.0.0",+ "source-map-js": "^1.0.2"+ }+ },+ "prelude-ls": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",+ "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",+ "dev": true+ },+ "process-nextick-args": {+ "version": "2.0.1",+ "resolved": "https://registry.npmmirror.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz",+ "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="+ },+ "progress": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",+ "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",+ "dev": true+ },+ "proxy-from-env": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",+ "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="+ },+ "prr": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz",+ "integrity": "sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==",+ "dev": true,+ "optional": true+ },+ "punycode": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",+ "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",+ "dev": true+ },+ "qrcode.vue": {+ "version": "3.4.0",+ "resolved": "https://registry.npmjs.org/qrcode.vue/-/qrcode.vue-3.4.0.tgz",+ "integrity": "sha512-4XeImbv10Fin16Fl2DArCMhGyAdvIg2jb7vDT+hZiIAMg/6H6mz9nUZr/dR8jBcun5VzNzkiwKhiqOGbloinwA=="+ },+ "queue-microtask": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",+ "dev": true+ },+ "raf": {+ "version": "3.4.1",+ "resolved": "https://registry.npmmirror.com/raf/-/raf-3.4.1.tgz",+ "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==",+ "requires": {+ "performance-now": "^2.1.0"+ }+ },+ "readable-stream": {+ "version": "3.6.2",+ "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-3.6.2.tgz",+ "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",+ "requires": {+ "inherits": "^2.0.3",+ "string_decoder": "^1.1.1",+ "util-deprecate": "^1.0.1"+ }+ },+ "readdir-glob": {+ "version": "1.1.3",+ "resolved": "https://registry.npmmirror.com/readdir-glob/-/readdir-glob-1.1.3.tgz",+ "integrity": "sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA==",+ "requires": {+ "minimatch": "^5.1.0"+ }+ },+ "readdirp": {+ "version": "3.6.0",+ "resolved": "https://registry.npmmirror.com/readdirp/-/readdirp-3.6.0.tgz",+ "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",+ "dev": true,+ "requires": {+ "picomatch": "^2.2.1"+ }+ },+ "regenerator-runtime": {+ "version": "0.13.11",+ "resolved": "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz",+ "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg=="+ },+ "regexp.prototype.flags": {+ "version": "1.4.3",+ "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz",+ "integrity": "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==",+ "dev": true,+ "requires": {+ "call-bind": "^1.0.2",+ "define-properties": "^1.1.3",+ "functions-have-names": "^1.2.2"+ }+ },+ "regexpp": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz",+ "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==",+ "dev": true+ },+ "resolve": {+ "version": "1.22.1",+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz",+ "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==",+ "dev": true,+ "requires": {+ "is-core-module": "^2.9.0",+ "path-parse": "^1.0.7",+ "supports-preserve-symlinks-flag": "^1.0.0"+ }+ },+ "resolve-from": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",+ "dev": true+ },+ "restore-cursor": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz",+ "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==",+ "dev": true,+ "requires": {+ "onetime": "^5.1.0",+ "signal-exit": "^3.0.2"+ }+ },+ "reusify": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",+ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",+ "dev": true+ },+ "rgbcolor": {+ "version": "1.0.1",+ "resolved": "https://registry.npmmirror.com/rgbcolor/-/rgbcolor-1.0.1.tgz",+ "integrity": "sha512-9aZLIrhRaD97sgVhtJOW6ckOEh6/GnvQtdVNfdZ6s67+3/XwLS9lBcQYzEEhYVeUowN7pRzMLsyGhK2i/xvWbw=="+ },+ "rimraf": {+ "version": "2.6.3",+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",+ "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",+ "requires": {+ "glob": "^7.1.3"+ }+ },+ "rollup": {+ "version": "3.7.2",+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.7.2.tgz",+ "integrity": "sha512-orqIX5zkHyHKVsIBl8J5a2tnVikOAMte0DgOLViyW6McYuj45FG+cQPrXILhaifBSmy0D0hKbHg2RbgzFJcwTg==",+ "dev": true,+ "requires": {+ "fsevents": "~2.3.2"+ }+ },+ "run-async": {+ "version": "2.4.1",+ "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz",+ "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==",+ "dev": true+ },+ "run-parallel": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",+ "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",+ "dev": true,+ "requires": {+ "queue-microtask": "^1.2.2"+ }+ },+ "rxjs": {+ "version": "6.6.7",+ "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz",+ "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==",+ "dev": true,+ "requires": {+ "tslib": "^1.9.0"+ }+ },+ "safe-buffer": {+ "version": "5.1.2",+ "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz",+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="+ },+ "safe-regex-test": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz",+ "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==",+ "dev": true,+ "requires": {+ "call-bind": "^1.0.2",+ "get-intrinsic": "^1.1.3",+ "is-regex": "^1.1.4"+ }+ },+ "safer-buffer": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",+ "dev": true+ },+ "sax": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",+ "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==",+ "dev": true,+ "optional": true+ },+ "saxes": {+ "version": "5.0.1",+ "resolved": "https://registry.npmmirror.com/saxes/-/saxes-5.0.1.tgz",+ "integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==",+ "requires": {+ "xmlchars": "^2.2.0"+ }+ },+ "scule": {+ "version": "1.0.0",+ "resolved": "https://registry.npmmirror.com/scule/-/scule-1.0.0.tgz",+ "integrity": "sha512-4AsO/FrViE/iDNEPaAQlb77tf0csuq27EsVpy6ett584EcRTp6pTDLoGWVxCD77y5iU5FauOvhsI4o1APwPoSQ==",+ "dev": true+ },+ "semver": {+ "version": "7.3.8",+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz",+ "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==",+ "dev": true,+ "requires": {+ "lru-cache": "^6.0.0"+ }+ },+ "setimmediate": {+ "version": "1.0.5",+ "resolved": "https://registry.npmmirror.com/setimmediate/-/setimmediate-1.0.5.tgz",+ "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA=="+ },+ "shebang-command": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",+ "dev": true,+ "requires": {+ "shebang-regex": "^3.0.0"+ }+ },+ "shebang-regex": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",+ "dev": true+ },+ "side-channel": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz",+ "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==",+ "dev": true,+ "requires": {+ "call-bind": "^1.0.0",+ "get-intrinsic": "^1.0.2",+ "object-inspect": "^1.9.0"+ }+ },+ "signal-exit": {+ "version": "3.0.7",+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",+ "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",+ "dev": true+ },+ "simple-concat": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz",+ "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q=="+ },+ "simple-get": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz",+ "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==",+ "requires": {+ "decompress-response": "^6.0.0",+ "once": "^1.3.1",+ "simple-concat": "^1.0.0"+ }+ },+ "slash": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",+ "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",+ "dev": true+ },+ "slice-ansi": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz",+ "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==",+ "dev": true,+ "requires": {+ "ansi-styles": "^3.2.0",+ "astral-regex": "^1.0.0",+ "is-fullwidth-code-point": "^2.0.0"+ },+ "dependencies": {+ "is-fullwidth-code-point": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",+ "integrity": "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==",+ "dev": true+ }+ }+ },+ "socket.io-client": {+ "version": "4.7.2",+ "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.7.2.tgz",+ "integrity": "sha512-vtA0uD4ibrYD793SOIAwlo8cj6haOeMHrGvwPxJsxH7CeIksqJ+3Zc06RvWTIFgiSqx4A3sOnTXpfAEE2Zyz6w==",+ "requires": {+ "@socket.io/component-emitter": "~3.1.0",+ "debug": "~4.3.2",+ "engine.io-client": "~6.5.2",+ "socket.io-parser": "~4.2.4"+ }+ },+ "socket.io-parser": {+ "version": "4.2.4",+ "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.4.tgz",+ "integrity": "sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==",+ "requires": {+ "@socket.io/component-emitter": "~3.1.0",+ "debug": "~4.3.1"+ }+ },+ "source-map": {+ "version": "0.6.1",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="+ },+ "source-map-js": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",+ "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw=="+ },+ "sourcemap-codec": {+ "version": "1.4.8",+ "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz",+ "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA=="+ },+ "sprintf-js": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",+ "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==",+ "dev": true+ },+ "ssf": {+ "version": "0.11.2",+ "resolved": "https://registry.npmmirror.com/ssf/-/ssf-0.11.2.tgz",+ "integrity": "sha512-+idbmIXoYET47hH+d7dfm2epdOMUDjqcB4648sTZ+t2JwoyBFL/insLfB/racrDmsKB3diwsDA696pZMieAC5g==",+ "requires": {+ "frac": "~1.1.2"+ }+ },+ "stackblur-canvas": {+ "version": "2.6.0",+ "resolved": "https://registry.npmmirror.com/stackblur-canvas/-/stackblur-canvas-2.6.0.tgz",+ "integrity": "sha512-8S1aIA+UoF6erJYnglGPug6MaHYGo1Ot7h5fuXx4fUPvcvQfcdw2o/ppCse63+eZf8PPidSu4v1JnmEVtEDnpg=="+ },+ "string-split-by": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/string-split-by/-/string-split-by-1.0.0.tgz",+ "integrity": "sha512-KaJKY+hfpzNyet/emP81PJA9hTVSfxNLS9SFTWxdCnnW1/zOOwiV248+EfoX7IQFcBaOp4G5YE6xTJMF+pLg6A==",+ "requires": {+ "parenthesis": "^3.1.5"+ }+ },+ "string-width": {+ "version": "4.2.3",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",+ "dev": true,+ "requires": {+ "emoji-regex": "^8.0.0",+ "is-fullwidth-code-point": "^3.0.0",+ "strip-ansi": "^6.0.1"+ }+ },+ "string.prototype.trimend": {+ "version": "1.0.6",+ "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz",+ "integrity": "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==",+ "dev": true,+ "requires": {+ "call-bind": "^1.0.2",+ "define-properties": "^1.1.4",+ "es-abstract": "^1.20.4"+ }+ },+ "string.prototype.trimstart": {+ "version": "1.0.6",+ "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz",+ "integrity": "sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==",+ "dev": true,+ "requires": {+ "call-bind": "^1.0.2",+ "define-properties": "^1.1.4",+ "es-abstract": "^1.20.4"+ }+ },+ "string_decoder": {+ "version": "1.1.1",+ "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz",+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",+ "requires": {+ "safe-buffer": "~5.1.0"+ }+ },+ "strip-ansi": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",+ "dev": true,+ "requires": {+ "ansi-regex": "^5.0.1"+ }+ },+ "strip-bom": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",+ "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==",+ "dev": true+ },+ "strip-final-newline": {+ "version": "2.0.0",+ "resolved": "https://registry.npmmirror.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz",+ "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",+ "dev": true+ },+ "strip-json-comments": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",+ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",+ "dev": true+ },+ "strip-literal": {+ "version": "1.0.0",+ "resolved": "https://registry.npmmirror.com/strip-literal/-/strip-literal-1.0.0.tgz",+ "integrity": "sha512-5o4LsH1lzBzO9UFH63AJ2ad2/S2AVx6NtjOcaz+VTT2h1RiRvbipW72z8M/lxEhcPHDBQwpDrnTF7sXy/7OwCQ==",+ "dev": true,+ "requires": {+ "acorn": "^8.8.1"+ },+ "dependencies": {+ "acorn": {+ "version": "8.8.1",+ "resolved": "https://registry.npmmirror.com/acorn/-/acorn-8.8.1.tgz",+ "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==",+ "dev": true+ }+ }+ },+ "supports-color": {+ "version": "5.5.0",+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",+ "dev": true,+ "requires": {+ "has-flag": "^3.0.0"+ }+ },+ "supports-preserve-symlinks-flag": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",+ "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",+ "dev": true+ },+ "svg-pathdata": {+ "version": "6.0.3",+ "resolved": "https://registry.npmmirror.com/svg-pathdata/-/svg-pathdata-6.0.3.tgz",+ "integrity": "sha512-qsjeeq5YjBZ5eMdFuUa4ZosMLxgr5RZ+F+Y1OrDhuOCEInRMA3x74XdBtggJcj9kOeInz0WE+LgCPDkZFlBYJw=="+ },+ "table": {+ "version": "5.4.6",+ "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz",+ "integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==",+ "dev": true,+ "requires": {+ "ajv": "^6.10.2",+ "lodash": "^4.17.14",+ "slice-ansi": "^2.1.0",+ "string-width": "^3.0.0"+ },+ "dependencies": {+ "ansi-regex": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz",+ "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==",+ "dev": true+ },+ "emoji-regex": {+ "version": "7.0.3",+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",+ "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==",+ "dev": true+ },+ "is-fullwidth-code-point": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",+ "integrity": "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==",+ "dev": true+ },+ "string-width": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",+ "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",+ "dev": true,+ "requires": {+ "emoji-regex": "^7.0.1",+ "is-fullwidth-code-point": "^2.0.0",+ "strip-ansi": "^5.1.0"+ }+ },+ "strip-ansi": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",+ "dev": true,+ "requires": {+ "ansi-regex": "^4.1.0"+ }+ }+ }+ },+ "tar-stream": {+ "version": "2.2.0",+ "resolved": "https://registry.npmmirror.com/tar-stream/-/tar-stream-2.2.0.tgz",+ "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==",+ "requires": {+ "bl": "^4.0.3",+ "end-of-stream": "^1.4.1",+ "fs-constants": "^1.0.0",+ "inherits": "^2.0.3",+ "readable-stream": "^3.1.1"+ }+ },+ "text-segmentation": {+ "version": "1.0.3",+ "resolved": "https://registry.npmmirror.com/text-segmentation/-/text-segmentation-1.0.3.tgz",+ "integrity": "sha512-iOiPUo/BGnZ6+54OsWxZidGCsdU8YbE4PSpdPinp7DeMtUJNJBoJ/ouUSTJjHkh1KntHaltHl/gDs2FC4i5+Nw==",+ "requires": {+ "utrie": "^1.0.2"+ }+ },+ "text-table": {+ "version": "0.2.0",+ "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",+ "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==",+ "dev": true+ },+ "through": {+ "version": "2.3.8",+ "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",+ "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==",+ "dev": true+ },+ "tmp": {+ "version": "0.0.33",+ "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz",+ "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==",+ "dev": true,+ "requires": {+ "os-tmpdir": "~1.0.2"+ }+ },+ "to-regex-range": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",+ "dev": true,+ "requires": {+ "is-number": "^7.0.0"+ }+ },+ "traverse": {+ "version": "0.3.9",+ "resolved": "https://registry.npmmirror.com/traverse/-/traverse-0.3.9.tgz",+ "integrity": "sha512-iawgk0hLP3SxGKDfnDJf8wTz4p2qImnyihM5Hh/sGvQ3K37dPi/w8sRhdNIxYA1TwFwc5mDhIJq+O0RsvXBKdQ=="+ },+ "ts-md5": {+ "version": "1.3.1",+ "resolved": "https://registry.npmmirror.com/ts-md5/-/ts-md5-1.3.1.tgz",+ "integrity": "sha512-DiwiXfwvcTeZ5wCE0z+2A9EseZsztaiZtGrtSaY5JOD7ekPnR/GoIVD5gXZAlK9Na9Kvpo9Waz5rW64WKAWApg=="+ },+ "tsconfig-paths": {+ "version": "3.14.1",+ "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz",+ "integrity": "sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ==",+ "dev": true,+ "requires": {+ "@types/json5": "^0.0.29",+ "json5": "^1.0.1",+ "minimist": "^1.2.6",+ "strip-bom": "^3.0.0"+ }+ },+ "tslib": {+ "version": "1.14.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==",+ "dev": true+ },+ "tsutils": {+ "version": "3.21.0",+ "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz",+ "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==",+ "dev": true,+ "requires": {+ "tslib": "^1.8.1"+ }+ },+ "type-check": {+ "version": "0.4.0",+ "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",+ "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",+ "dev": true,+ "requires": {+ "prelude-ls": "^1.2.1"+ }+ },+ "type-fest": {+ "version": "0.8.1",+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz",+ "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==",+ "dev": true+ },+ "typescript": {+ "version": "4.9.3",+ "resolved": "https://registry.npmmirror.com/typescript/-/typescript-4.9.3.tgz",+ "integrity": "sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==",+ "dev": true+ },+ "ufo": {+ "version": "1.0.1",+ "resolved": "https://registry.npmmirror.com/ufo/-/ufo-1.0.1.tgz",+ "integrity": "sha512-boAm74ubXHY7KJQZLlXrtMz52qFvpsbOxDcZOnw/Wf+LS4Mmyu7JxmzD4tDLtUQtmZECypJ0FrCz4QIe6dvKRA==",+ "dev": true+ },+ "unbox-primitive": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz",+ "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==",+ "dev": true,+ "requires": {+ "call-bind": "^1.0.2",+ "has-bigints": "^1.0.2",+ "has-symbols": "^1.0.3",+ "which-boxed-primitive": "^1.0.2"+ }+ },+ "unimport": {+ "version": "1.1.0",+ "resolved": "https://registry.npmmirror.com/unimport/-/unimport-1.1.0.tgz",+ "integrity": "sha512-dSufi3POQWUVAMU6DxXu39U0cWzz5m3FtQBUbgDJTkCpeRfyiYhDg+BOz6UPKfDPtEhkbshV8JoMV3I8i/mQ+A==",+ "dev": true,+ "requires": {+ "@rollup/pluginutils": "^5.0.2",+ "escape-string-regexp": "^5.0.0",+ "fast-glob": "^3.2.12",+ "local-pkg": "^0.4.2",+ "magic-string": "^0.27.0",+ "mlly": "^1.0.0",+ "pathe": "^1.0.0",+ "pkg-types": "^1.0.1",+ "scule": "^1.0.0",+ "strip-literal": "^1.0.0",+ "unplugin": "^1.0.1"+ },+ "dependencies": {+ "escape-string-regexp": {+ "version": "5.0.0",+ "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz",+ "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==",+ "dev": true+ },+ "magic-string": {+ "version": "0.27.0",+ "resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.27.0.tgz",+ "integrity": "sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==",+ "dev": true,+ "requires": {+ "@jridgewell/sourcemap-codec": "^1.4.13"+ }+ }+ }+ },+ "unplugin": {+ "version": "1.0.1",+ "resolved": "https://registry.npmmirror.com/unplugin/-/unplugin-1.0.1.tgz",+ "integrity": "sha512-aqrHaVBWW1JVKBHmGo33T5TxeL0qWzfvjWokObHA9bYmN7eNDkwOxmLjhioHl9878qDFMAaT51XNroRyuz7WxA==",+ "dev": true,+ "requires": {+ "acorn": "^8.8.1",+ "chokidar": "^3.5.3",+ "webpack-sources": "^3.2.3",+ "webpack-virtual-modules": "^0.5.0"+ },+ "dependencies": {+ "acorn": {+ "version": "8.8.1",+ "resolved": "https://registry.npmmirror.com/acorn/-/acorn-8.8.1.tgz",+ "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==",+ "dev": true+ }+ }+ },+ "unplugin-auto-import": {+ "version": "0.12.1",+ "resolved": "https://registry.npmmirror.com/unplugin-auto-import/-/unplugin-auto-import-0.12.1.tgz",+ "integrity": "sha512-J/3ZORq5YGKG+8D5vLLOgqaHNK77izlVN07mQ752yRLqBNDbJiwPRSnUwwYqH5N6rDay1SqnJCHaUdbJ9QMI2w==",+ "dev": true,+ "requires": {+ "@antfu/utils": "^0.7.2",+ "@rollup/pluginutils": "^5.0.2",+ "local-pkg": "^0.4.2",+ "magic-string": "^0.27.0",+ "unimport": "^1.0.2",+ "unplugin": "^1.0.1"+ },+ "dependencies": {+ "magic-string": {+ "version": "0.27.0",+ "resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.27.0.tgz",+ "integrity": "sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==",+ "dev": true,+ "requires": {+ "@jridgewell/sourcemap-codec": "^1.4.13"+ }+ }+ }+ },+ "unplugin-icons": {+ "version": "0.14.15",+ "resolved": "https://registry.npmmirror.com/unplugin-icons/-/unplugin-icons-0.14.15.tgz",+ "integrity": "sha512-J6YBA+fUzVM2IZPXCK3Pnk36jYVwQ6lkjRgOnZaXNIxpMDsmwDqrE1AGJ0zUbfuEoOa90OBGc0OPfN1r+qlSIQ==",+ "dev": true,+ "requires": {+ "@antfu/install-pkg": "^0.1.1",+ "@antfu/utils": "^0.7.2",+ "@iconify/utils": "^2.0.3",+ "debug": "^4.3.4",+ "kolorist": "^1.6.0",+ "local-pkg": "^0.4.2",+ "unplugin": "^1.0.1"+ }+ },+ "unplugin-vue-components": {+ "version": "0.22.12",+ "resolved": "https://registry.npmmirror.com/unplugin-vue-components/-/unplugin-vue-components-0.22.12.tgz",+ "integrity": "sha512-FxyzsuBvMCYPIk+8cgscGBQ345tvwVu+qY5IhE++eorkyvA4Z1TiD/HCiim+Kbqozl10i4K+z+NCa2WO2jexRA==",+ "dev": true,+ "requires": {+ "@antfu/utils": "^0.7.2",+ "@rollup/pluginutils": "^5.0.2",+ "chokidar": "^3.5.3",+ "debug": "^4.3.4",+ "fast-glob": "^3.2.12",+ "local-pkg": "^0.4.2",+ "magic-string": "^0.27.0",+ "minimatch": "^5.1.1",+ "resolve": "^1.22.1",+ "unplugin": "^1.0.1"+ },+ "dependencies": {+ "magic-string": {+ "version": "0.27.0",+ "resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.27.0.tgz",+ "integrity": "sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==",+ "dev": true,+ "requires": {+ "@jridgewell/sourcemap-codec": "^1.4.13"+ }+ }+ }+ },+ "unzipper": {+ "version": "0.10.14",+ "resolved": "https://registry.npmmirror.com/unzipper/-/unzipper-0.10.14.tgz",+ "integrity": "sha512-ti4wZj+0bQTiX2KmKWuwj7lhV+2n//uXEotUmGuQqrbVZSEGFMbI68+c6JCQ8aAmUWYvtHEz2A8K6wXvueR/6g==",+ "requires": {+ "big-integer": "^1.6.17",+ "binary": "~0.3.0",+ "bluebird": "~3.4.1",+ "buffer-indexof-polyfill": "~1.0.0",+ "duplexer2": "~0.1.4",+ "fstream": "^1.0.12",+ "graceful-fs": "^4.2.2",+ "listenercount": "~1.0.1",+ "readable-stream": "~2.3.6",+ "setimmediate": "~1.0.4"+ },+ "dependencies": {+ "readable-stream": {+ "version": "2.3.8",+ "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz",+ "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",+ "requires": {+ "core-util-is": "~1.0.0",+ "inherits": "~2.0.3",+ "isarray": "~1.0.0",+ "process-nextick-args": "~2.0.0",+ "safe-buffer": "~5.1.1",+ "string_decoder": "~1.1.1",+ "util-deprecate": "~1.0.1"+ }+ }+ }+ },+ "uri-js": {+ "version": "4.4.1",+ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",+ "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",+ "dev": true,+ "requires": {+ "punycode": "^2.1.0"+ }+ },+ "util-deprecate": {+ "version": "1.0.2",+ "resolved": "https://registry.npmmirror.com/util-deprecate/-/util-deprecate-1.0.2.tgz",+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="+ },+ "utrie": {+ "version": "1.0.2",+ "resolved": "https://registry.npmmirror.com/utrie/-/utrie-1.0.2.tgz",+ "integrity": "sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==",+ "requires": {+ "base64-arraybuffer": "^1.0.2"+ }+ },+ "uuid": {+ "version": "8.3.2",+ "resolved": "https://registry.npmmirror.com/uuid/-/uuid-8.3.2.tgz",+ "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg=="+ },+ "v8-compile-cache": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz",+ "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==",+ "dev": true+ },+ "vite": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/vite/-/vite-4.0.0.tgz",+ "integrity": "sha512-ynad+4kYs8Jcnn8J7SacS9vAbk7eMy0xWg6E7bAhS1s79TK+D7tVFGXVZ55S7RNLRROU1rxoKlvZ/qjaB41DGA==",+ "dev": true,+ "requires": {+ "esbuild": "^0.16.3",+ "fsevents": "~2.3.2",+ "postcss": "^8.4.19",+ "resolve": "^1.22.1",+ "rollup": "^3.7.0"+ }+ },+ "vue": {+ "version": "3.2.45",+ "resolved": "https://registry.npmjs.org/vue/-/vue-3.2.45.tgz",+ "integrity": "sha512-9Nx/Mg2b2xWlXykmCwiTUCWHbWIj53bnkizBxKai1g61f2Xit700A1ljowpTIM11e3uipOeiPcSqnmBg6gyiaA==",+ "requires": {+ "@vue/compiler-dom": "3.2.45",+ "@vue/compiler-sfc": "3.2.45",+ "@vue/runtime-dom": "3.2.45",+ "@vue/server-renderer": "3.2.45",+ "@vue/shared": "3.2.45"+ }+ },+ "vue-eslint-parser": {+ "version": "9.1.0",+ "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-9.1.0.tgz",+ "integrity": "sha512-NGn/iQy8/Wb7RrRa4aRkokyCZfOUWk19OP5HP6JEozQFX5AoS/t+Z0ZN7FY4LlmWc4FNI922V7cvX28zctN8dQ==",+ "dev": true,+ "requires": {+ "debug": "^4.3.4",+ "eslint-scope": "^7.1.1",+ "eslint-visitor-keys": "^3.3.0",+ "espree": "^9.3.1",+ "esquery": "^1.4.0",+ "lodash": "^4.17.21",+ "semver": "^7.3.6"+ },+ "dependencies": {+ "acorn": {+ "version": "8.8.1",+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz",+ "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==",+ "dev": true+ },+ "eslint-scope": {+ "version": "7.1.1",+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz",+ "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==",+ "dev": true,+ "requires": {+ "esrecurse": "^4.3.0",+ "estraverse": "^5.2.0"+ }+ },+ "espree": {+ "version": "9.4.1",+ "resolved": "https://registry.npmjs.org/espree/-/espree-9.4.1.tgz",+ "integrity": "sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg==",+ "dev": true,+ "requires": {+ "acorn": "^8.8.0",+ "acorn-jsx": "^5.3.2",+ "eslint-visitor-keys": "^3.3.0"+ }+ },+ "estraverse": {+ "version": "5.3.0",+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",+ "dev": true+ }+ }+ },+ "vue-i18n": {+ "version": "9.2.2",+ "resolved": "https://registry.npmmirror.com/vue-i18n/-/vue-i18n-9.2.2.tgz",+ "integrity": "sha512-yswpwtj89rTBhegUAv9Mu37LNznyu3NpyLQmozF3i1hYOhwpG8RjcjIFIIfnu+2MDZJGSZPXaKWvnQA71Yv9TQ==",+ "requires": {+ "@intlify/core-base": "9.2.2",+ "@intlify/shared": "9.2.2",+ "@intlify/vue-devtools": "9.2.2",+ "@vue/devtools-api": "^6.2.1"+ }+ },+ "vue-qr": {+ "version": "4.0.9",+ "resolved": "https://registry.npmjs.org/vue-qr/-/vue-qr-4.0.9.tgz",+ "integrity": "sha512-pAISV94T0MNEYA3NGjykUpsXRE2QfaNxlu9ZhEL6CERgqNc21hJYuP3hRVzAWfBQlgO18DPmZTbrFerJC3+Ikw==",+ "requires": {+ "glob": "^8.0.1",+ "js-binary-schema-parser": "^2.0.2",+ "simple-get": "^4.0.1",+ "string-split-by": "^1.0.0"+ },+ "dependencies": {+ "glob": {+ "version": "8.1.0",+ "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz",+ "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==",+ "requires": {+ "fs.realpath": "^1.0.0",+ "inflight": "^1.0.4",+ "inherits": "2",+ "minimatch": "^5.0.1",+ "once": "^1.3.0"+ }+ }+ }+ },+ "vue-router": {+ "version": "4.1.6",+ "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.1.6.tgz",+ "integrity": "sha512-DYWYwsG6xNPmLq/FmZn8Ip+qrhFEzA14EI12MsMgVxvHFDYvlr4NXpVF5hrRH1wVcDP8fGi5F4rxuJSl8/r+EQ==",+ "requires": {+ "@vue/devtools-api": "^6.4.5"+ }+ },+ "vue-template-compiler": {+ "version": "2.7.14",+ "resolved": "https://registry.npmmirror.com/vue-template-compiler/-/vue-template-compiler-2.7.14.tgz",+ "integrity": "sha512-zyA5Y3ArvVG0NacJDkkzJuPQDF8RFeRlzV2vLeSnhSpieO6LK2OVbdLPi5MPPs09Ii+gMO8nY4S3iKQxBxDmWQ==",+ "dev": true,+ "requires": {+ "de-indent": "^1.0.2",+ "he": "^1.2.0"+ }+ },+ "vue-tsc": {+ "version": "1.0.11",+ "resolved": "https://registry.npmmirror.com/vue-tsc/-/vue-tsc-1.0.11.tgz",+ "integrity": "sha512-lj+6dEroPsE4wmQOPtjCzAf8x363Km5/tuEvMEoQaoRnzs9myBM46FNvCGIIPStYUGuaqF1W1bORmP2KDQEORA==",+ "dev": true,+ "requires": {+ "@volar/vue-language-core": "1.0.11",+ "@volar/vue-typescript": "1.0.11"+ }+ },+ "vue3-print-nb": {+ "version": "0.1.4",+ "resolved": "https://registry.npmjs.org/vue3-print-nb/-/vue3-print-nb-0.1.4.tgz",+ "integrity": "sha512-LExI7viEzplR6ZKQ2b+V4U0cwGYbVD4fut/XHvk3UPGlT5CcvIGs6VlwGp107aKgk6P8Pgx4rco3Rehv2lti3A==",+ "requires": {+ "vue": "^3.0.5"+ }+ },+ "vuetify": {+ "version": "3.3.12",+ "resolved": "https://registry.npmjs.org/vuetify/-/vuetify-3.3.12.tgz",+ "integrity": "sha512-mH3CF+ALM1sC0Zm91IPq5b+bummrHH/Ek9jwYrQ0+fOAoJWd9nUcOIHODTPY+PODJDbJTwF6b3wVTDwqzUgTgQ=="+ },+ "vuex": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/vuex/-/vuex-4.0.2.tgz",+ "integrity": "sha512-M6r8uxELjZIK8kTKDGgZTYX/ahzblnzC4isU1tpmEuOIIKmV+TRdc+H4s8ds2NuZ7wpUTdGRzJRtoj+lI+pc0Q==",+ "requires": {+ "@vue/devtools-api": "^6.0.0-beta.11"+ }+ },+ "vuex-persist": {+ "version": "3.1.3",+ "resolved": "https://registry.npmmirror.com/vuex-persist/-/vuex-persist-3.1.3.tgz",+ "integrity": "sha512-QWOpP4SxmJDC5Y1+0+Yl/F4n7z27syd1St/oP+IYCGe0X0GFio0Zan6kngZFufdIhJm+5dFGDo3VG5kdkCGeRQ==",+ "requires": {+ "deepmerge": "^4.2.2",+ "flatted": "^3.0.5"+ },+ "dependencies": {+ "flatted": {+ "version": "3.2.7",+ "resolved": "https://registry.npmmirror.com/flatted/-/flatted-3.2.7.tgz",+ "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ=="+ }+ }+ },+ "vxe-table": {+ "version": "4.3.7",+ "resolved": "https://registry.npmmirror.com/vxe-table/-/vxe-table-4.3.7.tgz",+ "integrity": "sha512-v+d7eEQ5uqtVTQCts4xkW0S15LZcIuEukYHGXI53SdoUj2gLFggPYAxQr1y659CM/ESRWPz9LNVHpd97KkjGHw=="+ },+ "vxe-table-plugin-export-xlsx": {+ "version": "3.0.4",+ "resolved": "https://registry.npmmirror.com/vxe-table-plugin-export-xlsx/-/vxe-table-plugin-export-xlsx-3.0.4.tgz",+ "integrity": "sha512-Og/NbXRIb+BS6sJ48oDNVrZnlkcpaCd/zS8JBAZjHLgioWr1Xoob6FEpaeXBebGPPgTumZNUrrBO57JhhYAerA=="+ },+ "webpack-sources": {+ "version": "3.2.3",+ "resolved": "https://registry.npmmirror.com/webpack-sources/-/webpack-sources-3.2.3.tgz",+ "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==",+ "dev": true+ },+ "webpack-virtual-modules": {+ "version": "0.5.0",+ "resolved": "https://registry.npmmirror.com/webpack-virtual-modules/-/webpack-virtual-modules-0.5.0.tgz",+ "integrity": "sha512-kyDivFZ7ZM0BVOUteVbDFhlRt7Ah/CSPwJdi8hBpkK7QLumUqdLtVfm/PX/hkcnrvr0i77fO5+TjZ94Pe+C9iw==",+ "dev": true+ },+ "which": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",+ "dev": true,+ "requires": {+ "isexe": "^2.0.0"+ }+ },+ "which-boxed-primitive": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz",+ "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==",+ "dev": true,+ "requires": {+ "is-bigint": "^1.0.1",+ "is-boolean-object": "^1.1.0",+ "is-number-object": "^1.0.4",+ "is-string": "^1.0.5",+ "is-symbol": "^1.0.3"+ }+ },+ "wmf": {+ "version": "1.0.2",+ "resolved": "https://registry.npmmirror.com/wmf/-/wmf-1.0.2.tgz",+ "integrity": "sha512-/p9K7bEh0Dj6WbXg4JG0xvLQmIadrner1bi45VMJTfnbVHsc7yIajZyoSoK60/dtVBs12Fm6WkUI5/3WAVsNMw=="+ },+ "word": {+ "version": "0.3.0",+ "resolved": "https://registry.npmmirror.com/word/-/word-0.3.0.tgz",+ "integrity": "sha512-OELeY0Q61OXpdUfTp+oweA/vtLVg5VDOXh+3he3PNzLGG/y0oylSOC1xRVj0+l4vQ3tj/bB1HVHv1ocXkQceFA=="+ },+ "word-wrap": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",+ "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==",+ "dev": true+ },+ "wrappy": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="+ },+ "write": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz",+ "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==",+ "dev": true,+ "requires": {+ "mkdirp": "^0.5.1"+ }+ },+ "ws": {+ "version": "8.11.0",+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz",+ "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg=="+ },+ "xe-utils": {+ "version": "3.5.7",+ "resolved": "https://registry.npmmirror.com/xe-utils/-/xe-utils-3.5.7.tgz",+ "integrity": "sha512-3H+fDBKBR2wLJgyA7k9C/w1Xljx6Maml5ukV0WDY06HjYyGs2FEz6XhcwRCLIDXX4pBP3Gu0nX9DbCeuuRA2Ew=="+ },+ "xlsx": {+ "version": "0.18.5",+ "resolved": "https://registry.npmmirror.com/xlsx/-/xlsx-0.18.5.tgz",+ "integrity": "sha512-dmg3LCjBPHZnQp5/F/+nnTa+miPJxUXB6vtk42YjBBKayDNagxGEeIdWApkYPOf3Z3pm3k62Knjzp7lMeTEtFQ==",+ "requires": {+ "adler-32": "~1.3.0",+ "cfb": "~1.2.1",+ "codepage": "~1.15.0",+ "crc-32": "~1.2.1",+ "ssf": "~0.11.2",+ "wmf": "~1.0.1",+ "word": "~0.3.0"+ }+ },+ "xmlchars": {+ "version": "2.2.0",+ "resolved": "https://registry.npmmirror.com/xmlchars/-/xmlchars-2.2.0.tgz",+ "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw=="+ },+ "xmlhttprequest-ssl": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-2.0.0.tgz",+ "integrity": "sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A=="+ },+ "yallist": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",+ "dev": true+ },+ "yk-vue-plugin-hiprint": {+ "version": "0.0.2",+ "resolved": "https://registry.npmjs.org/yk-vue-plugin-hiprint/-/yk-vue-plugin-hiprint-0.0.2.tgz",+ "integrity": "sha512-wFB/lBWVUjzH71kihRzJbIyAzPxZ+1jdqvZMhEmV9dTH3Yx818zDc1AyxXf0YZNmukZU33yn+U63Ix+zGuvgJw==",+ "requires": {+ "@claviska/jquery-minicolors": "^2.3.6",+ "canvg": "^3.0.10",+ "html2canvas": "^1.4.1",+ "jquery": "^3.6.0",+ "jsbarcode": "^3.11.5",+ "jspdf": "^2.5.1",+ "nzh": "^1.0.8",+ "socket.io-client": "^4.5.1"+ }+ },+ "yocto-queue": {+ "version": "0.1.0",+ "resolved": "https://registry.npmmirror.com/yocto-queue/-/yocto-queue-0.1.0.tgz",+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",+ "dev": true+ },+ "zip-stream": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-4.1.0.tgz",+ "integrity": "sha512-zshzwQW7gG7hjpBlgeQP9RuyPGNxvJdzR8SUM3QhxCnLjWN2E7j3dOvpeDcQoETfHx0urRS7EtmVToql7YpU4A==",+ "requires": {+ "archiver-utils": "^2.1.0",+ "compress-commons": "^4.1.0",+ "readable-stream": "^3.6.0"+ }+ }+ }+}diff --git a/frontend/package.json b/frontend/package.jsonnew file mode 100644index 0000000..bf1724c--- /dev/null+++ b/frontend/package.json@@ -0,0 +1,65 @@+{+ "name": "ykwms",+ "private": true,+ "version": "0.0.0",+ "type": "module",+ "scripts": {+ "dev": "vite",+ "build": "vue-tsc && vite build",+ "preview": "vite preview"+ },+ "dependencies": {+ "@claviska/jquery-minicolors": "2.3.6",+ "axios": "1.2.1",+ "canvg": "3.0.10",+ "echarts": "^5.4.3",+ "exceljs": "4.3.0",+ "html2canvas": "1.4.1",+ "jquery": "3.7.0",+ "jsbarcode": "^3.11.5",+ "jspdf": "2.5.1",+ "lodash": "^4.17.21",+ "lottie-web": "5.10.1",+ "mitt": "3.0.0",+ "nzh": "1.0.9",+ "qrcode.vue": "^3.3.3",+ "screenfull": "^6.0.2",+ "socket.io-client": "4.7.1",+ "ts-md5": "1.3.1",+ "vue": "3.2.45",+ "vue-i18n": "9.2.2",+ "vue-qr": "^4.0.9",+ "vue-router": "4.1.6",+ "vue3-print-nb": "^0.1.4",+ "vuetify": "3.3.12",+ "vuex": "4.0.2",+ "vuex-persist": "3.1.3",+ "vxe-table": "4.3.7",+ "vxe-table-plugin-export-xlsx": "3.0.4",+ "xe-utils": "3.5.7",+ "xlsx": "0.18.5",+ "yk-vue-plugin-hiprint": "0.0.9"+ },+ "devDependencies": {+ "@mdi/font": "7.1.96",+ "@types/lodash": "^4.14.199",+ "@types/node": "18.11.13",+ "@typescript-eslint/eslint-plugin": "5.46.0",+ "@typescript-eslint/parser": "5.46.0",+ "@vitejs/plugin-vue": "4.0.0",+ "eslint": "7.2.0",+ "eslint-config-airbnb-base": "14.2.1",+ "eslint-plugin-import": "2.26.0",+ "eslint-plugin-vue": "7.20.0",+ "less": "4.1.3",+ "less-loader": "11.1.0",+ "material-design-icons-iconfont": "6.7.0",+ "typescript": "4.9.3",+ "unplugin-auto-import": "0.12.1",+ "unplugin-icons": "0.14.15",+ "unplugin-vue-components": "0.22.12",+ "vite": "4.0.0",+ "vue-eslint-parser": "9.1.0",+ "vue-tsc": "1.0.11"+ }+}diff --git a/frontend/public/bootstrap.min.css b/frontend/public/bootstrap.min.cssnew file mode 100644index 0000000..ed3905e--- /dev/null+++ b/frontend/public/bootstrap.min.css@@ -0,0 +1,6 @@+/*!+ * Bootstrap v3.3.7 (http://getbootstrap.com)+ * Copyright 2011-2016 Twitter, Inc.+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)+ *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\002a"}.glyphicon-plus:before{content:"\002b"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-btc:before{content:"\e227"}.glyphicon-xbt:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-jpy:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-rub:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{padding:.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:focus,a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:focus,a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;margin-left:-5px;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=checkbox]:focus,input[type=radio]:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control::-ms-expand{background-color:transparent;border:0}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=time].form-control,input[type=datetime-local].form-control,input[type=month].form-control{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=time],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=time],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-top:4px\9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.checkbox-inline.disabled,.radio-inline.disabled,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio-inline{cursor:not-allowed}.checkbox.disabled label,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .radio label{cursor:not-allowed}.form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:11px;font-size:18px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled.focus,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled].focus,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled.focus,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled].focus,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#398439;border-color:#255625}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled.focus,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled].focus,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled.focus,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled].focus,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled.focus,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled].focus,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled.focus,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled].focus,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px dashed;border-bottom:4px solid\9}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:2;color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:3;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron .h1,.jumbotron h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{padding-right:15px;padding-left:15px;border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover,button.list-group-item:focus,button.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover,button.list-group-item-success.active,button.list-group-item-success.active:focus,button.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover,button.list-group-item-info.active,button.list-group-item-info.active:focus,button.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover,button.list-group-item-warning.active,button.list-group-item-warning.active:focus,button.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover,button.list-group-item-danger.active,button.list-group-item-danger.active:focus,button.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-left-radius:0;border-top-right-radius:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;filter:alpha(opacity=0);opacity:0;line-break:auto}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px;bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);line-break:auto}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.active.right,.carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);background-color:rgba(0,0,0,0);filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block;margin-top:-10px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-10px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-10px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.modal-header:after,.modal-header:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.modal-header:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-md,.visible-sm,.visible-xs{display:none!important}.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}}+/*# sourceMappingURL=bootstrap.min.css.map */\ No newline at end of filediff --git a/frontend/public/favicon.ico b/frontend/public/favicon.iconew file mode 100644index 0000000..c7d3638Binary files /dev/null and b/frontend/public/favicon.ico differdiff --git a/frontend/public/print-lock.css b/frontend/public/print-lock.cssnew file mode 100644index 0000000..fdb6d7c--- /dev/null+++ b/frontend/public/print-lock.css@@ -0,0 +1,282 @@++@media print {+ body {+ margin: 0px;+ padding: 0px;+ }+}++@page {+ margin: 0;+}++.hiprint-printPaper * {+ box-sizing: border-box;+ -moz-box-sizing: border-box; /* Firefox */+ -webkit-box-sizing: border-box; /* Safari */+ image-rendering: -webkit-optimize-contrast; /* 让图片/标尺稍微清楚一点 */+}++ .hiprint-printPaper *:focus {+ outline: -webkit-focus-ring-color auto 0px;+ }+++.hiprint-page-break-avoid {+ page-break-after: avoid;+}+.hiprint-printPaper {+ position: relative;+ padding: 0 0 0 0;+ page-break-after: always;+ -webkit-user-select: none; /* Chrome/Safari/Opera */+ -moz-user-select: none; /* Firefox */+ user-select: none;+ overflow-x: hidden;+ overflow: hidden;+}+ .hiprint-printPaper .hiprint-printPaper-content {+ position: relative;+ }+.hiprint-printPaper.design {+ overflow: visible;+}++++.hiprint-printTemplate .hiprint-printPanel {+ page-break-after: always;+}++.hiprint-printPaper, hiprint-printPanel {+ box-sizing: border-box;+ border: 0px;+}++.hiprint-printPanel .hiprint-printPaper:last-child {+ page-break-after: avoid;+}++.hiprint-printTemplate .hiprint-printPanel:last-child {+ page-break-after: avoid;+}++.hiprint-printPaper .hideheaderLinetarget {+ border-top: 0px dashed rgb(201, 190, 190) !important;+}++.hiprint-printPaper .hidefooterLinetarget {+ border-top: 0px dashed rgb(201, 190, 190) !important;+}++.hiprint-printPaper.design {+ border: 1px dashed rgba(170,170,170,0.7);+}++.design .hiprint-printElement-table-content, .design .hiprint-printElement-longText-content {+ overflow: hidden;+ box-sizing: border-box;+}++.design .resize-panel {+ box-sizing: border-box;+ border: 1px dotted;+}++.hiprint-printElement-text {+ background-color: transparent;+ background-repeat: repeat;+ padding: 0 0 0 0;+ border: 0.75pt none rgb(0,0,0);+ direction: ltr;+ font-family: 'SimSun';+ font-size: 9pt;+ font-style: normal;+ font-weight: normal;+ padding-bottom: 0pt;+ padding-left: 0pt;+ padding-right: 0pt;+ padding-top: 0pt;+ text-align: left;+ text-decoration: none;+ line-height: 9.75pt;+ box-sizing: border-box;+ word-wrap: break-word;+ word-break: break-all;+}++.design .hiprint-printElement-text-content {+ border: 1px dashed rgb(206, 188, 188);+ box-sizing: border-box;+}++.hiprint-printElement-longText {+ background-color: transparent;+ background-repeat: repeat;+ border: 0.75pt none rgb(0,0,0);+ direction: ltr;+ font-family: 'SimSun';+ font-size: 9pt;+ font-style: normal;+ font-weight: normal;+ padding-bottom: 0pt;+ padding-left: 0pt;+ padding-right: 0pt;+ padding-top: 0pt;+ text-align: left;+ text-decoration: none;+ line-height: 9.75pt;+ box-sizing: border-box;+ word-wrap: break-word;+ word-break: break-all;+ /*white-space: pre-wrap*/+}++++.hiprint-printElement-table {+ background-color: transparent;+ background-repeat: repeat;+ color: rgb(0,0,0);+ border-color: rgb(0,0,0);+ border-style: none;+ direction: ltr;+ font-family: 'SimSun';+ font-size: 9pt;+ font-style: normal;+ font-weight: normal;+ padding-bottom: 0pt;+ padding-left: 0pt;+ padding-right: 0pt;+ padding-top: 0pt;+ text-align: left;+ text-decoration: none;+ padding: 0 0 0 0;+ box-sizing: border-box;+ line-height: 9.75pt;+}++ .hiprint-printElement-table thead {+ background: #e8e8e8;+ font-weight: 700;+ }++.hiprint-printElement-tableTarget, .hiprint-printElement-tableTarget tr, .hiprint-printElement-tableTarget td {+ border-color: rgb(0,0,0);+ border-style: none;+ border: 1px solid rgb(0,0,0);+ font-weight: normal;+ direction: ltr;+ padding-bottom: 0pt;+ padding-left: 4pt;+ padding-right: 4pt;+ padding-top: 0pt;+ text-decoration: none;+ vertical-align: middle;+ box-sizing: border-box;+ word-wrap: break-word;+ word-break: break-all;+ /*line-height: 9.75pt;+ font-size: 9pt;*/+}++ /*.hiprint-printElement-tableTarget tr,*/+ .hiprint-printElement-tableTarget td {+ height: 18pt;+ }++.hiprint-printPaper .hiprint-paperNumber {+ font-size: 9pt;+}++.design .hiprint-printElement-table-handle {+ position: absolute;+ height: 21pt;+ width: 21pt;+ background: red;+ z-index:1;+}++.hiprint-printPaper .hiprint-paperNumber-disabled {+ float: right !important;+ right: 0 !important;+ color: gainsboro !important;+}++.hiprint-printElement-vline, .hiprint-printElement-hline {+ border: 0px none rgb(0,0,0);++}+.hiprint-printElement-vline {+ border-left: 0.75pt solid #000;+ border-right: 0px none rgb(0,0,0) !important;+ border-bottom: 0px none rgb(0,0,0) !important;+ border-top: 0px none rgb(0,0,0) !important;+}++.hiprint-printElement-hline {+ border-top: 0.75pt solid #000;+ border-right: 0px none rgb(0,0,0) !important;+ border-bottom: 0px none rgb(0,0,0) !important;+ border-left: 0px none rgb(0,0,0) !important;+}++.hiprint-printElement-oval, .hiprint-printElement-rect {+ border: 0.75pt solid #000;+}++.hiprint-text-content-middle {+ display:table;+}+.hiprint-text-content-middle>div {+ display: table-cell;+ vertical-align:middle+}++.hiprint-text-content-bottom {+ display: table;+}++ .hiprint-text-content-bottom > div {+ display: table-cell;+ vertical-align: bottom+ }++/*hi-grid-row */+.hi-grid-row {+ position: relative;+ height: auto;+ margin-right: 0;+ margin-left: 0;+ zoom: 1;+ display: block;+ box-sizing: border-box;+}++ .hi-grid-row::after, .hi-grid-row::before {+ display: table;+ content: '';+ box-sizing: border-box;+ }++.hi-grid-col {+ display: block;+ box-sizing: border-box;+ position: relative;+ float: left;+ flex: 0 0 auto;+}++.table-grid-row {+ margin-left: -0pt;+ margin-right: -0pt;+}++.tableGridColumnsGutterRow {+ padding-left: 0pt;+ padding-right: 0pt;+}+.hiprint-gridColumnsFooter {+ text-align: left;+ clear: both;+}diff --git a/frontend/public/unity/Build/wms.data.unityweb b/frontend/public/unity/Build/wms.data.unitywebnew file mode 100644index 0000000..127b481Binary files /dev/null and b/frontend/public/unity/Build/wms.data.unityweb differdiff --git a/frontend/public/unity/Build/wms.framework.js.unityweb b/frontend/public/unity/Build/wms.framework.js.unitywebnew file mode 100644index 0000000..65c996eBinary files /dev/null and b/frontend/public/unity/Build/wms.framework.js.unityweb differdiff --git a/frontend/public/unity/Build/wms.loader.js b/frontend/public/unity/Build/wms.loader.jsnew file mode 100644index 0000000..1431a02--- /dev/null+++ b/frontend/public/unity/Build/wms.loader.js@@ -0,0 +1 @@+function createUnityInstance(t,n,l){function d(e,t){if(!d.aborted&&n.showBanner)return"error"==t&&(d.aborted=!0),n.showBanner(e,t);switch(t){case"error":console.error(e);break;case"warning":console.warn(e);break;default:console.log(e)}}function r(e){var t=e.reason||e.error,n=t?t.toString():e.message||e.reason||"",r=t&&t.stack?t.stack.toString():"";(n+="\n"+(r=r.startsWith(n)?r.substring(n.length):r).trim())&&c.stackTraceRegExp&&c.stackTraceRegExp.test(n)&&k(n,e.filename||t&&(t.fileName||t.sourceURL)||"",e.lineno||t&&(t.lineNumber||t.line)||0)}function e(e,t,n){var r=e[t];void 0!==r&&r||(console.warn('Config option "'+t+'" is missing or empty. Falling back to default value: "'+n+'". Consider updating your WebGL template to include the missing config option.'),e[t]=n)}l=l||function(){};var o,c={canvas:t,webglContextAttributes:{preserveDrawingBuffer:!1,powerPreference:2},cacheControl:function(e){return e==c.dataUrl?"must-revalidate":"no-store"},streamingAssetsUrl:"StreamingAssets",downloadProgress:{},deinitializers:[],intervals:{},setInterval:function(e,t){e=window.setInterval(e,t);return this.intervals[e]=!0,e},clearInterval:function(e){delete this.intervals[e],window.clearInterval(e)},preRun:[],postRun:[],print:function(e){console.log(e)},printErr:function(e){console.error(e),"string"==typeof e&&-1!=e.indexOf("wasm streaming compile failed")&&(-1!=e.toLowerCase().indexOf("mime")?d('HTTP Response Header "Content-Type" configured incorrectly on the server for file '+c.codeUrl+' , should be "application/wasm". Startup time performance will suffer.',"warning"):d('WebAssembly streaming compilation failed! This can happen for example if "Content-Encoding" HTTP header is incorrectly enabled on the server for file '+c.codeUrl+", but the file is not pre-compressed on disk (or vice versa). Check the Network tab in browser Devtools to debug server header configuration.","warning"))},locateFile:function(e){return e},disabledCanvasEvents:["contextmenu","dragstart"]};for(o in e(n,"companyName","Unity"),e(n,"productName","WebGL Player"),e(n,"productVersion","1.0"),n)c[o]=n[o];c.streamingAssetsUrl=new URL(c.streamingAssetsUrl,document.URL).href;var a=c.disabledCanvasEvents.slice();function i(e){e.preventDefault()}a.forEach(function(e){t.addEventListener(e,i)}),window.addEventListener("error",r),window.addEventListener("unhandledrejection",r),c.deinitializers.push(function(){for(var e in c.disableAccessToMediaDevices(),a.forEach(function(e){t.removeEventListener(e,i)}),window.removeEventListener("error",r),window.removeEventListener("unhandledrejection",r),c.intervals)window.clearInterval(e);c.intervals={}}),c.QuitCleanup=function(){for(var e=0;e<c.deinitializers.length;e++)c.deinitializers[e]();c.deinitializers=[],"function"==typeof c.onQuit&&c.onQuit()};var s,u,f,h,b,m,g,p,w="",v="",y=(document.addEventListener("webkitfullscreenchange",function(e){document.webkitCurrentFullScreenElement===t?t.style.width&&(w=t.style.width,v=t.style.height,t.style.width="100%",t.style.height="100%"):w&&(t.style.width=w,t.style.height=v,v=w="")}),{Module:c,SetFullscreen:function(){if(c.SetFullscreen)return c.SetFullscreen.apply(c,arguments);c.print("Failed to set Fullscreen mode: Player not loaded yet.")},SendMessage:function(){if(c.SendMessage)return c.SendMessage.apply(c,arguments);c.print("Failed to execute SendMessage: Player not loaded yet.")},Quit:function(){return new Promise(function(e,t){c.shouldQuit=!0,c.onQuit=e})}});function k(e,t,n){-1==e.indexOf("fullscreen error")&&(c.startupErrorHandler?c.startupErrorHandler(e,t,n):c.errorHandler&&c.errorHandler(e,t,n)||(console.log("Invoking error handler due to\n"+e),"function"==typeof dump&&dump("Invoking error handler due to\n"+e),k.didShowErrorMessage||(-1!=(e="An error occurred running the Unity content on this page. See your browser JavaScript console for more info. The error was:\n"+e).indexOf("DISABLE_EXCEPTION_CATCHING")?e="An exception has occurred, but exception handling has been disabled in this build. If you are the developer of this content, enable exceptions in your project WebGL player settings to be able to catch the exception or see the stack trace.":-1!=e.indexOf("Cannot enlarge memory arrays")?e="Out of memory. If you are the developer of this content, try allocating more memory to your WebGL build in the WebGL player settings.":-1==e.indexOf("Invalid array buffer length")&&-1==e.indexOf("Invalid typed array length")&&-1==e.indexOf("out of memory")&&-1==e.indexOf("could not allocate memory")||(e="The browser could not allocate enough memory for the WebGL content. If you are the developer of this content, try allocating less memory to your WebGL build in the WebGL player settings."),alert(e),k.didShowErrorMessage=!0)))}function x(e,t){if("symbolsUrl"!=e){var n=c.downloadProgress[e],r=(n=n||(c.downloadProgress[e]={started:!1,finished:!1,lengthComputable:!1,total:0,loaded:0}),"object"!=typeof t||"progress"!=t.type&&"load"!=t.type||(n.started||(n.started=!0,n.lengthComputable=t.lengthComputable),n.total=t.total,n.loaded=t.loaded,"load"==t.type&&(n.finished=!0)),0),o=0,a=0,i=0,s=0;for(e in c.downloadProgress){if(!(n=c.downloadProgress[e]).started)return;a++,n.lengthComputable?(r+=n.loaded,o+=n.total,i++):n.finished||s++}l(.9*(a?(a-s-(o?i*(o-r)/o:0))/a:0))}}function _(){var o=this;o.isConnected=new Promise(function(t,n){try{function r(){o.openDBTimeout&&(clearTimeout(o.openDBTimeout),o.openDBTimeout=null)}o.openDBTimeout=setTimeout(function(){void 0===o.database&&n(new Error("Could not connect to database: Timeout."))},2e3);var e=h.open(s.name,s.version);e.onupgradeneeded=function(e){var t;(e=(e=e).target.result).objectStoreNames.contains(f.name)||e.createObjectStore(f.name),e.objectStoreNames.contains(u.name)||(t=e.createObjectStore(u.name,{keyPath:"url"}),["version","company","product","updated","revalidated","accessed"].forEach(function(e){t.createIndex(e,e)}))},e.onsuccess=function(e){r(),o.database=e.target.result,t()},e.onerror=function(e){r(),o.database=null,n(new Error("Could not connect to database."))}}catch(e){r(),o.database=null,n(new Error("Could not connect to database."))}})}function S(e){console.log("[UnityCache] "+e)}function E(e){return E.link=E.link||document.createElement("a"),E.link.href=e,E.link.href}function C(t){t=t||{},this.headers=new Headers,Object.keys(t.headers).forEach(function(e){this.headers.set(e,t.headers[e])}.bind(this)),this.redirected=t.redirected,this.status=t.status,this.statusText=t.statusText,this.type=t.type,this.url=t.url,this.parsedBody=t.parsedBody,Object.defineProperty(this,"ok",{get:function(){return 200<=this.status&&this.status<=299}.bind(this)})}function B(e,t,n,r,o){var a={url:e,version:g.version,company:t,product:n,updated:r,revalidated:r,accessed:r,response:{headers:{}}};return o&&(o.headers.forEach(function(e,t){a.response.headers[t]=e}),["redirected","status","statusText","type","url"].forEach(function(e){a.response[e]=o[e]}),a.response.parsedBody=o.parsedBody),a}c.SystemInfo=function(){var e,t,n,r,o=navigator.userAgent+" ",a=[["Firefox","Firefox"],["OPR","Opera"],["Edg","Edge"],["SamsungBrowser","Samsung Browser"],["Trident","Internet Explorer"],["MSIE","Internet Explorer"],["Chrome","Chrome"],["CriOS","Chrome on iOS Safari"],["FxiOS","Firefox on iOS Safari"],["Safari","Safari"]];function i(e,t,n){return(e=RegExp(e,"i").exec(t))&&e[n]}for(var s=0;s<a.length;++s)if(t=i(a[s][0]+"[/ ](.*?)[ \\)]",o,1)){e=a[s][1];break}"Safari"==e&&(t=i("Version/(.*?) ",o,1)),"Internet Explorer"==e&&(t=i("rv:(.*?)\\)? ",o,1)||t);for(var l=[["Windows (.*?)[;)]","Windows"],["Android ([0-9_.]+)","Android"],["iPhone OS ([0-9_.]+)","iPhoneOS"],["iPad.*? OS ([0-9_.]+)","iPadOS"],["FreeBSD( )","FreeBSD"],["OpenBSD( )","OpenBSD"],["Linux|X11()","Linux"],["Mac OS X ([0-9_\\.]+)","MacOS"],["bot|google|baidu|bing|msn|teoma|slurp|yandex","Search Bot"]],d=0;d<l.length;++d)if(u=i(l[d][0],o,1)){n=l[d][1],u=u.replace(/_/g,".");break}var u={"NT 5.0":"2000","NT 5.1":"XP","NT 5.2":"Server 2003","NT 6.0":"Vista","NT 6.1":"7","NT 6.2":"8","NT 6.3":"8.1","NT 10.0":"10"}[u]||u,c=((c=document.createElement("canvas"))&&(gl=c.getContext("webgl2"),glVersion=gl?2:0,gl||(gl=c&&c.getContext("webgl"))&&(glVersion=1),gl&&(r=gl.getExtension("WEBGL_debug_renderer_info")&&gl.getParameter(37446)||gl.getParameter(7937))),"undefined"!=typeof SharedArrayBuffer),f="object"==typeof WebAssembly&&"function"==typeof WebAssembly.compile;return{width:screen.width,height:screen.height,userAgent:o.trim(),browser:e||"Unknown browser",browserVersion:t||"Unknown version",mobile:/Mobile|Android|iP(ad|hone)/.test(navigator.appVersion),os:n||"Unknown OS",osVersion:u||"Unknown OS Version",gpu:r||"Unknown GPU",language:navigator.userLanguage||navigator.language,hasWebGL:glVersion,hasCursorLock:!!document.body.requestPointerLock,hasFullscreen:!!document.body.requestFullscreen||!!document.body.webkitRequestFullscreen,hasThreads:c,hasWasm:f,hasWasmThreads:!1}}(),c.abortHandler=function(e){return k(e,"",0),!0},Error.stackTraceLimit=Math.max(Error.stackTraceLimit||0,50),c.readBodyWithProgress=function(a,i,s){var e=a.body?a.body.getReader():void 0,l=void 0!==a.headers.get("Content-Length"),d=function(e,t){if(!t)return 0;var t=e.headers.get("Content-Encoding"),n=parseInt(e.headers.get("Content-Length"));switch(t){case"br":return Math.round(5*n);case"gzip":return Math.round(4*n);default:return n}}(a,l),u=new Uint8Array(d),c=[],f=0,h=0;return l||console.warn("[UnityCache] Response is served without Content-Length header. Please reconfigure server to include valid Content-Length for better download performance."),function o(){return void 0===e?a.arrayBuffer().then(function(e){var t=new Uint8Array(e);return i({type:"progress",response:a,total:e.length,loaded:0,lengthComputable:l,chunk:s?t:null}),t}):e.read().then(function(e){if(e.done){if(f===d)return u;if(f<d)return u.slice(0,f);for(var t=new Uint8Array(f),n=(t.set(u,0),h),r=0;r<c.length;++r)t.set(c[r],n),n+=c[r].length;return t}return f+e.value.length<=u.length?(u.set(e.value,f),h=f+e.value.length):c.push(e.value),f+=e.value.length,i({type:"progress",response:a,total:Math.max(d,f),loaded:f,lengthComputable:l,chunk:s?e.value:null}),o()})}().then(function(e){return i({type:"load",response:a,total:e.length,loaded:e.length,lengthComputable:l,chunk:null}),a.parsedBody=e,a})},c.fetchWithProgress=function(e,t){var n=function(){};return t&&t.onProgress&&(n=t.onProgress),fetch(e,t).then(function(e){return c.readBodyWithProgress(e,n,t.enableStreamingDownload)})},c.UnityCache=(s={name:"UnityCache",version:3},u={name:"RequestStore",version:1},f={name:"WebAssembly",version:1},h=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB,_.UnityCacheDatabase=s,_.RequestStore=u,_.WebAssemblyStore=f,b=null,_.getInstance=function(){return b=b||new _},_.destroyInstance=function(){return b?b.close().then(function(){b=null}):Promise.resolve()},_.clearCache=function(){return _.destroyInstance().then(function(){return new Promise(function(e,t){var n=h.deleteDatabase(s.name);n.onsuccess=function(){e()},n.onerror=function(){t(new Error("Could not delete database."))},n.onblocked=function(){t(new Error("Database blocked."))}})})},_.prototype.execute=function(a,i,s){return this.isConnected.then(function(){return new Promise(function(t,n){try{var e,r,o;null===this.database?n(new Error("indexedDB access denied")):(e=-1!=["put","delete","clear"].indexOf(i)?"readwrite":"readonly",r=this.database.transaction([a],e).objectStore(a),"openKeyCursor"==i&&(r=r.index(s[0]),s=s.slice(1)),(o=r[i].apply(r,s)).onsuccess=function(e){t(e.target.result)},o.onerror=function(e){n(e)})}catch(e){n(e)}}.bind(this))}.bind(this))},_.prototype.loadRequest=function(e){return this.execute(u.name,"get",[e])},_.prototype.storeRequest=function(e){return this.execute(u.name,"put",[e])},_.prototype.close=function(){return this.isConnected.then(function(){this.database&&(this.database.close(),this.database=null)}.bind(this))},_),c.cachedFetch=(m=c.UnityCache,g=m.RequestStore,p=c.fetchWithProgress,C.prototype.arrayBuffer=function(){return Promise.resolve(this.parsedBody.buffer)},C.prototype.blob=function(){return this.arrayBuffer().then(function(e){return new Blob([e])})},C.prototype.json=function(){return this.text().then(function(e){return JSON.parse(e)})},C.prototype.text=function(){var e=new TextDecoder;return Promise.resolve(e.decode(this.parsedBody))},function(r,o){var e,t,a=m.getInstance(),n=E("string"==typeof r?r:r.url),i={enabled:(e=n,(!(t=o)||!t.method||"GET"===t.method)&&((!t||-1!=["must-revalidate","immutable"].indexOf(t.control))&&!!e.match("^https?://")))};function s(e,t){return p(e,t).then(function(e){if(i.enabled&&!i.revalidated){if(304===e.status)return i.result.revalidated=i.result.accessed,i.revalidated=!0,a.storeRequest(i.result).then(function(){S("'"+i.result.url+"' successfully revalidated and served from the indexedDB cache")}).catch(function(e){S("'"+i.result.url+"' successfully revalidated but not stored in the indexedDB cache due to the error: "+e)}),new C(i.result.response);200==e.status?(i.result=B(e.url,i.company,i.product,i.accessed,e),i.revalidated=!0,a.storeRequest(i.result).then(function(){S("'"+i.result.url+"' successfully downloaded and stored in the indexedDB cache")}).catch(function(e){S("'"+i.result.url+"' successfully downloaded but not stored in the indexedDB cache due to the error: "+e)})):S("'"+i.result.url+"' request failed with status: "+e.status+" "+e.statusText)}return e})}function l(e){o&&o.onProgress&&(o.onProgress({type:"progress",total:e.parsedBody.length,loaded:e.parsedBody.length,lengthComputable:!0}),o.onProgress({type:"load",total:e.parsedBody.length,loaded:e.parsedBody.length,lengthComputable:!0}))}return o&&(i.control=o.control,i.company=o.company,i.product=o.product),i.result=B(n,i.company,i.product,Date.now()),i.revalidated=!1,i.enabled?a.loadRequest(i.result.url).then(function(e){if(!e||e.version!==g.version)return s(r,o);i.result=e,i.result.accessed=Date.now();var t,n=new C(i.result.response);return"immutable"==i.control?(i.revalidated=!0,a.storeRequest(i.result),S("'"+i.result.url+"' served from the indexedDB cache without revalidation"),l(n),n):(e=i.result.url,(t=window.location.href.match(/^[a-z]+:\/\/[^\/]+/))&&!e.lastIndexOf(t[0],0)||!n.headers.get("Last-Modified")&&!n.headers.get("ETag")?(e=(o=o||{}).headers||{},o.headers=e,n.headers.get("Last-Modified")?(e["If-Modified-Since"]=n.headers.get("Last-Modified"),e["Cache-Control"]="no-cache"):n.headers.get("ETag")&&(e["If-None-Match"]=n.headers.get("ETag"),e["Cache-Control"]="no-cache"),s(r,o)):fetch(i.result.url,{method:"HEAD"}).then(function(t){return i.revalidated=["Last-Modified","ETag"].every(function(e){return!n.headers.get(e)||n.headers.get(e)==t.headers.get(e)}),i.revalidated?(i.result.revalidated=i.result.accessed,a.storeRequest(i.result),S("'"+i.result.url+"' successfully revalidated and served from the indexedDB cache"),l(n),n):s(r,o)}))}).catch(function(e){return S("Failed to load '"+i.result.url+"' from indexedDB cache due to the error: "+e),p(r,o)}):p(r,o)});var U={gzip:{require:function(e){var t,n={"inflate.js":function(e,t,n){"use strict";var c=e("./zlib/inflate"),f=e("./utils/common"),h=e("./utils/strings"),b=e("./zlib/constants"),r=e("./zlib/messages"),o=e("./zlib/zstream"),a=e("./zlib/gzheader"),m=Object.prototype.toString;function i(e){if(!(this instanceof i))return new i(e);this.options=f.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;if(t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0,(e=c.inflateInit2(this.strm,t.windowBits))!==b.Z_OK)throw new Error(r[e]);this.header=new a,c.inflateGetHeader(this.strm,this.header)}function s(e,t){if((t=new i(t)).push(e,!0),t.err)throw t.msg||r[t.err];return t.result}i.prototype.push=function(e,t){var n,r,o,a,i,s=this.strm,l=this.options.chunkSize,d=this.options.dictionary,u=!1;if(this.ended)return!1;r=t===~~t?t:!0===t?b.Z_FINISH:b.Z_NO_FLUSH,"string"==typeof e?s.input=h.binstring2buf(e):"[object ArrayBuffer]"===m.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new f.Buf8(l),s.next_out=0,s.avail_out=l),(n=c.inflate(s,b.Z_NO_FLUSH))===b.Z_NEED_DICT&&d&&(i="string"==typeof d?h.string2buf(d):"[object ArrayBuffer]"===m.call(d)?new Uint8Array(d):d,n=c.inflateSetDictionary(this.strm,i)),n===b.Z_BUF_ERROR&&!0===u&&(n=b.Z_OK,u=!1),n!==b.Z_STREAM_END&&n!==b.Z_OK)return this.onEnd(n),!(this.ended=!0)}while(!s.next_out||0!==s.avail_out&&n!==b.Z_STREAM_END&&(0!==s.avail_in||r!==b.Z_FINISH&&r!==b.Z_SYNC_FLUSH)||("string"===this.options.to?(i=h.utf8border(s.output,s.next_out),o=s.next_out-i,a=h.buf2string(s.output,i),s.next_out=o,s.avail_out=l-o,o&&f.arraySet(s.output,s.output,i,o,0),this.onData(a)):this.onData(f.shrinkBuf(s.output,s.next_out))),0===s.avail_in&&0===s.avail_out&&(u=!0),(0<s.avail_in||0===s.avail_out)&&n!==b.Z_STREAM_END);return(r=n===b.Z_STREAM_END?b.Z_FINISH:r)===b.Z_FINISH?(n=c.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===b.Z_OK):r!==b.Z_SYNC_FLUSH||(this.onEnd(b.Z_OK),!(s.avail_out=0))},i.prototype.onData=function(e){this.chunks.push(e)},i.prototype.onEnd=function(e){e===b.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=f.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=i,n.inflate=s,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,s(e,t)},n.ungzip=s},"utils/common.js":function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array,o=(n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){if(e.length!==t){if(e.subarray)return e.subarray(0,t);e.length=t}return e},{arraySet:function(e,t,n,r,o){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),o);else for(var a=0;a<r;a++)e[o+a]=t[n+a]},flattenChunks:function(e){for(var t,n,r,o=0,a=0,i=e.length;a<i;a++)o+=e[a].length;for(r=new Uint8Array(o),a=t=0,i=e.length;a<i;a++)n=e[a],r.set(n,t),t+=n.length;return r}}),a={arraySet:function(e,t,n,r,o){for(var a=0;a<r;a++)e[o+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,o)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,a))},n.setTyped(r)},"utils/strings.js":function(e,t,n){"use strict";var l=e("./common"),o=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(e){o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){a=!1}for(var d=new l.Buf8(256),r=0;r<256;r++)d[r]=252<=r?6:248<=r?5:240<=r?4:224<=r?3:192<=r?2:1;function u(e,t){if(t<65537&&(e.subarray&&a||!e.subarray&&o))return String.fromCharCode.apply(null,l.shrinkBuf(e,t));for(var n="",r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n}d[254]=d[254]=1,n.string2buf=function(e){for(var t,n,r,o,a=e.length,i=0,s=0;s<a;s++)55296==(64512&(n=e.charCodeAt(s)))&&s+1<a&&56320==(64512&(r=e.charCodeAt(s+1)))&&(n=65536+(n-55296<<10)+(r-56320),s++),i+=n<128?1:n<2048?2:n<65536?3:4;for(t=new l.Buf8(i),s=o=0;o<i;s++)55296==(64512&(n=e.charCodeAt(s)))&&s+1<a&&56320==(64512&(r=e.charCodeAt(s+1)))&&(n=65536+(n-55296<<10)+(r-56320),s++),n<128?t[o++]=n:(n<2048?t[o++]=192|n>>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t},n.buf2binstring=function(e){return u(e,e.length)},n.binstring2buf=function(e){for(var t=new l.Buf8(e.length),n=0,r=t.length;n<r;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){for(var n,r,o=t||e.length,a=new Array(2*o),i=0,s=0;s<o;)if((n=e[s++])<128)a[i++]=n;else if(4<(r=d[n]))a[i++]=65533,s+=r-1;else{for(n&=2===r?31:3===r?15:7;1<r&&s<o;)n=n<<6|63&e[s++],r--;1<r?a[i++]=65533:n<65536?a[i++]=n:(n-=65536,a[i++]=55296|n>>10&1023,a[i++]=56320|1023&n)}return u(a,i)},n.utf8border=function(e,t){for(var n=(t=(t=t||e.length)>e.length?e.length:t)-1;0<=n&&128==(192&e[n]);)n--;return!(n<0)&&0!==n&&n+d[e[n]]>t?n:t}},"zlib/inflate.js":function(e,t,n){"use strict";var L=e("../utils/common"),O=e("./adler32"),I=e("./crc32"),A=e("./inffast"),P=e("./inftrees"),D=0,N=-2,z=1,r=852,o=592;function F(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function a(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new L.Buf16(320),this.work=new L.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function i(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=z,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new L.Buf32(r),t.distcode=t.distdyn=new L.Buf32(o),t.sane=1,t.back=-1,D):N}function s(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,i(e)):N}function l(e,t){var n,r;return!e||!e.state||(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t))?N:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,s(e))}function d(e,t){var n;return e?(n=new a,(e.state=n).window=null,(n=l(e,t))!==D&&(e.state=null),n):N}var Z,j,H=!0;function W(e,t,n,r){var o;return null===(e=e.state).window&&(e.wsize=1<<e.wbits,e.wnext=0,e.whave=0,e.window=new L.Buf8(e.wsize)),r>=e.wsize?(L.arraySet(e.window,t,n-e.wsize,e.wsize,0),e.wnext=0,e.whave=e.wsize):(r<(o=e.wsize-e.wnext)&&(o=r),L.arraySet(e.window,t,n-r,o,e.wnext),(r-=o)?(L.arraySet(e.window,t,n-r,r,0),e.wnext=r,e.whave=e.wsize):(e.wnext+=o,e.wnext===e.wsize&&(e.wnext=0),e.whave<e.wsize&&(e.whave+=o))),0}n.inflateReset=s,n.inflateReset2=l,n.inflateResetKeep=i,n.inflateInit=function(e){return d(e,15)},n.inflateInit2=d,n.inflate=function(e,t){var n,r,o,a,i,s,l,d,u,c,f,h,b,m,g,p,w,v,y,k,x,_,S,E,C=0,B=new L.Buf8(4),U=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return N;12===(n=e.state).mode&&(n.mode=13),i=e.next_out,o=e.output,l=e.avail_out,a=e.next_in,r=e.input,s=e.avail_in,d=n.hold,u=n.bits,c=s,f=l,_=D;e:for(;;)switch(n.mode){case z:if(0===n.wrap)n.mode=13;else{for(;u<16;){if(0===s)break e;s--,d+=r[a++]<<u,u+=8}if(2&n.wrap&&35615===d)B[n.check=0]=255&d,B[1]=d>>>8&255,n.check=I(n.check,B,2,0),u=d=0,n.mode=2;else if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&d)<<8)+(d>>8))%31)e.msg="incorrect header check",n.mode=30;else if(8!=(15&d))e.msg="unknown compression method",n.mode=30;else{if(u-=4,x=8+(15&(d>>>=4)),0===n.wbits)n.wbits=x;else if(x>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<x,e.adler=n.check=1,n.mode=512&d?10:12,u=d=0}}break;case 2:for(;u<16;){if(0===s)break e;s--,d+=r[a++]<<u,u+=8}if(n.flags=d,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=d>>8&1),512&n.flags&&(B[0]=255&d,B[1]=d>>>8&255,n.check=I(n.check,B,2,0)),u=d=0,n.mode=3;case 3:for(;u<32;){if(0===s)break e;s--,d+=r[a++]<<u,u+=8}n.head&&(n.head.time=d),512&n.flags&&(B[0]=255&d,B[1]=d>>>8&255,B[2]=d>>>16&255,B[3]=d>>>24&255,n.check=I(n.check,B,4,0)),u=d=0,n.mode=4;case 4:for(;u<16;){if(0===s)break e;s--,d+=r[a++]<<u,u+=8}n.head&&(n.head.xflags=255&d,n.head.os=d>>8),512&n.flags&&(B[0]=255&d,B[1]=d>>>8&255,n.check=I(n.check,B,2,0)),u=d=0,n.mode=5;case 5:if(1024&n.flags){for(;u<16;){if(0===s)break e;s--,d+=r[a++]<<u,u+=8}n.length=d,n.head&&(n.head.extra_len=d),512&n.flags&&(B[0]=255&d,B[1]=d>>>8&255,n.check=I(n.check,B,2,0)),u=d=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((h=s<(h=n.length)?s:h)&&(n.head&&(x=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),L.arraySet(n.head.extra,r,a,h,x)),512&n.flags&&(n.check=I(n.check,r,h,a)),s-=h,a+=h,n.length-=h),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===s)break e;for(h=0;x=r[a+h++],n.head&&x&&n.length<65536&&(n.head.name+=String.fromCharCode(x)),x&&h<s;);if(512&n.flags&&(n.check=I(n.check,r,h,a)),s-=h,a+=h,x)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===s)break e;for(h=0;x=r[a+h++],n.head&&x&&n.length<65536&&(n.head.comment+=String.fromCharCode(x)),x&&h<s;);if(512&n.flags&&(n.check=I(n.check,r,h,a)),s-=h,a+=h,x)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;u<16;){if(0===s)break e;s--,d+=r[a++]<<u,u+=8}if(d!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}u=d=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;u<32;){if(0===s)break e;s--,d+=r[a++]<<u,u+=8}e.adler=n.check=F(d),u=d=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=i,e.avail_out=l,e.next_in=a,e.avail_in=s,n.hold=d,n.bits=u,2;e.adler=n.check=1,n.mode=12;case 12:if(5===t||6===t)break e;case 13:if(n.last)d>>>=7&u,u-=7&u,n.mode=27;else{for(;u<3;){if(0===s)break e;s--,d+=r[a++]<<u,u+=8}switch(n.last=1&d,--u,3&(d>>>=1)){case 0:n.mode=14;break;case 1:var T,T=R=void 0,R=n;if(H){for(Z=new L.Buf32(512),j=new L.Buf32(32),T=0;T<144;)R.lens[T++]=8;for(;T<256;)R.lens[T++]=9;for(;T<280;)R.lens[T++]=7;for(;T<288;)R.lens[T++]=8;for(P(1,R.lens,0,288,Z,0,R.work,{bits:9}),T=0;T<32;)R.lens[T++]=5;P(2,R.lens,0,32,j,0,R.work,{bits:5}),H=!1}if(R.lencode=Z,R.lenbits=9,R.distcode=j,R.distbits=5,n.mode=20,6!==t)break;d>>>=2,u-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}d>>>=2,u-=2}break;case 14:for(d>>>=7&u,u-=7&u;u<32;){if(0===s)break e;s--,d+=r[a++]<<u,u+=8}if((65535&d)!=(d>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&d,u=d=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(h=n.length){if(0===(h=l<(h=s<h?s:h)?l:h))break e;L.arraySet(o,r,a,h,i),s-=h,a+=h,l-=h,i+=h,n.length-=h}else n.mode=12;break;case 17:for(;u<14;){if(0===s)break e;s--,d+=r[a++]<<u,u+=8}if(n.nlen=257+(31&d),d>>>=5,u-=5,n.ndist=1+(31&d),d>>>=5,u-=5,n.ncode=4+(15&d),d>>>=4,u-=4,286<n.nlen||30<n.ndist){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;u<3;){if(0===s)break e;s--,d+=r[a++]<<u,u+=8}n.lens[U[n.have++]]=7&d,d>>>=3,u-=3}for(;n.have<19;)n.lens[U[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,S={bits:n.lenbits},_=P(0,n.lens,0,19,n.lencode,0,n.work,S),n.lenbits=S.bits,_){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;p=(C=n.lencode[d&(1<<n.lenbits)-1])>>>16&255,w=65535&C,!((g=C>>>24)<=u);){if(0===s)break e;s--,d+=r[a++]<<u,u+=8}if(w<16)d>>>=g,u-=g,n.lens[n.have++]=w;else{if(16===w){for(E=g+2;u<E;){if(0===s)break e;s--,d+=r[a++]<<u,u+=8}if(d>>>=g,u-=g,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}x=n.lens[n.have-1],h=3+(3&d),d>>>=2,u-=2}else if(17===w){for(E=g+3;u<E;){if(0===s)break e;s--,d+=r[a++]<<u,u+=8}x=0,h=3+(7&(d>>>=g)),d>>>=3,u=u-g-3}else{for(E=g+7;u<E;){if(0===s)break e;s--,d+=r[a++]<<u,u+=8}x=0,h=11+(127&(d>>>=g)),d>>>=7,u=u-g-7}if(n.have+h>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;h--;)n.lens[n.have++]=x}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,S={bits:n.lenbits},_=P(1,n.lens,0,n.nlen,n.lencode,0,n.work,S),n.lenbits=S.bits,_){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,S={bits:n.distbits},_=P(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,S),n.distbits=S.bits,_){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=s&&258<=l){e.next_out=i,e.avail_out=l,e.next_in=a,e.avail_in=s,n.hold=d,n.bits=u,A(e,f),i=e.next_out,o=e.output,l=e.avail_out,a=e.next_in,r=e.input,s=e.avail_in,d=n.hold,u=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;p=(C=n.lencode[d&(1<<n.lenbits)-1])>>>16&255,w=65535&C,!((g=C>>>24)<=u);){if(0===s)break e;s--,d+=r[a++]<<u,u+=8}if(p&&0==(240&p)){for(v=g,y=p,k=w;p=(C=n.lencode[k+((d&(1<<v+y)-1)>>v)])>>>16&255,w=65535&C,!(v+(g=C>>>24)<=u);){if(0===s)break e;s--,d+=r[a++]<<u,u+=8}d>>>=v,u-=v,n.back+=v}if(d>>>=g,u-=g,n.back+=g,n.length=w,0===p){n.mode=26;break}if(32&p){n.back=-1,n.mode=12;break}if(64&p){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&p,n.mode=22;case 22:if(n.extra){for(E=n.extra;u<E;){if(0===s)break e;s--,d+=r[a++]<<u,u+=8}n.length+=d&(1<<n.extra)-1,d>>>=n.extra,u-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;p=(C=n.distcode[d&(1<<n.distbits)-1])>>>16&255,w=65535&C,!((g=C>>>24)<=u);){if(0===s)break e;s--,d+=r[a++]<<u,u+=8}if(0==(240&p)){for(v=g,y=p,k=w;p=(C=n.distcode[k+((d&(1<<v+y)-1)>>v)])>>>16&255,w=65535&C,!(v+(g=C>>>24)<=u);){if(0===s)break e;s--,d+=r[a++]<<u,u+=8}d>>>=v,u-=v,n.back+=v}if(d>>>=g,u-=g,n.back+=g,64&p){e.msg="invalid distance code",n.mode=30;break}n.offset=w,n.extra=15&p,n.mode=24;case 24:if(n.extra){for(E=n.extra;u<E;){if(0===s)break e;s--,d+=r[a++]<<u,u+=8}n.offset+=d&(1<<n.extra)-1,d>>>=n.extra,u-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===l)break e;if(n.offset>(h=f-l)){if((h=n.offset-h)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}b=h>n.wnext?(h-=n.wnext,n.wsize-h):n.wnext-h,h>n.length&&(h=n.length),m=n.window}else m=o,b=i-n.offset,h=n.length;for(l-=h=l<h?l:h,n.length-=h;o[i++]=m[b++],--h;);0===n.length&&(n.mode=21);break;case 26:if(0===l)break e;o[i++]=n.length,l--,n.mode=21;break;case 27:if(n.wrap){for(;u<32;){if(0===s)break e;s--,d|=r[a++]<<u,u+=8}if(f-=l,e.total_out+=f,n.total+=f,f&&(e.adler=n.check=(n.flags?I:O)(n.check,o,f,i-f)),f=l,(n.flags?d:F(d))!==n.check){e.msg="incorrect data check",n.mode=30;break}u=d=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;u<32;){if(0===s)break e;s--,d+=r[a++]<<u,u+=8}if(d!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}u=d=0}n.mode=29;case 29:_=1;break e;case 30:_=-3;break e;case 31:return-4;default:return N}return e.next_out=i,e.avail_out=l,e.next_in=a,e.avail_in=s,n.hold=d,n.bits=u,(n.wsize||f!==e.avail_out&&n.mode<30&&(n.mode<27||4!==t))&&W(e,e.output,e.next_out,f-e.avail_out)?(n.mode=31,-4):(c-=e.avail_in,f-=e.avail_out,e.total_in+=c,e.total_out+=f,n.total+=f,n.wrap&&f&&(e.adler=n.check=(n.flags?I:O)(n.check,o,f,e.next_out-f)),e.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0==c&&0===f||4===t)&&_===D?-5:_)},n.inflateEnd=function(e){var t;return e&&e.state?((t=e.state).window&&(t.window=null),e.state=null,D):N},n.inflateGetHeader=function(e,t){return e&&e.state&&0!=(2&(e=e.state).wrap)?((e.head=t).done=!1,D):N},n.inflateSetDictionary=function(e,t){var n,r=t.length;return!e||!e.state||0!==(n=e.state).wrap&&11!==n.mode?N:11===n.mode&&O(1,t,r,0)!==n.check?-3:W(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,D)},n.inflateInfo="pako inflate (from Nodeca project)"},"zlib/constants.js":function(e,t,n){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},"zlib/messages.js":function(e,t,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},"zlib/zstream.js":function(e,t,n){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},"zlib/gzheader.js":function(e,t,n){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},"zlib/adler32.js":function(e,t,n){"use strict";t.exports=function(e,t,n,r){for(var o=65535&e|0,a=e>>>16&65535|0,i=0;0!==n;){for(n-=i=2e3<n?2e3:n;a=a+(o=o+t[r++]|0)|0,--i;);o%=65521,a%=65521}return o|a<<16|0}},"zlib/crc32.js":function(e,t,n){"use strict";var s=function(){for(var e=[],t=0;t<256;t++){for(var n=t,r=0;r<8;r++)n=1&n?3988292384^n>>>1:n>>>1;e[t]=n}return e}();t.exports=function(e,t,n,r){var o=s,a=r+n;e^=-1;for(var i=r;i<a;i++)e=e>>>8^o[255&(e^t[i])];return-1^e}},"zlib/inffast.js":function(e,t,n){"use strict";t.exports=function(e,t){var n,r,o,a,i,s,l=e.state,d=e.next_in,u=e.input,c=d+(e.avail_in-5),f=e.next_out,h=e.output,b=f-(t-e.avail_out),m=f+(e.avail_out-257),g=l.dmax,p=l.wsize,w=l.whave,v=l.wnext,y=l.window,k=l.hold,x=l.bits,_=l.lencode,S=l.distcode,E=(1<<l.lenbits)-1,C=(1<<l.distbits)-1;e:do{for(x<15&&(k+=u[d++]<<x,x+=8,k+=u[d++]<<x,x+=8),n=_[k&E];;){if(k>>>=r=n>>>24,x-=r,0==(r=n>>>16&255))h[f++]=65535&n;else{if(!(16&r)){if(0==(64&r)){n=_[(65535&n)+(k&(1<<r)-1)];continue}if(32&r){l.mode=12;break e}e.msg="invalid literal/length code",l.mode=30;break e}for(o=65535&n,(r&=15)&&(x<r&&(k+=u[d++]<<x,x+=8),o+=k&(1<<r)-1,k>>>=r,x-=r),x<15&&(k+=u[d++]<<x,x+=8,k+=u[d++]<<x,x+=8),n=S[k&C];;){if(k>>>=r=n>>>24,x-=r,!(16&(r=n>>>16&255))){if(0==(64&r)){n=S[(65535&n)+(k&(1<<r)-1)];continue}e.msg="invalid distance code",l.mode=30;break e}if(a=65535&n,x<(r&=15)&&(k+=u[d++]<<x,(x+=8)<r&&(k+=u[d++]<<x,x+=8)),g<(a+=k&(1<<r)-1)){e.msg="invalid distance too far back",l.mode=30;break e}if(k>>>=r,x-=r,(r=f-b)<a){if(w<(r=a-r)&&l.sane){e.msg="invalid distance too far back",l.mode=30;break e}if(s=y,(i=0)===v){if(i+=p-r,r<o){for(o-=r;h[f++]=y[i++],--r;);i=f-a,s=h}}else if(v<r){if(i+=p+v-r,(r-=v)<o){for(o-=r;h[f++]=y[i++],--r;);if(i=0,v<o){for(o-=r=v;h[f++]=y[i++],--r;);i=f-a,s=h}}}else if(i+=v-r,r<o){for(o-=r;h[f++]=y[i++],--r;);i=f-a,s=h}for(;2<o;)h[f++]=s[i++],h[f++]=s[i++],h[f++]=s[i++],o-=3;o&&(h[f++]=s[i++],1<o&&(h[f++]=s[i++]))}else{for(i=f-a;h[f++]=h[i++],h[f++]=h[i++],h[f++]=h[i++],2<(o-=3););o&&(h[f++]=h[i++],1<o&&(h[f++]=h[i++]))}break}}break}}while(d<c&&f<m);k&=(1<<(x-=(o=x>>3)<<3))-1,e.next_in=d-=o,e.next_out=f,e.avail_in=d<c?c-d+5:5-(d-c),e.avail_out=f<m?m-f+257:257-(f-m),l.hold=k,l.bits=x}},"zlib/inftrees.js":function(e,t,n){"use strict";var A=e("../utils/common"),P=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],D=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],N=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],z=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,r,o,a,i,s){for(var l,d,u,c,f,h,b,m,g,p=s.bits,w=0,v=0,y=0,k=0,x=0,_=0,S=0,E=0,C=0,B=0,U=null,T=0,R=new A.Buf16(16),L=new A.Buf16(16),O=null,I=0,w=0;w<=15;w++)R[w]=0;for(v=0;v<r;v++)R[t[n+v]]++;for(x=p,k=15;1<=k&&0===R[k];k--);if(k<x&&(x=k),0===k)o[a++]=20971520,o[a++]=20971520,s.bits=1;else{for(y=1;y<k&&0===R[y];y++);for(x<y&&(x=y),w=E=1;w<=15;w++)if((E=(E<<=1)-R[w])<0)return-1;if(0<E&&(0===e||1!==k))return-1;for(L[1]=0,w=1;w<15;w++)L[w+1]=L[w]+R[w];for(v=0;v<r;v++)0!==t[n+v]&&(i[L[t[n+v]]++]=v);if(h=0===e?(U=O=i,19):1===e?(U=P,T-=257,O=D,I-=257,256):(U=N,O=z,-1),w=y,f=a,S=v=B=0,u=-1,c=(C=1<<(_=x))-1,1===e&&852<C||2===e&&592<C)return 1;for(;;){for(g=i[v]<h?(m=0,i[v]):i[v]>h?(m=O[I+i[v]],U[T+i[v]]):(m=96,0),l=1<<(b=w-S),y=d=1<<_;o[f+(B>>S)+(d-=l)]=b<<24|m<<16|g|0,0!==d;);for(l=1<<w-1;B&l;)l>>=1;if(B=0!==l?(B&l-1)+l:0,v++,0==--R[w]){if(w===k)break;w=t[n+i[v]]}if(x<w&&(B&c)!==u){for(f+=y,E=1<<(_=w-(S=0===S?x:S));_+S<k&&!((E-=R[_+S])<=0);)_++,E<<=1;if(C+=1<<_,1===e&&852<C||2===e&&592<C)return 1;o[u=B&c]=x<<24|_<<16|f-a|0}}0!==B&&(o[f+B]=w-S<<24|64<<16|0),s.bits=x}return 0}}};for(t in n)n[t].folder=t.substring(0,t.lastIndexOf("/")+1);function r(e,t){var n=t.match(/^\//)?null:e?t.match(/^\.\.?\//)?o(e.folder+t):a(e,t):o(t);if(n)return n.exports||(n.parent=e,n(r.bind(null,n),n,n.exports={})),n.exports;throw"module not found: "+t}var o=function(e){var t=[];return(e=e.split("/").every(function(e){return".."==e?t.pop():"."==e||""==e||t.push(e)})?t.join("/"):null)?n[e]||n[e+".js"]||n[e+"/index.js"]:null},a=function(e,t){return e?o(e.folder+"node_modules/"+t)||a(e.parent,t):null};return r(null,e)},decompress:function(e){this.exports||(this.exports=this.require("inflate.js"));try{return this.exports.inflate(e)}catch(e){}},hasUnityMarker:function(e){var t=10,n="UnityWeb Compressed Content (gzip)";if(t>e.length||31!=e[0]||139!=e[1])return!1;var r=e[3];if(4&r){if(t+2>e.length)return!1;if((t+=2+e[t]+(e[t+1]<<8))>e.length)return!1}if(8&r){for(;t<e.length&&e[t];)t++;if(t+1>e.length)return!1;t++}return 16&r&&String.fromCharCode.apply(null,e.subarray(t,t+n.length+1))==n+"\0"}}};function T(n){x(n);var e=c.cacheControl(c[n]),t=c.companyName&&c.productName?c.cachedFetch:c.fetchWithProgress,r=c[n],r=/file:\/\//.exec(r)?"same-origin":void 0;return t(c[n],{method:"GET",companyName:c.companyName,productName:c.productName,control:e,mode:r,onProgress:function(e){x(n,e)}}).then(function(e){return i=e.parsedBody,s=c[n],new Promise(function(e,t){try{for(var n in U){var r,o,a;if(U[n].hasUnityMarker(i))return s&&console.log('You can reduce startup time if you configure your web server to add "Content-Encoding: '+n+'" response header when serving "'+s+'" file.'),(r=U[n]).worker||(o=URL.createObjectURL(new Blob(["this.require = ",r.require.toString(),"; this.decompress = ",r.decompress.toString(),"; this.onmessage = ",function(e){e={id:e.data.id,decompressed:this.decompress(e.data.compressed)};postMessage(e,e.decompressed?[e.decompressed.buffer]:[])}.toString(),"; postMessage({ ready: true });"],{type:"application/javascript"})),r.worker=new Worker(o),r.worker.onmessage=function(e){e.data.ready?URL.revokeObjectURL(o):(this.callbacks[e.data.id](e.data.decompressed),delete this.callbacks[e.data.id])},r.worker.callbacks={},r.worker.nextCallbackId=0),a=r.worker.nextCallbackId++,r.worker.callbacks[a]=e,void r.worker.postMessage({id:a,compressed:i},[i.buffer])}e(i)}catch(e){t(e)}});var i,s}).catch(function(e){var t="Failed to download file "+c[n];"file:"==location.protocol?d(t+". Loading web pages via a file:// URL without a web server is not supported by this browser. Please use a local development web server to host Unity content, or use the Unity Build and Run option.","error"):console.error(t)})}function R(){Promise.all([T("frameworkUrl").then(function(e){var s=URL.createObjectURL(new Blob([e],{type:"application/javascript"}));return new Promise(function(a,e){var i=document.createElement("script");i.src=s,i.onload=function(){if("undefined"==typeof unityFramework||!unityFramework){var e,t=[["br","br"],["gz","gzip"]];for(e in t){var n,r=t[e];if(c.frameworkUrl.endsWith("."+r[0]))return n="Unable to parse "+c.frameworkUrl+"!","file:"==location.protocol?void d(n+" Loading pre-compressed (brotli or gzip) content via a file:// URL without a web server is not supported by this browser. Please use a local development web server to host compressed Unity content, or use the Unity Build and Run option.","error"):(n+=' This can happen if build compression was enabled but web server hosting the content was misconfigured to not serve the file with HTTP Response Header "Content-Encoding: '+r[1]+'" present. Check browser Console and Devtools Network tab to debug.',"br"==r[0]&&"http:"==location.protocol&&(r=-1!=["localhost","127.0.0.1"].indexOf(location.hostname)?"":"Migrate your server to use HTTPS.",n=/Firefox/.test(navigator.userAgent)?"Unable to parse "+c.frameworkUrl+'!<br>If using custom web server, verify that web server is sending .br files with HTTP Response Header "Content-Encoding: br". Brotli compression may not be supported in Firefox over HTTP connections. '+r+' See <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1670675">https://bugzilla.mozilla.org/show_bug.cgi?id=1670675</a> for more information.':"Unable to parse "+c.frameworkUrl+'!<br>If using custom web server, verify that web server is sending .br files with HTTP Response Header "Content-Encoding: br". Brotli compression may not be supported over HTTP connections. Migrate your server to use HTTPS.'),void d(n,"error"))}d("Unable to parse "+c.frameworkUrl+"! The file is corrupt, or compression was misconfigured? (check Content-Encoding HTTP Response Header on web server)","error")}var o=unityFramework;unityFramework=null,i.onload=null,URL.revokeObjectURL(s),a(o)},i.onerror=function(e){d("Unable to load file "+c.frameworkUrl+"! Check that the file exists on the remote server. (also check browser Console and Devtools Network tab to debug)","error")},document.body.appendChild(i),c.deinitializers.push(function(){document.body.removeChild(i)})})}),T("codeUrl")]).then(function(e){c.wasmBinary=e[1],e[0](c)});var e=T("dataUrl");c.preRun.push(function(){c.addRunDependency("dataUrl"),e.then(function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),n=0,r="UnityWebData1.0\0";if(!String.fromCharCode.apply(null,e.subarray(n,n+r.length))==r)throw"unknown data format";var o=t.getUint32(n+=r.length,!0);for(n+=4;n<o;){var a=t.getUint32(n,!0),i=(n+=4,t.getUint32(n,!0)),s=(n+=4,t.getUint32(n,!0)),l=(n+=4,String.fromCharCode.apply(null,e.subarray(n,n+s)));n+=s;for(var d=0,u=l.indexOf("/",d)+1;0<u;d=u,u=l.indexOf("/",d)+1)c.FS_createPath(l.substring(0,d),l.substring(d,u-1),!0,!0);c.FS_createDataFile(l,null,e.subarray(a,a+i),!0,!0,!0)}c.removeRunDependency("dataUrl")})})}return new Promise(function(e,t){c.SystemInfo.hasWebGL?1==c.SystemInfo.hasWebGL?t('Your browser does not support graphics API "WebGL 2" which is required for this content.'):c.SystemInfo.hasWasm?(1==c.SystemInfo.hasWebGL&&c.print('Warning: Your browser does not support "WebGL 2" Graphics API, switching to "WebGL 1"'),c.startupErrorHandler=t,l(0),c.postRun.push(function(){l(1),delete c.startupErrorHandler,e(y)}),R()):t("Your browser does not support WebAssembly."):t("Your browser does not support WebGL.")})}\ No newline at end of filediff --git a/frontend/public/unity/Build/wms.wasm.unityweb b/frontend/public/unity/Build/wms.wasm.unitywebnew file mode 100644index 0000000..a1df378Binary files /dev/null and b/frontend/public/unity/Build/wms.wasm.unityweb differdiff --git a/frontend/public/unity/index.html b/frontend/public/unity/index.htmlnew file mode 100644index 0000000..4d6d909--- /dev/null+++ b/frontend/public/unity/index.html@@ -0,0 +1,199 @@+<!DOCTYPE html>+<html lang="en-us">+<head>+ <meta charset="utf-8">+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type">+ <title>WMS</title>+</head>+<style>+ html {+ height: 100%;+ }++ body {+ padding: 0;+ margin: 0;+ width: 100%;+ height: 100%;+ overflow: hidden;+ }++ ::-webkit-scrollbar {+ display: none !important; /* Chrome Safari */+ }+</style>+<body>+<div id="unity-container" class="unity-desktop" style="width: 100%;height: 100%;overflow: hidden">+ <canvas id="unity-canvas" style="width: 100%;height: 100%;overflow: hidden"></canvas>+ <div id="unity-loading-bar">+ <div id="unity-logo"></div>+ <div id="unity-progress-bar-empty">+ <div id="unity-progress-bar-full"></div>+ </div>+ </div>+ <!-- <div id='unity-warning'></div>-->+ <!-- <div id="unity-footer">-->+ <!-- <div id="unity-webgl-logo"></div>-->+ <!-- <div id="unity-fullscreen-button"></div>-->+ <!-- <div id="unity-build-title">My project</div>-->+ <!-- </div>-->+</div>+<script>+ var container = document.querySelector('#unity-container')+ var canvas = document.querySelector('#unity-canvas')+ var loadingBar = document.querySelector('#unity-loading-bar')+ var progressBarFull = document.querySelector('#unity-progress-bar-full')+ var fullscreenButton = document.querySelector('#unity-fullscreen-button')+ var warningBanner = document.querySelector('#unity-warning')++ // Shows a temporary message banner/ribbon for a few seconds, or+ // a permanent error message on top of the canvas if type=='error'.+ // If type=='warning', a yellow highlight color is used.+ // Modify or remove this function to customize the visually presented+ // way that non-critical warnings and error messages are presented to the+ // user.+ function unityShowBanner(msg, type) {+ function updateBannerVisibility() {+ warningBanner.style.display = warningBanner.children.length ? 'block' : 'none'+ }++ var div = document.createElement('div')+ div.innerHTML = msg+ warningBanner.appendChild(div)+ if (type == 'error') {+ div.style = 'background: red; padding: 10px;'+ } else {+ if (type == 'warning') div.style = 'background: yellow; padding: 10px;'+ setTimeout(function () {+ warningBanner.removeChild(div)+ updateBannerVisibility()+ }, 5000)+ }+ updateBannerVisibility()+ }++ var buildUrl = 'Build'+ var loaderUrl = buildUrl + '/wms.loader.js'+ var config = {+ dataUrl: buildUrl + '/wms.data.unityweb',+ frameworkUrl: buildUrl + '/wms.framework.js.unityweb',+ codeUrl: buildUrl + '/wms.wasm.unityweb',+ streamingAssetsUrl: 'StreamingAssets',+ companyName: 'DefaultCompany',+ productName: 'My project',+ productVersion: '0.1',+ showBanner: unityShowBanner+ }++ // By default Unity keeps WebGL canvas render target size matched with+ // the DOM size of the canvas element (scaled by window.devicePixelRatio)+ // Set this to false if you want to decouple this synchronization from+ // happening inside the engine, and you would instead like to size up+ // the canvas DOM size and WebGL render target sizes yourself.+ // config.matchWebGLToCanvasSize = false;++ if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) {+ // Mobile device style: fill the whole browser client area with the game canvas:++ var meta = document.createElement('meta')+ meta.name = 'viewport'+ meta.content = 'width=device-width, height=device-height, initial-scale=1.0, user-scalable=no, shrink-to-fit=yes'+ document.getElementsByTagName('head')[0].appendChild(meta)+ container.className = 'unity-mobile'+ canvas.className = 'unity-mobile'++ // To lower canvas resolution on mobile devices to gain some+ // performance, uncomment the following line:+ // config.devicePixelRatio = 1;++ unityShowBanner('WebGL builds are not supported on mobile devices.')+ } else {+ // Desktop style: Render the game canvas in a window that can be maximized to fullscreen:++ canvas.style.width = '100%'+ canvas.style.height = '100%'+ }++ loadingBar.style.display = 'block'++ var script = document.createElement('script')+ script.src = loaderUrl+ var WMSUnityInstance+ script.onload = () => {+ let timer = null;+ createUnityInstance(canvas, config, (progress) => {+ if (!timer) {+ timer = setTimeout(() => {+ LoadingProgress(progress)+ timer = null;+ }, 500);+ }+ })+ .then((unityInstance) => {+ loadingBar.style.display = 'none'+ WMSUnityInstance = unityInstance+ LoadSuccess()+ })+ .catch((message) => {+ alert(message)+ })+ }+ document.body.appendChild(script)++ function LoadingProgress(progress) {+ console.log(progress)+ window.parent.postMessage({+ guid: progress,+ event: 'loadingProgress'+ }, '*')+ }++ function LoadSuccess() {+ window.parent.postMessage({+ guid: 'loadSuccess',+ event: 'loadSuccess'+ }, '*')+ }++ function SendStart(s) {+ window.parent.postMessage({+ guid: s,+ event: 'start'+ }, '*')+ }++ function SendFinish(s) {+ window.parent.postMessage({+ guid: s,+ event: 'finish'+ }, '*')+ }++ function SendSelectBreak() {+ window.parent.postMessage({+ guid: 'selectBreak',+ event: 'selectBreak'+ }, '*')+ }++ function SendSelectFactory(s) {+ window.parent.postMessage({+ guid: s,+ event: 'select'+ }, '*')+ }++ window.parent.addEventListener('message', function (e) {+ if (e.data.event === 'sendData') {+ WMSUnityInstance.SendMessage('Init', 'CreateArea', e.data.guid)+ }+ if (e.data.event === 'selectShelfItem') {+ WMSUnityInstance.SendMessage('Init', 'MoveToProduct', e.data.guid)+ }+ if (e.data.event === 'returnToUpper') {+ WMSUnityInstance.SendMessage('Init', 'ReturnToUpper', e.data.guid)+ }+ })+</script>+</body>+</html>diff --git a/frontend/readme.txt b/frontend/readme.txtnew file mode 100644index 0000000..e69de29diff --git a/frontend/script.d.ts b/frontend/script.d.tsnew file mode 100644index 0000000..2bf9fb5--- /dev/null+++ b/frontend/script.d.ts@@ -0,0 +1 @@+declare module 'vue3-print-nb'\ No newline at end of filediff --git a/frontend/src/App.vue b/frontend/src/App.vuenew file mode 100644index 0000000..d0b4801--- /dev/null+++ b/frontend/src/App.vue@@ -0,0 +1,83 @@+<template>+ <div class="appViewContainer">+ <v-dialog v-model="loadingFlag" :scrim="false" persistent max-width="200">+ <v-card color="primary">+ <v-card-text>+ Loading...+ <v-progress-linear indeterminate color="white"></v-progress-linear>+ </v-card-text>+ </v-card>+ </v-dialog>+ <div v-show="loadingFlag" class="mask"></div>+ <router-view v-if="data.isShow"></router-view>+ </div>+</template>++<script setup lang="ts">+import { reactive, nextTick, onMounted, ref, computed, watch } from 'vue'+import { emitter } from './utils/bus'+import { store } from './store'++const loadingFlag = ref(false)++const data = reactive({+ isShow: true // Used to refresh the interface when switching languages+})++const method = reactive({+ refreshSystem: () => {+ data.isShow = false+ nextTick(() => {+ data.isShow = true+ store.commit('system/setRefreshFlag', false)+ })+ },+ getClientSize: () => {+ const clientHeight = document.documentElement.clientHeight+ const clientWidth = document.documentElement.clientWidth+ store.commit('system/setClientHeight', clientHeight)+ store.commit('system/setClientWidth', clientWidth)+ }+})++const refreshFlag = computed(() => store.getters['system/refreshFlag'])++watch(+ () => refreshFlag.value,+ (flag) => {+ if (flag) {+ method.refreshSystem()+ }+ }+)++onMounted(() => {+ emitter.on('showLoading', () => {+ loadingFlag.value = true+ })+ emitter.on('closeLoading', () => {+ loadingFlag.value = false+ })++ method.getClientSize()++ window.onresize = function () {+ method.getClientSize()+ }+})+</script>++<style scoped>+.appViewContainer {+ height: 100%;+ width: 100%;+ background-color: #f4f5fa;+}++.mask {+ position: absolute;+ z-index: 9999;+ width: 100vw;+ height: 100vh;+}+</style>diff --git a/frontend/src/api/base/commodityCategorySetting.ts b/frontend/src/api/base/commodityCategorySetting.tsnew file mode 100644index 0000000..0fa6cd9--- /dev/null+++ b/frontend/src/api/base/commodityCategorySetting.ts@@ -0,0 +1,31 @@+import http from '@/utils/http/request'+import { CategoryVO } from '@/types/Base/CommodityCategorySetting'++// Get all+export const getCategoryAll = () => http({+ url: '/category/all',+ method: 'get'+ })++// Add a new form+export const addCategory = (data: CategoryVO) => http({+ url: '/category',+ method: 'post',+ data+ })++// Update form+export const updateCategory = (data: CategoryVO) => http({+ url: '/category',+ method: 'put',+ data+ })++// Delete form+export const deleteCategory = (id: number) => http({+ url: '/category',+ method: 'delete',+ params: {+ id+ }+ })diff --git a/frontend/src/api/base/commodityManagementSetting.ts b/frontend/src/api/base/commodityManagementSetting.tsnew file mode 100644index 0000000..350383e--- /dev/null+++ b/frontend/src/api/base/commodityManagementSetting.ts@@ -0,0 +1,40 @@+import http from '@/utils/http/request'+import { PageConfigProps } from '@/types/System/Form'+import { CommodityVO, UpdateSaftyStockReqBodyVO } from '@/types/Base/CommodityManagement'++// Find Data by Pagination+export const getSpuList = (data: PageConfigProps) => http({+ url: '/spu/list',+ method: 'post',+ data+ })++// Add a new form+export const addSpu = (data: CommodityVO) => http({+ url: '/spu',+ method: 'post',+ data+ })++// Update form+export const updateSpu = (data: CommodityVO) => http({+ url: '/spu',+ method: 'put',+ data+ })++// Delete form+export const deleteSpu = (id: number) => http({+ url: '/spu',+ method: 'delete',+ params: {+ id+ }+ })++// Update safety stock+export const updateSaftyStock = (data: { sku_id: number; detailList: UpdateSaftyStockReqBodyVO[] }) => http({+ url: '/spu/sku-safety-stock',+ method: 'put',+ data+ })diff --git a/frontend/src/api/base/companySetting.ts b/frontend/src/api/base/companySetting.tsnew file mode 100644index 0000000..9bc8a3b--- /dev/null+++ b/frontend/src/api/base/companySetting.ts@@ -0,0 +1,31 @@+import http from '@/utils/http/request'+import { CompanyVO } from '@/types/Base/CompanySetting'++// Get all+export const getCompanyAll = () => http({+ url: '/company/all',+ method: 'get'+ })++// Add a new form+export const addCompany = (data: CompanyVO) => http({+ url: '/company',+ method: 'post',+ data+ })++// Update form+export const updateCompany = (data: CompanyVO) => http({+ url: '/company',+ method: 'put',+ data+ })++// Delete form+export const deleteCompany = (id: number) => http({+ url: '/company',+ method: 'delete',+ params: {+ id+ }+ })diff --git a/frontend/src/api/base/customer.ts b/frontend/src/api/base/customer.tsnew file mode 100644index 0000000..1efaa15--- /dev/null+++ b/frontend/src/api/base/customer.ts@@ -0,0 +1,46 @@+import http from '@/utils/http/request'+import { PageConfigProps } from '@/types/System/Form'+import { CustomerVO, CustomerExcelVO } from '@/types/Base/Customer'++// Get all+export const getCustomerAll = () => http({+ url: '/customer/all',+ method: 'get'+ })++// Find Data by Pagination+export const getCustomerList = (data: PageConfigProps) => http({+ url: '/customer/list',+ method: 'post',+ data+ })++// Add a new form+export const addCustomer = (data: CustomerVO) => http({+ url: '/customer',+ method: 'post',+ data+ })++// Update form+export const updateCustomer = (data: CustomerVO) => http({+ url: '/customer',+ method: 'put',+ data+ })++// Delete form+export const deleteCustomer = (id: number) => http({+ url: '/customer',+ method: 'delete',+ params: {+ id+ }+ })++// Excel Import+export const excelImport = (data: Array<CustomerExcelVO>) => http({+ url: '/customer/excel',+ method: 'post',+ data+ })diff --git a/frontend/src/api/base/freightSetting.ts b/frontend/src/api/base/freightSetting.tsnew file mode 100644index 0000000..1ec7af9--- /dev/null+++ b/frontend/src/api/base/freightSetting.ts@@ -0,0 +1,47 @@+import http from '@/utils/http/request'+import { PageConfigProps } from '@/types/System/Form'+import { FreightVO } from '@/types/Base/Freight'++// Find Data by Pagination+export const getFreightList = (data: PageConfigProps) => http({+ url: '/freightfee/list',+ method: 'post',+ data+ })++// get data all+export const getFreightAll = () => http({+ url: '/freightfee/all',+ method: 'get',+ hideLoading: true+ })++// Add a new freightfee+export const addFreight = (data: FreightVO) => http({+ url: '/freightfee',+ method: 'post',+ data+ })++// Update freightfee+export const updateFreight = (data: FreightVO) => http({+ url: '/freightfee',+ method: 'put',+ data+ })++// Delete freightfee+export const deleteFreight = (id: number) => http({+ url: '/freightfee',+ method: 'delete',+ params: {+ id+ }+ })++// Excel Import+export const excelImport = (data: Array<FreightVO>) => http({+ url: '/freightfee/excel',+ method: 'post',+ data+ })diff --git a/frontend/src/api/base/ownerOfCargo.ts b/frontend/src/api/base/ownerOfCargo.tsnew file mode 100644index 0000000..2cd19ba--- /dev/null+++ b/frontend/src/api/base/ownerOfCargo.ts@@ -0,0 +1,46 @@+import http from '@/utils/http/request'+import { OwnerOfCargoVO } from '@/types/Base/OwnerOfCargo'+import { PageConfigProps } from '@/types/System/Form'++// Get all+export const getOwnerOfCargoAll = () => http({+ url: '/goodsowner/all',+ method: 'get'+ })++// Get data by page+export const getOwnerOfCargoByPage = (data: PageConfigProps) => http({+ url: '/goodsowner/list',+ method: 'post',+ data+ })++// Add a new form+export const addOwnerOfCargo = (data: OwnerOfCargoVO) => http({+ url: '/goodsowner',+ method: 'post',+ data+ })++// Update form+export const updateOwnerOfCargo = (data: OwnerOfCargoVO) => http({+ url: '/goodsowner',+ method: 'put',+ data+ })++// Delete form+export const deleteOwnerOfCargo = (id: number) => http({+ url: '/goodsowner',+ method: 'delete',+ params: {+ id+ }+ })++// import form+export const excelImport = (data: OwnerOfCargoVO[]) => http({+ url: '/goodsowner/excel',+ method: 'post',+ data+ })diff --git a/frontend/src/api/base/printSolution.ts b/frontend/src/api/base/printSolution.tsnew file mode 100644index 0000000..55f93bc--- /dev/null+++ b/frontend/src/api/base/printSolution.ts@@ -0,0 +1,35 @@+import http from '@/utils/http/request'+import { PageConfigProps } from '@/types/System/Form'+import { PrintSolutionVO, PrintSolutionGetByPathVo } from '@/types/Base/PrintSolution'++// Find Data by Pagination+export const getPrintSolutionList = (data: PageConfigProps) => http({+ url: '/PrintSolution/list',+ method: 'post',+ data+})+// Get user menu form+export const addPrintSolution = (data: PrintSolutionVO) => http({+ url: '/PrintSolution',+ method: 'post',+ data+})+// Update form+export const updatePrintSolution = (data: PrintSolutionVO) => http({+ url: '/PrintSolution',+ method: 'put',+ data+})+// Delete form+export const deletePrintSolution = (id: number) => http({+ url: '/PrintSolution',+ method: 'delete',+ params: {+ id+ }+})+export const listByPath = (data: PrintSolutionGetByPathVo) => http({+ url: '/PrintSolution/get-by-path',+ method: 'post',+ data+})\ No newline at end of filediff --git a/frontend/src/api/base/roleMenu.ts b/frontend/src/api/base/roleMenu.tsnew file mode 100644index 0000000..90d9852--- /dev/null+++ b/frontend/src/api/base/roleMenu.ts@@ -0,0 +1,55 @@+import http from '@/utils/http/request'+import { RoleMenuVO } from '@/types/Base/RoleMenu'++// Get user authority+export const getUserAuthority = (userrole_id: number) => http({+ url: '/rolemenu/authority',+ method: 'get',+ params: {+ userrole_id+ }+ })++// Get all+export const getRoleMenuAll = () => http({+ url: '/rolemenu/all',+ method: 'get'+ })++// Get all menu setting+export const getMenus = () => http({+ url: '/rolemenu/menus',+ method: 'get'+ })++// Get form by id+export const getRoleMenuById = (userrole_id: number) => http({+ url: '/rolemenu',+ method: 'get',+ params: {+ userrole_id+ }+ })++// Get form by id+export const addRoleMenu = (data: RoleMenuVO) => http({+ url: '/rolemenu',+ method: 'post',+ data+ })++// Update form+export const updateRoleMenu = (data: RoleMenuVO) => http({+ url: '/rolemenu',+ method: 'put',+ data+ })++// Delete form+export const deleteRoleMenu = (userrole_id: number) => http({+ url: '/rolemenu',+ method: 'delete',+ params: {+ userrole_id+ }+ })diff --git a/frontend/src/api/base/supplier.ts b/frontend/src/api/base/supplier.tsnew file mode 100644index 0000000..a3a03d8--- /dev/null+++ b/frontend/src/api/base/supplier.ts@@ -0,0 +1,46 @@+import http from '@/utils/http/request'+import { PageConfigProps } from '@/types/System/Form'+import { SupplierVO, SupplierExcelVO } from '@/types/Base/Supplier'++// Get all+export const getSupplierAll = () => http({+ url: '/supplier/all',+ method: 'get'+ })++// Find Data by Pagination+export const getSupplierList = (data: PageConfigProps) => http({+ url: '/supplier/list',+ method: 'post',+ data+ })++// Add a new form+export const addSupplier = (data: SupplierVO) => http({+ url: '/supplier',+ method: 'post',+ data+ })++// Update form+export const updateSupplier = (data: SupplierVO) => http({+ url: '/supplier',+ method: 'put',+ data+ })++// Delete form+export const deleteSupplier = (id: number) => http({+ url: '/supplier',+ method: 'delete',+ params: {+ id+ }+ })++// Excel Import+export const excelImport = (data: Array<SupplierExcelVO>) => http({+ url: '/supplier/excel',+ method: 'post',+ data+})\ No newline at end of filediff --git a/frontend/src/api/base/userManagement.ts b/frontend/src/api/base/userManagement.tsnew file mode 100644index 0000000..156078c--- /dev/null+++ b/frontend/src/api/base/userManagement.ts@@ -0,0 +1,69 @@+import http from '@/utils/http/request'+import { PageConfigProps } from '@/types/System/Form'+import { UserVO, ChangePwdAPIParams, ImportVO } from '@/types/Base/UserManagement'++// Find Data by Pagination+export const getSelectItem = () => http({+ url: '/user/select-item',+ method: 'get'+ })++// Find Data by Pagination+export const getUserList = (data: PageConfigProps) => http({+ url: '/user/list',+ method: 'post',+ data+ })++// Add a new user+export const addUser = (data: UserVO) => http({+ url: '/user',+ method: 'post',+ data+ })++ // Register a new user+export const registerUser = (data: UserVO) => http({+ url: '/user/register',+ method: 'post',+ data+ })++// Update user+export const updateUser = (data: UserVO) => http({+ url: '/user',+ method: 'put',+ data+ })++// Delete user+export const deleteUser = (id: number) => http({+ url: '/user',+ method: 'delete',+ params: {+ id+ }+ })++// Reset password+export const resetPassword = (id_list: number[]) => http({+ url: '/user/reset-pwd',+ method: 'post',+ data: {+ id_list+ }+ })++// Change password+export const changePassword = (data: ChangePwdAPIParams) => http({+ url: '/user/change-pwd',+ method: 'post',+ data+ })++// Import form+export const excelImport = (data: ImportVO[]) => http({+ url: '/user/excel',+ method: 'post',+ data+ })diff --git a/frontend/src/api/base/userRoleSetting.ts b/frontend/src/api/base/userRoleSetting.tsnew file mode 100644index 0000000..fadc64b--- /dev/null+++ b/frontend/src/api/base/userRoleSetting.ts@@ -0,0 +1,31 @@+import http from '@/utils/http/request'+import { UserRoleVO } from '@/types/Base/UserRoleSetting'++// Get all+export const getUserRoleAll = () => http({+ url: '/userrole/all',+ method: 'get'+ })++// Add a new form+export const addUserRole = (data: UserRoleVO) => http({+ url: '/userrole',+ method: 'post',+ data+ })++// Update form+export const updateUserRole = (data: UserRoleVO) => http({+ url: '/userrole',+ method: 'put',+ data+ })++// Delete form+export const deleteUserRole = (id: number) => http({+ url: '/userrole',+ method: 'delete',+ params: {+ id+ }+ })diff --git a/frontend/src/api/base/warehouseSetting.ts b/frontend/src/api/base/warehouseSetting.tsnew file mode 100644index 0000000..e009e8e--- /dev/null+++ b/frontend/src/api/base/warehouseSetting.ts@@ -0,0 +1,142 @@+import http from '@/utils/http/request'+import { PageConfigProps } from '@/types/System/Form'+import { GoodsLocationVO, WarehouseAreaVO, WarehouseVO } from '@/types/Base/Warehouse'++/**+ * Warehouse Setting+ */+// Find Data by Pagination+export const getWarehouseList = (data: PageConfigProps) => http({+ url: '/warehouse/list',+ method: 'post',+ data+})++// Add a new warehouse+export const addWarehouse = (data: WarehouseVO) => http({+ url: '/warehouse',+ method: 'post',+ data+})++// Update warehouse+export const updateWarehouse = (data: WarehouseVO) => http({+ url: '/warehouse',+ method: 'put',+ data+})++// Delete warehouse+export const deleteWarehouse = (id: number) => http({+ url: '/warehouse',+ method: 'delete',+ params: {+ id+ }+})+// Get warehouse information+export const getWarehouse = (id: number) => http({+ url: '/warehouse',+ method: 'get',+ params: {+ id+ }+})+// Get the combobox item with warehouse+export const getWarehouseSelect = () => http({+ url: '/warehouse/select-item',+ method: 'get'+})++// Excel Import+export const excelImport = (data: Array<WarehouseVO>) => http({+ url: '/warehouse/excel',+ method: 'post',+ data+})++// Get the combobox item with warehouse area+export const getWarehouseAreaSelect = (warehouse_id: number) => http({+ url: '/warehousearea/all',+ method: 'get',+ params: {+ warehouse_id+ }+})++/**+ * Warehouse Area Setting+ */+// Find Data by Pagination+export const getWarehouseAreaList = (data: PageConfigProps) => http({+ url: '/warehousearea/list',+ method: 'post',+ data+})++// Add a new warehousearea+export const addWarehouseArea = (data: WarehouseAreaVO) => http({+ url: '/warehousearea',+ method: 'post',+ data+})++// Update warehousearea+export const updateWarehouseArea = (data: WarehouseAreaVO) => http({+ url: '/warehousearea',+ method: 'put',+ data+})++// Delete warehousearea+export const deleteWarehouseArea = (id: number) => http({+ url: '/warehousearea',+ method: 'delete',+ params: {+ id+ }+})++/**+ * Goods Location Setting+ */+// Find Data by Pagination+export const getGoodsLocationList = (data: PageConfigProps) => http({+ url: '/goodslocation/list',+ method: 'post',+ data+})++// Add a new goodslocation+export const addGoodsLocation = (data: GoodsLocationVO) => http({+ url: '/goodslocation',+ method: 'post',+ data+})+// Get all library location information+export const getGoodsLocation = () => http({+ url: '/goodslocation/all',+ method: 'get'+})++// Update goodslocation+export const updateGoodsLocation = (data: GoodsLocationVO) => http({+ url: '/goodslocation',+ method: 'put',+ data+})++// Delete goodslocation+export const deleteGoodsLocation = (id: number) => http({+ url: '/goodslocation',+ method: 'delete',+ params: {+ id+ }+})++export const getWarehouseProduct = (data) => http({+ url: '/stock/qrcode-list',+ method: 'post',+ data+})diff --git a/frontend/src/api/sys/login.ts b/frontend/src/api/sys/login.tsnew file mode 100644index 0000000..ec37606--- /dev/null+++ b/frontend/src/api/sys/login.ts@@ -0,0 +1,17 @@+import http from '@/utils/http/request'+import { LoginParams } from '../../types/System/UserModel'++export const login = (data: LoginParams) => http({+ url: '/login',+ method: 'post',+ data+ })++// Get user menu dynamically+export const getUserAuthority = (userrole_id: number) => http({+ url: '/rolemenu/authority',+ method: 'get',+ params: {+ userrole_id+ }+ })diff --git a/frontend/src/api/sys/system.ts b/frontend/src/api/sys/system.tsnew file mode 100644index 0000000..fb75a15--- /dev/null+++ b/frontend/src/api/sys/system.ts@@ -0,0 +1,9 @@+import http from '@/utils/http/request'+import { PageConfigProps } from '@/types/System/Form'++// Get Log+export const getActionLog = (data: PageConfigProps) => http({+ url: '/actionlog/list',+ method: 'post',+ data+ })diff --git a/frontend/src/api/sys/test.ts b/frontend/src/api/sys/test.tsnew file mode 100644index 0000000..c0848da--- /dev/null+++ b/frontend/src/api/sys/test.ts@@ -0,0 +1,13 @@+import http from '@/utils/http/request'++interface params {+ ifall?: boolean+ iftodo?: boolean+}+export const getNotify = (data: params) => {+ return http({+ url: '/OA/SMNotifyBoard/home-notifyboard-todo',+ method: 'get',+ data+ })+}diff --git a/frontend/src/api/wms/deliveryManagement.ts b/frontend/src/api/wms/deliveryManagement.tsnew file mode 100644index 0000000..f380cb2--- /dev/null+++ b/frontend/src/api/wms/deliveryManagement.ts@@ -0,0 +1,241 @@+import http from '@/utils/http/request'+import { PageConfigProps } from '@/types/System/Form'+import {+ addRequestVO,+ ConfirmOrderVO,+ PackageVO,+ WeighVO,+ DeliveryVO,+ SignInVO,+ CancleOrderVO,+ SetCarrierVO+} from '@/types/DeliveryManagement/DeliveryManagement'++// Get Pre shipment+export const getShipment = (data: PageConfigProps) => http({+ url: '/dispatchlist/advanced-list',+ method: 'post',+ data+ })++// Get Pre shipment+export const getPreShipment = (data: PageConfigProps) => http({+ url: '/dispatchlist/advanced-list',+ method: 'post',+ data: {+ ...data,+ sqlTitle: 'dispatch_status=0'+ }+ })++// Get new shipment+export const getNewShipment = (data: PageConfigProps) => http({+ url: '/dispatchlist/advanced-list',+ method: 'post',+ data: {+ ...data,+ sqlTitle: 'dispatch_status=1'+ }+ })++// Get new shipment+export const getGoodsToBePicked = (data: PageConfigProps) => http({+ url: '/dispatchlist/list',+ method: 'post',+ data: {+ ...data,+ sqlTitle: 'dispatch_status=2'+ }+ })++// Get To Be Packaged+export const getToBePackaged = (data: PageConfigProps) => http({+ url: '/dispatchlist/list',+ method: 'post',+ data: {+ ...data,+ sqlTitle: 'to_package'+ }+ })++// Get picked+export const getPicked = (data: PageConfigProps) => http({+ url: '/dispatchlist/list',+ method: 'post',+ data: {+ ...data,+ sqlTitle: 'dispatch_status=3'+ }+ })++// Get Packaged+export const getPackaged = (data: PageConfigProps) => http({+ url: '/dispatchlist/list',+ method: 'post',+ data: {+ ...data,+ // sqlTitle: 'dispatch_status=4'+ sqlTitle: 'package'+ }+ })++// Get To Be Weight+export const getToBeWeighed = (data: PageConfigProps) => http({+ url: '/dispatchlist/list',+ method: 'post',+ data: {+ ...data,+ sqlTitle: 'to_weight'+ }+ })++// Get Weight+export const getWeighed = (data: PageConfigProps) => http({+ url: '/dispatchlist/list',+ method: 'post',+ data: {+ ...data,+ // sqlTitle: 'dispatch_status=5'+ sqlTitle: 'weight'+ }+ })++// Get To Be Delivery+export const getToBeDelivery = (data: PageConfigProps) => http({+ url: '/dispatchlist/list',+ method: 'post',+ data: {+ ...data,+ sqlTitle: 'to_delivery'+ }+ })++// Get Delivery+export const getDelivery = (data: PageConfigProps) => http({+ url: '/dispatchlist/list',+ method: 'post',+ data: {+ ...data,+ sqlTitle: 'delivery'+ }+ })++// Get Sign In+export const getSignIn = (data: PageConfigProps) => http({+ url: '/dispatchlist/list',+ method: 'post',+ data: {+ ...data,+ sqlTitle: 'dispatch_status=7'+ }+ })++// Add+export const addShipment = (data: addRequestVO[]) => http({+ url: '/dispatchlist',+ method: 'post',+ data+ })++// Delete+export const delShipment = (dispatch_no: string) => http({+ url: '/dispatchlist',+ method: 'delete',+ params: {+ dispatch_no+ }+ })++// Get order confirmation information+export const getConfirmOrderInfoAndStock = (dispatch_no: string) => http({+ url: '/dispatchlist/confirm-check',+ method: 'get',+ params: {+ dispatch_no+ }+ })++// Confirm orders and create dispatchpicklist+export const confirmOrder = (data: ConfirmOrderVO[]) => http({+ url: '/dispatchlist/confirm-order',+ method: 'post',+ data+ })++// Confirm picking+export const confirmPicking = (dispatch_no: string) => http({+ url: '/dispatchlist/confirm-pick-dispatchlistno',+ method: 'put',+ params: {+ dispatch_no+ }+ })++// Pack+export const handlePackage = (data: PackageVO[]) => http({+ url: '/dispatchlist/package',+ method: 'post',+ data+ })++// Weigh+export const handleWeigh = (data: WeighVO[]) => http({+ url: '/dispatchlist/weight',+ method: 'post',+ data+ })++// Delivery+export const handleDelivery = (data: DeliveryVO[]) => http({+ url: '/dispatchlist/delivery',+ method: 'post',+ data+ })++// Sign in+export const handleSignIn = (data: SignInVO[]) => http({+ url: '/dispatchlist/sign',+ method: 'post',+ data+ })++// Undo to previous step by detail+export const cancelOrderByDetail = (id: number) => http({+ url: '/dispatchlist/cancel-order',+ method: 'put',+ params: {+ id+ }+ })++// Undo to previous step by dispatch+export const cancelOrderByDispatch = (data: CancleOrderVO) => http({+ url: '/dispatchlist/cancel-order',+ method: 'post',+ data+ })++// Set carrier+export const setCarrier = (data: SetCarrierVO[]) => http({+ url: '/dispatchlist/freightfee',+ method: 'post',+ data+ })++// Set carrier+export const viewInventoryDetails = (dispatch_id: number) => http({+ url: '/dispatchlist/pick-list',+ method: 'get',+ params: {+ dispatch_id+ }+ })++// Set carrier+export const viewDeliveryMainDetail = (dispatch_no: string) => http({+ url: '/dispatchlist/by-dispatch_no',+ method: 'get',+ params: {+ dispatch_no+ }+ })diff --git a/frontend/src/api/wms/deliveryStatistic.ts b/frontend/src/api/wms/deliveryStatistic.tsnew file mode 100644index 0000000..3485260--- /dev/null+++ b/frontend/src/api/wms/deliveryStatistic.ts@@ -0,0 +1,20 @@+import http from '@/utils/http/request'++interface ListProps {+ pageIndex: number+ pageSize: number+ spu_code?: string+ spu_name?: string+ sku_code?: string+ sku_name?: string+ warehouse_name?: string+ customer_name?: string+ delivery_date_from?: string+ delivery_date_to?: string+}++export const list = (data: ListProps) => http({+ url: '/stock/delivery-list',+ method: 'post',+ data+ })diff --git a/frontend/src/api/wms/saftyStock.ts b/frontend/src/api/wms/saftyStock.tsnew file mode 100644index 0000000..a5ddd62--- /dev/null+++ b/frontend/src/api/wms/saftyStock.ts@@ -0,0 +1,8 @@+import http from '@/utils/http/request'+import { PageConfigProps } from '@/types/System/Form'++export const list = (data: PageConfigProps) => http({+ url: '/stock/safety-list',+ method: 'post',+ data+ })diff --git a/frontend/src/api/wms/stockAsn.ts b/frontend/src/api/wms/stockAsn.tsnew file mode 100644index 0000000..4795486--- /dev/null+++ b/frontend/src/api/wms/stockAsn.ts@@ -0,0 +1,172 @@+import http from '@/utils/http/request'+import { PageConfigProps } from '@/types/System/Form'+import { StockAsnVO, SortingVo, PutawayVo } from '@/types/WMS/StockAsn'++export const listNew = (data: PageConfigProps) => http({+ url: '/asn/asnmaster/list',+ method: 'post',+ data+ })++export const addAsnNew = (data: StockAsnVO) => http({+ url: '/asn/asnmaster',+ method: 'post',+ data+ })++export const updateAsnNew = (data: StockAsnVO) => http({+ url: '/asn/asnmaster',+ method: 'put',+ data+ })++export const confirmArrival = (data: { id: number; arrival_time: string }[]) => http({+ url: '/asn/confirm',+ method: 'put',+ data+ })++export const confirmUnload = (data: { id: number; unloadTime: string; unloadPerson: string; unloadPersonID: number }[]) => http({+ url: '/asn/unload',+ method: 'put',+ data+ })++export const unconfirmArrival = (idList: number[]) => http({+ url: '/asn/confirm-cancel',+ method: 'put',+ data: idList+ })++export const editSorting = (data: { asn_id: number; series_number: string; sorted_qty: number }[]) => http({+ url: '/asn/sorting',+ method: 'put',+ data+ })++export const modifySorting = (data: { asn_id: number; series_number: string; sorted_qty: number }[]) => http({+ url: '/asn/sorting-modify',+ method: 'put',+ data+ })++export const getSorting = (id: number) => http({+ url: '/asn/sorting',+ method: 'get',+ params: {+ asn_id: id+ }+ })++export const getGrouding = (id: number) => http({+ url: '/asn/pending-putaway',+ method: 'get',+ params: {+ id+ }+ })++export const confirmPutaway = (+ data: {+ asn_id: number+ goods_owner_id: number+ series_number: string+ goods_location_id: number+ putaway_qty: number+ }[]+) => http({+ url: '/asn/putaway',+ method: 'put',+ data+ })++export const confirmSorted = (id: number) => http({+ url: '/asn/sorted',+ method: 'put',+ data: [id]+ })++export const revokeUnload = (idList: number[]) => http({+ url: '/asn/unload-cancel',+ method: 'put',+ data: idList+ })++export const revokeSorting = (idList: number[]) => http({+ url: '/asn/sorted-cancel',+ method: 'put',+ data: idList+ })++export const getStockAsnList = (data: PageConfigProps) => http({+ url: '/asn/list',+ method: 'post',+ data+ })++export const addAsn = (data: StockAsnVO) => http({+ url: '/asn',+ method: 'post',+ data+ })++export const updateAsn = (data: StockAsnVO) => http({+ url: '/asn',+ method: 'put',+ data+ })++export const deleteAsn = (id: number) => http({+ url: '/asn',+ method: 'delete',+ params: {+ id+ }+ })++export const confirmAsn = (id: number) => http({+ url: `/asn/confirm/${ id }`,+ method: 'put'+ })+export const confirmAsnCancel = (id: number) => http({+ url: `/asn/confirm-cancel/${ id }`,+ method: 'put'+ })++export const unloadAsn = (id: number) => http({+ url: `/asn/unload/${ id }`,+ method: 'put'+ })+export const unloadAsnCancel = (id: number) => http({+ url: `/asn/unload-cancel/${ id }`,+ method: 'put'+ })++export const sortedAsn = (id: number) => http({+ url: `/asn/sorted/${ id }`,+ method: 'put'+ })+export const sortedAsnCancel = (id: number) => http({+ url: `/asn/sorted-cancel/${ id }`,+ method: 'put'+ })++export const sortingAsn = (data: SortingVo) => http({+ url: '/asn/sorting',+ method: 'put',+ data+ })++export const putawayAsn = (data: PutawayVo) => http({+ url: '/asn/putaway',+ method: 'put',+ data+ })++export const getSkuInfo = (id: number) => http({+ url: '/spu/sku',+ method: 'get',+ params: {+ sku_id: id+ }+ })diff --git a/frontend/src/api/wms/stockManagement.ts b/frontend/src/api/wms/stockManagement.tsnew file mode 100644index 0000000..506f7ed--- /dev/null+++ b/frontend/src/api/wms/stockManagement.ts@@ -0,0 +1,29 @@+import http from '@/utils/http/request'+import { PageConfigProps } from '@/types/System/Form'++// Get stock select+export const getStockSelectList = (data: PageConfigProps) => http({+ url: '/stock/select',+ method: 'post',+ data+ })++// Get sku select+export const getSkuSelectList = (data: PageConfigProps) => http({+ url: '/stock/sku-select',+ method: 'post',+ data+ })++ // Get stock location+export const getStockLocationList = (data: PageConfigProps) => http({+ url: '/stock/location-list',+ method: 'post',+ data+})+// Get stock+export const getStockList = (data: PageConfigProps) => http({+ url: '/stock/stock-list',+ method: 'post',+ data+})\ No newline at end of filediff --git a/frontend/src/api/wms/warehouseAdjust.ts b/frontend/src/api/wms/warehouseAdjust.tsnew file mode 100644index 0000000..c3513eb--- /dev/null+++ b/frontend/src/api/wms/warehouseAdjust.ts@@ -0,0 +1,50 @@+import http from '@/utils/http/request'+import { PageConfigProps } from '@/types/System/Form'+import { WarehouseAdjustVO } from '@/types/WarehouseWorking/WarehouseAdjust'++// Get list+export const getStockAdjustList = (data: PageConfigProps) => http({+ url: '/stockadjust/list',+ method: 'post',+ data+ })++// Get all+export const getStockAdjustAll = () => http({+ url: '/stockadjust/all',+ method: 'get'+ })++// Get one+export const getStockAdjustOne = (id: number) => http({+ url: '/stockadjust',+ method: 'get',+ params: {+ id+ }+ })++// Add a new form+export const addStockAdjust = (data: WarehouseAdjustVO) => http({+ url: '/stockadjust',+ method: 'post',+ data+ })++// Delete form+export const deleteStockAdjust = (id: number) => http({+ url: '/stockadjust',+ method: 'delete',+ params: {+ id+ }+ })++ // Delete form+export const confirmStockAdjust = (id: number) => http({+ url: '/stockadjust/confirm',+ method: 'put',+ params: {+ id+ }+ })diff --git a/frontend/src/api/wms/warehouseFreeze.ts b/frontend/src/api/wms/warehouseFreeze.tsnew file mode 100644index 0000000..8412c20--- /dev/null+++ b/frontend/src/api/wms/warehouseFreeze.ts@@ -0,0 +1,41 @@+import http from '@/utils/http/request'+import { PageConfigProps } from '@/types/System/Form'+import { WarehouseFreezeVO } from '@/types/WarehouseWorking/WarehouseFreeze'++// Get list+export const getStockFreezeList = (data: PageConfigProps) => http({+ url: '/stockfreeze/list',+ method: 'post',+ data+ })++// Get all+export const getStockFreezeAll = () => http({+ url: '/stockfreeze/all',+ method: 'get'+ })++// Get one+export const getStockFreezeOne = (id: number) => http({+ url: '/stockfreeze',+ method: 'get',+ params: {+ id+ }+ })++// Add a new form+export const addStockFreeze = (data: WarehouseFreezeVO) => http({+ url: '/stockfreeze',+ method: 'post',+ data+ })++// Delete form+export const deleteStockFreeze = (id: number) => http({+ url: '/stockfreeze',+ method: 'delete',+ params: {+ id+ }+ })diff --git a/frontend/src/api/wms/warehouseMove.ts b/frontend/src/api/wms/warehouseMove.tsnew file mode 100644index 0000000..15ede7c--- /dev/null+++ b/frontend/src/api/wms/warehouseMove.ts@@ -0,0 +1,50 @@+import http from '@/utils/http/request'+import { PageConfigProps } from '@/types/System/Form'+import { WarehouseMoveVO } from '@/types/WarehouseWorking/WarehouseMove'++// Get list+export const getStockMoveList = (data: PageConfigProps) => http({+ url: '/stockmove/list',+ method: 'post',+ data+ })++// Get all+export const getStockMoveAll = () => http({+ url: '/stockmove/all',+ method: 'get'+ })++// Get one+export const getStockMoveOne = (id: number) => http({+ url: '/stockmove',+ method: 'get',+ params: {+ id+ }+ })++// Add a new form+export const addStockMove = (data: WarehouseMoveVO) => http({+ url: '/stockmove',+ method: 'post',+ data+ })++// Delete form+export const deleteStockMove = (id: number) => http({+ url: '/stockmove',+ method: 'delete',+ params: {+ id+ }+ })++// Confirm move+export const confirmMove = (id: number) => http({+ url: '/stockmove',+ method: 'put',+ params: {+ id+ }+ })diff --git a/frontend/src/api/wms/warehouseProcessing.ts b/frontend/src/api/wms/warehouseProcessing.tsnew file mode 100644index 0000000..246a65a--- /dev/null+++ b/frontend/src/api/wms/warehouseProcessing.ts@@ -0,0 +1,66 @@+import http from '@/utils/http/request'+import { PageConfigProps } from '@/types/System/Form'+import { WarehouseProcessingVO, WarehouseProcessingDetailVO } from '@/types/WarehouseWorking/WarehouseProcessing'++// Get list+export const getStockProcessList = (data: PageConfigProps) => http({+ url: '/stockprocess/list',+ method: 'post',+ data+ })++// Get all+export const getStockProcessAll = () => http({+ url: '/stockprocess/all',+ method: 'get'+ })++// Get one+export const getStockProcessOne = (id: number) => http({+ url: '/stockprocess',+ method: 'get',+ params: {+ id+ }+ })++// Add a new form+export const addStockProcess = (data: WarehouseProcessingVO) => http({+ url: '/stockprocess',+ method: 'post',+ data+ })++// Update form+export const updateStockProcess = (data: WarehouseProcessingVO) => http({+ url: '/stockprocess',+ method: 'put',+ data+ })++// Delete form+export const deleteStockProcess = (id: number) => http({+ url: '/stockprocess',+ method: 'delete',+ params: {+ id+ }+ })++// Confirm process+export const confirmProcess = (id: number) => http({+ url: '/stockprocess/process-confirm',+ method: 'put',+ params: {+ id+ }+ })++// Confirm adjustment+export const confirmAdjustment = (id: number) => http({+ url: '/stockprocess/adjustment-confirm',+ method: 'put',+ params: {+ id+ }+ })diff --git a/frontend/src/api/wms/warehouseTaking.ts b/frontend/src/api/wms/warehouseTaking.tsnew file mode 100644index 0000000..d5c19aa--- /dev/null+++ b/frontend/src/api/wms/warehouseTaking.ts@@ -0,0 +1,54 @@+import http from '@/utils/http/request'+import { PageConfigProps } from '@/types/System/Form'+import { WarehouseTakingVO } from '@/types/WarehouseWorking/WarehouseTaking'++// Get list+export const getStockTakingList = (data: PageConfigProps) => http({+ url: '/stocktaking/list',+ method: 'post',+ data+ })++// Get one+export const getStockTakingOne = (id: number) => http({+ url: '/stocktaking',+ method: 'get',+ params: {+ id+ }+ })++// Add a new form+export const addStockTaking = (data: WarehouseTakingVO) => http({+ url: '/stocktaking',+ method: 'post',+ data+ })++// Delete form+export const deleteStockTaking = (id: number) => http({+ url: '/stocktaking',+ method: 'delete',+ params: {+ id+ }+ })++// Confirm stock taking+export const confirmStockTaking = (data: WarehouseTakingVO) => http({+ url: '/stocktaking',+ method: 'put',+ data: {+ id: data.id,+ counted_qty: data.counted_qty+ }+ })++// Confirm stock adjust+export const confirmAdjustment = (id: number) => http({+ url: '/stocktaking/adjustment-confirm',+ method: 'put',+ params: {+ id+ }+ })diff --git a/frontend/src/assets/css/hookComponent.css b/frontend/src/assets/css/hookComponent.cssnew file mode 100644index 0000000..cb04553--- /dev/null+++ b/frontend/src/assets/css/hookComponent.css@@ -0,0 +1,8 @@+.messageItems {+ position: fixed;+ /* top: 10px; */+ left: 50%;+ max-width: 90%;+ transform: translate(-50%, 0);+ transition: all 0.2s;+}diff --git a/frontend/src/assets/img/WMSTitle.png b/frontend/src/assets/img/WMSTitle.pngnew file mode 100644index 0000000..be808e2Binary files /dev/null and b/frontend/src/assets/img/WMSTitle.png differdiff --git a/frontend/src/assets/img/WMSTitleBig.png b/frontend/src/assets/img/WMSTitleBig.pngnew file mode 100644index 0000000..ff7f7abBinary files /dev/null and b/frontend/src/assets/img/WMSTitleBig.png differdiff --git a/frontend/src/assets/img/apifox.png b/frontend/src/assets/img/apifox.pngnew file mode 100644index 0000000..bbbf615Binary files /dev/null and b/frontend/src/assets/img/apifox.png differdiff --git a/frontend/src/assets/img/gitee.png b/frontend/src/assets/img/gitee.pngnew file mode 100644index 0000000..cc143a7Binary files /dev/null and b/frontend/src/assets/img/gitee.png differdiff --git a/frontend/src/assets/img/github.png b/frontend/src/assets/img/github.pngnew file mode 100644index 0000000..b96155aBinary files /dev/null and b/frontend/src/assets/img/github.png differdiff --git a/frontend/src/assets/img/loginLeft.png b/frontend/src/assets/img/loginLeft.pngnew file mode 100644index 0000000..1f96509Binary files /dev/null and b/frontend/src/assets/img/loginLeft.png differdiff --git a/frontend/src/assets/img/logo.png b/frontend/src/assets/img/logo.pngnew file mode 100644index 0000000..9476e3cBinary files /dev/null and b/frontend/src/assets/img/logo.png differdiff --git a/frontend/src/assets/img/webLogoMini.png b/frontend/src/assets/img/webLogoMini.pngnew file mode 100644index 0000000..cbe2a93Binary files /dev/null and b/frontend/src/assets/img/webLogoMini.png differdiff --git a/frontend/src/assets/warehouse.json b/frontend/src/assets/warehouse.jsonnew file mode 100644index 0000000..b2b3059--- /dev/null+++ b/frontend/src/assets/warehouse.json@@ -0,0 +1 @@+{"v":"5.6.5","fr":60,"ip":0,"op":181,"w":1579,"h":1370,"nm":"MovingTrolleyWithMan","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Group 71","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[789.309,684.93,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"rc","d":1,"s":{"a":0,"k":[1578.619,1369.86],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"rear_tyre_cast","parent":1,"sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[40]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":61,"s":[40]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":64,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":116,"s":[0]},{"t":120,"s":[40]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[56.828,396.001,0],"to":[1.167,-0.542,0],"ti":[-0.75,1.833,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":20,"s":[63.828,392.751,0],"to":[0.75,-1.833,0],"ti":[1.75,2.042,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":40,"s":[61.328,385.001,0],"to":[-1.75,-2.042,0],"ti":[2.958,1,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":60,"s":[53.328,380.501,0],"to":[-2.958,-1,0],"ti":[1.625,0.25,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":80,"s":[43.578,379.001,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":100,"s":[43.578,379.001,0],"to":[1.625,0.25,0],"ti":[-2.958,-1,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":120,"s":[53.328,380.501,0],"to":[2.958,1,0],"ti":[-1.75,-2.042,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":140,"s":[61.328,385.001,0],"to":[1.75,2.042,0],"ti":[0.75,-1.833,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":160,"s":[63.828,392.751,0],"to":[-0.75,1.833,0],"ti":[1.167,-0.542,0]},{"t":180,"s":[56.828,396.001,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[5,5],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"op","nm":"Offset Paths 1","a":{"a":0,"k":-0.5,"ix":1},"lj":1,"ml":{"a":0,"k":4,"ix":3},"ix":3,"mn":"ADBE Vector Filter - Offset","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"rear_tyre_cast Stroke","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[5,5],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"rear_tyre_cast Fill","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"front_tyre_cast","parent":1,"sr":1,"ks":{"o":{"a":0,"k":40,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-152.172,391.001,0],"to":[0.042,0.5,0],"ti":[-1.042,0.792,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":30,"s":[-151.922,394.001,0],"to":[0.626,-0.476,0],"ti":[-1.514,1.924,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":60,"s":[-147.566,392.946,0],"to":[1.005,-1.278,0],"ti":[-0.083,0.881,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":80,"s":[-145.922,386.251,0],"to":[0.208,-2.208,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-150.672,380.751,0],"to":[0,0,0],"ti":[-0.083,0.881,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":100,"s":[-145.922,386.251,0],"to":[0.208,-2.208,0],"ti":[-1.514,1.924,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":120,"s":[-146.566,390.946,0],"to":[0.502,-0.638,0],"ti":[1.53,-0.896,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":130,"s":[-149.126,394.037,0],"to":[-1.534,0.899,0],"ti":[-0.522,0.396,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":140,"s":[-151.672,393.501,0],"to":[0.626,-0.476,0],"ti":[0.083,0.417,0]},{"t":180,"s":[-152.172,391.001,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[5,5],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"op","nm":"Offset Paths 1","a":{"a":0,"k":-0.5,"ix":1},"lj":1,"ml":{"a":0,"k":4,"ix":3},"ix":3,"mn":"ADBE Vector Filter - Offset","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"front_tyre_cast Stroke","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[5,5],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"front_tyre_cast Fill","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"trolley","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-41.063,249.989,0],"to":[-3,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-59.063,249.989,0],"to":[0,0,0],"ti":[-3,0,0]},{"t":180,"s":[-41.063,249.989,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"rc","d":1,"s":{"a":0,"k":[281.21,312.557],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[48.543,-83.356,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[58.543,-83.356,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[58.543,-83.356,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[48.543,-83.356,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[48.554,-83.356,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[58.554,-83.356,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[58.554,-83.356,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[48.554,-83.356,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":7,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[48.027,-60.802,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[58.027,-60.802,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[58.027,-60.802,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[48.027,-60.802,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":8,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[50.217,-83.356,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[60.217,-83.356,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[60.217,-83.356,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[50.217,-83.356,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":9,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[50.227,-83.356,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[60.227,-83.356,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[60.227,-83.356,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[50.227,-83.356,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":10,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[49.7,-60.802,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[59.7,-60.802,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[59.7,-60.802,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[49.7,-60.802,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":11,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[46.87,-83.356,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[56.87,-83.356,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[56.87,-83.356,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[46.87,-83.356,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":12,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[46.88,-83.356,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[56.88,-83.356,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[56.88,-83.356,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[46.88,-83.356,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":13,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[46.353,-60.802,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[56.353,-60.802,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[56.353,-60.802,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[46.353,-60.802,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":14,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[48.543,-19.654,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[58.543,-19.654,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[58.543,-19.654,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[48.543,-19.654,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":15,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[48.554,-19.654,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[58.554,-19.654,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[58.554,-19.654,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[48.554,-19.654,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":16,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[48.027,2.9,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[58.027,2.9,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[58.027,2.9,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[48.027,2.9,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":17,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[50.217,-19.654,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[60.217,-19.654,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[60.217,-19.654,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[50.217,-19.654,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":18,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[50.227,-19.654,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[60.227,-19.654,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[60.227,-19.654,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[50.227,-19.654,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":19,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[49.7,2.9,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[59.7,2.9,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[59.7,2.9,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[49.7,2.9,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":20,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[46.87,-19.654,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[56.87,-19.654,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[56.87,-19.654,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[46.87,-19.654,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":21,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[46.88,-19.654,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[56.88,-19.654,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[56.88,-19.654,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[46.88,-19.654,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":22,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[46.353,2.9,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[56.353,2.9,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[56.353,2.9,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[46.353,2.9,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":23,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[48.543,44.048,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[58.543,44.048,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[58.543,44.048,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[48.543,44.048,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":24,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[48.554,44.048,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[58.554,44.048,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[58.554,44.048,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[48.554,44.048,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":25,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[48.027,66.603,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[58.027,66.603,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[58.027,66.603,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[48.027,66.603,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":26,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[50.217,44.048,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[60.217,44.048,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[60.217,44.048,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[50.217,44.048,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":27,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[50.227,44.048,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[60.227,44.048,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[60.227,44.048,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[50.227,44.048,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":28,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[49.7,66.603,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[59.7,66.603,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[59.7,66.603,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[49.7,66.603,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":29,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[46.87,44.048,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[56.87,44.048,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[56.87,44.048,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[46.87,44.048,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":30,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[46.88,44.048,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[56.88,44.048,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[56.88,44.048,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[46.88,44.048,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":31,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[46.353,66.603,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[56.353,66.603,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[56.353,66.603,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[46.353,66.603,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":32,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-71.645,-147.059,0],"to":[1.833,0,0],"ti":[-1.833,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-60.645,-147.059,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-60.645,-147.059,0],"to":[-3,0,0],"ti":[3,0,0]},{"t":100,"s":[-78.645,-147.059,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":33,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-71.634,-147.059,0],"to":[1.833,0,0],"ti":[-1.833,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-60.634,-147.059,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-60.634,-147.059,0],"to":[-3,0,0],"ti":[3,0,0]},{"t":100,"s":[-78.634,-147.059,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":34,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-72.161,-124.504,0],"to":[1.833,0,0],"ti":[-1.833,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-61.161,-124.504,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-61.161,-124.504,0],"to":[-3,0,0],"ti":[3,0,0]},{"t":100,"s":[-79.161,-124.504,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":35,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-69.971,-147.059,0],"to":[1.833,0,0],"ti":[-1.833,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-58.971,-147.059,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-58.971,-147.059,0],"to":[-3,0,0],"ti":[3,0,0]},{"t":100,"s":[-76.971,-147.059,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":36,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-69.96,-147.059,0],"to":[1.833,0,0],"ti":[-1.833,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-58.96,-147.059,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-58.96,-147.059,0],"to":[-3,0,0],"ti":[3,0,0]},{"t":100,"s":[-76.96,-147.059,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":37,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-70.488,-124.504,0],"to":[1.833,0,0],"ti":[-1.833,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-59.488,-124.504,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-59.488,-124.504,0],"to":[-3,0,0],"ti":[3,0,0]},{"t":100,"s":[-77.488,-124.504,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":38,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-73.318,-147.059,0],"to":[2.667,0,0],"ti":[-1.833,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-57.318,-147.059,0],"to":[1.833,0,0],"ti":[3.833,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-62.318,-147.059,0],"to":[-3.833,0,0],"ti":[3,0,0]},{"t":100,"s":[-80.318,-147.059,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":39,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-73.307,-147.059,0],"to":[2.667,0,0],"ti":[-1.833,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-57.307,-147.059,0],"to":[1.833,0,0],"ti":[3.833,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-62.307,-147.059,0],"to":[-3.833,0,0],"ti":[3,0,0]},{"t":100,"s":[-80.307,-147.059,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":40,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-73.835,-124.504,0],"to":[2.667,0,0],"ti":[-1.833,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-57.835,-124.504,0],"to":[1.833,0,0],"ti":[3.833,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-62.835,-124.504,0],"to":[-3.833,0,0],"ti":[3,0,0]},{"t":100,"s":[-80.835,-124.504,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":41,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-71.645,-147.059,0],"to":[1.833,0,0],"ti":[-1.833,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-60.645,-147.059,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-60.645,-147.059,0],"to":[-3,0,0],"ti":[3,0,0]},{"t":100,"s":[-78.645,-147.059,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":186,"st":0,"bm":0},{"ddd":0,"ind":42,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-71.634,-147.059,0],"to":[1.833,0,0],"ti":[-1.833,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-60.634,-147.059,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-60.634,-147.059,0],"to":[-3,0,0],"ti":[3,0,0]},{"t":100,"s":[-78.634,-147.059,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":43,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-72.161,-124.504,0],"to":[1.833,0,0],"ti":[-1.833,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-61.161,-124.504,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-61.161,-124.504,0],"to":[-3,0,0],"ti":[3,0,0]},{"t":100,"s":[-79.161,-124.504,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":44,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-69.971,-147.059,0],"to":[1.833,0,0],"ti":[-1.833,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-58.971,-147.059,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-58.971,-147.059,0],"to":[-3,0,0],"ti":[3,0,0]},{"t":100,"s":[-76.971,-147.059,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":45,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-69.96,-147.059,0],"to":[1.833,0,0],"ti":[-1.833,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-58.96,-147.059,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-58.96,-147.059,0],"to":[-3,0,0],"ti":[3,0,0]},{"t":100,"s":[-76.96,-147.059,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":46,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-70.488,-124.504,0],"to":[1.833,0,0],"ti":[-1.833,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-59.488,-124.504,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-59.488,-124.504,0],"to":[-3,0,0],"ti":[3,0,0]},{"t":100,"s":[-77.488,-124.504,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":47,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-73.318,-147.059,0],"to":[1.833,0,0],"ti":[-1.833,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-62.318,-147.059,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-62.318,-147.059,0],"to":[-3,0,0],"ti":[3,0,0]},{"t":100,"s":[-80.318,-147.059,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":48,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-73.307,-147.059,0],"to":[1.833,0,0],"ti":[-1.833,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-62.307,-147.059,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-62.307,-147.059,0],"to":[-3,0,0],"ti":[3,0,0]},{"t":100,"s":[-80.307,-147.059,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":49,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-73.835,-124.504,0],"to":[1.833,0,0],"ti":[-1.833,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-62.835,-124.504,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-62.835,-124.504,0],"to":[-3,0,0],"ti":[3,0,0]},{"t":100,"s":[-80.835,-124.504,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":50,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-78.645,-83.356,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-68.645,-83.356,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-68.645,-83.356,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-78.645,-83.356,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":51,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-78.634,-83.356,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-68.634,-83.356,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-68.634,-83.356,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-78.634,-83.356,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":52,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-79.161,-60.802,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-69.161,-60.802,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-69.161,-60.802,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-79.161,-60.802,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":53,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-76.971,-83.356,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-66.971,-83.356,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-66.971,-83.356,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-76.971,-83.356,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":54,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-76.96,-83.356,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-66.96,-83.356,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-66.96,-83.356,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-76.96,-83.356,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":55,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-77.488,-60.802,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-67.488,-60.802,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-67.488,-60.802,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-77.488,-60.802,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":56,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-80.318,-83.356,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-70.318,-83.356,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-70.318,-83.356,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-80.318,-83.356,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":57,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-80.307,-83.356,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-70.307,-83.356,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-70.307,-83.356,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-80.307,-83.356,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":58,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-80.835,-60.802,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-70.835,-60.802,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-70.835,-60.802,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-80.835,-60.802,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":59,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-78.645,-19.654,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-68.645,-19.654,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-68.645,-19.654,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-78.645,-19.654,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":60,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-78.634,-19.654,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-68.634,-19.654,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-68.634,-19.654,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-78.634,-19.654,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":61,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-79.161,2.9,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-69.161,2.9,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-69.161,2.9,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-79.161,2.9,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":62,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-76.971,-19.654,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-66.971,-19.654,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-66.971,-19.654,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-76.971,-19.654,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":63,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-76.96,-19.654,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-66.96,-19.654,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-66.96,-19.654,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-76.96,-19.654,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":64,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-77.488,2.9,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-67.488,2.9,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-67.488,2.9,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-77.488,2.9,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":65,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-80.318,-19.654,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-70.318,-19.654,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-70.318,-19.654,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-80.318,-19.654,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":66,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-80.307,-19.654,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-70.307,-19.654,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-70.307,-19.654,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-80.307,-19.654,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":67,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-80.835,2.9,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-70.835,2.9,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-70.835,2.9,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-80.835,2.9,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":68,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-78.645,44.048,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-68.645,44.048,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-68.645,44.048,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-78.645,44.048,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":69,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-78.634,44.048,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-68.634,44.048,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-68.634,44.048,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-78.634,44.048,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":70,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-79.161,66.603,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-69.161,66.603,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-69.161,66.603,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-79.161,66.603,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":71,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-76.971,44.048,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-66.971,44.048,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-66.971,44.048,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-76.971,44.048,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":72,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-76.96,44.048,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-66.96,44.048,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-66.96,44.048,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-76.96,44.048,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":73,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-77.488,66.603,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-67.488,66.603,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-67.488,66.603,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-77.488,66.603,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":74,"ty":4,"nm":"Rectangle 162","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-80.318,44.048,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-70.318,44.048,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-70.318,44.048,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-80.318,44.048,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[23.848,5.029],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 162","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":75,"ty":4,"nm":"Rectangle 161","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-80.307,44.048,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":10,"s":[-70.307,44.048,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-70.307,44.048,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":100,"s":[-80.307,44.048,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[31.797,6.706],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 161","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":76,"ty":4,"nm":"Rectangle 160","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[-80.835,66.603,0],"to":[1.667,0,0],"ti":[-1.667,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":15,"s":[-70.835,66.603,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[-70.835,66.603,0],"to":[-1.667,0,0],"ti":[1.667,0,0]},{"t":105,"s":[-80.835,66.603,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[123.54,63.549],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":7,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":65.882,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 160","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":77,"ty":4,"nm":"Path 366","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":4,"ix":10},"p":{"a":0,"k":[115.309,33.596,0],"ix":2},"a":{"a":0,"k":[5.023,16.764,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[0,0],[10.041,0.001],[10.045,33.528],[0.004,33.527]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"op","nm":"Offset Paths 1","a":{"a":0,"k":-0.5,"ix":1},"lj":1,"ml":{"a":0,"k":4,"ix":3},"ix":3,"mn":"ADBE Vector Filter - Offset","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 366 Stroke","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[0,0],[10.041,0.001],[10.045,33.528],[0.004,33.527]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.247058823529,0.239215686275,0.337254901961,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 366 Fill","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":78,"ty":4,"nm":"Path 353","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[127.665,0.092,0],"ix":2},"a":{"a":0,"k":[12.94,99.542,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.141,0.827],[1.159,0.58],[0.972,-0.411],[0.381,-0.985],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[-0.14,-1.29],[-0.97,-0.414],[-0.972,0.411],[0,0],[0,0],[0,0],[0,0],[0,0],[0.37,-0.753]],"v":[[25.822,3.158],[23.739,0.158],[21.44,0.642],[18.83,5.589],[4.184,38.153],[0,199.085],[6.694,199.085],[9.204,38.496],[25.471,5.589]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.247058823529,0.239215686275,0.337254901961,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 353","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":79,"ty":4,"nm":"Path 355","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-4.777,108.308,0],"ix":2},"a":{"a":0,"k":[135.71,8.929,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"v":[[0,17.858],[0,2.771],[271.42,0],[271.42,8.975],[4.941,10.314],[4.941,17.858]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.247058823529,0.239215686275,0.337254901961,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 355","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":80,"ty":4,"nm":"Path 354","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-4.761,93.977,0],"ix":2},"a":{"a":0,"k":[135.726,8.172,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[0,16.345],[22.593,2.096],[266.508,0],[271.453,13.702]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.396078431373,0.380392156863,0.490196078431,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 354","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":81,"ty":4,"nm":"Path 345","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[122.146,-0.085,0],"ix":2},"a":{"a":0,"k":[15.788,98.043,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.142,0.827],[1.159,0.58],[0.972,-0.411],[0.381,-0.985],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[-0.14,-1.29],[-0.97,-0.414],[-0.972,0.411],[0,0],[0,0],[0,0],[0,0],[0,0],[0.37,-0.753]],"v":[[30.006,3.512],[31.275,0.095],[30.44,1.138],[26.849,4.376],[4.184,41.859],[0,196.086],[6.694,196.086],[11.152,41.859],[29.655,5.943]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.247058823529,0.239215686275,0.337254901961,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 345","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":82,"ty":4,"nm":"Path 320","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[100.359,121.917,0],"ix":2},"a":{"a":0,"k":[19.658,15.521,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[-1.17,-0.019],[-0.513,0.833],[0,0]],"o":[[0,0],[0.471,0.849],[1.169,0.019],[0,0],[0,0]],"v":[[0,1.871],[15.475,29.617],[18.164,31.041],[20.924,29.705],[39.316,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.247058823529,0.239215686275,0.337254901961,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 320","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":83,"ty":4,"nm":"Ellipse 111","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[98.786,137.573,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[29.88,23.694],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[0.396078431373,0.380392156863,0.490196078431,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 111","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":84,"ty":4,"nm":"Ellipse 110","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[98.786,137.573,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[47.179,37.412],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[0.247058823529,0.239215686275,0.337254901961,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 110","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":85,"ty":4,"nm":"Path 319","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-99.589,121.072,0],"ix":2},"a":{"a":0,"k":[19.658,14.926,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[-1.169,-0.018],[-0.513,0.802],[0,0]],"o":[[0,0],[0.47,0.817],[1.17,0.018],[0,0],[0,0]],"v":[[0,1.799],[15.475,28.483],[18.164,29.852],[20.924,28.567],[39.316,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.247058823529,0.239215686275,0.337254901961,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 319","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":86,"ty":4,"nm":"Ellipse 109","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-101.161,136.128,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[29.88,22.786],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[0.396078431373,0.380392156863,0.490196078431,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 109","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":87,"ty":4,"nm":"Ellipse 108","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-101.161,136.128,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[47.179,35.979],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[0.247058823529,0.239215686275,0.337254901961,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 108","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":88,"ty":4,"nm":"Path 315","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-77.965,114.776,0],"ix":2},"a":{"a":0,"k":[19.658,14.926,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[-1.169,-0.018],[-0.513,0.802],[0,0]],"o":[[0,0],[0.47,0.817],[1.17,0.018],[0,0],[0,0]],"v":[[0,1.799],[15.475,28.483],[18.164,29.852],[20.924,28.567],[39.316,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 315","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":89,"ty":4,"nm":"Path 314","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-77.965,114.776,0],"ix":2},"a":{"a":0,"k":[19.658,14.926,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[-1.169,-0.018],[-0.513,0.802],[0,0]],"o":[[0,0],[0.47,0.817],[1.17,0.018],[0,0],[0,0]],"v":[[0,1.799],[15.475,28.483],[18.164,29.852],[20.924,28.567],[39.316,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.247058823529,0.239215686275,0.337254901961,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 314","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":90,"ty":4,"nm":"Ellipse 107","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-79.538,129.832,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[29.88,22.786],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 107","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":91,"ty":4,"nm":"Ellipse 106","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-79.538,129.832,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[29.88,22.786],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[0.396078431373,0.380392156863,0.490196078431,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 106","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":92,"ty":4,"nm":"Ellipse 105","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-79.538,129.832,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[47.179,35.979],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 105","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":93,"ty":4,"nm":"Ellipse 104","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-79.538,129.832,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[47.179,35.979],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[0.247058823529,0.239215686275,0.337254901961,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 104","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":94,"ty":4,"nm":"Path 313","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[85.812,115.37,0],"ix":2},"a":{"a":0,"k":[19.658,15.521,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[-1.17,-0.019],[-0.513,0.833],[0,0]],"o":[[0,0],[0.47,0.849],[1.17,0.019],[0,0],[0,0]],"v":[[0,1.871],[15.475,29.617],[18.164,31.041],[20.924,29.705],[39.316,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 313","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":95,"ty":4,"nm":"Path 312","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[85.812,115.37,0],"ix":2},"a":{"a":0,"k":[19.658,15.521,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[-1.17,-0.019],[-0.513,0.833],[0,0]],"o":[[0,0],[0.47,0.849],[1.17,0.019],[0,0],[0,0]],"v":[[0,1.871],[15.475,29.617],[18.164,31.041],[20.924,29.705],[39.316,0]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.247058823529,0.239215686275,0.337254901961,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 312","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":96,"ty":4,"nm":"Ellipse 103","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[84.239,131.026,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[29.88,23.694],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 103","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":97,"ty":4,"nm":"Ellipse 102","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[84.239,131.026,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[29.88,23.694],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[0.396078431373,0.380392156863,0.490196078431,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 102","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":98,"ty":4,"nm":"Ellipse 101","parent":4,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[84.239,129.832,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[47.179,35.979],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 101","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":99,"ty":4,"nm":"Ellipse 100","parent":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[84.24,131.026,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[47.179,37.412],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[0.247058823529,0.239215686275,0.337254901961,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 100","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":100,"ty":4,"nm":"holding_shoulder","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":90,"s":[-5]},{"t":180,"s":[0]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[158.424,105.538,0],"to":[-0.958,1.042,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[152.674,111.788,0],"to":[0,0,0],"ti":[-0.958,1.042,0]},{"t":180,"s":[158.424,105.538,0]}],"ix":2},"a":{"a":0,"k":[17.288,17.773,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.818,-1.971],[0.612,-0.772],[0.662,-1.152],[2.068,-2.067],[0.1,-0.417],[-0.371,-0.437],[0,0],[-3.333,-0.269],[-1.191,0.352],[-0.726,0.559],[-1.666,1.581],[0.02,2.157],[0.426,1.827],[2.891,5.107],[2.978,-1.709]],"o":[[-0.85,0.528],[-0.77,1.12],[-1.419,2.522],[-0.335,0.283],[-0.013,0.563],[0,0],[3.346,0.282],[1.238,0.096],[0.851,-0.363],[2.008,-1.203],[1.666,-1.581],[0.03,-1.872],[-1.472,-5.76],[-1.412,-2.49],[-2.978,1.709]],"v":[[11.284,6.7],[9.075,8.665],[7.483,12.377],[0.67,17.868],[0.001,18.943],[0.556,20.492],[10.554,35.519],[20.406,34.072],[24.113,34.226],[26.489,32.837],[32.787,29.913],[34.573,23.852],[33.978,18.284],[25.003,2.975],[19.85,0.742]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.309803921569,0.298039215686,0.43137254902,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"holding_shoulder","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":101,"ty":4,"nm":"holding_arm","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[-36]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":90,"s":[-31]},{"t":180,"s":[-36]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[132.911,124.62,0],"to":[-1.333,1.25,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[124.911,132.12,0],"to":[0,0,0],"ti":[-1.333,1.25,0]},{"t":180,"s":[132.911,124.62,0]}],"ix":2},"a":{"a":0,"k":[27.027,9.643,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-5.244,0.03],[0,0],[0.03,-5.271],[5.244,-0.03],[0,0],[-0.03,5.271]],"o":[[0,0],[5.244,-0.03],[-0.03,5.271],[0,0],[-5.244,0.03],[0.03,-5.271]],"v":[[9.55,0.199],[44.612,0],[54.054,9.49],[44.505,19.088],[9.442,19.286],[0,9.796]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"op","nm":"Offset Paths 1","a":{"a":0,"k":-0.5,"ix":1},"lj":1,"ml":{"a":0,"k":4,"ix":3},"ix":3,"mn":"ADBE Vector Filter - Offset","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"holding_arm Stroke","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-5.244,0.03],[0,0],[0.03,-5.271],[5.244,-0.03],[0,0],[-0.03,5.271]],"o":[[0,0],[5.244,-0.03],[-0.03,5.271],[0,0],[-5.244,0.03],[0.03,-5.271]],"v":[[9.55,0.199],[44.612,0],[54.054,9.49],[44.505,19.088],[9.442,19.286],[0,9.796]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0.752941176471,0.776470588235,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"holding_arm Fill","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":102,"ty":4,"nm":"holding_hand","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[-30]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":90,"s":[-7]},{"t":180,"s":[-30]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[106.048,144.62,0],"to":[-2.458,0.917,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[91.298,150.12,0],"to":[0,0,0],"ti":[-2.458,0.917,0]},{"t":180,"s":[106.048,144.62,0]}],"ix":2},"a":{"a":0,"k":[19.679,12.241,0],"ix":1},"s":{"a":0,"k":[112,112,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[2.592,0.001],[1.65,1.556],[1.875,-0.27],[1.021,-0.935],[0,0],[0.415,-1.089],[-0.135,-0.691],[-1.079,-0.344],[-1.193,0.428],[-0.944,-1.12],[0.002,-0.63],[1.31,-0.161],[1.297,-0.175],[0.131,-0.116],[0.027,-0.172],[-0.636,-0.63],[-0.831,-0.288],[-1.092,-0.052],[-2.114,0.905],[-2.937,0.199],[-2.874,1.088],[-1.291,3.016],[0.032,0.299],[0.264,0.153],[4.307,1.964]],"o":[[-2.411,1.453],[-2.331,0.004],[-1.332,-1.235],[-1.255,0.18],[0,0],[-0.907,0.69],[-0.149,0.729],[0.153,1.226],[1.079,0.344],[1.483,-0.505],[0.389,0.415],[-0.091,1.389],[-1.31,0.161],[-0.156,-0.01],[-0.131,0.116],[-0.227,0.996],[0.631,0.618],[0.958,0.461],[2.168,0],[2.847,-1.209],[2.937,-0.199],[2.874,-1.088],[0.148,-0.283],[-0.089,-0.315],[-3.752,-2.889],[0,0]],"v":[[29.088,0.675],[22.651,3.229],[15.544,2.558],[10.985,0.031],[7.6,2.133],[2.153,7.152],[0.117,9.892],[0.097,12.046],[1.625,15.039],[5.162,13.965],[9.101,14.963],[9.701,16.585],[6.822,19.148],[2.997,19.112],[2.548,19.276],[2.301,19.726],[2.957,22.337],[5.169,23.708],[8.268,24.483],[14.636,22.133],[23.415,20.483],[32.202,19.031],[39.171,12.767],[39.349,11.868],[38.803,11.143],[30.733,3.309]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0.752941176471,0.776470588235,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"holding_hand","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":103,"ty":4,"nm":"upper_body","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[0]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":90,"s":[-4]},{"t":180,"s":[0]}],"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[235.526,108.691,0],"to":[-1,0.333,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[229.526,110.691,0],"to":[0,0,0],"ti":[-1,0.333,0]},{"t":180,"s":[235.526,108.691,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"rc","d":1,"s":{"a":0,"k":[143.213,188.336],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":104,"ty":4,"nm":"Path 332","parent":103,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[39.743,-4.147,0],"ix":2},"a":{"a":0,"k":[18.356,22.253,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-1.934,-1.331],[-1.459,-1.626],[-1.466,-1.92],[-1.606,-1.715],[-1.619,-3.142],[4.645,-4.357],[0.766,-0.219],[0.674,0.784],[0.689,0.749],[2.321,0.221],[2.308,-0.151],[0.459,0.212],[0.185,0.355],[-0.957,5.03],[0,0],[-0.894,2.05],[-2.289,-0.512]],"o":[[1.879,1.167],[1.519,1.875],[1.466,1.92],[2.443,2.598],[-3.965,4.933],[-0.518,0.583],[-1.055,0.108],[-0.723,-0.717],[-1.624,-1.602],[-2.302,-0.214],[-0.507,0.057],[-0.342,-0.224],[-2.677,-4.403],[0,0],[0.319,-2.199],[0.83,-1.696],[2.289,0.512]],"v":[[17.164,5.078],[22.196,9.289],[26.044,15.388],[30.997,20.405],[36.712,29.308],[23.782,43.26],[21.815,44.488],[19.044,43.407],[17.123,41.045],[11.013,38.223],[4.087,38.127],[2.608,37.89],[1.805,37.007],[0.921,22.044],[3.109,10.524],[4.937,4.124],[9.902,0.06]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.309803921569,0.298039215686,0.43137254902,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 332","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":105,"ty":4,"nm":"Path 331","parent":103,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-25.843,-79.028,0],"ix":2},"a":{"a":0,"k":[24.939,15.14,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.06,1.229],[-0.183,0.434],[-1.071,-0.23],[-4.437,-0.243],[-0.897,-4.16],[-2.195,3.132],[0.167,2.112],[2.436,1.926],[0,0],[1.215,0.479],[1.794,0],[4.772,-2.336],[1.446,-1.638],[0,0],[0.194,-0.645],[-0.174,-0.915],[-0.576,-1.594],[-2.061,-1.523],[-0.917,0.026]],"o":[[-0.042,-0.466],[0.542,-0.922],[4.303,1.037],[4.437,0.243],[3.216,-2.182],[1.231,-1.766],[-0.241,-3.046],[0,0],[-0.967,-0.851],[-1.707,-0.557],[-5.354,0],[-2.008,0.979],[0,0],[-0.495,0.476],[-0.187,0.909],[0.308,1.664],[0.957,2.656],[0.763,0.563],[1.586,-0.032]],"v":[[12.697,25.198],[12.912,23.828],[15.943,23.419],[29.221,23.758],[39.541,30.279],[47.725,22.241],[49.86,16.347],[44.506,9.096],[37.145,3.336],[33.845,1.326],[28.492,1.038],[12.624,1.038],[7.678,5.339],[1.093,12.788],[0.042,14.497],[0.517,17.217],[0.651,22.254],[7.042,26.811],[9.927,29.275]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.376470588235,0.364705882353,0.509803921569,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 331","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":106,"ty":4,"nm":"Path 329","parent":103,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[45.338,44.927,0],"ix":2},"a":{"a":0,"k":[26.268,44.068,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-1.6,1.318],[0,0],[-1.071,-1.382],[-1.529,-4.032],[0.415,-3.174],[0.634,-1.534],[1.477,-2.76],[1.542,-1.898],[5.009,-4.741],[0.797,-2.394],[3.46,-3.264],[1.33,-0.883],[2.37,0.044],[0.947,0.398],[0.248,2.496],[-0.973,2.079],[-5.709,4.864],[-2.53,3.539],[-1.119,2.537],[-1.118,3.302],[-0.475,1.389],[0.89,1.197],[0.964,0.378],[0.696,3.859],[-1.328,1.74],[-1.732,1.342]],"o":[[0,0],[1.178,1.28],[2.635,3.47],[1.191,2.989],[-0.278,1.627],[-1.004,2.948],[-1.233,2.094],[-4.245,5.379],[-1.874,1.773],[-1.506,4.422],[-1.113,1.125],[-1.992,1.229],[-1.034,0.006],[-2.369,-1.075],[-0.219,-2.268],[3.145,-6.662],[3.346,-2.848],[1.713,-2.212],[1.272,-3.258],[0.468,-1.402],[0.475,-1.389],[-0.667,-0.765],[-3.647,-1.766],[-0.279,-2.137],[1.32,-1.717],[1.586,-1.37]],"v":[[35.488,0],[40.969,5.99],[44.396,9.933],[50.673,21.241],[52.44,30.592],[51.068,35.347],[47.34,43.923],[43.171,49.919],[29.271,65.119],[25.797,72.159],[17.251,83.295],[13.577,86.316],[6.885,88.133],[3.88,87.538],[0.059,81.349],[1.21,74.719],[18.141,60.306],[26.58,50.335],[30.844,43.187],[32.737,32.774],[34.551,28.723],[34.297,24.493],[31.814,22.752],[23.388,14.848],[25.021,8.813],[29.619,4.205]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0.752941176471,0.776470588235,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 329","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":107,"ty":4,"nm":"Path 327","parent":103,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-19.409,27.884,0],"ix":2},"a":{"a":0,"k":[52.197,66.284,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.062,-1.134],[4.44,-0.113],[0.571,0.259],[0.173,0.352],[0.764,2.414],[1.131,0.275],[0.609,-0.685],[0.628,-0.668],[2.804,-2.08],[0.495,-0.314],[0.544,-0.144],[5.202,-2.284],[-4.39,-10.08],[-1.673,-4.947],[-0.047,-11.526],[2.677,-7.462],[0.167,-1.754],[-1.506,-1.05],[-1.04,-0.093],[-4.551,1.011],[-12.414,1.51],[0,0],[-1.356,0.607],[2.369,3.482],[0.957,1.766],[-1.64,1.222],[-0.161,4.045],[0.567,11.298],[-0.09,2.347],[-1.031,3.872],[0,0],[2.991,0.717],[2.951,0.877],[6.311,-0.422],[0.429,-0.203],[0.087,-1.562],[2.931,-2.029],[2.697,-2.31]],"o":[[-1.465,-4.009],[-0.621,0.113],[-0.324,-0.236],[-1.278,-2.206],[-0.335,-1.069],[-0.91,-0.224],[-0.54,0.735],[-2.677,2.266],[-0.462,0.339],[-0.482,0.281],[-5.443,1.694],[1.874,10.777],[2.088,4.8],[3.708,10.963],[0,7.885],[-0.602,1.69],[-0.167,1.754],[0.872,0.55],[4.625,0.64],[12.2,-2.701],[0,0],[1.493,-0.1],[3.808,-1.99],[-1.131,-1.67],[-0.957,-1.766],[3.346,-2.496],[0.446,-11.315],[-0.17,-2.343],[0.234,-3.981],[0,0],[-1.653,-2.496],[-2.991,-0.717],[-6.023,-1.792],[-0.479,0.008],[-1.419,0.774],[-0.201,3.462],[-2.931,2.029],[-0.948,0.684]],"v":[[50.735,21.698],[40.824,15.157],[38.99,14.933],[38.234,14.037],[35.162,7.087],[33.234,4.482],[30.785,5.506],[29.032,7.612],[18.866,9.89],[17.527,10.978],[15.981,11.618],[0,17.589],[8.178,49.429],[14.302,63.88],[18.217,98.1],[15.54,121.498],[14.034,126.618],[15.921,131.405],[18.832,132.384],[32.665,130.848],[69.728,125.088],[90.541,122.529],[94.851,121.46],[96.651,110.509],[92.964,105.703],[93.573,100.231],[96.076,89.063],[95.895,55.144],[95.775,48.104],[98.07,36.354],[104.395,12.546],[96.584,7.746],[87.516,5.941],[69.775,0.028],[68.396,0.348],[67.111,4.642],[61.316,13.019],[52.328,18.831]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.309803921569,0.298039215686,0.43137254902,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 327","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":108,"ty":4,"nm":"Ellipse 112","parent":103,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-25.811,-60.816,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[42.162,40.32],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0.752941176471,0.776470588235,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 112","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":109,"ty":4,"nm":"Path 326","parent":103,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-24.742,-72.686,0],"ix":2},"a":{"a":0,"k":[24.942,15.14,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.047,1.229],[-0.184,0.434],[-1.071,-0.23],[-4.437,-0.243],[-0.89,-4.16],[-2.192,3.135],[0.167,2.112],[2.443,1.933],[0,0],[1.217,0.479],[1.794,0],[4.772,-2.336],[1.446,-1.638],[0,0],[0.196,-0.646],[-0.174,-0.915],[-0.576,-1.6],[-2.061,-1.523],[-0.917,0.026]],"o":[[-0.047,-0.466],[0.542,-0.915],[4.303,1.037],[4.437,0.243],[3.219,-2.179],[1.231,-1.76],[-0.241,-3.046],[0,0],[-0.97,-0.851],[-1.7,-0.557],[-5.354,0],[-2.008,0.979],[0,0],[-0.498,0.475],[-0.187,0.909],[0.308,1.664],[0.957,2.65],[0.763,0.563],[1.613,-0.032]],"v":[[12.711,25.198],[12.918,23.828],[15.95,23.419],[29.228,23.758],[39.547,30.279],[47.732,22.241],[49.867,16.353],[44.513,9.096],[37.151,3.336],[33.845,1.326],[28.492,1.038],[12.624,1.038],[7.678,5.339],[1.099,12.788],[0.042,14.497],[0.517,17.217],[0.651,22.26],[7.042,26.811],[9.927,29.275]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.247058823529,0.239215686275,0.337254901961,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 326","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":110,"ty":4,"nm":"Path 321","parent":103,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-17.258,-24.946,0],"ix":2},"a":{"a":0,"k":[24.219,27.249,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.09,-2.654],[1.231,-4.006],[-4.39,-4.736],[-10.677,-0.483],[-1.487,0.445],[-0.982,0.994],[-0.703,4.422],[0.274,4.461],[0.345,0.862],[0.749,0.586],[2.807,1.516],[0.77,1.107],[0.139,1.007],[0,0],[0.68,1.031],[2.55,0.096],[0,0],[2.844,-0.55],[-0.482,-2.125]],"o":[[-0.489,4.16],[-1.847,6.048],[7.147,7.601],[1.553,0.128],[1.325,-0.516],[3.293,-3.168],[0.703,-4.422],[0,-0.923],[-0.448,-0.82],[-2.374,-2.086],[-1.205,-0.64],[-0.528,-0.882],[0,0],[-0.153,-1.211],[-1.519,-1.958],[0,0],[-2.911,-0.109],[-2.677,0.506],[0.697,2.57]],"v":[[5.574,13.023],[0.535,24.543],[6.264,41.823],[34.118,54.456],[38.722,53.976],[42.222,51.685],[47.991,39.711],[48.151,26.329],[47.629,23.628],[45.816,21.497],[38.019,16.076],[34.753,13.689],[33.743,10.828],[32.879,6.63],[31.614,3.225],[24.634,0.902],[15.265,0.55],[5.681,0.191],[4.39,5.164]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 321","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":111,"ty":4,"nm":"Path 84","parent":103,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[39.743,-4.147,0],"ix":2},"a":{"a":0,"k":[18.356,22.253,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-1.934,-1.331],[-1.459,-1.626],[-1.466,-1.92],[-1.606,-1.715],[-1.619,-3.142],[4.645,-4.357],[0.766,-0.219],[0.674,0.784],[0.689,0.749],[2.321,0.221],[2.308,-0.151],[0.459,0.212],[0.185,0.355],[-0.957,5.03],[0,0],[-0.894,2.05],[-2.289,-0.512]],"o":[[1.879,1.167],[1.519,1.875],[1.466,1.92],[2.443,2.598],[-3.965,4.933],[-0.518,0.583],[-1.055,0.108],[-0.723,-0.717],[-1.624,-1.602],[-2.302,-0.214],[-0.507,0.057],[-0.342,-0.224],[-2.677,-4.403],[0,0],[0.319,-2.199],[0.83,-1.696],[2.289,0.512]],"v":[[17.164,5.078],[22.196,9.289],[26.044,15.388],[30.997,20.405],[36.712,29.308],[23.782,43.26],[21.815,44.488],[19.044,43.407],[17.123,41.045],[11.013,38.223],[4.087,38.127],[2.608,37.89],[1.805,37.007],[0.921,22.044],[3.109,10.524],[4.937,4.124],[9.902,0.06]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.309803921569,0.298039215686,0.43137254902,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 84","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":112,"ty":4,"nm":"Path 82","parent":103,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-25.843,-79.028,0],"ix":2},"a":{"a":0,"k":[24.939,15.14,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.06,1.229],[-0.183,0.434],[-1.071,-0.23],[-4.437,-0.243],[-0.897,-4.16],[-2.195,3.132],[0.167,2.112],[2.436,1.926],[0,0],[1.215,0.479],[1.794,0],[4.772,-2.336],[1.446,-1.638],[0,0],[0.194,-0.645],[-0.174,-0.915],[-0.576,-1.594],[-2.061,-1.523],[-0.917,0.026]],"o":[[-0.042,-0.466],[0.542,-0.922],[4.303,1.037],[4.437,0.243],[3.216,-2.182],[1.231,-1.766],[-0.241,-3.046],[0,0],[-0.967,-0.851],[-1.707,-0.557],[-5.354,0],[-2.008,0.979],[0,0],[-0.495,0.476],[-0.187,0.909],[0.308,1.664],[0.957,2.656],[0.763,0.563],[1.586,-0.032]],"v":[[12.697,25.198],[12.912,23.828],[15.943,23.419],[29.221,23.758],[39.541,30.279],[47.725,22.241],[49.86,16.347],[44.506,9.096],[37.145,3.336],[33.845,1.326],[28.492,1.038],[12.624,1.038],[7.678,5.339],[1.093,12.788],[0.042,14.497],[0.517,17.217],[0.651,22.254],[7.042,26.811],[9.927,29.275]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.376470588235,0.364705882353,0.509803921569,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 82","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":113,"ty":4,"nm":"Path 80","parent":103,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[45.338,44.927,0],"ix":2},"a":{"a":0,"k":[26.268,44.068,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-1.6,1.318],[0,0],[-1.071,-1.382],[-1.529,-4.032],[0.415,-3.174],[0.634,-1.534],[1.477,-2.76],[1.542,-1.898],[5.009,-4.741],[0.797,-2.394],[3.46,-3.264],[1.33,-0.883],[2.37,0.044],[0.947,0.398],[0.248,2.496],[-0.973,2.079],[-5.709,4.864],[-2.53,3.539],[-1.119,2.537],[-1.118,3.302],[-0.475,1.389],[0.89,1.197],[0.964,0.378],[0.696,3.859],[-1.328,1.74],[-1.732,1.342]],"o":[[0,0],[1.178,1.28],[2.635,3.47],[1.191,2.989],[-0.278,1.627],[-1.004,2.948],[-1.233,2.094],[-4.245,5.379],[-1.874,1.773],[-1.506,4.422],[-1.113,1.125],[-1.992,1.229],[-1.034,0.006],[-2.369,-1.075],[-0.219,-2.268],[3.145,-6.662],[3.346,-2.848],[1.713,-2.212],[1.272,-3.258],[0.468,-1.402],[0.475,-1.389],[-0.667,-0.765],[-3.647,-1.766],[-0.279,-2.137],[1.32,-1.717],[1.586,-1.37]],"v":[[35.488,0],[40.969,5.99],[44.396,9.933],[50.673,21.241],[52.44,30.592],[51.068,35.347],[47.34,43.923],[43.171,49.919],[29.271,65.119],[25.797,72.159],[17.251,83.295],[13.577,86.316],[6.885,88.133],[3.88,87.538],[0.059,81.349],[1.21,74.719],[18.141,60.306],[26.58,50.335],[30.844,43.187],[32.737,32.774],[34.551,28.723],[34.297,24.493],[31.814,22.752],[23.388,14.848],[25.021,8.813],[29.619,4.205]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0.752941176471,0.776470588235,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 80","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":114,"ty":4,"nm":"Path 78","parent":103,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-19.409,27.884,0],"ix":2},"a":{"a":0,"k":[52.197,66.284,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.062,-1.134],[4.44,-0.113],[0.571,0.259],[0.173,0.352],[0.764,2.414],[1.131,0.275],[0.609,-0.685],[0.628,-0.668],[2.804,-2.08],[0.495,-0.314],[0.544,-0.144],[5.202,-2.284],[-4.39,-10.08],[-1.673,-4.947],[-0.047,-11.526],[2.677,-7.462],[0.167,-1.754],[-1.506,-1.05],[-1.04,-0.093],[-4.551,1.011],[-12.414,1.51],[0,0],[-1.356,0.607],[2.369,3.482],[0.957,1.766],[-1.64,1.222],[-0.161,4.045],[0.567,11.298],[-0.09,2.347],[-1.031,3.872],[0,0],[2.991,0.717],[2.951,0.877],[6.311,-0.422],[0.429,-0.203],[0.087,-1.562],[2.931,-2.029],[2.697,-2.31]],"o":[[-1.465,-4.009],[-0.621,0.113],[-0.324,-0.236],[-1.278,-2.206],[-0.335,-1.069],[-0.91,-0.224],[-0.54,0.735],[-2.677,2.266],[-0.462,0.339],[-0.482,0.281],[-5.443,1.694],[1.874,10.777],[2.088,4.8],[3.708,10.963],[0,7.885],[-0.602,1.69],[-0.167,1.754],[0.872,0.55],[4.625,0.64],[12.2,-2.701],[0,0],[1.493,-0.1],[3.808,-1.99],[-1.131,-1.67],[-0.957,-1.766],[3.346,-2.496],[0.446,-11.315],[-0.17,-2.343],[0.234,-3.981],[0,0],[-1.653,-2.496],[-2.991,-0.717],[-6.023,-1.792],[-0.479,0.008],[-1.419,0.774],[-0.201,3.462],[-2.931,2.029],[-0.948,0.684]],"v":[[50.735,21.698],[40.824,15.157],[38.99,14.933],[38.234,14.037],[35.162,7.087],[33.234,4.482],[30.785,5.506],[29.032,7.612],[18.866,9.89],[17.527,10.978],[15.981,11.618],[0,17.589],[8.178,49.429],[14.302,63.88],[18.217,98.1],[15.54,121.498],[14.034,126.618],[15.921,131.405],[18.832,132.384],[32.665,130.848],[69.728,125.088],[90.541,122.529],[94.851,121.46],[96.651,110.509],[92.964,105.703],[93.573,100.231],[96.076,89.063],[95.895,55.144],[95.775,48.104],[98.07,36.354],[104.395,12.546],[96.584,7.746],[87.516,5.941],[69.775,0.028],[68.396,0.348],[67.111,4.642],[61.316,13.019],[52.328,18.831]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.309803921569,0.298039215686,0.43137254902,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 78","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":115,"ty":4,"nm":"Ellipse 51","parent":103,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-25.81,-60.816,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[42.162,40.32],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0.752941176471,0.776470588235,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 51","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":116,"ty":4,"nm":"Path 77","parent":103,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-24.742,-72.686,0],"ix":2},"a":{"a":0,"k":[24.942,15.14,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.047,1.229],[-0.184,0.434],[-1.071,-0.23],[-4.437,-0.243],[-0.89,-4.16],[-2.192,3.135],[0.167,2.112],[2.443,1.933],[0,0],[1.217,0.479],[1.794,0],[4.772,-2.336],[1.446,-1.638],[0,0],[0.196,-0.646],[-0.174,-0.915],[-0.576,-1.6],[-2.061,-1.523],[-0.917,0.026]],"o":[[-0.047,-0.466],[0.542,-0.915],[4.303,1.037],[4.437,0.243],[3.219,-2.179],[1.231,-1.76],[-0.241,-3.046],[0,0],[-0.97,-0.851],[-1.7,-0.557],[-5.354,0],[-2.008,0.979],[0,0],[-0.498,0.475],[-0.187,0.909],[0.308,1.664],[0.957,2.65],[0.763,0.563],[1.613,-0.032]],"v":[[12.711,25.198],[12.918,23.828],[15.95,23.419],[29.228,23.758],[39.547,30.279],[47.732,22.241],[49.867,16.353],[44.513,9.096],[37.151,3.336],[33.845,1.326],[28.492,1.038],[12.624,1.038],[7.678,5.339],[1.099,12.788],[0.042,14.497],[0.517,17.217],[0.651,22.26],[7.042,26.811],[9.927,29.275]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.247058823529,0.239215686275,0.337254901961,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 77","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":117,"ty":4,"nm":"Path 71","parent":103,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-17.258,-24.946,0],"ix":2},"a":{"a":0,"k":[24.219,27.249,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.09,-2.654],[1.231,-4.006],[-4.39,-4.736],[-10.677,-0.483],[-1.487,0.445],[-0.982,0.994],[-0.703,4.422],[0.274,4.461],[0.345,0.862],[0.749,0.586],[2.807,1.516],[0.77,1.107],[0.139,1.007],[0,0],[0.68,1.031],[2.55,0.096],[0,0],[2.844,-0.55],[-0.482,-2.125]],"o":[[-0.489,4.16],[-1.847,6.048],[7.147,7.601],[1.553,0.128],[1.325,-0.516],[3.293,-3.168],[0.703,-4.422],[0,-0.923],[-0.448,-0.82],[-2.374,-2.086],[-1.205,-0.64],[-0.528,-0.882],[0,0],[-0.153,-1.211],[-1.519,-1.958],[0,0],[-2.911,-0.109],[-2.677,0.506],[0.697,2.57]],"v":[[5.574,13.023],[0.535,24.543],[6.264,41.823],[34.118,54.456],[38.722,53.976],[42.222,51.685],[47.991,39.711],[48.151,26.329],[47.629,23.628],[45.816,21.497],[38.019,16.076],[34.753,13.689],[33.743,10.828],[32.879,6.63],[31.614,3.225],[24.634,0.902],[15.265,0.55],[5.681,0.191],[4.39,5.164]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 71","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":118,"ty":4,"nm":"Path 70","parent":103,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-17.258,-24.946,0],"ix":2},"a":{"a":0,"k":[24.219,27.249,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.09,-2.654],[1.231,-4.006],[-4.39,-4.736],[-10.677,-0.483],[-1.487,0.445],[-0.982,0.994],[-0.703,4.422],[0.274,4.461],[0.345,0.862],[0.749,0.586],[2.807,1.516],[0.77,1.107],[0.139,1.007],[0,0],[0.68,1.031],[2.55,0.096],[0,0],[2.844,-0.55],[-0.482,-2.125]],"o":[[-0.489,4.16],[-1.847,6.048],[7.147,7.601],[1.553,0.128],[1.325,-0.516],[3.293,-3.168],[0.703,-4.422],[0,-0.923],[-0.448,-0.82],[-2.374,-2.086],[-1.205,-0.64],[-0.528,-0.882],[0,0],[-0.153,-1.211],[-1.519,-1.958],[0,0],[-2.911,-0.109],[-2.677,0.506],[0.697,2.57]],"v":[[5.574,13.023],[0.535,24.543],[6.264,41.823],[34.118,54.456],[38.722,53.976],[42.222,51.685],[47.991,39.711],[48.151,26.329],[47.629,23.628],[45.816,21.497],[38.019,16.076],[34.753,13.689],[33.743,10.828],[32.879,6.63],[31.614,3.225],[24.634,0.902],[15.265,0.55],[5.681,0.191],[4.39,5.164]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0.752941176471,0.776470588235,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 70","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":119,"ty":4,"nm":"lower_body","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[235.144,302.048,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"rc","d":1,"s":{"a":0,"k":[103.212,230.799],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":120,"ty":4,"nm":"Path 322","parent":119,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-0.05,13.727,0],"ix":2},"a":{"a":0,"k":[24.584,79.501,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.403,-3.757],[0,0],[2.034,-10.79],[0.977,-3.667],[1.272,-10.438],[0.034,-0.275],[0.85,-2.15],[0.689,-1.574],[0.167,-3.411],[5.479,0.78],[1.774,1.92],[-0.335,2.803],[-1.044,8.695],[-0.988,3.636],[-0.442,1.19],[-0.462,1.683],[-0.242,2.763],[-1.138,8.749],[0,0],[0.375,13.357],[0.134,1.984],[-2.469,1.798],[-3.145,1.299],[-0.408,-1.395],[-0.023,-3.077],[0.403,-3.757]],"o":[[0,0],[-1.037,10.931],[-0.669,3.718],[-2.717,10.182],[-0.04,0.301],[-0.261,2.304],[-0.669,1.594],[-1.339,3.149],[-4.824,-2.604],[-2.677,-0.378],[-2.008,-2.086],[1.053,-8.704],[0.348,-3.742],[0.361,-1.21],[0.609,-1.638],[0.64,-2.704],[1.078,-8.755],[0,0],[1.707,-13.261],[-0.054,-1.978],[-0.188,-2.874],[2.751,-1.984],[1.693,-0.704],[0.866,2.963],[0.038,3.776],[0,0]],"v":[[48.615,20.609],[44.64,62.286],[40.511,94.983],[38.008,106.067],[30.077,136.64],[29.97,137.555],[28.632,144.339],[26.33,148.96],[24.61,159.001],[9.023,153.881],[1.661,151.321],[0.223,143.238],[3.368,117.139],[5.376,106.055],[6.614,102.464],[8.3,97.504],[9.625,89.293],[13.139,63.054],[13.199,62.593],[15.829,22.651],[15.555,16.712],[17.563,10.517],[27.079,5.845],[47.826,0.2],[49.164,9.301],[48.615,20.609]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.376470588235,0.364705882353,0.509803921569,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 322","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":121,"ty":4,"nm":"Path 323","parent":119,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-6.297,-19.719,0],"ix":2},"a":{"a":0,"k":[45.309,95.68,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.195,-7.895],[-1.419,-8.384],[0,0],[-4.685,-8.48],[-4.571,-5.69],[-10.648,-14.4],[-5.28,0.877],[-2.717,2.125],[-2.53,3.149],[3.427,2.24],[1.325,0.486],[2.182,5.018],[2.911,4.666],[5.448,10.592],[0.228,6.573],[0,0],[-0.783,1.683],[-5.1,0.57],[-5.124,2.644],[-1.559,2.816],[-0.167,2.906],[0,0],[0.957,2.458],[6.9,-0.294],[12.127,-3.571],[3.099,-0.595],[2.57,-0.832],[0.649,-3.993]],"o":[[0.274,8.486],[0,0],[1.599,9.472],[3.507,6.349],[11.23,13.99],[3.099,4.186],[3.467,-0.57],[3.212,-2.509],[2.53,-3.149],[-1.171,-0.762],[-5.307,-1.92],[-2.182,-5.018],[-6.331,-10.131],[-3.052,-5.926],[0,0],[-0.067,-1.843],[2.081,-4.48],[5.783,-0.646],[2.938,-1.517],[1.432,-2.56],[0,0],[0.154,-2.624],[-2.429,-6.182],[-12.836,0.55],[-3.005,0.883],[-2.677,0.518],[-4.604,1.485],[-1.339,7.793]],"v":[[0.037,51.541],[3.149,76.827],[6.074,94.107],[14.031,121.716],[27.155,139.168],[57.471,183.411],[70.274,191.251],[78.974,185.792],[88.584,178.298],[88.183,167.686],[84.261,166.15],[73.332,154.247],[66.908,139.181],[42.179,113.108],[38.605,93.735],[38.01,76.897],[38.679,71.457],[52.151,65.985],[68.661,61.006],[76.023,54.741],[77.816,46.261],[79.583,15.739],[78.914,7.938],[61.42,0.028],[24.612,9.429],[15.49,11.701],[6.897,12.84],[1.757,27.957]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.376470588235,0.364705882353,0.509803921569,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 323","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":122,"ty":4,"nm":"Path 324","parent":119,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[32.989,83.972,0],"ix":2},"a":{"a":0,"k":[18.617,26.559,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-2.269,-2.182],[-0.294,-1.51],[-0.056,-8.527],[-0.384,-0.709],[-0.499,-0.208],[-2.73,2.285],[-0.288,6.419],[-0.301,1.632],[-1.298,2.112],[-1.337,3.98],[1.231,1.043],[0.528,0.15],[0,0],[0.502,-0.858],[2.483,-0.486],[2.369,-1.21]],"o":[[1.131,1.094],[1.636,8.382],[-0.073,0.795],[0.321,0.42],[3.273,1.491],[5.053,-4.23],[0.074,-1.651],[0.442,-2.419],[2.221,-3.6],[0.495,-1.498],[-0.431,-0.328],[0,0],[-1.285,-0.454],[-1.238,2.093],[-2.483,0.486],[-4.015,2.042]],"v":[[2.556,19.731],[4.349,23.936],[6.893,49.35],[7.368,51.654],[8.619,52.614],[18.417,49.74],[28.034,33.407],[28.215,28.454],[31.434,21.817],[36.788,10.413],[36.386,5.99],[34.934,5.267],[20.143,0.019],[15.171,8.249],[10.219,12.013],[2.302,13.005]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.266666666667,0.254901960784,0.403921568627,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 324","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":123,"ty":4,"nm":"Path 325","parent":119,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-10.082,97.469,0],"ix":2},"a":{"a":0,"k":[12.609,17.931,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.991,5.011],[0.468,0.377],[0.807,0.067],[1.948,-2.003],[1.519,-2.112],[0.415,-0.704],[-0.076,-1.183],[-0.241,-3.251],[-1.787,-2.138],[-4.578,-0.218],[0,0],[-0.982,0.291],[-0.447,1.222],[1.887,4.608]],"o":[[-0.274,-0.523],[-0.684,-0.416],[-2.811,-0.461],[-1.82,1.875],[-0.482,0.64],[-0.516,1.078],[-0.08,3.258],[0.194,2.726],[2.864,3.43],[0,0],[1.021,0.114],[1.23,-0.541],[1.934,-4.595],[-2.175,-5.306]],"v":[[16.811,2.438],[15.687,1.075],[13.418,0.339],[5.327,1.581],[2.302,8.621],[0.75,10.541],[0.08,13.984],[0.161,23.763],[2.617,31.487],[15.225,35.628],[18.94,35.814],[21.978,35.545],[24.601,32.787],[21.59,18.636]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.266666666667,0.254901960784,0.403921568627,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 325","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":124,"ty":4,"nm":"Path 76","parent":119,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-10.082,97.469,0],"ix":2},"a":{"a":0,"k":[12.609,17.931,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.991,5.011],[0.468,0.377],[0.807,0.067],[1.948,-2.003],[1.519,-2.112],[0.415,-0.704],[-0.076,-1.183],[-0.241,-3.251],[-1.787,-2.138],[-4.578,-0.218],[0,0],[-0.982,0.291],[-0.447,1.222],[1.887,4.608]],"o":[[-0.274,-0.523],[-0.684,-0.416],[-2.811,-0.461],[-1.82,1.875],[-0.482,0.64],[-0.516,1.078],[-0.08,3.258],[0.194,2.726],[2.864,3.43],[0,0],[1.021,0.114],[1.23,-0.541],[1.934,-4.595],[-2.175,-5.306]],"v":[[16.811,2.438],[15.687,1.075],[13.418,0.339],[5.327,1.581],[2.302,8.621],[0.75,10.541],[0.08,13.984],[0.161,23.763],[2.617,31.487],[15.225,35.628],[18.94,35.814],[21.978,35.545],[24.601,32.787],[21.59,18.636]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,0],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 76","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":125,"ty":4,"nm":"Path 75","parent":119,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[32.989,83.972,0],"ix":2},"a":{"a":0,"k":[18.617,26.559,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-2.269,-2.182],[-0.294,-1.51],[-0.056,-8.527],[-0.384,-0.709],[-0.499,-0.208],[-2.73,2.285],[-0.288,6.419],[-0.301,1.632],[-1.298,2.112],[-1.337,3.98],[1.231,1.043],[0.528,0.15],[0,0],[0.502,-0.858],[2.483,-0.486],[2.369,-1.21]],"o":[[1.131,1.094],[1.636,8.382],[-0.073,0.795],[0.321,0.42],[3.273,1.491],[5.053,-4.23],[0.074,-1.651],[0.442,-2.419],[2.221,-3.6],[0.495,-1.498],[-0.431,-0.328],[0,0],[-1.285,-0.454],[-1.238,2.093],[-2.483,0.486],[-4.015,2.042]],"v":[[2.556,19.731],[4.349,23.936],[6.893,49.35],[7.368,51.654],[8.619,52.614],[18.417,49.74],[28.034,33.407],[28.215,28.454],[31.434,21.817],[36.788,10.413],[36.386,5.99],[34.934,5.267],[20.143,0.019],[15.171,8.249],[10.219,12.013],[2.302,13.005]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,0],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 75","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":126,"ty":4,"nm":"Path 74","parent":119,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-6.298,-19.719,0],"ix":2},"a":{"a":0,"k":[45.309,95.68,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.195,-7.895],[-1.419,-8.384],[0,0],[-4.685,-8.48],[-4.571,-5.69],[-10.648,-14.4],[-5.28,0.877],[-2.717,2.125],[-2.53,3.149],[3.427,2.24],[1.325,0.486],[2.182,5.018],[2.911,4.666],[5.448,10.592],[0.228,6.573],[0,0],[-0.783,1.683],[-5.1,0.57],[-5.124,2.644],[-1.559,2.816],[-0.167,2.906],[0,0],[0.957,2.458],[6.9,-0.294],[12.127,-3.571],[3.099,-0.595],[2.57,-0.832],[0.649,-3.993]],"o":[[0.274,8.486],[0,0],[1.599,9.472],[3.507,6.349],[11.23,13.99],[3.099,4.186],[3.467,-0.57],[3.212,-2.509],[2.53,-3.149],[-1.171,-0.762],[-5.307,-1.92],[-2.182,-5.018],[-6.331,-10.131],[-3.052,-5.926],[0,0],[-0.067,-1.843],[2.081,-4.48],[5.783,-0.646],[2.938,-1.517],[1.432,-2.56],[0,0],[0.154,-2.624],[-2.429,-6.182],[-12.836,0.55],[-3.005,0.883],[-2.677,0.518],[-4.604,1.485],[-1.339,7.793]],"v":[[0.037,51.541],[3.149,76.827],[6.074,94.107],[14.031,121.716],[27.155,139.168],[57.471,183.411],[70.274,191.251],[78.974,185.792],[88.584,178.298],[88.183,167.686],[84.261,166.15],[73.332,154.247],[66.908,139.181],[42.179,113.108],[38.605,93.735],[38.01,76.897],[38.679,71.457],[52.151,65.985],[68.661,61.006],[76.023,54.741],[77.816,46.261],[79.583,15.739],[78.914,7.938],[61.42,0.028],[24.612,9.429],[15.49,11.701],[6.897,12.84],[1.757,27.957]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.376470588235,0.364705882353,0.509803921569,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 74","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":127,"ty":4,"nm":"Path 73","parent":119,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-1.105,34.3,0],"ix":2},"a":{"a":0,"k":[16.982,37.481,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.178,-0.311],[0.977,-3.667],[1.271,-10.438],[0.033,-0.275],[8.111,11.475],[-0.462,1.683],[-0.261,2.782],[-1.138,8.749],[0,0],[-0.865,-1.722],[-6.331,-10.131]],"o":[[-0.669,3.718],[-2.717,10.182],[-0.04,0.301],[-8.312,-11.353],[0.609,-1.638],[0.665,-2.72],[1.078,-8.755],[0,0],[0.47,1.857],[5.448,10.585],[0.21,0.316]],"v":[[33.964,32.39],[31.461,43.475],[23.53,74.047],[23.423,74.962],[0,39.923],[1.686,34.963],[3.078,26.7],[6.592,0.461],[6.652,0],[8.66,5.382],[33.382,31.449]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0,0,0,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 73","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":128,"ty":4,"nm":"Path 72","parent":119,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-0.049,13.727,0],"ix":2},"a":{"a":0,"k":[24.584,79.501,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.403,-3.757],[0,0],[2.034,-10.79],[0.977,-3.667],[1.272,-10.438],[0.034,-0.275],[0.85,-2.15],[0.689,-1.574],[0.167,-3.411],[5.479,0.78],[1.774,1.92],[-0.335,2.803],[-1.044,8.695],[-0.988,3.636],[-0.442,1.19],[-0.462,1.683],[-0.242,2.763],[-1.138,8.749],[0,0],[0.375,13.357],[0.134,1.984],[-2.469,1.798],[-3.145,1.299],[-0.408,-1.395],[-0.023,-3.077],[0.403,-3.757]],"o":[[0,0],[-1.037,10.931],[-0.669,3.718],[-2.717,10.182],[-0.04,0.301],[-0.261,2.304],[-0.669,1.594],[-1.339,3.149],[-4.824,-2.604],[-2.677,-0.378],[-2.008,-2.086],[1.053,-8.704],[0.348,-3.742],[0.361,-1.21],[0.609,-1.638],[0.64,-2.704],[1.078,-8.755],[0,0],[1.707,-13.261],[-0.054,-1.978],[-0.188,-2.874],[2.751,-1.984],[1.693,-0.704],[0.866,2.963],[0.038,3.776],[0,0]],"v":[[48.615,20.609],[44.64,62.286],[40.511,94.983],[38.008,106.067],[30.077,136.64],[29.97,137.555],[28.632,144.339],[26.33,148.96],[24.61,159.001],[9.023,153.881],[1.661,151.321],[0.223,143.238],[3.368,117.139],[5.376,106.055],[6.614,102.464],[8.3,97.504],[9.625,89.293],[13.139,63.054],[13.199,62.593],[15.829,22.651],[15.555,16.712],[17.563,10.517],[27.079,5.845],[47.826,0.2],[49.164,9.301],[48.615,20.609]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.376470588235,0.364705882353,0.509803921569,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 72","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":129,"ty":4,"nm":"platform shadow","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[84.419,398.159,0],"to":[-12.167,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":90,"s":[11.419,398.159,0],"to":[0,0,0],"ti":[-12.167,0,0]},{"t":181,"s":[84.419,398.159,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"rc","d":1,"s":{"a":0,"k":[689.214,37.708],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":130,"ty":4,"nm":"Path 367","parent":129,"sr":1,"ks":{"o":{"a":0,"k":10,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[0,0,0],"ix":2},"a":{"a":0,"k":[344.607,18.854,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[6.958,-2.755],[0.133,-0.088],[0.944,-0.144],[0,0],[26.418,0.101],[0,0],[0,5.827],[-37.007,3.522],[-4.166,0.346],[-2.682,0.198],[0,0],[-3.557,0.243],[0,0],[0,0],[-3.278,0.198],[0,0],[0,0],[-4.122,0.214],[-3.532,0.177],[-44.931,0.859],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[-16.197,0.004],[-29.585,-0.482],[0,0],[-15.949,-0.42],[0,0],[-34.064,-2.194],[0,0],[-7.766,-0.618],[-6.37,-0.624],[-2.086,-0.216],[0,0]],"o":[[-0.109,0.102],[-0.739,0.416],[0,0],[-23.077,8.534],[0,0],[-58.667,-4.004],[0,-4.517],[3.837,-0.371],[2.564,-0.214],[0,0],[3.377,-0.255],[0,0],[0,0],[3.148,-0.216],[0,0],[0,0],[3.948,-0.235],[3.421,-0.177],[35.815,-1.761],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[15.613,-0.124],[32.015,0],[0,0],[16.985,0.272],[0,0],[45.984,1.199],[0,0],[8.744,0.562],[7.31,0.581],[2.207,0.216],[0,0],[8.828,0.945]],"v":[[684.893,23.704],[684.53,23.988],[681.969,24.841],[681.969,24.841],[606.465,37.706],[94.463,37.706],[0,22.567],[58.499,10.319],[70.503,9.244],[78.371,8.626],[82.925,8.274],[93.327,7.526],[93.615,7.526],[97.34,7.279],[106.978,6.661],[109.362,6.519],[115.443,6.161],[127.549,5.487],[137.979,4.956],[260.015,1.007],[272.847,0.717],[277.168,0.655],[286.294,0.519],[289.953,0.47],[293.799,0.42],[296.537,0.389],[309.388,0.253],[315.99,0.192],[317.341,0.192],[365.056,0],[457.703,0.735],[457.703,0.735],[507.104,1.773],[507.253,1.773],[628.461,6.933],[629.085,6.977],[653.874,8.756],[674.417,10.573],[680.851,11.228],[681.382,11.29]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.43137254901960786,0.4745098039215686,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 367","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":131,"ty":4,"nm":"Path 98","parent":1,"sr":1,"ks":{"o":{"a":0,"k":99.501,"ix":11},"r":{"a":0,"k":15,"ix":10},"p":{"a":0,"k":[0,-11.5,0],"ix":2},"a":{"a":0,"k":[679.1,515.222,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-191.178,-0.525],[-0.606,-223.115],[347.595,0.954],[0.607,223.115],[-131.954,130.9]],"o":[[347.594,0.954],[0.607,223.115],[-347.595,-0.954],[-0.273,-100.401],[161.873,-160.581]],"v":[[898.199,0.002],[1358.199,678.509],[728.002,1030.439],[99.445,675.055],[47.746,282.32]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"op","nm":"Offset Paths 1","a":{"a":0,"k":-0.5,"ix":1},"lj":1,"ml":{"a":0,"k":4,"ix":3},"ix":3,"mn":"ADBE Vector Filter - Offset","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 98 Stroke","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-191.178,-0.525],[-0.606,-223.115],[347.595,0.954],[0.607,223.115],[-131.954,130.9]],"o":[[347.594,0.954],[0.607,223.115],[-347.595,-0.954],[-0.273,-100.401],[161.873,-160.581]],"v":[[898.199,0.002],[1358.199,678.509],[728.002,1030.439],[99.445,675.055],[47.746,282.32]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 98 Fill","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0},{"ddd":0,"ind":132,"ty":4,"nm":"Path 99","parent":1,"sr":1,"ks":{"o":{"a":0,"k":70.124,"ix":11},"r":{"a":0,"k":15,"ix":10},"p":{"a":0,"k":[0,11.5,0],"ix":2},"a":{"a":0,"k":[679.1,515.222,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-191.178,-0.525],[-0.606,-223.115],[347.595,0.954],[0.607,223.115],[-131.954,130.9]],"o":[[347.594,0.954],[0.607,223.115],[-347.595,-0.954],[-0.273,-100.401],[161.873,-160.581]],"v":[[898.199,0.002],[1358.199,678.509],[728.002,1030.439],[99.445,675.055],[47.746,282.32]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"op","nm":"Offset Paths 1","a":{"a":0,"k":-0.5,"ix":1},"lj":1,"ml":{"a":0,"k":4,"ix":3},"ix":3,"mn":"ADBE Vector Filter - Offset","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 99 Stroke","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-191.178,-0.525],[-0.606,-223.115],[347.595,0.954],[0.607,223.115],[-131.954,130.9]],"o":[[347.594,0.954],[0.607,223.115],[-347.595,-0.954],[-0.273,-100.401],[161.873,-160.581]],"v":[[898.199,0.002],[1358.199,678.509],[728.002,1030.439],[99.445,675.055],[47.746,282.32]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Path 99 Fill","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":-3,"op":184,"st":0,"bm":0}],"markers":[]}\ No newline at end of filediff --git a/frontend/src/components/codeDialog/barCodeDialog.vue b/frontend/src/components/codeDialog/barCodeDialog.vuenew file mode 100644index 0000000..6dcc21f--- /dev/null+++ b/frontend/src/components/codeDialog/barCodeDialog.vue@@ -0,0 +1,175 @@+<template>+ <v-dialog v-model="data.showDialog" :persistent="true" transition="dialog-top-transition" width="auto">+ <template #default>+ <v-card :title="$t('system.page.preView')">+ <v-card-text>+ <div class="print-area-container">+ <div class="print-area-scroll">+ <div+ id="printArea"+ :style="{+ 'grid-template-columns': `repeat(${data.rowsNumber},1fr)`,+ rowGap: `${data.gridRowGap}px`,+ columnGap: `${data.gridColumnGap}px`+ }"+ class="printArea"+ >+ <div v-for="(item, index) in data.printData" :key="index" class="code-container">+ <svg :id="'printBarCode' + item.id"></svg>+ </div>+ </div>+ </div>+ </div>+ </v-card-text>++ <v-card-actions class="justify-space-between">+ <div class="row-number-input">+ <v-row no-gutters>+ <v-col cols="6" class="col">+ <div class="colText">+ <v-text-field+ v-model.number="data.rowsNumber"+ hide-details="auto"+ :label="$t('system.page.rowsNumber')"+ @update:model-value="method.changePrintParams"+ ></v-text-field>+ </div>+ </v-col>+ <v-col cols="6" class="col">+ <div class="colText">+ <v-text-field+ v-model.number="data.gridRowGap"+ hide-details="auto"+ :label="$t('system.page.gridRowGap')"+ @update:model-value="method.changePrintParams"+ ></v-text-field>+ </div>+ </v-col>+ </v-row>+ </div>+ <div class="padding-lr-16">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn v-print="'#printArea'" color="primary" :disabled="isDisabled" variant="text">{{ $t('system.page.print') }}</v-btn>+ </div>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { computed, nextTick, reactive, watch } from 'vue'+import JsBarcode from 'jsbarcode'+import { setStorage, getStorage } from '@/utils/common'++const props = defineProps<{+ menu: string+}>()++const data = reactive({+ showDialog: false,+ printData: [] as any,+ rowsNumber: 5,+ gridColumnGap: 15,+ gridRowGap: 15+})+const isDisabled = computed(() => data.printData.length === 0)++watch(+ () => data.printData,+ () => {+ if (data.printData.length < 5) {+ data.rowsNumber = data.printData.length+ } else {+ data.rowsNumber = 5+ }+ }+)++const method = reactive({+ changePrintParams: () => {+ const storage = {+ cols: data.rowsNumber,+ rs: data.gridRowGap+ }++ setStorage(`BarCode-${ props.menu }`, storage)+ },+ openDialog: (row: any) => {+ try {+ const storage: any = getStorage(`BarCode-${ props.menu }`)++ if (storage) {+ data.rowsNumber = storage.cols+ data.gridRowGap = storage.rs+ }+ } catch {+ data.rowsNumber = 5+ data.gridRowGap = 15+ }++ data.printData = row++ data.showDialog = true++ nextTick(() => {+ for (const item of data.printData) {+ JsBarcode(`#printBarCode${ item.id }`, item.id, {+ fontSize: 12,+ width: 2,+ height: 40,+ displayValue: true+ })+ }+ })+ },+ closeDialog: () => {+ data.showDialog = false+ }+})++defineExpose({+ openDialog: method.openDialog,+ closeDialog: method.closeDialog+})+</script>++<style lang="less" scoped>+.print-area-container {+ background-color: #efefef;+ padding: 15px;+}++.print-area-scroll {+ overflow: auto;+ max-width: 900px;+ min-width: 300px;+ height: 500px;+}++.printArea {+ display: grid;+ align-items: center;+ // grid-gap: 15px;++ .code-container {+ display: flex;+ align-items: center;+ justify-content: center;+ }+}++.row-number-input {+ width: 350px;+ padding: 0 16px;+}++.colText {+ box-sizing: border-box;+ padding: 0 5px;+}++.padding-lr-16 {+ padding: 0 16px;+}+</style>diff --git a/frontend/src/components/codeDialog/qrCodeDialog.vue b/frontend/src/components/codeDialog/qrCodeDialog.vuenew file mode 100644index 0000000..dd19bd0--- /dev/null+++ b/frontend/src/components/codeDialog/qrCodeDialog.vue@@ -0,0 +1,191 @@+<template>+ <v-dialog v-model="data.showDialog" width="auto" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card :title="$t('system.page.preView')">+ <v-card-text>+ <div class="print-area-container">+ <div class="print-area-scroll">+ <div+ id="printArea"+ class="printArea"+ :style="{+ 'grid-template-columns': `repeat(${data.rowsNumber},1fr)`,+ rowGap: `${data.gridRowGap}px`,+ columnGap: `${data.gridColumnGap}px`+ }"+ >+ <div v-for="(item, index) in data.printData" :key="index" class="code-container">+ <div>+ <vue-qr :key="index" :size="150" :auto-color="true" :dot-scale="1" :text="method.formatPrintData(item)"></vue-qr>+ </div>+ <div class="printLabel">+ <slot name="left" :slotData="item"></slot>+ </div>+ </div>+ </div>+ </div>+ </div>+ </v-card-text>++ <v-card-actions class="justify-space-between">+ <div class="row-number-input">+ <v-row no-gutters>+ <v-col cols="6" class="col">+ <div class="colText">+ <v-text-field+ v-model.number="data.rowsNumber"+ hide-details="auto"+ :label="$t('system.page.rowsNumber')"+ @update:model-value="method.changePrintParams"+ ></v-text-field>+ </div>+ </v-col>+ <v-col cols="6" class="col">+ <div class="colText">+ <v-text-field+ v-model.number="data.gridRowGap"+ hide-details="auto"+ :label="$t('system.page.gridRowGap')"+ @update:model-value="method.changePrintParams"+ ></v-text-field>+ </div>+ </v-col>+ </v-row>+ </div>+ <div class="padding-lr-16">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn v-print="'#printArea'" color="primary" :disabled="isDisabled" variant="text">{{ $t('system.page.print') }}</v-btn>+ </div>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script setup lang="ts">+import { computed, reactive } from 'vue'+import VueQr from 'vue-qr/src/packages/vue-qr.vue'+import { setStorage, getStorage } from '@/utils/common'++const props = defineProps<{+ menu: string+}>()++const data = reactive({+ showDialog: false,+ printData: [] as any,+ printText: '',+ rowsNumber: 5,+ gridColumnGap: 15,+ gridRowGap: 15+})++const isDisabled = computed(() => data.printData.length === 0)++const method = reactive({+ changePrintParams: () => {+ const storage = {+ cols: data.rowsNumber,+ rs: data.gridRowGap+ }++ setStorage(`QRCode-${ props.menu }`, storage)+ },+ openDialog: (row: any) => {+ try {+ const storage: any = getStorage(`QRCode-${ props.menu }`)++ if (storage) {+ data.rowsNumber = storage.cols+ data.gridRowGap = storage.rs+ }+ } catch {+ data.rowsNumber = 5+ data.gridRowGap = 15+ }++ data.printData = row+ data.showDialog = true+ },+ formatPrintData: (val: any) => JSON.stringify({+ id: val.id,+ type: val.type+ }),+ closeDialog: () => {+ data.showDialog = false+ }+})++defineExpose({+ openDialog: method.openDialog,+ closeDialog: method.closeDialog+})+</script>++<style scoped lang="less">+.print-area-container {+ background-color: #efefef;+ padding: 15px;+}++.print-area-scroll {+ overflow: auto;+ max-width: 900px;+ min-width: 300px;+ height: 500px;+}++.printArea {+ display: grid;+ // grid-gap: 15px;++ .code-container {+ width: 183px;+ box-sizing: border-box;+ padding: 2px 10px;+ padding-bottom: 10px;++ border: 1px solid #000;++ background-color: #fff;++ display: flex;+ flex-wrap: wrap;+ align-items: center;+ justify-content: center;+ }+}+.row-number-input {+ width: 350px;+ padding: 0 16px;+}++.colText {+ box-sizing: border-box;+ padding: 0 5px;+}++.padding-lr-16 {+ padding: 0 16px;+}+.printLabel {+ width: 100%;+ text-align: center;++ font-size: 12px;+ font-weight: bold;+ // padding-left: 15px;+ white-space: nowrap;+ overflow: hidden; /* 隐藏溢出的文本 */+ text-overflow: ellipsis; /* 显示省略号 */++ .labelTitle {+ opacity: 0.7;+ font-weight: 600;+ }++ div {+ width: 100%;+ }+}+</style>diff --git a/frontend/src/components/custom-checkbox.vue b/frontend/src/components/custom-checkbox.vuenew file mode 100644index 0000000..7467f21--- /dev/null+++ b/frontend/src/components/custom-checkbox.vue@@ -0,0 +1,40 @@+<template>+ <div v-if="props.value" class="checkbox checkboxConfirm" @click="method.clickCheckBox()">+ <v-icon style="font-size: 12px"> mdi-check </v-icon>+ </div>+ <div v-else class="checkbox" @click="method.clickCheckBox()"></div>+</template>++<script lang="ts" setup>+import { reactive } from 'vue'++const emit = defineEmits(['update:value'])++const props = defineProps<{+ value: boolean+}>()++const method = reactive({+ clickCheckBox: () => {+ emit('update:value', !props.value)+ }+})+</script>++<style scoped lang="less">+.checkbox {+ width: 20px;+ height: 20px;+ background-color: #fff;+ border-radius: 5px;+ border: 1px solid #f8f8f9;+ display: flex;+ justify-content: center;+ align-items: center;+}+.checkboxConfirm {+ background-color: #409eff;+ color: #fff;+ border: 1px solid #409eff;+}+</style>diff --git a/frontend/src/components/custom-filter-select.vue b/frontend/src/components/custom-filter-select.vuenew file mode 100644index 0000000..ea9b26e--- /dev/null+++ b/frontend/src/components/custom-filter-select.vue@@ -0,0 +1,122 @@+<template>+ <div :id="`id${data.dynamicID}`">+ <v-combobox+ ref="comboBoxRef"+ v-model="data.cacheObj"+ :label="props.label"+ :items="cacheItems"+ :item-title="props.itemTitle"+ :rules="props.rules"+ variant="outlined"+ clearable+ autocomplete="off"+ return-object+ @click:clear="method.valueClear"+ @update:model-value="method.valueChange"+ >+ </v-combobox>+ </div>+</template>++<script setup lang="tsx">+import { reactive, ref, onMounted, nextTick, computed } from 'vue'+import { generateUUID } from '@/utils/common'++const emit = defineEmits(['update:modelValue'])++const props = defineProps<{+ modelValue: any+ items: any[]+ itemTitle: string+ label: string+ rules: any[]+ mapping: any+}>()++const comboBoxRef = ref()++const data = reactive({+ cacheObj: undefined as any,+ dynamicID: generateUUID()+})++const method = reactive({+ // 点击清空+ valueClear: () => {+ data.cacheObj = undefined++ const cache = { ...props.modelValue }++ for (const item of props.mapping) {+ cache[item.in] = ''+ }++ emit('update:modelValue', cache)+ },+ // 值改变+ valueChange: (val: any) => {+ if (val) {+ const cache = { ...props.modelValue }++ for (const item of props.mapping) {+ cache[item.in] = val[item.out]+ }+ emit('update:modelValue', cache)+ }+ },+ // 选择框光标消失+ selectBlur: () => {+ if (typeof data.cacheObj === 'string') {+ data.cacheObj = undefined+ }+ }+})++onMounted(() => {+ // 处理原始值+ let cache: any = {}++ for (const item of props.mapping) {+ if (props.modelValue[item.in] || props.modelValue[item.in] === 0) {+ cache[item.out] = props.modelValue[item.in]+ } else {+ cache[item.out] = ''+ }+ }++ if (Object.values(cache).filter((item) => item !== '' && item !== 0).length === 0) {+ cache = undefined+ }++ data.cacheObj = cache++ // 挂载失去标点参数+ nextTick(() => {+ const inputDom: any = document.querySelector(`#${ `id${ data.dynamicID }` } > div > div.v-input__control > div > div.v-field__field > div > input`)+ if (inputDom) {+ inputDom.onblur = method.selectBlur+ }+ })+})++const cacheItems = computed(() => {+ // 处理Items+ const cacheItems: any = [...props.items]++ for (const item of cacheItems) {+ for (const key of Object.keys(item)) {+ // 处理数据, 保证下拉框正常运行+ if (item[key] === 0) {+ continue+ }+ if (!item[key]) {+ item[key] = ''+ }+ }+ }++ return cacheItems+})+</script>++<style scoped lang="less"></style>diff --git a/frontend/src/components/custom-pager.vue b/frontend/src/components/custom-pager.vuenew file mode 100644index 0000000..971fe73--- /dev/null+++ b/frontend/src/components/custom-pager.vue@@ -0,0 +1,114 @@+<template>+ <div class="pagerContainer">+ <v-row>+ <v-col cols="8" class="fl-c">+ <v-pagination+ v-model="data.pageIndex"+ :total-visible="7"+ :length="PAGER_LENGTH"+ size="small"+ rounded="circle"+ :active-color="primaryColor"+ @update:modelValue="method.pageChange"+ ></v-pagination>+ </v-col>+ <v-col cols="2" class="fl-s">+ <v-select+ v-model="data.pageSizeSelect"+ hide-details+ variant="underlined"+ density="compact"+ :items="PAGER_SIZE_OPTION"+ item-title="label"+ item-value="value"+ @update:modelValue="method.changePageSizeSelect"+ ></v-select>+ </v-col>+ <v-col cols="2" class="fl-c">+ <div>{{ TOTAL_RECORD }}</div>+ </v-col>+ </v-row>+ </div>+</template>+<script setup lang="ts">+import { reactive, computed } from 'vue'+import { PAGE_SIZE, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { primaryColor } from '@/constant/style'+import i18n from '@/languages/i18n'++const emit = defineEmits(['click', 'page-change'])++const props = defineProps({+ currentPage: {+ type: Number,+ default: 1+ },+ pageSize: {+ type: Number,+ default: DEFAULT_PAGE_SIZE+ },+ total: {+ type: Number,+ default: 0+ },+ pageSizes: {+ type: Array<number>,+ default: PAGE_SIZE+ },+ // !For the time being is not enabled+ layouts: {+ type: Array<string>,+ default: ['PrevJump', 'PrevPage', 'Number', 'NextPage', 'NextJump', 'Sizes', 'FullJump', 'Total']+ },+ // !For the time being is not enabled+ perfect: {+ type: Boolean,+ default: false+ }+})++const data = reactive({+ pageIndex: 1,+ pageSizeSelect: DEFAULT_PAGE_SIZE+})++const method = reactive({+ pageChange: (currentPage: number) => {+ emit('page-change', { currentPage, pageSize: props.pageSize })+ },+ changePageSizeSelect: (pageSize: number) => {+ emit('page-change', { pageIndex: data.pageIndex, pageSize })+ }+})++const PAGER_SIZE_OPTION = computed(() => {+ const res: any = []+ for (const pageSize of props.pageSizes) {+ res.push({ label: `${ pageSize }${ i18n.global.t('system.pager.pageSizes') }`, value: pageSize })+ }+ return res+})+const TOTAL_RECORD = computed(() => `${ i18n.global.t('system.pager.total') } ${ props.total } ${ i18n.global.t('system.pager.record') }`)+const PAGER_LENGTH = computed(() => {+ if (!props.total) {+ return 1+ }+ return Math.ceil(props.total / props.pageSize)+})+</script>+<style lang="less" scoped>+.pagerContainer {+ color: #666;+}++.fl-s {+ display: flex;+ align-items: flex-start;+}++.fl-c {+ display: flex;+ align-items: center;+ justify-content: flex-end;+}+</style>diff --git a/frontend/src/components/custom-qrcode.vue b/frontend/src/components/custom-qrcode.vuenew file mode 100644index 0000000..4255e98--- /dev/null+++ b/frontend/src/components/custom-qrcode.vue@@ -0,0 +1,36 @@+<template>+ <qrcode-vue class="qrcode" :style="{ 'margin-right': '20px' }" :value="props.value" :size="30" :foreground="props.foreground" @click="data.qrCodeDialog = !data.qrCodeDialog"></qrcode-vue>++ <v-dialog v-model="data.qrCodeDialog" max-width="290">+ <v-card>+ <qrcode-vue :margin="5" :value="props.value" :size="300" :foreground="props.foreground"></qrcode-vue>+ </v-card>+ </v-dialog>+</template>+<script setup lang="ts">+import { reactive } from 'vue'+import QrcodeVue from 'qrcode.vue'++const props = defineProps({+ value: {+ type: String,+ default: ''+ },+ foreground: {+ type: String,+ default: '#999'+ }+})++const data = reactive({+ qrCodeDialog: false,+})++</script>+<style lang="less" scoped>++.qrcode:hover{+ cursor: pointer;+ opacity: 0.8;+}+</style>diff --git a/frontend/src/components/flow/components/addNode.vue b/frontend/src/components/flow/components/addNode.vuenew file mode 100644index 0000000..1e21027--- /dev/null+++ b/frontend/src/components/flow/components/addNode.vue@@ -0,0 +1,191 @@+<template>+ <div class="add-node-btn-box">+ <div class="add-node-btn">+ <v-btn icon="mdi-plus" size="small"></v-btn>+ <!-- <el-popover v-model="data.visible" placement="right-start" popper-class="add-node-popover">+ <div v-if="tip === '审批节点' || tip === '条件'" class="add-node-popover-body">+ <div v-if="tip === '审批节点' || tip === '条件'" class="add-node-popover-item approver" @click="method.addType(2)">+ <div class="item-wrapper">+ <img src="../img/ShenPiRen.png" alt="" class="img-style" />+ </div>+ <p>审批人</p>+ </div>+ <div v-if="tip === '审批节点'" class="add-node-popover-item condition" @click="method.addType(4)">+ <div class="item-wrapper">+ <img src="../img/TiaoJian.png" alt="" class="img-style" />+ </div>+ <p>条件分支</p>+ </div>+ </div>+ <template #reference>+ <button class="btn" type="button">+ <i style="color: #fff" class="el-icon-plus"></i>+ </button>+ </template>+ </el-popover> -->+ </div>+ </div>+</template>++<script lang="ts" setup>+import { reactive } from 'vue'++const emit = defineEmits(['update:childNodeP'])++const props = defineProps<{+ childNodeP: any+ tip: any+}>()++const data = reactive({+ visible: false as boolean,+ parentObj: {} as any,+ selfChildNode: props.childNodeP as any,+ selfTip: props.tip as any+})++const method = reactive({+ guid() {+ let guid = ''+ for (let i = 1; i <= 32; i++) {+ const n = Math.floor(Math.random() * 16.0).toString(16)+ guid += n+ if (i === 8 || i === 12 || i === 16 || i === 20) guid += '-'+ }+ return guid+ },+ addType(type: number) {+ data.visible = false+ let NodeData: any+ if (type !== 4) {+ if (type === 2) {+ NodeData = {+ nodeName: '审批节点',+ error: false,+ type: 2,+ id: 0,+ nodeId: 'approvalID',+ childNode: data.selfChildNode,+ guid: this.guid(),+ // guidFater: this.nodeConfig.guid,+ formJieDian: {+ id: 0,+ detailList: [],+ bFlowID: 0,+ approveLevel: 0,+ nodeName: '',+ passCondition: '1',+ mode: 0,+ origIDForMode: 0,+ nameForMode: '',+ guid: 0,+ valid: '',+ rName: '',+ dName: '',+ modeStr: ''+ }+ }+ }+ } else {+ const guidLuYou: string = method.guid()++ NodeData = {+ nodeName: '路由',+ type: 4,+ nodeId: 'conditionID',+ childNode: data.selfChildNode,+ guid: guidLuYou,+ conditionNodes: [+ {+ nodeName: '条件',+ error: false,+ type: 4,+ id: 0,+ nodeId: 'conditionNode',+ conditionList: [],+ childNode: null,+ guid: this.guid(),+ guidLuYou+ },+ {+ nodeName: '条件',+ error: false,+ type: 4,+ id: 0,+ nodeId: 'conditionNode',+ conditionList: [],+ childNode: null,+ guid: this.guid(),+ guidLuYou+ }+ ]+ }+ }+ emit('update:childNodeP', NodeData)+ }+})+</script>++<style lang="less" scoped>+.add-node-btn-box {+ width: 240px;+ display: inline-flex;+ flex-shrink: 0;+ position: relative;+ &:first-child {+ margin-left: 16px;+ }+ &:before {+ content: '';+ position: absolute;+ top: 1px;+ left: 0px;+ right: 0;+ bottom: 0;+ z-index: -1;+ margin: auto;+ width: 1px;+ // height: 100%;+ background-color: #070707;+ }+}+.img-style {+ width: 36px;+}+.add-node-popover {+ padding: 14px 26px;+ .add-node-popover-body {+ display: flex;+ .add-node-popover-item {+ margin-right: 20px;+ text-align: center;+ cursor: pointer;+ &:last-child {+ margin-right: 0;+ }+ i {+ font-size: 36px;+ }+ p {+ color: #333;+ margin-top: 4px;+ }+ }+ .approver {+ i {+ color: #e6a23c;+ }+ }+ .condition {+ i {+ color: #67c23a;+ }+ }+ .notifier {+ i {+ color: #4880ff;+ }+ }+ }+}+</style>diff --git a/frontend/src/components/flow/components/nodeWrap.vue b/frontend/src/components/flow/components/nodeWrap.vuenew file mode 100644index 0000000..a270963--- /dev/null+++ b/frontend/src/components/flow/components/nodeWrap.vue@@ -0,0 +1,380 @@+<template>+ <div>+ <!-- 每一行内容 -->+ <div v-if="data.selfNodeConfig.type !== 4" class="node-wrap">+ <!-- 每一个卡片 -->+ <div+ v-if="data.selfNodeConfig.type && data.selfNodeConfig.type !== 0"+ class="node-wrap-box"+ :class="(data.selfNodeConfig.type === 1 ? 'start-node' : '') + (data.selfNodeConfig.error ? 'active error' : '')"+ >+ <div @click="method.handleClickCard">+ <!-- 卡片头部 -->+ <div class="title" :style="'background: rgb(' + ['87, 106, 149', '6, 135, 165'][data.selfNodeConfig.type - 1] + ');'">+ <span class="editable-title">{{ data.selfNodeConfig.nodeName }}</span>+ <i v-if="data.selfNodeConfig.type !== 1" class="el-icon-close close" @click.stop="method.delNode()"></i>+ </div>+ <!-- 卡片正文内容 -->+ <div class="content">+ <div v-if="data.selfNodeConfig.type === 1" class="text">+ {{ '类型1' }}+ </div>+ <div v-if="data.selfNodeConfig.type === 2" class="text">+ {{ '类型2' }}+ </div>+ <i class="el-icon-arrow-right arrow"></i>+ </div>+ <!-- 报错提示 -->+ <div v-if="data.selfNodeConfig.error" class="error_tip">+ <i class="el-icon-warning" style="color: rgb(242, 86, 67)"></i>+ </div>+ </div>+ </div>+ <!-- 新增节点元素 -->+ <AddNodeComponent v-model:child-node-p="data.selfNodeConfig.childNode" :tip="'审批节点'" />+ </div>+ <!-- "条件分支" - 类型4 -->+ <div v-if="data.selfNodeConfig.type === 4" class="branch-wrap">+ <div class="branch-box-wrap">+ <div class="branch-box">+ <!-- 添加条件按钮 -->+ <el-button class="add-branch" @click="method.addTerm"> 添加条件 </el-button>+ <!-- 多个条件 -->+ <div v-for="(item, index) in data.selfNodeConfig.conditionNodes" :key="index" class="col-box">+ <div class="condition-node">+ <div class="condition-node-box">+ <div class="auto-judge" :class="item.error ? 'error active' : ''" @click="method.handleClickCard(index)">+ <div class="title-wrapper">+ <span class="editable-title">{{ item.nodeName }}</span>+ <i class="el-icon-close close" @click.stop="method.delCardItem(index)"></i>+ </div>+ <div class="content">+ <!-- <span class="placeholder"> 条件</span> -->+ <div>+ {{+ data.selfNodeConfig.conditionNodes[index].conditionList.length > 0+ ? data.selfNodeConfig.conditionNodes[index].conditionList[0].schemeName+ : ''+ }}+ </div>+ <!-- {{ item.id }} -->+ </div>+ <div v-if="item.error" class="error_tip">+ <i class="el-icon-warning" style="color: rgb(242, 86, 67)"></i>+ </div>+ </div>+ <!-- 添加审批人 -->+ <AddNodeComponent v-model:child-node-p="item.childNode" :tip="'条件'" />+ </div>+ </div>+ <!-- 递归遍历 -->+ <nodeWrap v-if="item.childNode && item.childNode" v-model:node-config="item.childNode" :table-name="tableName"></nodeWrap>+ <div v-if="index === 0" class="top-left-cover-line"></div>+ <div v-if="index === 0" class="bottom-left-cover-line"></div>+ <div v-if="index === data.selfNodeConfig.conditionNodes.length - 1" class="top-right-cover-line"></div>+ <div v-if="index === data.selfNodeConfig.conditionNodes.length - 1" class="bottom-right-cover-line"></div>+ </div>+ </div>+ <!-- 添加节点按钮 -->+ <AddNodeComponent v-model:child-node-p="data.selfNodeConfig.childNode" :node-config="data.selfNodeConfig" :tip="'条件'" />+ </div>+ </div>+ <!-- 递归本体 -->+ <nodeWrap+ v-if="data.selfNodeConfig.childNode && data.selfNodeConfig.childNode"+ v-model:node-config="data.selfNodeConfig.childNode"+ :table-name="tableName"+ ></nodeWrap>+ </div>+</template>++<script lang="ts" setup>+import { reactive, onMounted } from 'vue'+import AddNodeComponent from './addNode.vue'+import { hookComponent } from '@/components/system'++const emit = defineEmits(['update:nodeConfig'])++const props = defineProps<{+ nodeConfig: any+ tableName: any+}>()++const data = reactive({+ drawer: false as boolean,+ indexTiaojian: 0 as number,+ formTiaoJian: {+ schemeName: ''+ } as any,+ selfNodeConfig: props.nodeConfig,+ selfTableName: props.tableName+})++const method = reactive({+ // 生成guid+ guid: () => {+ let guid = ''+ for (let i = 1; i <= 32; i++) {+ const num = Math.floor(Math.random() * 16.0).toString(16)+ guid += num+ if (i === 8 || i === 12 || i === 16 || i === 20) guid += '-'+ }+ return guid+ },+ // 生成guid+ guidGroup: () => {+ let guid = ''+ for (let i = 1; i <= 4; i++) {+ const n = Math.floor(Math.random() * 3.0).toString(3)+ guid += n+ if (i === 4 || i === 10 || i === 16 || i === 20) guid += '-'+ }+ return guid+ },+ // 添加条件组+ addConditionGroup: (flag: any, item: any) => {+ if (!data.formTiaoJian.schemeName) {+ hookComponent.$message({+ type: 'error',+ content: '请输入条件名称'+ })+ return+ }++ // todo 校验+ const result = false++ if (result) {+ if (flag === '1') {+ item.conditionChildrenNodes.push({+ schemeName: item.schemeName,+ conditionGroup: item.conditionGroup,+ ctrlType: '',+ colLabel: '',+ bFlowFilterSetID: 0,+ colName: '',+ compare: '',+ content: '',+ sort: 0,+ formulas: '',+ assertMode: '存在',+ tableName: '',+ guid: '',+ ifOther: '否'+ })+ }+ data.selfNodeConfig.conditionNodes[data.indexTiaojian].conditionList.push({+ conditionChildrenNodes: [],+ conditionGroup: method.guidGroup(),+ schemeName: data.formTiaoJian.schemeName+ })+ }+ },+ // 删除条件组+ removeCondition: (conditonflag: string, index: number, ind: number) => {+ if (conditonflag === 'group') {+ data.selfNodeConfig.conditionNodes[data.indexTiaojian].conditionList.splice(index, 1)+ return+ }+ data.selfNodeConfig.conditionNodes[data.indexTiaojian].conditionList[index].conditionChildrenNodes.splice(ind, 1)+ },+ handleClickCard: (index: number) => {+ console.log('点击卡片')+ },+ // 删除节点+ delNode: () => {+ // this.$emit('update:nodeConfig', this.nodeConfig.childNode)+ },+ // 添加条件+ addTerm: () => {+ data.selfNodeConfig.conditionNodes.push({+ nodeName: '条件',+ error: false,+ type: 4,+ id: 0,+ conditionList: [],+ childNode: null,+ guid: method.guid(),+ guidLuYou: data.selfNodeConfig.guid+ })++ emit('update:nodeConfig', data.selfNodeConfig)+ },+ // 删除条件+ delCardItem: (index: number) => {+ data.selfNodeConfig.conditionNodes.splice(index, 1)+ emit('update:nodeConfig', data.selfNodeConfig)++ // 如果只有一个条件,删除条件的同时,删除条件的子节点+ if (data.selfNodeConfig.conditionNodes.length === 1) {+ if (data.selfNodeConfig.childNode) {+ if (data.selfNodeConfig.conditionNodes[0].childNode) {+ method.reData(data.selfNodeConfig.conditionNodes[0].childNode, data.selfNodeConfig.childNode)+ } else {+ data.selfNodeConfig.conditionNodes[0].childNode = data.selfNodeConfig.childNode+ }+ }+ emit('update:nodeConfig', data.selfNodeConfig.conditionNodes[0].childNode)+ }+ },+ reData: (NodeData: any, addData: any) => {+ if (!NodeData.childNode) {+ NodeData.childNode = addData+ } else {+ method.reData(NodeData.childNode, addData)+ }+ }+})++onMounted(() => {+ console.log(data.selfNodeConfig)+})+</script>++<style scoped lang="less">+//弹框+.set_promoter {+ .el-drawer__header {+ margin-bottom: 0;+ padding: 0 24px;+ border-bottom: 1px solid #ebebeb;++ .title {+ height: 64px;+ line-height: 64px;+ font-size: 20px;+ color: #333;+ justify-content: flex-start;++ i {+ margin-left: 8px;+ font-size: 30px;+ }+ }+ }++ .el-drawer__body {+ overflow-y: auto;+ max-height: calc(100% - 64px);+ padding-bottom: 80px;+ }++ .drawer-content {+ padding: 24px;++ .el-radio {+ margin-bottom: 16px;++ .mark {+ color: #828282;+ }++ &.is-checked {+ .mark {+ color: #4880ff;+ }+ }++ &:last-child {+ margin-bottom: 0;+ }+ }+ }++ .drawer-content-condition {+ padding: 24px 0;++ .condition-conent-group {+ border-bottom: solid 1px #ebebeb;+ padding-bottom: 20px;++ .condition-group-title {+ padding: 0 24px;+ background: #f7f8fa;+ height: 48px;+ border-top: solid 1px #ebebeb;+ border-bottom: solid 1px #ebebeb;+ margin-bottom: 12px;+ display: flex;+ justify-content: space-between;+ align-items: center;+ }++ .condition-group-select {+ padding: 10px 24px 0px 24px;+ display: flex;+ border-bottom: 1px dashed #c2bfbf;+ }++ .remove {+ font-size: 15px;+ color: #828282;++ &:hover {+ cursor: pointer;+ color: red;+ }+ }++ .removedetail {+ font-size: 25px;+ color: #828282;++ &:hover {+ cursor: pointer;+ color: red;+ }+ }++ .mg-bot-10 {+ margin-bottom: 10px;+ }++ .conditionbtn {+ .el-button {+ border: 1px dashed #4880ff;+ width: 110px;+ }+ }+ }++ .conditionbtn {+ padding: 0 24px;+ margin-top: 26px;++ .el-button {+ border: solid 1px #4880ff;+ color: #4880ff;+ width: 123px;+ }+ }+ }++ .set_promoter_footer {+ height: 80px;+ position: absolute;+ bottom: 0;+ left: 0;+ padding: 24px;+ justify-content: flex-end;+ background: #fff;+ width: 100%;+ border-top: 1px solid #ebebeb;+ z-index: 2;+ }++ .icon-icon_explain {+ color: #bfbfbf;+ }+}+.error_tip {+ position: absolute;+ top: 36px;+ right: 0px;+ transform: translate(150%, 0px);++ i {+ font-size: 24px;+ }+}+</style>diff --git a/frontend/src/components/flow/img/ChaoSongRen.png b/frontend/src/components/flow/img/ChaoSongRen.pngnew file mode 100644index 0000000..23521a1Binary files /dev/null and b/frontend/src/components/flow/img/ChaoSongRen.png differdiff --git a/frontend/src/components/flow/img/ShenPiRen.png b/frontend/src/components/flow/img/ShenPiRen.pngnew file mode 100644index 0000000..e934468Binary files /dev/null and b/frontend/src/components/flow/img/ShenPiRen.png differdiff --git a/frontend/src/components/flow/img/TiaoJian.png b/frontend/src/components/flow/img/TiaoJian.pngnew file mode 100644index 0000000..92c6e6dBinary files /dev/null and b/frontend/src/components/flow/img/TiaoJian.png differdiff --git a/frontend/src/components/flow/img/ZoomIn.png b/frontend/src/components/flow/img/ZoomIn.pngnew file mode 100644index 0000000..f3cdec2Binary files /dev/null and b/frontend/src/components/flow/img/ZoomIn.png differdiff --git a/frontend/src/components/flow/img/ZoomOut.png b/frontend/src/components/flow/img/ZoomOut.pngnew file mode 100644index 0000000..65d87a7Binary files /dev/null and b/frontend/src/components/flow/img/ZoomOut.png differdiff --git a/frontend/src/components/flow/workFlow.vue b/frontend/src/components/flow/workFlow.vuenew file mode 100644index 0000000..e7d2608--- /dev/null+++ b/frontend/src/components/flow/workFlow.vue@@ -0,0 +1,1064 @@+<template>+ <div class="approval-flow fd-nav-content">+ <div class="zoom flex">+ <div :class="'zoom-out' + (data.nowVal === 50 ? ' disabled' : '')" @click="method.zoomSize(1)"></div>+ <div class="zoomFont">{{ data.nowVal }}%</div>+ <div :class="'zoom-in' + (data.nowVal === 300 ? ' disabled' : '')" @click="method.zoomSize(2)"></div>+ </div>+ <div id="dingflow-design" class="dingflow-design">+ <div id="box-scale" class="box-scale" :style="'transform: scale(' + data.nowVal / 100 + '); transform-origin: 50% 0px 0px;'">+ <nodeWrap :node-config="data.nodeConfig" :table-name="tableName"></nodeWrap>+ <div class="end-node">+ <div class="end-node-circle"></div>+ <div class="end-node-text">流程结束</div>+ </div>+ </div>+ </div>+ </div>+</template>++<script lang="ts" setup>+import { reactive, onMounted, nextTick } from 'vue'+import nodeWrap from './components/nodeWrap.vue'++defineProps<{+ // nodeConfig: any+ tableName: any+}>()++const data = reactive({+ tipList: [] as any,+ nowVal: 100 as number, // 缩放比例+ nodeConfig: {+ error: false,+ type: 1,+ id: 0,+ guid: 'cf1ed102-13a8-0b32-c7a3-bc8e6a70eb36',+ guidFater: '',+ nodeName: '使用部门',+ bFlowNotice: '',+ bFlowUser: '',+ form: {+ detailListBFlowDetail: [+ {+ id: 3334,+ detailList: [+ {+ id: 3634,+ bFlowID: 3279,+ bFlowDetailID: 3334,+ hrEmployeeID: 69,+ eNum: '002',+ eName: '大燕',+ valid: '是',+ guid: '70b7778b-3d3e-b923-eacf-4f81e09802b0'+ }+ ],+ bFlowID: 3279,+ approveLevel: 0,+ nodeName: '2022',+ passCondition: '1',+ mode: 1,+ origIDForMode: 0,+ nameForMode: '',+ guid: '70b7778b-3d3e-b923-eacf-4f81e09802b0',+ valid: '',+ rName: '',+ dName: '',+ modeStr: '指定人员'+ },+ {+ id: 3336,+ detailList: [+ {+ id: 3633,+ bFlowID: 3279,+ bFlowDetailID: 3336,+ hrEmployeeID: 52,+ eNum: '123',+ eName: '孟小翰',+ valid: '是',+ guid: 'dd82ee45-91d2-ce04-2270-6f75951aceb7'+ }+ ],+ bFlowID: 3279,+ approveLevel: 0,+ nodeName: '其他',+ passCondition: '1',+ mode: 1,+ origIDForMode: 0,+ nameForMode: '',+ guid: 'dd82ee45-91d2-ce04-2270-6f75951aceb7',+ valid: '',+ rName: '',+ dName: '',+ modeStr: '指定人员'+ }+ ],+ detailListBFlowNotice: [],+ detailListBFlowUser: [],+ detailListBFlowLink: [+ {+ id: 3776,+ detailListBFlowFilterScheme: [],+ bFlowID: 3279,+ beforeID: 3334,+ afterID: -1,+ beforeGUID: '70b7778b-3d3e-b923-eacf-4f81e09802b0',+ afterGUID: '',+ guid: '83706c24-0c57-4738-b308-432e4f6c231d',+ sort: 1+ },+ {+ id: 3777,+ detailListBFlowFilterScheme: [],+ bFlowID: 3279,+ beforeID: 3336,+ afterID: -1,+ beforeGUID: 'dd82ee45-91d2-ce04-2270-6f75951aceb7',+ afterGUID: '',+ guid: '9f317b42-11b3-4e35-843d-97dbad71263d',+ sort: 2+ },+ {+ id: 3778,+ detailListBFlowFilterScheme: [+ {+ id: 1116,+ ctrlType: 'string',+ bFlowID: 3279,+ bFlowFilterSetID: 127,+ conditionGroup: '1212-',+ colLabel: '编号',+ colName: 'Num',+ compare: '包含',+ content: '2022',+ sort: 0,+ formulas: '',+ assertMode: '存在',+ tableName: 'SOffer a left join BCustomer b on a.BCustomerID = b.ID',+ guid: '62aa6fd4-aaee-4e05-bccd-f0427a34d830',+ bFlowLinkID: 3778,+ schemeName: '2022',+ ifOther: '否'+ }+ ],+ bFlowID: 3279,+ beforeID: 0,+ afterID: 3334,+ beforeGUID: '',+ afterGUID: '70b7778b-3d3e-b923-eacf-4f81e09802b0',+ guid: '62aa6fd4-aaee-4e05-bccd-f0427a34d830',+ sort: 3+ },+ {+ id: 3779,+ detailListBFlowFilterScheme: [+ {+ id: 1117,+ ctrlType: null,+ bFlowID: 3279,+ bFlowFilterSetID: 0,+ conditionGroup: '2012-',+ colLabel: '',+ colName: '',+ compare: '',+ content: '',+ sort: 0,+ formulas: '',+ assertMode: '存在',+ tableName: '',+ guid: '8a7e261b-a8c8-4ca7-b1de-badae68d5b1a',+ bFlowLinkID: 3779,+ schemeName: '其他',+ ifOther: '是'+ }+ ],+ bFlowID: 3279,+ beforeID: 0,+ afterID: 3336,+ beforeGUID: '',+ afterGUID: 'dd82ee45-91d2-ce04-2270-6f75951aceb7',+ guid: '8a7e261b-a8c8-4ca7-b1de-badae68d5b1a',+ sort: 4+ }+ ],+ id: 3279,+ writer: '管理员',+ writerID: 3,+ writeDate: '2023-02-02 16:00:39',+ locker: '',+ lockerID: 0,+ lockDate: '1900-01-01 00:00:00',+ approveState: '未发起',+ bAuthorityName: 'SOffer',+ alText: '销售报价单',+ name: '其他',+ memo: '',+ valid: '是',+ origID: 0,+ fuZeRen: '大燕',+ fuZeRenID: 69,+ menuArgs: '',+ gongsi: '',+ priorityLevel: 0,+ bFlowMainID: 0+ },+ childNode: {+ nodeName: '路由',+ type: 4,+ nodeId: 'conditionID',+ childNode: null,+ form: 0,+ guid: '564d8a6a-390f-cdc6-321c-1502cbbe21fc',+ conditionNodes: [+ {+ nodeName: '条件',+ error: false,+ type: 4,+ id: 0,+ nodeId: 'conditionNode',+ conditionList: [+ {+ conditionChildrenNodes: [+ {+ schemeName: '2022',+ conditionGroup: '1212-',+ bFlowFilterSetID: 127,+ ctrlType: 'string',+ colLabel: '编号',+ colName: 'Num',+ compare: '包含',+ content: '2022',+ sort: 0,+ formulas: '',+ assertMode: '存在',+ tableName: 'SOffer a left join BCustomer b on a.BCustomerID = b.ID',+ guid: '',+ ifOther: '否'+ }+ ],+ schemeName: '2022',+ conditionGroup: '1212-'+ }+ ],+ childNode: {+ nodeName: '审批节点',+ error: false,+ type: 2,+ id: 0,+ nodeId: 'approvalID',+ childNode: null,+ guid: '70b7778b-3d3e-b923-eacf-4f81e09802b0',+ formJieDian: {+ id: 3334,+ detailList: [+ {+ id: 3634,+ bFlowID: 3279,+ bFlowDetailID: 3334,+ hrEmployeeID: 69,+ eNum: '002',+ eName: '大燕',+ valid: '是',+ guid: '70b7778b-3d3e-b923-eacf-4f81e09802b0'+ }+ ],+ bFlowID: 3279,+ approveLevel: 0,+ nodeName: '2022',+ passCondition: '1',+ mode: 1,+ origIDForMode: 0,+ nameForMode: '',+ guid: '70b7778b-3d3e-b923-eacf-4f81e09802b0',+ valid: '',+ rName: '',+ dName: '',+ modeStr: '指定人员'+ }+ },+ form: 0,+ to: 3334,+ guid: 'e33859ea-27f3-a5ca-7bca-f2917eb4ff78',+ guidLuYou: '564d8a6a-390f-cdc6-321c-1502cbbe21fc'+ },+ {+ nodeName: '条件',+ error: false,+ type: 4,+ id: 0,+ nodeId: 'conditionNode',+ conditionList: [+ {+ conditionChildrenNodes: [+ {+ schemeName: '其他',+ conditionGroup: '2012-',+ bFlowFilterSetID: 0,+ ctrlType: null,+ colLabel: '',+ colName: '',+ compare: '',+ content: '',+ sort: 0,+ formulas: '',+ assertMode: '存在',+ tableName: '',+ guid: '',+ ifOther: '是'+ }+ ],+ schemeName: '其他',+ conditionGroup: '2012-'+ }+ ],+ childNode: {+ nodeName: '审批节点',+ error: false,+ type: 2,+ id: 0,+ nodeId: 'approvalID',+ childNode: null,+ guid: 'dd82ee45-91d2-ce04-2270-6f75951aceb7',+ formJieDian: {+ id: 3336,+ detailList: [+ {+ id: 3633,+ bFlowID: 3279,+ bFlowDetailID: 3336,+ hrEmployeeID: 52,+ eNum: '123',+ eName: '孟小翰',+ valid: '是',+ guid: 'dd82ee45-91d2-ce04-2270-6f75951aceb7'+ }+ ],+ bFlowID: 3279,+ approveLevel: 0,+ nodeName: '其他',+ passCondition: '1',+ mode: 1,+ origIDForMode: 0,+ nameForMode: '',+ guid: 'dd82ee45-91d2-ce04-2270-6f75951aceb7',+ valid: '',+ rName: '',+ dName: '',+ modeStr: '指定人员'+ }+ },+ form: 0,+ to: 3336,+ guid: '75d2de0e-3533-f367-6929-5bc126213b52',+ guidLuYou: '564d8a6a-390f-cdc6-321c-1502cbbe21fc'+ }+ ]+ }+ } as any+})++const method = reactive({+ reErr: (nodeData: any) => {+ if (nodeData.childNode) {+ if (nodeData.childNode.type === 1) {+ // 审批人+ if (nodeData.childNode.error) {+ data.tipList.push({+ name: nodeData.childNode.nodeName,+ type: '审核人'+ })+ }+ method.reErr(nodeData.childNode)+ } else if (nodeData.childNode.type === 2) {+ if (nodeData.childNode.error) {+ data.tipList.push({+ name: nodeData.childNode.nodeName,+ type: '抄送人'+ })+ }+ method.reErr(nodeData.childNode)+ } else if (nodeData.childNode.type === 3) {+ method.reErr(nodeData.childNode.childNode)+ } else if (nodeData.childNode.type === 4) {+ method.reErr(nodeData.childNode)+ for (let i = 0; i < nodeData.childNode.conditionNodes.length; i++) {+ if (nodeData.childNode.conditionNodes[i].error) {+ data.tipList.push({+ name: nodeData.childNode.conditionNodes[i].nodeName,+ type: '条件'+ })+ }+ method.reErr(nodeData.childNode.conditionNodes[i])+ }+ }+ } else {+ nodeData.childNode = null+ }+ },+ // 给数据加preId(递归)+ handleData: (nodeData: any) => {+ if (nodeData.childNode) {+ nodeData.childNode.preId = nodeData.nodeId+ method.handleData(nodeData.childNode)+ }+ return nodeData+ },+ zoomSize: (type: number) => {+ if (type === 1) {+ if (data.nowVal === 50) {+ return+ }+ data.nowVal -= 10+ } else {+ if (data.nowVal === 300) {+ return+ }+ data.nowVal += 10+ }+ }+})++onMounted(() => {+ nextTick(() => {+ window.addEventListener(+ 'mousewheel',+ (event: any) => {+ if (event.ctrlKey === true || event.metaKey) {+ event.preventDefault()+ }+ },+ { passive: false }+ )++ // firefox+ window.addEventListener(+ 'DOMMouseScroll',+ (event: any) => {+ if (event.ctrlKey === true || event.metaKey) {+ event.preventDefault()+ }+ },+ { passive: false }+ )++ // 通过altKey+鼠标滚轮控制nowVal的数值+ const DOM = document.getElementById('dingflow-design')++ if (DOM) {+ DOM.addEventListener('mousewheel', (e: any) => {+ if (e.ctrlKey) {+ if (e.wheelDelta > 0) {+ method.zoomSize(2)+ } else {+ method.zoomSize(1)+ }+ }+ })+ }+ })+})+</script>++<style lang="less">+.approval-flow {+ position: relative;+ .zoom {+ position: absolute;+ height: 30px;+ // width: 125px;+ top: 15px;+ right: 30px;+ z-index: 10;+ display: flex;++ .zoomFont {+ height: 30px;+ width: 45px;++ display: flex;+ justify-content: center;+ align-items: center;+ }++ .zoom-in,+ .zoom-out {+ width: 30px;+ height: 30px;+ background: #fff;+ color: #c1c1cd;+ cursor: pointer;+ background-size: 100%;+ background-repeat: no-repeat;+ }++ .zoom-out {+ background-image: url(./img/ZoomOut.png);+ }++ .zoom-out.disabled {+ opacity: 0.5;+ }++ .zoom-in {+ background-image: url(./img/ZoomIn.png);+ }++ .zoom-in.disabled {+ opacity: 0.5;+ }+ }+ .dingflow-design {+ .box-scale {+ transform: scale(1);+ display: inline-block;+ position: relative;+ // width: calc(100%);+ min-width: 100%;+ padding: 54.5px 0;+ transform-origin: 0 0 0;+ }+ .branch-wrap {+ .branch-box-wrap {+ // margin-left: -240px;+ .auto-judge {+ position: relative;+ width: 250px;+ // min-height: 100px;+ background: #fff;+ border-radius: 4px;+ cursor: pointer;++ .title-wrapper {+ position: relative;+ font-size: 12px;+ color: #333;+ text-align: center;+ height: 38px;+ line-height: 38px;+ // padding: 0 13px 0 0px;+ border-bottom: 1px solid #ebebeb;+ }+ }+ }+ }+ .node-wrap-box {+ display: inline-flex;+ flex-direction: column;+ position: relative;+ width: 200px;+ min-height: 72px;+ background: #fff;+ border-radius: 4px;+ cursor: pointer;+ }+ .node-wrap-box:after {+ pointer-events: none;+ content: '';+ position: absolute;+ top: 0;+ bottom: 0;+ left: 0;+ right: 0;+ z-index: 2;+ border-radius: 4px;+ border: 1px solid transparent;+ transition: all 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);+ box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);+ }+ .end-node {+ border-radius: 50%;+ font-size: 14px;+ color: rgba(25, 31, 37, 0.4);+ text-align: left;+ }+ .end-node .end-node-circle {+ width: 10px;+ height: 10px;+ margin: auto;+ border-radius: 50%;+ background: #dbdcdc;+ }+ .end-node .end-node-text {+ margin-top: 5px;+ text-align: center;+ }+ }+}+.fd-nav-content {+ width: calc(100%);+ height: calc(100%);+ position: relative;+}+.dingflow-design {+ width: calc(100%);+ height: calc(100%);+ background-color: #f5f8ff;+ overflow: auto;+ position: absolute;+}+.dingflow-design .editable-title {+ font-size: 14px;+ // padding-left: 18px;+ width: 100%;+}+.dingflow-design .ie-polyfill-container {+ display: -ms-grid;+ -ms-grid-columns: min-content;+}++.dingflow-design .node-wrap {+ display: inline-flex;+ flex-direction: column;+ -webkit-box-pack: start;+ -ms-flex-pack: start;+ justify-content: flex-start;+ -webkit-box-align: center;+ -ms-flex-align: center;+ align-items: center;+ -ms-flex-wrap: wrap;+ flex-wrap: wrap;+ -webkit-box-flex: 1;+ -ms-flex-positive: 1;+ // width: 100%;+ // padding: 0 50px;+ position: relative;+}++.dingflow-design .branch-wrap,+.dingflow-design .node-wrap {+ display: inline-flex;+ width: calc(100%);+}++.dingflow-design .branch-box-wrap {+ display: flex;+ -webkit-box-orient: vertical;+ -webkit-box-direction: normal;+ -ms-flex-direction: column;+ flex-direction: column;+ -ms-flex-wrap: wrap;+ flex-wrap: wrap;+ -webkit-box-align: center;+ -ms-flex-align: center;+ align-items: center;+ min-height: 270px;+ width: calc(100%);+ -ms-flex-negative: 0;+ flex-shrink: 0;+}++.dingflow-design .branch-box {+ display: flex;+ overflow: visible;+ min-height: 180px;+ height: auto;+ border-bottom: 1px solid #070707;+ border-top: 1px solid #070707;+ position: relative;+ margin-top: 15px;+ background-color: #f5f8ff;+}++.dingflow-design .branch-box .col-box:before {+ content: '';+ position: absolute;+ top: 0;+ left: 0;+ right: 0;+ bottom: 0;+ z-index: 0;+ margin: auto;+ width: 1px;+ height: 100%;+ background-color: #070707;+}++.dingflow-design .add-branch {+ border: none;+ outline: none;+ user-select: none;+ justify-content: center;+ font-size: 12px;+ padding: 0 10px;+ height: 30px;+ line-height: 30px;+ border-radius: 15px;+ color: #4880ff;+ background: #fff;+ box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);+ position: absolute;+ top: -16px;+ left: 50%;+ transform: translateX(-50%);+ transform-origin: center center;+ cursor: pointer;+ z-index: 1;+ display: inline-flex;+ align-items: center;+ -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);+ transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);+}++.dingflow-design .add-branch:hover {+ transform: translateX(-50%) scale(1.1);+ box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.1);+}++.dingflow-design .add-branch:active {+ transform: translateX(-50%);+ box-shadow: none;+}++.dingflow-design .col-box {+ display: inline-flex;+ -webkit-box-orient: vertical;+ -webkit-box-direction: normal;+ flex-direction: column;+ -webkit-box-align: center;+ align-items: center;+ position: relative;+}++.dingflow-design .condition-node {+ min-height: 220px;+}++.dingflow-design .condition-node,+.dingflow-design .condition-node-box {+ display: inline-flex;+ -webkit-box-orient: vertical;+ -webkit-box-direction: normal;+ flex-direction: column;+ -webkit-box-flex: 1;+}++.dingflow-design .condition-node-box {+ padding-top: 30px;+ padding-right: 50px;+ padding-left: 50px;+ -webkit-box-pack: center;+ justify-content: center;+ -webkit-box-align: center;+ align-items: center;+ flex-grow: 1;+ position: relative;+}++.dingflow-design .condition-node-box:before {+ content: '';+ position: absolute;+ top: 0;+ left: 0;+ right: 0;+ bottom: 0;+ margin: auto;+ width: 1px;+ height: 100%;+ background-color: #070707;+}++.dingflow-design .auto-judge:after {+ pointer-events: none;+ content: '';+ position: absolute;+ top: 0;+ bottom: 0;+ left: 0;+ right: 0;+ z-index: 2;+ border-radius: 4px;+ border: 1px solid transparent;+ transition: all 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);+ box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);+}++.dingflow-design .auto-judge.active:after,+.dingflow-design .auto-judge:active:after,+.dingflow-design .auto-judge:hover:after {+ border: 1px solid #4880ff;+ box-shadow: 0 0 6px 0 rgba(50, 150, 250, 0.3);+}++.dingflow-design .auto-judge.active .close,+.dingflow-design .auto-judge:active .close,+.dingflow-design .auto-judge:hover .close {+ display: block;+}++.dingflow-design .auto-judge.error:after {+ border: 1px solid #f25643;+ box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);+}++.dingflow-design .auto-judge .title-wrapper .editable-title {+ display: inline-block;+ max-width: 250px;+ overflow: hidden;+ white-space: nowrap;+ text-overflow: ellipsis;+ font-size: 16px;+ background-color: #d88b0a;+ color: white;+}++.dingflow-design .auto-judge .title-wrapper .priority-title {+ display: inline-block;+ float: right;+ margin-right: 35px;+ color: #828282;+}++.dingflow-design .auto-judge .title-wrapper .priority-button {+ display: inline-block;+ height: 28px;+ float: right;+ margin-right: 10px;+ border: 1px solid rgba(0, 0, 0, 0.15);+ border-radius: 4px;+ color: rgba(0, 0, 0, 0.65);+}++.dingflow-design .auto-judge .title-wrapper .priority-button div {+ display: inline-block;+}++.dingflow-design .auto-judge .title-wrapper .priority-button .priority-content {+ padding: 0 8px;+ font-size: 12px;+ line-height: 28px;+ border-left: 1px solid rgba(0, 0, 0, 0.15);+ border-right: 1px solid rgba(0, 0, 0, 0.15);+}++.dingflow-design .auto-judge .placeholder {+ color: #bfbfbf;+}++.dingflow-design .auto-judge .close {+ display: none;+ position: absolute;+ right: 22px;+ top: 8px;+ width: 20px;+ height: 20px;+ font-size: 14px;+ color: rgba(0, 0, 0, 0.25);+ border-radius: 50%;+ text-align: center;+ line-height: 20px;+ z-index: 2;+}++.dingflow-design .auto-judge .content {+ // height: calc(100% - 39px);+ // display: flex;+ // align-items: center;+ // max-width: calc(100% - 36px);+ // padding: 0 18px;+ // overflow: hidden;+ // text-overflow: ellipsis;+ // font-size: 14px;+ position: relative;+ font-size: 14px;+ padding: 20px 18px;+ /* padding-right: 30px */+ text-align: center;+}++.dingflow-design .auto-judge .sort-left,+.dingflow-design .auto-judge .sort-right {+ position: absolute;+ top: 0;+ bottom: 0;+ display: none;+ z-index: 1;+ color: rgba(0, 0, 0, 0.25);+}++.dingflow-design .auto-judge .sort-left {+ left: 4px;+ top: 33px;+ color: rgba(0, 0, 0, 0.5);+}++.dingflow-design .auto-judge .sort-right {+ right: 26px;+ top: 33px;+}++.dingflow-design .auto-judge:hover .sort-left,+.dingflow-design .auto-judge:hover .sort-right {+ display: flex;+ align-items: center;+}++.dingflow-design .add-node-btn {+ user-select: none;+ width: 240px;+ padding: 30px 0;+ display: flex;+ -webkit-box-pack: center;+ justify-content: center;+ flex-shrink: 0;+ -webkit-box-flex: 1;+ flex-grow: 1;+ // margin-left: -55px;+}++.dingflow-design .add-node-btn .btn {+ outline: none;+ box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);+ width: 30px;+ height: 30px;+ background: #4880ff;+ border-radius: 50%;+ position: relative;+ border: none;+ line-height: 30px;+ -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);+ transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);+ // margin-left: 36px;+}++.dingflow-design .add-node-btn .btn .iconfont {+ color: #fff;+ font-size: 16px;+}++.dingflow-design .add-node-btn .btn:hover {+ transform: scale(1.3);+ box-shadow: 0 13px 27px 0 rgba(0, 0, 0, 0.1);+}++.dingflow-design .add-node-btn .btn:active {+ transform: none;+ background: #1e83e9;+ box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);+}++.top-left-cover-line {+ left: -1px;+}++.top-left-cover-line,+.top-right-cover-line {+ position: absolute;+ height: 3px;+ width: 50%;+ background-color: #f5f8ff;+ top: -2px;+}++.top-right-cover-line {+ right: -1px;+}++.bottom-left-cover-line {+ left: -1px;+}++.bottom-left-cover-line,+.bottom-right-cover-line {+ position: absolute;+ height: 3px;+ width: 50%;+ background-color: #f5f8ff;+ bottom: -2px;+}++.bottom-right-cover-line {+ right: -1px;+}++.node-wrap-box.active:after,+.node-wrap-box:active:after,+.node-wrap-box:hover:after {+ border: 1px solid #3296fa;+ box-shadow: 0 0 6px 0 rgba(50, 150, 250, 0.3);+}++.node-wrap-box.active .close,+.node-wrap-box:active .close,+.node-wrap-box:hover .close {+ display: block;+}++.node-wrap-box.error:after {+ border: 1px solid #f25643;+ box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);+}++.node-wrap-box .title {+ position: relative;+ display: flex;+ align-items: center;+ // padding-left: 16px;+ // padding-right: 30px;+ // width: 100%;+ height: 40px;+ line-height: 40px;+ font-size: 16px;+ color: #fff;+ text-align: center;+ background: #0687a5;+ border-radius: 4px 4px 0 0;+}++.node-wrap-box .title .iconfont {+ font-size: 12px;+ margin-right: 5px;+}++.node-wrap-box .placeholder {+ color: #bfbfbf;+}++.node-wrap-box .close {+ display: none;+ position: absolute;+ right: 10px;+ top: 50%;+ transform: translateY(-50%);+ width: 20px;+ height: 20px;+ font-size: 14px;+ color: #fff;+ border-radius: 50%;+ text-align: center;+ line-height: 20px;+}++.node-wrap-box .content {+ position: relative;+ font-size: 14px;+ padding: 20px 18px;+ /* padding-right: 30px */+ text-align: center;+}++.node-wrap-box .content .text {+ overflow: hidden;+ text-overflow: ellipsis;+ display: -webkit-box;+ -webkit-line-clamp: 3;+ -webkit-box-orient: vertical;+}++.node-wrap-box .content .arrow {+ position: absolute;+ right: 10px;+ top: 50%;+ transform: translateY(-50%);+ width: 20px;+ height: 14px;+ font-size: 14px;+ color: #979797;+}++.start-node.node-wrap-box .content .text {+ display: block;+ white-space: nowrap;+}+</style>diff --git a/frontend/src/components/form/v-datetime-picker.vue b/frontend/src/components/form/v-datetime-picker.vuenew file mode 100644index 0000000..f6e2708--- /dev/null+++ b/frontend/src/components/form/v-datetime-picker.vue@@ -0,0 +1,74 @@+<template>+ <div class="pickerContainer">+ <v-text-field+ v-model="textVal"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="props.label"+ variant="solo"+ :readonly="data.readOnly"+ :persistent-clear="props.disabled ? false : true"+ :disabled="props.disabled"+ >+ </v-text-field>+ <div class="handleClickBlock">+ <vxe-input v-model="textVal" type="datetime" transfer></vxe-input>+ </div>+ </div>+</template>++<script setup lang="tsx">+import { reactive, computed } from 'vue'++const emit = defineEmits(['update:modelValue'])++const props = defineProps<{+ label: string+ disabled?: boolean+ modelValue: string+}>()++const data = reactive({+ val1: '',+ readOnly: true+})++const textVal = computed({+ get: () => props.modelValue,+ set: (val: string) => {+ emit('update:modelValue', val)+ }+})+</script>++<style scoped lang="less">+.vxe-input {+ opacity: 0 !important;+ height: 50px;+ width: 100% !important;+}+:deep(.vxe-input--inner) {+ border: none !important;+ padding-right: 0 !important;+ // width: calc(100% - 36px) !important;+}++:deep(.vxe-input--extra-suffix) {+ display: none !important;+}++.pickerContainer {+ position: relative;+ // display: inline-block;+ width: 100%;+}+.handleClickBlock {+ position: absolute;+ top: 0px;+ left: 20px;+ width: calc(100% - 36px - 20px - 10px) !important;+ height: 100%;+}+</style>diff --git a/frontend/src/components/hiprint/hiprint.vue b/frontend/src/components/hiprint/hiprint.vuenew file mode 100644index 0000000..19b2f99--- /dev/null+++ b/frontend/src/components/hiprint/hiprint.vue@@ -0,0 +1,540 @@+<template>+ <v-dialog v-model="data.formVisible" fullscreen :scrim="false" transition="dialog-bottom-transition">+ <v-card>+ <div style="padding: 15px 15px">+ <v-row>+ <v-col cols="2">+ <div class="left-top-box">+ <v-select+ v-model="data.mode"+ :items="data.modeList"+ density="compact"+ hide-details+ clearable+ @update:model-value="method.handleChangeMode"+ ></v-select>+ </div>++ <div class="left-box">+ <div id="hiprintEpContainer" class="rect-printElement-types hiprintEpContainer"> </div>+ </div>+ </v-col>+ <v-col cols="7">+ <div class="center-btn-box">+ <div>+ <v-btn+ v-for="(value, type) in data.paperTypes"+ :key="type"+ :color="curPaperType === type ? 'indigo-darken-3' : 'white'"+ @click="method.handleSetPaper(type, value)"+ >+ {{ type }}+ </v-btn>+ <v-btn+ icon="mdi-magnify-minus-outline"+ style="font-size: 14px; margin-left: 10px"+ size="small"+ @click="method.handleChangeScale(false)"+ ></v-btn>+ <v-btn disabled size="small" style="margin-left: 10px; width: 70px">{{ scaleValueStr }}%</v-btn>+ <v-btn+ icon="mdi-magnify-plus-outline"+ style="font-size: 14px; margin-left: 10px"+ size="small"+ @click="method.handleChangeScale(true)"+ ></v-btn>+ </div>+ <div>+ <v-btn style="font-size: 14px; margin-left: 10px" @click="method.handlePreView()">+ {{+ $t('system.page.preView') }}+ </v-btn>+ </div>+ </div>++ <div class="center-box card-design">+ <div id="hiprint-printTemplate" style="margin-top: 20px" class="hiprint-printTemplate"></div>+ </div>+ </v-col>+ <v-col cols="3">+ <div class="right-top-box">+ <v-btn icon style="font-size: 14px; margin-left: 10px" size="small" @click="data.formVisible = false">+ <v-icon>mdi-close</v-icon>+ </v-btn>+ </div>++ <div class="right-box">+ <div id="PrintElementOptionSetting"></div>+ </div>+ </v-col>+ </v-row>+ </div>+ </v-card>+ <preViewDialog ref="preViewDialogRef" />+ </v-dialog>+</template>+<script lang="ts" setup>+import { reactive, ref, computed, watch, nextTick, getCurrentInstance, ComponentInternalInstance } from 'vue'+import { useRouter } from 'vue-router'+import { listByPath } from '@/api/base/printSolution'+import { PrintSolutionVO, PrintSolutionGetByPathVo } from '@/types/Base/PrintSolution'+import i18n from '@/languages/i18n'+import preViewDialog from './preView.vue'+import { PRINT_MENU } from '@/constant/print'++const { appContext } = getCurrentInstance() as ComponentInternalInstance+const proxy = appContext.config.globalProperties+const { hiprint } = proxy+interface paperTypeData {+ width: number+ height: number+}+interface tableInterFace {+ name: string+ field: string+ columns: Array<string>+}+const props = defineProps<{+ form: object+ tabPage: string+}>()+const preViewDialogRef = ref()+const routerInfo = useRouter()+const data = reactive({+ formVisible: false,+ hiprintTemplate: {} as any,+ mode: '',+ modeList: [] as string[],+ table: [] as tableInterFace[],+ pageForm: {} as any,+ i18nName: '' as string,+ // 当前纸张+ curPaper: {+ type: 'A4',+ width: 210,+ height: 296.6+ },+ // 纸张类型+ paperTypes: {+ A3: {+ width: 420,+ height: 296.6+ },+ A4: {+ width: 210,+ height: 296.6+ },+ A5: {+ width: 210,+ height: 147.6+ },+ B3: {+ width: 500,+ height: 352.6+ },+ B4: {+ width: 250,+ height: 352.6+ },+ B5: {+ width: 250,+ height: 175.6+ }+ },+ scaleValue: 1,+ scaleMax: 5,+ scaleMin: 0.5,+ panel: {},+ printSolutionList: [] as PrintSolutionVO[]+})+const method = reactive({+ initSetting() {+ data.table = []+ data.i18nName = ''+ data.pageForm = {}+ const option_path = PRINT_MENU.filter(item => item.vue_path === vuePath.value)+ if (option_path.length > 0) {+ data.i18nName = option_path[0].i18nName+ const children = option_path[0].children as any[]+ const option_page = children.find(item => item.tab_page === props.tabPage)+ if (option_page) {+ data.pageForm = option_page.form+ for (const key in data.pageForm) {+ if (key.indexOf('detailList') > -1) {+ const detailList = data.pageForm[key]+ let name = ''+ if (detailList.name === vuePath.value) {+ name = i18n.global.t('base.printSolution.detailList')+ } else {+ name = i18n.global.t(`${ data.i18nName }.${ detailList.name }`)+ }+ data.table.push({ name, field: key, columns: detailList.columns })+ }+ }+ }+ }+ },+ provider() {+ const elementList = [+ new hiprint.PrintElementTypeGroup(i18n.global.t('system.hiprint.routine'), [+ {+ tid: 'providerModule.customText',+ title: i18n.global.t('system.hiprint.text'),+ customText: i18n.global.t('system.hiprint.text'),+ custom: true,+ type: 'text'+ },+ { tid: 'providerModule.image', title: 'Logo', data: '', custom: true, type: 'image' }+ ])+ ]+ const userList = [] as any[]+ for (const key in data.pageForm) {+ const i18nName = `${ data.i18nName }.${ key }`+ const labelName = i18n.global.t(i18nName)+ if (labelName !== i18nName && !key.includes('detailList')) {+ userList.push({+ tid: `providerModule.${ key }`,+ title: labelName,+ data: labelName,+ type: 'text',+ options: {+ field: key,+ testData: labelName,+ height: 16,+ fontSize: 6.75,+ fontWeight: '700',+ textAlign: 'left',+ textContentVerticalAlign: 'middle'+ }+ })+ }+ }+ let index = 1+ data.table.forEach((item) => {+ const object = {+ tid: `providerModule.table${ index.toString() }`,+ title: item.name,+ type: 'table',+ options: {+ field: item.field,+ fields: [{ text: '名称', field: 'NAME' }]+ },+ editable: true,+ columnDisplayEditable: true, // 列显示是否能编辑+ columnDisplayIndexEditable: true, // 列顺序显示是否能编辑+ columnTitleEditable: true, // 列标题是否能编辑+ columnResizable: true, // 列宽是否能调整+ columnAlignEditable: true, // 列对齐是否调整+ columns: [[{ title: '部门', align: 'center', field: 'dept', width: 50 }]]+ }+ object.columns[0] = []+ object.options.fields = []+ item.columns.forEach((col) => {+ const i18nName = `${ data.i18nName }.${ col }`+ const labelName = i18n.global.t(i18nName)+ if (i18nName !== labelName) {+ object.columns[0].push({ title: labelName, align: 'center', field: col, width: 50 })+ object.options.fields.push({ text: labelName, field: col })+ }+ })+ userList.push(object)+ index += 1+ })+ if (userList.length > 0) {+ elementList.push(new hiprint.PrintElementTypeGroup(i18n.global.t('system.hiprint.field'), userList))+ }+ elementList.push(+ new hiprint.PrintElementTypeGroup(i18n.global.t('system.hiprint.auxiliary'), [+ {+ tid: 'providerModule.hline',+ title: i18n.global.t('system.hiprint.hline'),+ type: 'hline'+ },+ {+ tid: 'providerModule.vline',+ title: i18n.global.t('system.hiprint.vline'),+ type: 'vline'+ },+ {+ tid: 'providerModule.rect',+ title: i18n.global.t('system.hiprint.rect'),+ type: 'rect'+ },+ {+ tid: 'providerModule.oval',+ title: i18n.global.t('system.hiprint.oval'),+ type: 'oval'+ }+ ])+ )+ const addElementTypes = function (context: any) {+ context.removePrintElementTypes('providerModule')+ context.addPrintElementTypes('providerModule', elementList)+ }+ return {+ addElementTypes+ }+ },+ initProvier() {+ hiprint.init({+ providers: [method.provider()]+ })+ // $('.hiprintEpContainer').empty()+ const dom = document.getElementById('hiprintEpContainer')+ if (dom !== null) {+ dom.innerHTML = ''+ }+ hiprint.PrintElementTypeManager.build('.hiprintEpContainer', 'providerModule')+ },+ initTemplate() {+ // const provider = providers[0]+ // $('#hiprint-printTemplate').empty()+ const dom = document.getElementById('hiprint-printTemplate')+ if (dom !== null) {+ dom.innerHTML = ''+ }+ data.hiprintTemplate = new hiprint.PrintTemplate({+ template: data.panel,+ dataMode: 1, // 1:getJson 其他:getJsonTid 默认1+ history: false, // 是否需要 撤销重做功能+ // onDataChanged: (type, json) => {+ // console.log(type) // 新增、移动、删除、修改(参数调整)、大小、旋转+ // console.log(json) // 返回 template+ // // 更新模板+ // // hiprintTemplate.update(json)+ // // console.log(hiprintTemplate.historyList)+ // },+ onImageChooseClick: (target) => {+ // 创建input,模拟点击,然后 target.refresh 更新+ const input = document.createElement('input')+ input.setAttribute('type', 'file')+ input.click()+ input.onchange = function (evnt: any) {+ const file = evnt?.target?.files[0]+ if (file) {+ const reader = new FileReader()+ // 通过文件流行文件转换成Base64字行串+ reader.readAsDataURL(file)+ // 转换成功后+ reader.onloadend = function () {+ // 通过 target.refresh 更新图片元素+ target.refresh(reader.result)+ }+ }+ }+ input.remove()+ },+ settingContainer: '#PrintElementOptionSetting',+ paginationContainer: '.hiprint-printPagination'+ })+ data.hiprintTemplate.design('#hiprint-printTemplate')+ },+ async init() {+ const form = {+ vue_path: vuePath.value,+ tab_page: props.tabPage+ } as PrintSolutionGetByPathVo+ const { data: res } = await listByPath(form)+ if (res.isSuccess) {+ data.printSolutionList = res.data+ data.modeList = data.printSolutionList.map((item) => item.solution_name)+ }+ if (!data.mode && data.modeList.length > 0) {+ data.mode = data.printSolutionList[0].solution_name+ }+ method.handleChangeMode()+ },+ handleSetPaper(type: string, value: paperTypeData) {+ try {+ if (Object.keys(data.paperTypes).includes(type)) {+ data.curPaper = { type, width: value.width, height: value.height }+ } else {+ data.curPaper = { type: 'other', width: value.width, height: value.height }+ }+ data.hiprintTemplate.setPaper(value.width, value.height)+ } catch (error) {+ // console.log(error)+ }+ },+ handleChangeScale(big: boolean) {+ let scaleValue = data.scaleValue+ if (big) {+ scaleValue += 0.1+ if (scaleValue > data.scaleMax) scaleValue = 5+ } else {+ scaleValue -= 0.1+ if (scaleValue < data.scaleMin) scaleValue = 0.5+ }+ scaleValue = Number(scaleValue.toFixed(1))+ if (data.hiprintTemplate) {+ // scaleValue: 放大缩小值, false: 不保存(不传也一样), 如果传 true, 打印时也会放大+ data.hiprintTemplate.zoom(scaleValue, true)+ data.scaleValue = scaleValue+ }+ },+ handleChangeMode() {+ const option = data.printSolutionList.filter((item) => item.solution_name === data.mode)+ if (option.length > 0) {+ data.panel = JSON.parse(option[0].config_json)+ data.curPaper = {+ type: option[0].report_direction,+ width: option[0].report_width,+ height: option[0].report_length+ }+ } else {+ data.panel = {}+ }+ method.initTemplate()+ },+ handlePreView() {+ const ref = preViewDialogRef.value+ ref.data.width = data.curPaper.width+ ref.data.hiprintTemplate = data.hiprintTemplate+ ref.data.printData = props.form+ ref.method.show()+ },+})++watch(+ () => data.formVisible,+ (val) => {+ if (val) {+ nextTick(() => {+ method.initSetting()+ method.initProvier()+ method.init()+ })+ }+ }+)+const scaleValueStr = computed(() => {+ let scaleValue = data.scaleValue * 100+ scaleValue = Number(scaleValue.toFixed(0))+ return scaleValue+})+const curPaperType = computed(() => {+ let type = 'other'+ const types = data.paperTypes+ for (const key in types) {+ const item = types[key]+ const { width, height } = data.curPaper+ if (item.width === width && item.height === height) {+ type = key+ }+ }+ return type+})+const vuePath = computed(() => {+ const vuePath = routerInfo.currentRoute.value.name?.toString() as string+ return vuePath+})++defineExpose({+ data+})+</script>+<style scoped lang="less">+.center-btn-box {+ margin-bottom: 5px;+ display: flex;+ justify-content: space-between;+}++.center-box {+ height: calc(100vh - 83px);+ border: 2px solid #e8e8e8;+ box-sizing: border-box;+ border-radius: 2px;+ padding: 0 5px;+ display: flex;+ justify-content: center;+ /* 水平居中对齐 */+}++.left-top-box {+ display: flex;+ justify-content: space-between;+ /* 水平居中对齐 */+}++.left-box {+ height: calc(100vh - 83px);+ border: 2px solid #e8e8e8;+ box-sizing: border-box;+ border-radius: 2px;+ padding: 0 5px;+ display: flex;+ justify-content: center;+ /* 水平居中对齐 */+ margin-top: 5px;+}++.right-top-box {+ display: flex;+ justify-content: flex-end;+}++.right-box {+ height: calc(100vh - 83px);+ border: 2px solid #e8e8e8;+ box-sizing: border-box;+ border-radius: 2px;+ padding: 0 5px;+ display: flex;+ justify-content: center;+ /* 水平居中对齐 */+ margin-top: 5px;+}++.hiprintEpContainer {+ max-width: 200px;+}++:deep(.hiprint-printElement-type > li > ul > li > a) {+ padding: 4px 4px !important;+ color: white !important;+ background-color: #9c27b0 !important;+ font-family: 'Roboto', sans-serif !important;+ font-weight: 500 !important;+ line-height: normal !important;+ vertical-align: middle !important;+ justify-content: center !important;+ height: 30px !important;+ border-radius: 4px !important;+ border-style: none !important;+ text-overflow: ellipsis !important;+ font-size: 14px !important;+ box-shadow: 0 3px 1px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)),+ 0 2px 2px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0 1px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12)) !important;+}++:deep(.hiprint-printElement-type > li > .title) {+ color: #000000de !important;+ font-family: 'Roboto', sans-serif !important;+ font-weight: 500 !important;+}++// 最右边样式,确认按钮背景色+:deep(.hiprint-option-item-settingBtn) {+ background: #9c27b0 !important;+}++// 最右边样式,删除按钮背景色+:deep(.hiprint-option-item-deleteBtn) {+ background: #8d9098 !important;+}++// 默认图片+// :deep(.hiprint-printElement-image-content) {+// img {+// content: url('@/assets/img/webLogoMini.png') !important;+// }+// }++// 设计容器+.card-design {+ overflow: hidden;+ overflow-x: auto;+ overflow-y: auto;+}+</style>\ No newline at end of filediff --git a/frontend/src/components/hiprint/hiprintFast.vue b/frontend/src/components/hiprint/hiprintFast.vuenew file mode 100644index 0000000..9fc8425--- /dev/null+++ b/frontend/src/components/hiprint/hiprintFast.vue@@ -0,0 +1,235 @@+<template>+ <v-dialog v-model="data.formVisible" width="260px">+ <v-card>+ <div style="padding: 5px 15px">+ <v-row>+ <v-col cols="12">+ <div class="left-top-box">+ <v-select+ v-model="data.mode"+ :items="data.modeList"+ density="compact"+ hide-details+ clearable+ @update:model-value="method.handleChangeMode"+ ></v-select>+ </div>+ </v-col>+ </v-row>+ <!-- <v-row v-show="false">+ <v-col cols="12">+ <div class="center-box card-design">+ <div id="hiprint-printTemplate" style="margin-top: 20px" class="hiprint-printTemplate"></div>+ </div>+ </v-col>+ </v-row> -->+ </div>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.handleClose">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.handlePrint">{{ $t('system.page.print') }}</v-btn>+ </v-card-actions>+ </v-card>+ </v-dialog>+</template>+<script lang="ts" setup>+import { reactive, computed, watch, nextTick, getCurrentInstance, ComponentInternalInstance } from 'vue'+import { useRouter } from 'vue-router'+import i18n from '@/languages/i18n'+import { listByPath } from '@/api/base/printSolution'+import { PrintSolutionVO, PrintSolutionGetByPathVo } from '@/types/Base/PrintSolution'+import { hookComponent } from '@/components/system/index'++const { appContext } = getCurrentInstance() as ComponentInternalInstance+const proxy = appContext.config.globalProperties+const { hiprint } = proxy+const props = defineProps<{+ form: object+ tabPage: string+}>()+const routerInfo = useRouter()+const data = reactive({+ formVisible: false,+ hiprintTemplate: {} as any,+ mode: '',+ modeList: [] as string[],+ panel: {},+ printSolutionList: [] as PrintSolutionVO[]+})+const method = reactive({+ initTemplate() {+ const dom = document.getElementById('hiprint-printTemplate')+ if (dom !== null) {+ dom.innerHTML = ''+ }+ data.hiprintTemplate = new hiprint.PrintTemplate({+ template: data.panel,+ dataMode: 1, // 1:getJson 其他:getJsonTid 默认1+ history: false, // 是否需要 撤销重做功能+ // settingContainer: '#PrintElementOptionSetting',+ // paginationContainer: '.hiprint-printPagination'+ })+ // data.hiprintTemplate.design('#hiprint-printTemplate')+ if (data.modeList.length === 1) {+ method.handlePrint()+ } else {+ data.formVisible = true+ }+ },+ async init() {+ const form = {+ vue_path: vuePath.value,+ tab_page: props.tabPage+ } as PrintSolutionGetByPathVo+ const { data: res } = await listByPath(form)+ if (res.isSuccess) {+ data.printSolutionList = res.data+ data.modeList = data.printSolutionList.map((item) => item.solution_name)+ }+ if (!data.mode && data.modeList.length === 0) {+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('system.hiprint.emptyScheme') }`+ })+ method.handleClose()+ } else {+ data.mode = data.printSolutionList[0].solution_name+ method.handleChangeMode()+ }+ },+ handleChangeMode() {+ const option = data.printSolutionList.filter((item) => item.solution_name === data.mode)+ if (option.length > 0) {+ data.panel = JSON.parse(option[0].config_json)+ } else {+ data.panel = {}+ }+ method.initTemplate()+ },+ handleClose() {+ data.formVisible = false+ },+ handleOpen() {+ method.init()+ },+ handlePrint() {+ data.hiprintTemplate.print(+ props.form,+ {},+ {+ callback: () => {+ // data.waitShowPrinter = false+ }+ }+ )+ }+})+const vuePath = computed(() => {+ const vuePath = routerInfo.currentRoute.value.name?.toString() as string+ return vuePath+})++defineExpose({+ method+})+</script>+<style scoped lang="less">+.center-btn-box {+ margin-bottom: 5px;+ display: flex;+ justify-content: space-between;+}++.center-box {+ height: calc(100vh - 83px);+ border: 2px solid #e8e8e8;+ box-sizing: border-box;+ border-radius: 2px;+ padding: 0 5px;+ display: flex;+ justify-content: center;+ /* 水平居中对齐 */+}++.left-top-box {+ display: flex;+ justify-content: space-between;+ /* 水平居中对齐 */+}++.left-box {+ height: calc(100vh - 83px);+ border: 2px solid #e8e8e8;+ box-sizing: border-box;+ border-radius: 2px;+ padding: 0 5px;+ display: flex;+ justify-content: center;+ /* 水平居中对齐 */+ margin-top: 5px;+}++.right-top-box {+ display: flex;+ justify-content: flex-end;+}++.right-box {+ height: calc(100vh - 83px);+ border: 2px solid #e8e8e8;+ box-sizing: border-box;+ border-radius: 2px;+ padding: 0 5px;+ display: flex;+ justify-content: center;+ /* 水平居中对齐 */+ margin-top: 5px;+}++:deep(.hiprint-printElement-type > li > ul > li > a) {+ padding: 4px 4px !important;+ color: white !important;+ background-color: #9c27b0 !important;+ font-family: 'Roboto', sans-serif !important;+ font-weight: 500 !important;+ line-height: normal !important;+ vertical-align: middle !important;+ justify-content: center !important;+ height: 30px !important;+ border-radius: 4px !important;+ border-style: none !important;+ text-overflow: ellipsis !important;+ font-size: 14px !important;+ box-shadow: 0 3px 1px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)),+ 0 2px 2px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0 1px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12)) !important;+}++:deep(.hiprint-printElement-type > li > .title) {+ color: #000000de !important;+ font-family: 'Roboto', sans-serif !important;+ font-weight: 500 !important;+}++// 最右边样式,确认按钮背景色+:deep(.hiprint-option-item-settingBtn) {+ background: #9c27b0 !important;+}++// 最右边样式,删除按钮背景色+:deep(.hiprint-option-item-deleteBtn) {+ background: #8d9098 !important;+}++// 默认图片+// :deep(.hiprint-printElement-image-content) {+// img {+// content: url('@/assets/img/webLogoMini.png') !important;+// }+// }++// 设计容器+.card-design {+ overflow: hidden;+ overflow-x: auto;+ overflow-y: auto;+}+</style>diff --git a/frontend/src/components/hiprint/preView.vue b/frontend/src/components/hiprint/preView.vuenew file mode 100644index 0000000..e296d0f--- /dev/null+++ b/frontend/src/components/hiprint/preView.vue@@ -0,0 +1,76 @@+<template>+ <v-dialog v-model="data.formVisible" :width="contentWidth" height="90%">+ <v-card>+ <v-toolbar color="white">+ <v-toolbar-title>{{ $t('system.page.preView') }}</v-toolbar-title>+ <v-spacer></v-spacer>+ <v-btn color="primary" variant="text" @click="method.print">{{ $t('system.page.print') }}</v-btn>+ <v-btn variant="text" @click="method.hideModal">{{ $t('system.page.close') }}</v-btn>+ </v-toolbar>+ <div class="preview_box">+ <v-row>+ <v-col cols="12">+ <div id="preview_content_custom" class="preview_content"></div>+ </v-col>+ </v-row>+ </div>+ </v-card>+ </v-dialog>+</template>+<script lang="ts" setup>+import { reactive, computed } from 'vue'+import $ from 'jquery'++const data = reactive({+ formVisible: false,+ waitShowPrinter: false,+ // 纸张宽 mm+ width: 0,+ // 模板+ hiprintTemplate: {} as any,+ hiprintData: {} as any,+ // 数据+ printData: {}+})+const method = reactive({+ hideModal() {+ data.formVisible = false+ },+ show() {+ data.formVisible = true+ setTimeout(() => {+ $('#preview_content_custom').html(data.hiprintTemplate.getHtml(data.printData))+ }, 500)+ },+ print() {+ data.waitShowPrinter = true+ data.hiprintTemplate.print(+ data.printData,+ {},+ {+ callback: () => {+ data.waitShowPrinter = false+ }+ }+ )+ }+})+const contentWidth = computed(() => {+ let cwidth = (data.width * 3.78) as number+ cwidth += 25+ return `${ cwidth }px`+})+defineExpose({+ data,+ method+})+</script>+<style scoped lang="less">+.preview_box {+ display: flex;+ justify-content: center; /* 水平居中对齐 */+ border: 1px solid #e8e8e8;+ box-sizing: border-box;+ border-radius: 2px;+}+</style>diff --git a/frontend/src/components/login/login-form.vue b/frontend/src/components/login/login-form.vuenew file mode 100644index 0000000..a22d87b--- /dev/null+++ b/frontend/src/components/login/login-form.vue@@ -0,0 +1,227 @@+<template>+ <div class="loginForm">+ <div class="titleText">+ <h5>{{ $t('login.welcomeTitle') }}</h5>+ </div>+ <div class="formContainer">+ <v-form ref="VFormRef" v-model="data.valid" lazy-validation @keydown.enter.prevent="method.login()">+ <v-text-field v-model="data.userName" required :rules="data.userNameVaildRules" :label="$t('login.userName')" variant="solo"></v-text-field>+ <v-text-field+ v-model="data.password"+ required+ :rules="data.passwordVaildRules"+ :autocomplete="false"+ :append-inner-icon="data.showPassword ? 'mdi-eye' : 'mdi-eye-off'"+ :type="data.showPassword ? 'text' : 'password'"+ :label="$t('login.password')"+ variant="solo"+ @click:append-inner="method.handleShowPassword()"+ ></v-text-field>+ <v-checkbox v-model="data.remember" :label="$t('login.rememberTips')"></v-checkbox>+ <v-btn color="purple" class="loginBtn" @click="method.login()">{{ $t('login.mainButtonLabel') }}</v-btn>+ <v-btn class="mt-2" color="#666" variant="plain" @click="method.openRegisterDialog">+ {{ i18n.global.t('login.registerTips') }}+ </v-btn>+ </v-form>+ </div>+ <userRegisterForm :show-dialog="data.showDialog" :form="data.dialogForm" @close="method.closeDialog" @saveSuccess="method.saveSuccess" />+ </div>+</template>++<script lang="ts" setup>+import { reactive, ref, onMounted } from 'vue'+import { Md5 } from 'ts-md5'+import i18n from '@/languages/i18n'+import { login, getUserAuthority } from '@/api/sys/login'+import { store } from '@/store'+import { hookComponent } from '@/components/system'+import { router } from '@/router/index'+import userRegisterForm from './user-register-form.vue'++// Get v-form ref+const VFormRef = ref()++const data = reactive({+ showDialog: false,+ valid: true,+ showPassword: false,+ userName: '',+ password: '',+ remember: false,+ dialogForm: {+ id: 0,+ user_num: '',+ user_name: '',+ auth_string: '',+ email: '',+ // sex: '',+ is_valid: true+ },+ userNameVaildRules: [(v: string) => !!v || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('login.userName') }!`],+ passwordVaildRules: [(v: string) => !!v || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('login.password') }!`]+})++const method = reactive({+ handleShowPassword: () => {+ data.showPassword = !data.showPassword+ },+ login: async () => {+ const { valid } = await VFormRef.value.validate()+ if (!valid) {+ return+ }+ const { data: loginRes } = await login({+ user_name: data.userName,+ password: Md5.hashStr(data.password)+ })++ if (loginRes.isSuccess) {+ const expiredTime = new Date().getTime() + loginRes.data.expire * 60 * 1000++ store.commit('user/setToken', loginRes.data.access_token)+ store.commit('user/setRefreshToken', loginRes.data.refresh_token)+ store.commit('user/setExpirationTime', expiredTime)+ store.commit('user/setEffectiveMinutes', loginRes.data.expire)+ store.commit('user/setUserInfo', loginRes.data)++ const { data: authorityRes } = await getUserAuthority(loginRes.data.userrole_id)+ if (!authorityRes.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: authorityRes.errorMessage+ })+ return+ }+ if (authorityRes.data.length <= 0) {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('login.notAuthority')+ })+ return+ }++ const authorityList = authorityRes.data++ // test+ // authorityList.push({+ // id: 112999,+ // menu_name: 'test',+ // module: 'baseModule',+ // vue_path: 'test',+ // vue_path_detail: '',+ // vue_directory: 'test/test',+ // sort: 2+ // })++ store.commit('user/setUserMenuList', authorityList)++ hookComponent.$message({+ type: 'success',+ content: i18n.global.t('login.loginSuccess')+ })++ // Remember user login info+ if (data.remember) {+ const rememberJSON = JSON.stringify({+ userName: window.btoa(encodeURIComponent(data.userName)),+ password: window.btoa(encodeURIComponent(data.password))+ })+ localStorage.setItem('userLoginInfo', rememberJSON)+ } else {+ localStorage.setItem('userLoginInfo', '')+ }+ // Jump home+ store.commit('system/setCurrentRouterPath', 'homepage')+ router.push('home')+ } else {+ hookComponent.$message({+ type: 'error',+ content: loginRes.errorMessage+ })+ }+ },+ openRegisterDialog: () => {+ data.dialogForm = {+ id: 0,+ user_num: '',+ user_name: '',+ auth_string: '',+ email: '',+ // sex: '',+ is_valid: true+ }+ data.showDialog = true+ },+ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },+ // after Add or update success.+ saveSuccess: () => {+ method.closeDialog()+ }+})++onMounted(() => {+ // Get remember username and password+ const rememberJSON = localStorage.getItem('userLoginInfo')+ if (rememberJSON) {+ const obj = JSON.parse(rememberJSON)+ try {+ data.userName = decodeURIComponent(window.atob(obj.userName))+ data.password = decodeURIComponent(window.atob(obj.password))+ } catch {+ data.userName = window.atob(obj.userName)+ data.password = window.atob(obj.password)+ }+ data.remember = true+ }+})+</script>++<style scoped lang="less">+.loginForm {+ // min-height: ;+ height: 50%;+ width: 100%;+ box-sizing: border-box;+ padding: 16px;+ .titleText {+ box-sizing: border-box;+ padding: 20px;+ h5 {+ font-size: 1.5rem !important;+ font-weight: 500;+ line-height: 2rem;+ letter-spacing: normal !important;+ font-family: inter, sans-serif, -apple-system, blinkmacsystemfont, Segoe UI, roboto, Helvetica Neue, arial, sans-serif, 'Apple Color Emoji',+ 'Segoe UI Emoji', Segoe UI Symbol !important;+ text-transform: none !important;+ }+ }+ .formContainer {+ box-sizing: border-box;+ padding: 12px 20px;+ .v-btn {+ width: 100%;+ }+ .v-text-field {+ margin-top: 10px;+ }+ .v-checkbox {+ color: #b2b0b5;+ margin-inline-start: -0.5625rem;+ margin-top: -10px;+ height: 60px;+ }+ }+ // There is style pollution Or vuetify itself has problems, replace the required verification color manually+ :deep(.v-messages) {+ color: #b00020 !important;+ }+}++.loginBtn {+ height: 45px;+}+</style>diff --git a/frontend/src/components/login/user-register-form.vue b/frontend/src/components/login/user-register-form.vuenew file mode 100644index 0000000..77474b2--- /dev/null+++ b/frontend/src/components/login/user-register-form.vue@@ -0,0 +1,182 @@+<template>+ <v-dialog v-model="isShow" width="20%" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('login.register')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-text-field+ v-model="data.form.user_name"+ :label="$t('base.userManagement.user_register_name')"+ :rules="data.rules.user_name"+ variant="outlined"+ ></v-text-field>+ <v-text-field+ v-model="data.form.auth_string"+ :label="$t('base.userManagement.auth_string')"+ :rules="data.rules.auth_string"+ variant="outlined"+ :append-icon="data.isShowPassword ? 'mdi-eye' : 'mdi-eye-off'"+ :type="data.isShowPassword ? 'text' : 'password'"+ @click:append="data.isShowPassword = !data.isShowPassword"+ ></v-text-field>+ <v-select+ v-model="data.form.sex"+ :items="data.combobox.sex"+ item-title="label"+ item-value="value"+ :rules="data.rules.sex"+ :label="$t('base.userManagement.sex')"+ variant="outlined"+ clearable+ ></v-select>+ <v-text-field+ v-model="data.form.email"+ :label="$t('base.userManagement.email')"+ :rules="data.rules.email"+ variant="outlined"+ ></v-text-field>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { Md5 } from 'ts-md5'+import { UserVO } from '@/types/Base/UserManagement'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { registerUser } from '@/api/base/userManagement'++const formRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])++const props = defineProps<{+ showDialog: boolean+ form: UserVO+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ isShowPassword: false,+ form: ref<UserVO>({+ id: 0,+ user_num: '',+ user_name: '',+ auth_string: '',+ email: '',+ sex: '',+ is_valid: true+ }),+ rules: {+ user_num: [],+ user_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.userManagement.user_register_name') }!`+ ],+ auth_string: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.userManagement.auth_string') }!`],+ email: [(val: string) => method.verifyMailbox(val)],+ sex: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.userManagement.sex') }!`],+ contact_tel: [],+ is_valid: []+ },+ combobox: ref<{+ sex: {+ label: string+ value: string+ }[]+ }>({+ sex: []+ })+})++const method = reactive({+ // Verify mailbox+ verifyMailbox: (val: string) => {+ if (!val) {+ return true+ }+ const RE = new RegExp(+ /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/+ )+ if (RE.test(val)) {+ return true+ }+ return i18n.global.t('system.tips.vaildEmail')+ },+ // Get the options required by the drop-down box+ getCombobox: () => {+ // Static drop-down box+ const sexOptions = ['male', 'female']+ data.combobox.sex = []+ for (const sex of sexOptions) {+ data.combobox.sex.push({+ label: i18n.global.t(`system.combobox.sex.${ sex }`),+ value: sex+ })+ }+ },+ closeDialog: () => {+ emit('close')+ },+ submit: async () => {+ const { valid } = await formRef.value.validate()++ if (valid) {+ const form = {+ id: 0,+ user_num: '',+ user_name: data.form.user_name,+ auth_string: Md5.hashStr(data.form.auth_string as string),+ email: data.form.email,+ sex: data.form.sex,+ is_valid: true+ }++ const { data: res } = await registerUser(form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.getCombobox()+ data.form = props.form+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/components/lottie.vue b/frontend/src/components/lottie.vuenew file mode 100644index 0000000..db06ac5--- /dev/null+++ b/frontend/src/components/lottie.vue@@ -0,0 +1,40 @@+<template>+ <div ref="lottieBox"></div>+</template>++<script lang="ts" setup>+import lottie from 'lottie-web'+import { onMounted, ref } from 'vue'++const props = defineProps({+ src: {+ type: Object,+ default: () => {}+ },+ path: {+ type: String,+ default: ''+ },+ loop: {+ type: Boolean,+ default: true+ },+ autoplay: {+ type: Boolean,+ default: true+ }+})+const lottieBox = ref(null)+onMounted(() => {+ if (lottieBox.value) {+ lottie.loadAnimation({+ container: lottieBox.value,+ renderer: 'svg',+ loop: props.loop,+ autoplay: props.autoplay,+ path: props.path,+ animationData: Object.keys(props.src).length == 0 ? '' : props.src+ })+ }+})+</script>diff --git a/frontend/src/components/page/nav-list.vue b/frontend/src/components/page/nav-list.vuenew file mode 100644index 0000000..21cd49a--- /dev/null+++ b/frontend/src/components/page/nav-list.vue@@ -0,0 +1,126 @@+<template>+ <div style="height: 100%">+ <!-- title -->+ <div class="nav-list-title">{{ title }}</div>++ <!-- list -->+ <div class="nav-list">+ <div+ v-for="(item, index) of listData"+ :key="index"+ class="nav-item"+ :class="[indexValue === String(item[indexKey]) ? 'is-active-item' : '']"+ @click.stop="method.itemClick(item)"+ >+ <div class="nav-item__name">+ {{ item[labelKey] }}+ </div>+ <v-icon v-if="indexValue === String(item[indexKey])" class="nav-item__icon" icon="mdi-menu-left"></v-icon>+ </div>+ </div>++ <!-- no data -->+ <div v-if="!listData.length" class="null-data">{{ $t('system.tips.noData') }}</div>+ </div>+</template>++<script lang="ts" setup>+import { reactive } from 'vue'++const emit = defineEmits(['itemClick'])++const props = defineProps<{+ title: string // Sidebar Title+ listData: any[] // Sidebar Data+ labelKey: string // Key displayed in the sidebar+ // The selected key and value in the sidebar+ // For example, if a List is [{a: 1, b: 2}, {a: 3, b: 4}], I want to activate the row with b=4. Then indexKey=b indexValue=4+ indexKey: string+ indexValue: string+}>()++const method = reactive({+ itemClick: (item: any) => {+ if (props.indexValue === String(item[props.indexKey])) {+ return+ }+ emit('itemClick', item)+ }+})+</script>++<style lang="less" scoped>+@normal-transition: all 0.2s ease;+.nav-list-title {+ height: 35px;+ width: 100%;+ box-sizing: border-box;+ padding-left: 10px;+ background-color: #f8f8f9;+ color: #444;+ display: flex;+ justify-content: flex-start;+ align-items: center;+}++.nav-list {+ height: 100%;+ overflow-y: scroll;+}+.nav-list::-webkit-scrollbar {+ display: none;+}++.nav-item {+ box-sizing: border-box;+ width: 93%;+ min-height: 40px;+ padding: 10px 20px;+ margin: 8px auto;+ transition: @normal-transition;+ border-radius: 5px;+ display: flex;+ justify-content: flex-start;+ align-items: center;+}++.nav-item:hover {+ cursor: pointer;+ background-color: #e3ecfb;+ transition: @normal-transition;+}++.nav-item__name {+ width: 80%;+}++.is-active-item {+ background-color: #e3ecfb;+ color: #9C27B0;+ transition: @normal-transition;+ position: relative;+ // justify-content: space-between;++ // .nav-item__name {+ // width: 80%;+ // }+ .nav-item__icon {+ width: 20px;+ position: absolute;+ right: 5px;+ > img {+ width: 15px;+ height: 12px;+ }+ }+}++.null-data {+ font-size: 12px;+ color: #606266;+ position: absolute;+ top: 50%;+ left: 50%;+ transform: translate(-50%, -50%);+}+</style>diff --git a/frontend/src/components/select/commodity-select.vue b/frontend/src/components/select/commodity-select.vuenew file mode 100644index 0000000..2d2a79d--- /dev/null+++ b/frontend/src/components/select/commodity-select.vue@@ -0,0 +1,238 @@+<!-- Select Modal -->+<template>+ <v-dialog v-model="isShow" width="70%" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('wms.stock.stockSelectModal')}`"></v-toolbar>+ <v-card-text>+ <v-row>+ <v-col cols="3">+ <div class="searchForm" :style="{ height: searchFormHeight }">+ <tooltip-btn icon="mdi-refresh" size="x-small" :tooltip-text="$t('system.page.reset')" @click="method.resetForm"></tooltip-btn>+ <tooltip-btn icon="mdi-magnify" size="x-small" :tooltip-text="$t('system.page.confirm')" @click="method.sureSearch"></tooltip-btn>+ <v-form ref="formRef" class="mt-4">+ <v-text-field+ v-model="data.searchForm.warehouse_name"+ :label="$t('wms.stock.warehouse')"+ variant="outlined"+ density="compact"+ hide-details+ clearable+ class="mb-4"+ ></v-text-field>+ <v-text-field+ v-model="data.searchForm.location_name"+ :label="$t('wms.stock.location_name')"+ variant="outlined"+ density="compact"+ hide-details+ clearable+ class="mb-4"+ ></v-text-field>+ <v-text-field+ v-model="data.searchForm.spu_name"+ :label="$t('base.commodityManagement.spu_name')"+ variant="outlined"+ density="compact"+ hide-details+ clearable+ class="mb-4"+ ></v-text-field>+ <v-text-field+ v-model="data.searchForm.sku_code"+ :label="$t('base.commodityManagement.sku_code')"+ variant="outlined"+ density="compact"+ hide-details+ clearable+ class="mb-4"+ ></v-text-field>+ </v-form>+ </div>+ </v-col>+ <v-col cols="9">+ <div class="dataTable">+ <vxe-table+ ref="xTable"+ :column-config="{ minWidth: '100px' }"+ :data="data.tableData"+ :height="SYSTEM_HEIGHT.SELECT_TABLE"+ align="center"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="warehouse_name" :title="$t('wms.stock.warehouse')"></vxe-column>+ <vxe-column field="location_name" :title="$t('wms.stock.location_name')"></vxe-column>+ <vxe-column field="goods_owner_name" :title="$t('base.ownerOfCargo.goods_owner_name')"></vxe-column>+ <vxe-column field="spu_code" :title="$t('base.commodityManagement.spu_code')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('base.commodityManagement.spu_name')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('base.commodityManagement.sku_code')"></vxe-column>+ <vxe-column field="sku_name" :title="$t('base.commodityManagement.sku_name')"></vxe-column>+ <vxe-column field="series_number" :title="$t('wms.stockLocation.series_number')"></vxe-column>+ <vxe-column field="qty_available" :title="$t('wms.stock.qty_available')"></vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ </v-col>+ </v-row>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.confirm') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+/**+ * @description Select Modal+ * @example+ * <xxx-select :show-dialog="data.showDialogSelect" @close="method.closeDialogSelect" @sureSelect="method.sureSelect" />+ *+ * openSelect: () => {+ data.showDialogSelect = true+ },+ closeDialogSelect: () => {+ data.showDialogSelect = false+ },+ */+import { reactive, computed, ref, watch } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { hookComponent } from '@/components/system/index'+import { getStockSelectList } from '@/api/wms/stockManagement'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { SearchObject } from '@/types/System/Form'+import { computedSelectTableSearchHeight, SYSTEM_HEIGHT } from '@/constant/style'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject } from '@/utils/common'+import customPager from '@/components/custom-pager.vue'+import i18n from '@/languages/i18n'++const emit = defineEmits(['close', 'sureSelect'])+const xTable = ref()++const props = defineProps<{+ showDialog: boolean+ sqlTitle?: string+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ tableData: [],+ tablePage: reactive({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ searchForm: {+ location_name: '',+ warehouse_name: '',+ spu_name: '',+ sku_code: ''+ },+ timer: ref<any>(null)+})++const method = reactive({+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getList()+ }),++ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getList()+ },++ getList: async () => {+ const { data: res } = await getStockSelectList({+ ...data.tablePage,+ sqlTitle: props.sqlTitle+ })+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },++ resetForm: () => {+ // Clear search input+ for (const key in data.searchForm) {+ const str = key as string+ data.searchForm[str as keyof typeof data.searchForm] = ''+ }++ // Clear search params+ data.tablePage.searchObjects = []+ },++ submit: () => {+ const checkRecords = xTable.value.getCheckboxRecords()+ emit('sureSelect', checkRecords)+ method.closeDialog()+ },++ closeDialog: () => {+ emit('close')+ }+})++const searchFormHeight = computed(() => computedSelectTableSearchHeight({}))++watch(+ () => isShow.value,+ (newVal) => {+ newVal && method.getList()+ }+)++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style scoped lang="less">+.searchForm {+ border: 1px solid #eee;+ box-sizing: border-box;+ padding: 20px;+ overflow: auto;+}+</style>diff --git a/frontend/src/components/select/employee-select.vue b/frontend/src/components/select/employee-select.vuenew file mode 100644index 0000000..525b417--- /dev/null+++ b/frontend/src/components/select/employee-select.vue@@ -0,0 +1,230 @@+<!-- Select Modal -->+<template>+ <v-dialog v-model="data.showDialog" width="70%" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('base.userManagement.userModalTitle')}`"></v-toolbar>+ <v-card-text>+ <v-row>+ <v-col cols="3">+ <div class="searchForm" :style="{ height: searchFormHeight }">+ <tooltip-btn icon="mdi-refresh" size="x-small" :tooltip-text="$t('system.page.reset')" @click="method.resetForm"></tooltip-btn>+ <tooltip-btn icon="mdi-magnify" size="x-small" :tooltip-text="$t('system.page.confirm')" @click="method.sureSearch"></tooltip-btn>+ <v-form ref="formRef" class="mt-4">+ <v-text-field+ v-model="data.searchForm.user_num"+ :label="$t('base.userManagement.user_num')"+ variant="outlined"+ density="compact"+ hide-details+ clearable+ class="mb-4"+ >+ </v-text-field>+ <v-text-field+ v-model="data.searchForm.user_name"+ :label="$t('base.userManagement.user_name')"+ variant="outlined"+ density="compact"+ hide-details+ clearable+ class="mb-4"+ >+ </v-text-field>+ <v-text-field+ v-model="data.searchForm.user_role"+ :label="$t('base.userManagement.user_role')"+ variant="outlined"+ density="compact"+ hide-details+ clearable+ class="mb-4"+ >+ </v-text-field>+ </v-form>+ </div>+ </v-col>+ <v-col cols="9">+ <div class="dataTable">+ <vxe-table+ ref="xTable"+ :column-config="{ minWidth: '100px' }"+ :data="data.tableData"+ :height="SYSTEM_HEIGHT.SELECT_TABLE"+ align="center"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="user_num" :title="$t('base.userManagement.user_num')"></vxe-column>+ <vxe-column field="user_name" :title="$t('base.userManagement.user_name')"></vxe-column>+ <vxe-column field="user_role" :title="$t('base.userManagement.user_role')"></vxe-column>+ <vxe-column field="sex" :title="$t('base.userManagement.sex')">+ <template #default="{ row }">+ <span>{{ $t(`system.combobox.sex.${row.sex}`) }}</span>+ </template>+ </vxe-column>+ <vxe-column field="contact_tel" :title="$t('base.userManagement.contact_tel')"></vxe-column>+ <vxe-column field="is_valid" :title="$t('base.userManagement.is_valid')">+ <template #default="{ row, column }">+ <span>{{ row[column.property] ? $t('system.combobox.yesOrNo.yes') : $t('system.combobox.yesOrNo.no') }}</span>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ </v-col>+ </v-row>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.confirm') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+/**+ * @description Select Modal+ * @example+ * <xxx-select :show-dialog="data.showDialogSelect" @close="method.closeDialogSelect" @sureSelect="method.sureSelect" />+ *+ * openSelect: () => {+ data.showDialogSelect = true+ },+ closeDialogSelect: () => {+ data.showDialogSelect = false+ },+ */+import { reactive, computed, ref, watch } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { hookComponent } from '@/components/system/index'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { SearchObject } from '@/types/System/Form'+import { computedSelectTableSearchHeight, SYSTEM_HEIGHT } from '@/constant/style'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject } from '@/utils/common'+import customPager from '@/components/custom-pager.vue'+import i18n from '@/languages/i18n'+import { getUserList } from '@/api/base/userManagement'++const emit = defineEmits(['sureSelect'])+const xTable = ref()++const data = reactive({+ showDialog: false as boolean,+ tableData: [],+ tablePage: reactive({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ searchForm: {+ user_num: '',+ user_name: '',+ user_role: ''+ },+ timer: ref<any>(null)+})++const method = reactive({+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getList()+ }),++ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getList()+ },++ getList: async () => {+ const { data: res } = await getUserList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },++ resetForm: () => {+ // Clear search input+ for (const key in data.searchForm) {+ const str = key as string+ data.searchForm[str as keyof typeof data.searchForm] = ''+ }++ // Clear search params+ data.tablePage.searchObjects = []+ },++ submit: () => {+ const checkRecords = xTable.value.getCheckboxRecords()+ emit('sureSelect', checkRecords)+ method.closeDialog()+ },++ openDialog: () => {+ method.getList()++ data.showDialog = true+ },+ closeDialog: () => {+ data.showDialog = false+ }+})++defineExpose({+ openDialog: method.openDialog,+ closeDialog: method.closeDialog+})++const searchFormHeight = computed(() => computedSelectTableSearchHeight({}))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style scoped lang="less">+.searchForm {+ border: 1px solid #eee;+ box-sizing: border-box;+ padding: 20px;+ overflow: auto;+}+</style>diff --git a/frontend/src/components/select/freight-select.vue b/frontend/src/components/select/freight-select.vuenew file mode 100644index 0000000..5e1d409--- /dev/null+++ b/frontend/src/components/select/freight-select.vue@@ -0,0 +1,229 @@+<!-- Select Modal -->+<template>+ <v-dialog v-model="isShow" width="70%" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('base.freightSetting.freightSelectModal')}`"></v-toolbar>+ <v-card-text>+ <v-row>+ <v-col cols="3">+ <div class="searchForm" :style="{ height: searchFormHeight }">+ <tooltip-btn icon="mdi-refresh" size="x-small" :tooltip-text="$t('system.page.reset')" @click="method.resetForm"></tooltip-btn>+ <tooltip-btn icon="mdi-magnify" size="x-small" :tooltip-text="$t('system.page.confirm')" @click="method.sureSearch"></tooltip-btn>+ <v-form ref="formRef" class="mt-4">+ <v-text-field+ v-model="data.searchForm.carrier"+ :label="$t('base.freightSetting.carrier')"+ variant="outlined"+ density="compact"+ hide-details+ clearable+ class="mb-4"+ ></v-text-field>+ <v-text-field+ v-model="data.searchForm.departure_city"+ :label="$t('base.freightSetting.departure_city')"+ variant="outlined"+ density="compact"+ hide-details+ clearable+ class="mb-4"+ ></v-text-field>+ <v-text-field+ v-model="data.searchForm.arrival_city"+ :label="$t('base.freightSetting.arrival_city')"+ variant="outlined"+ density="compact"+ hide-details+ clearable+ class="mb-4"+ ></v-text-field>+ </v-form>+ </div>+ </v-col>+ <v-col cols="9">+ <div class="dataTable">+ <vxe-table+ ref="xTable"+ :column-config="{ minWidth: '100px' }"+ :data="data.tableData"+ :height="SYSTEM_HEIGHT.SELECT_TABLE"+ align="center"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="carrier" :title="$t('base.freightSetting.carrier')"></vxe-column>+ <vxe-column field="departure_city" :title="$t('base.freightSetting.departure_city')"></vxe-column>+ <vxe-column field="arrival_city" :title="$t('base.freightSetting.arrival_city')"></vxe-column>+ <vxe-column field="price_per_weight" :title="$t('base.freightSetting.price_per_weight')"></vxe-column>+ <vxe-column field="price_per_volume" :title="$t('base.freightSetting.price_per_volume')"></vxe-column>+ <vxe-column field="min_payment" :title="$t('base.freightSetting.min_payment')"></vxe-column>+ <vxe-column field="creator" :title="$t('base.freightSetting.creator')"></vxe-column>+ <vxe-column field="create_time" width="170px" :title="$t('base.freightSetting.create_time')"></vxe-column>+ <vxe-column field="is_valid" :title="$t('base.warehouseSetting.is_valid')">+ <template #default="{ row, column }">+ <span>{{ formatIsValid(row[column.property]) }}</span>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ </v-col>+ </v-row>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.confirm') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+/**+ * @description Select Modal+ * @example+ * <xxx-select :show-dialog="data.showDialogSelect" @close="method.closeDialogSelect" @sureSelect="method.sureSelect" />+ *+ * openSelect: () => {+ data.showDialogSelect = true+ },+ closeDialogSelect: () => {+ data.showDialogSelect = false+ },+ */+import { reactive, computed, ref, watch } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { hookComponent } from '@/components/system/index'+import { getFreightList } from '@/api/base/freightSetting'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { formatIsValid } from '@/utils/format/formatSystem'+import { SearchObject } from '@/types/System/Form'+import { computedSelectTableSearchHeight, SYSTEM_HEIGHT } from '@/constant/style'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject } from '@/utils/common'+import customPager from '@/components/custom-pager.vue'+import i18n from '@/languages/i18n'++const emit = defineEmits(['close', 'sureSelect'])+const xTable = ref()++const props = defineProps<{+ showDialog: boolean+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ tableData: [],+ tablePage: reactive({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ searchForm: {+ carrier: '',+ departure_city: '',+ arrival_city: ''+ },+ timer: ref<any>(null)+})++const method = reactive({+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getList()+ }),++ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getList()+ },++ getList: async () => {+ const { data: res } = await getFreightList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },++ resetForm: () => {+ // Clear search input+ for (const key in data.searchForm) {+ const str = key as string+ data.searchForm[str as keyof typeof data.searchForm] = ''+ }++ // Clear search params+ data.tablePage.searchObjects = []+ },++ submit: () => {+ const checkRecords = xTable.value.getCheckboxRecords()+ emit('sureSelect', checkRecords)+ method.closeDialog()+ },++ closeDialog: () => {+ emit('close')+ }+})++const searchFormHeight = computed(() => computedSelectTableSearchHeight({}))++watch(+ () => isShow.value,+ (newVal) => {+ newVal && method.getList()+ }+)++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style scoped lang="less">+.searchForm {+ border: 1px solid #eee;+ box-sizing: border-box;+ padding: 20px;+ overflow: auto;+}+</style>diff --git a/frontend/src/components/select/location-select.vue b/frontend/src/components/select/location-select.vuenew file mode 100644index 0000000..85b7580--- /dev/null+++ b/frontend/src/components/select/location-select.vue@@ -0,0 +1,219 @@+<!-- Select Modal -->+<template>+ <v-dialog v-model="isShow" width="70%" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('base.warehouseSetting.locationSelectModal')}`"></v-toolbar>+ <v-card-text>+ <v-row>+ <v-col cols="3">+ <div class="searchForm" :style="{ height: searchFormHeight }">+ <tooltip-btn icon="mdi-refresh" size="x-small" :tooltip-text="$t('system.page.reset')" @click="method.resetForm"></tooltip-btn>+ <tooltip-btn icon="mdi-magnify" size="x-small" :tooltip-text="$t('system.page.confirm')" @click="method.sureSearch"></tooltip-btn>+ <v-form ref="formRef" class="mt-4">+ <v-text-field+ v-model="data.searchForm.location_name"+ :label="$t('base.warehouseSetting.location_name')"+ variant="outlined"+ density="compact"+ hide-details+ clearable+ class="mb-4"+ ></v-text-field>+ </v-form>+ </div>+ </v-col>+ <v-col cols="9">+ <div class="dataTable">+ <vxe-table+ ref="xTable"+ :column-config="{ minWidth: '100px' }"+ :data="data.tableData"+ :height="SYSTEM_HEIGHT.SELECT_TABLE"+ align="center"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="warehouse_name" :title="$t('base.warehouseSetting.warehouse_name')"></vxe-column>+ <vxe-column field="warehouse_area_name" :title="$t('base.warehouseSetting.area_name')"></vxe-column>+ <vxe-column field="warehouse_area_property" :title="$t('base.warehouseSetting.area_property')">+ <template #default="{ row, column }">+ <span>{{ formatAreaProperty(row[column.property]) }}</span>+ </template>+ </vxe-column>+ <vxe-column field="location_name" :title="$t('base.warehouseSetting.location_name')"></vxe-column>+ <vxe-column width="150px" field="location_length" :title="$t('base.warehouseSetting.location_length')"></vxe-column>+ <vxe-column width="150px" field="location_width" :title="$t('base.warehouseSetting.location_width')"></vxe-column>+ <vxe-column width="150px" field="location_heigth" :title="$t('base.warehouseSetting.location_heigth')"></vxe-column>+ <vxe-column width="150px" field="location_volume" :title="$t('base.warehouseSetting.location_volume')"></vxe-column>+ <vxe-column width="150px" field="location_load" :title="$t('base.warehouseSetting.location_load')"></vxe-column>+ <vxe-column field="roadway_number" :title="$t('base.warehouseSetting.roadway_number')"></vxe-column>+ <vxe-column field="shelf_number" :title="$t('base.warehouseSetting.shelf_number')"></vxe-column>+ <vxe-column field="layer_number" :title="$t('base.warehouseSetting.layer_number')"></vxe-column>+ <vxe-column field="tag_number" :title="$t('base.warehouseSetting.tag_number')"></vxe-column>+ <vxe-column field="is_valid" :title="$t('base.warehouseSetting.is_valid')">+ <template #default="{ row, column }">+ <span>{{ formatIsValid(row[column.property]) }}</span>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ </v-col>+ </v-row>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.confirm') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+/**+ * @description Select Modal+ * @example+ * <xxx-select :show-dialog="data.showDialogSelect" @close="method.closeDialogSelect" @sureSelect="method.sureSelect" />+ *+ * openSelect: () => {+ data.showDialogSelect = true+ },+ closeDialogSelect: () => {+ data.showDialogSelect = false+ },+ */+import { reactive, computed, ref, watch } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { hookComponent } from '@/components/system/index'+import { getGoodsLocationList } from '@/api/base/warehouseSetting'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { formatIsValid } from '@/utils/format/formatSystem'+import { formatAreaProperty } from '@/utils/format/formatWarehouse'+import { SearchObject } from '@/types/System/Form'+import { computedSelectTableSearchHeight, SYSTEM_HEIGHT } from '@/constant/style'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject } from '@/utils/common'+import customPager from '@/components/custom-pager.vue'+import i18n from '@/languages/i18n'++const emit = defineEmits(['close', 'sureSelect'])+const xTable = ref()++const props = defineProps<{+ showDialog: boolean+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ tableData: [],+ tablePage: reactive({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ searchForm: {+ location_name: ''+ },+ timer: ref<any>(null)+})++const method = reactive({+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getList()+ }),++ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getList()+ },++ getList: async () => {+ const { data: res } = await getGoodsLocationList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },++ resetForm: () => {+ // Clear search input+ for (const key in data.searchForm) {+ const str = key as string+ data.searchForm[str as keyof typeof data.searchForm] = ''+ }++ // Clear search params+ data.tablePage.searchObjects = []+ },++ submit: () => {+ const checkRecords = xTable.value.getCheckboxRecords()+ emit('sureSelect', checkRecords)+ method.closeDialog()+ },++ closeDialog: () => {+ emit('close')+ }+})++const searchFormHeight = computed(() => computedSelectTableSearchHeight({}))++watch(+ () => isShow.value,+ (newVal) => {+ newVal && method.getList()+ }+)++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style scoped lang="less">+.searchForm {+ border: 1px solid #eee;+ box-sizing: border-box;+ padding: 20px;+ overflow: auto;+}+</style>diff --git a/frontend/src/components/select/sku-select.vue b/frontend/src/components/select/sku-select.vuenew file mode 100644index 0000000..47c4544--- /dev/null+++ b/frontend/src/components/select/sku-select.vue@@ -0,0 +1,216 @@+<!-- Select Modal -->+<template>+ <v-dialog v-model="isShow" width="70%" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('wms.stock.skuSelectModal')}`"></v-toolbar>+ <v-card-text>+ <v-row>+ <v-col cols="3">+ <div class="searchForm" :style="{ height: searchFormHeight }">+ <tooltip-btn icon="mdi-refresh" size="x-small" :tooltip-text="$t('system.page.reset')" @click="method.resetForm"></tooltip-btn>+ <tooltip-btn icon="mdi-magnify" size="x-small" :tooltip-text="$t('system.page.confirm')" @click="method.sureSearch"></tooltip-btn>+ <v-form ref="formRef" class="mt-4">+ <v-text-field+ v-model="data.searchForm.spu_name"+ :label="$t('base.commodityManagement.spu_name')"+ variant="outlined"+ density="compact"+ hide-details+ clearable+ class="mb-4"+ ></v-text-field>+ <v-text-field+ v-model="data.searchForm.sku_code"+ :label="$t('base.commodityManagement.sku_code')"+ variant="outlined"+ density="compact"+ hide-details+ clearable+ class="mb-4"+ ></v-text-field>+ </v-form>+ </div>+ </v-col>+ <v-col cols="9">+ <div class="dataTable">+ <vxe-table+ ref="xTable"+ :column-config="{ minWidth: '100px' }"+ :data="data.tableData"+ :height="SYSTEM_HEIGHT.SELECT_TABLE"+ align="center"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="spu_code" :title="$t('base.commodityManagement.spu_code')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('base.commodityManagement.spu_name')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('base.commodityManagement.sku_code')"></vxe-column>+ <vxe-column field="sku_name" :title="$t('base.commodityManagement.sku_name')"></vxe-column>+ <vxe-column field="supplier_name" :title="$t('base.commodityManagement.supplier_name')"></vxe-column>+ <vxe-column field="brand" :title="$t('base.commodityManagement.brand')"></vxe-column>+ <vxe-column field="origin" :title="$t('base.commodityManagement.origin')"></vxe-column>+ <vxe-column field="unit" :title="$t('base.commodityManagement.unit')"></vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ </v-col>+ </v-row>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.confirm') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+/**+ * @description Select Modal+ * @example+ * <xxx-select :show-dialog="data.showDialogSelect" @close="method.closeDialogSelect" @sureSelect="method.sureSelect" />+ *+ * openSelect: () => {+ data.showDialogSelect = true+ },+ closeDialogSelect: () => {+ data.showDialogSelect = false+ },+ */+import { reactive, computed, ref, watch } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { hookComponent } from '@/components/system/index'+import { getSkuSelectList } from '@/api/wms/stockManagement'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { formatIsValid } from '@/utils/format/formatSystem'+import { formatAreaProperty } from '@/utils/format/formatWarehouse'+import { SearchObject } from '@/types/System/Form'+import { computedSelectTableSearchHeight, SYSTEM_HEIGHT } from '@/constant/style'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject } from '@/utils/common'+import customPager from '@/components/custom-pager.vue'+import i18n from '@/languages/i18n'++const emit = defineEmits(['close', 'sureSelect'])+const xTable = ref()++const props = defineProps<{+ showDialog: boolean+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ tableData: [],+ tablePage: reactive({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ searchForm: {+ location_name: '',+ spu_name: '',+ sku_code: ''+ },+ timer: ref<any>(null)+})++const method = reactive({+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getList()+ }),++ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getList()+ },++ getList: async () => {+ const { data: res } = await getSkuSelectList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },++ resetForm: () => {+ // Clear search input+ for (const key in data.searchForm) {+ const str = key as string+ data.searchForm[str as keyof typeof data.searchForm] = ''+ }++ // Clear search params+ data.tablePage.searchObjects = []+ },++ submit: () => {+ const checkRecords = xTable.value.getCheckboxRecords()+ emit('sureSelect', checkRecords)+ method.closeDialog()+ },++ closeDialog: () => {+ emit('close')+ }+})++const searchFormHeight = computed(() => computedSelectTableSearchHeight({}))++watch(+ () => isShow.value,+ (newVal) => {+ newVal && method.getList()+ }+)++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style scoped lang="less">+.searchForm {+ border: 1px solid #eee;+ box-sizing: border-box;+ padding: 20px;+ overflow: auto;+}+</style>diff --git a/frontend/src/components/select/warehouse-select.vue b/frontend/src/components/select/warehouse-select.vuenew file mode 100644index 0000000..bc5c453--- /dev/null+++ b/frontend/src/components/select/warehouse-select.vue@@ -0,0 +1,230 @@+<!-- Select Modal -->+<template>+ <v-dialog v-model="data.showDialog" width="70%" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('base.warehouseSetting.warehourseSelectModal')}`"></v-toolbar>+ <v-card-text>+ <v-row>+ <v-col cols="3">+ <div class="searchForm" :style="{ height: searchFormHeight }">+ <tooltip-btn icon="mdi-refresh" size="x-small" :tooltip-text="$t('system.page.reset')" @click="method.resetForm"></tooltip-btn>+ <tooltip-btn icon="mdi-magnify" size="x-small" :tooltip-text="$t('system.page.confirm')" @click="method.sureSearch"></tooltip-btn>+ <v-form ref="formRef" class="mt-4">+ <v-text-field+ v-model="data.searchForm.warehouse_name"+ :label="$t('base.warehouseSetting.warehouse_name')"+ variant="outlined"+ density="compact"+ hide-details+ clearable+ class="mb-4"+ >+ </v-text-field>+ <v-text-field+ v-model="data.searchForm.city"+ :label="$t('base.warehouseSetting.city')"+ variant="outlined"+ density="compact"+ hide-details+ clearable+ class="mb-4"+ >+ </v-text-field>+ <v-text-field+ v-model="data.searchForm.manager"+ :label="$t('base.warehouseSetting.manager')"+ variant="outlined"+ density="compact"+ hide-details+ clearable+ class="mb-4"+ >+ </v-text-field>+ </v-form>+ </div>+ </v-col>+ <v-col cols="9">+ <div class="dataTable">+ <vxe-table+ ref="xTable"+ :column-config="{ minWidth: '100px' }"+ :data="data.tableData"+ :height="SYSTEM_HEIGHT.SELECT_TABLE"+ align="center"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="warehouse_name" :title="$t('base.warehouseSetting.warehouse_name')"></vxe-column>+ <vxe-column field="city" :title="$t('base.warehouseSetting.city')"></vxe-column>+ <vxe-column field="address" :title="$t('base.warehouseSetting.address')"></vxe-column>+ <vxe-column field="contact_tel" :title="$t('base.warehouseSetting.contact_tel')"></vxe-column>+ <vxe-column field="email" :title="$t('base.warehouseSetting.email')"></vxe-column>+ <vxe-column field="manager" :title="$t('base.warehouseSetting.manager')"></vxe-column>+ <vxe-column field="creator" :title="$t('base.warehouseSetting.creator')"></vxe-column>+ <vxe-column field="create_time" width="170px" :title="$t('base.warehouseSetting.create_time')"></vxe-column>+ <vxe-column field="is_valid" :title="$t('base.warehouseSetting.is_valid')">+ <template #default="{ row, column }">+ <span>{{ formatIsValid(row[column.property]) }}</span>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ </v-col>+ </v-row>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.confirm') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+/**+ * @description Select Modal+ * @example+ * <xxx-select :show-dialog="data.showDialogSelect" @close="method.closeDialogSelect" @sureSelect="method.sureSelect" />+ *+ * openSelect: () => {+ data.showDialogSelect = true+ },+ closeDialogSelect: () => {+ data.showDialogSelect = false+ },+ */+import { reactive, computed, ref, watch } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { hookComponent } from '@/components/system/index'+import { getWarehouseList } from '@/api/base/warehouseSetting'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { formatIsValid } from '@/utils/format/formatSystem'+import { SearchObject } from '@/types/System/Form'+import { computedSelectTableSearchHeight, SYSTEM_HEIGHT } from '@/constant/style'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject } from '@/utils/common'+import customPager from '@/components/custom-pager.vue'+import i18n from '@/languages/i18n'++const emit = defineEmits(['sureSelect'])+const xTable = ref()++const data = reactive({+ showDialog: false as boolean,+ tableData: [],+ tablePage: reactive({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ searchForm: {+ warehouse_name: '',+ city: '',+ manager: ''+ },+ timer: ref<any>(null)+})++const method = reactive({+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getList()+ }),++ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getList()+ },++ getList: async () => {+ const { data: res } = await getWarehouseList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },++ resetForm: () => {+ // Clear search input+ for (const key in data.searchForm) {+ const str = key as string+ data.searchForm[str as keyof typeof data.searchForm] = ''+ }++ // Clear search params+ data.tablePage.searchObjects = []+ },++ submit: () => {+ const checkRecords = xTable.value.getCheckboxRecords()+ emit('sureSelect', checkRecords)+ method.closeDialog()+ },++ openDialog: () => {+ method.getList()++ data.showDialog = true+ },+ closeDialog: () => {+ data.showDialog = false+ }+})++defineExpose({+ openDialog: method.openDialog,+ closeDialog: method.closeDialog+})++const searchFormHeight = computed(() => computedSelectTableSearchHeight({}))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style scoped lang="less">+.searchForm {+ border: 1px solid #eee;+ box-sizing: border-box;+ padding: 20px;+ overflow: auto;+}+</style>diff --git a/frontend/src/components/system/btnGroup.vue b/frontend/src/components/system/btnGroup.vuenew file mode 100644index 0000000..311fd8f--- /dev/null+++ b/frontend/src/components/system/btnGroup.vue@@ -0,0 +1,36 @@+<template>+ <div class="btn-group col">+ <tooltip-btn+ v-for="(bItem, index) of btnList"+ :key="index"+ :disabled="Boolean(bItem.code) && !authorityList.includes(bItem.code)"+ :icon="bItem.icon"+ :tooltip-text="bItem.name"+ @click="bItem.click"+ ></tooltip-btn>+ </div>+</template>++<script setup lang="tsx">+// import { onMounted, reactive } from 'vue'+import tooltipBtn from '@/components/tooltip-btn.vue'++interface BtnItem {+ name: string+ icon: string+ code: string // Reserved for permission control+ click: () => void+}++defineProps<{+ btnList: BtnItem[]+ authorityList: string[]+}>()+</script>++<style scoped lang="less">+.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/components/system/change-pwd.vue b/frontend/src/components/system/change-pwd.vuenew file mode 100644index 0000000..0a3291a--- /dev/null+++ b/frontend/src/components/system/change-pwd.vue@@ -0,0 +1,165 @@+<template>+ <v-dialog v-model="data.isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card class="formCard">+ <v-toolbar color="white" :title="`${$t('system.homeHeader.changePwd')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-text-field+ v-model="data.form.old_password"+ :label="$t('system.homeHeader.oldPwd')"+ :rules="data.rules.old_password"+ variant="outlined"+ :autocomplete="false"+ :append-inner-icon="data.showPassword_old ? 'mdi-eye' : 'mdi-eye-off'"+ :type="data.showPassword_old ? 'text' : 'password'"+ @click:append-inner="method.handleShowPassword('old')"+ ></v-text-field>+ <v-text-field+ v-model="data.form.new_password"+ :label="$t('system.homeHeader.newPwd')"+ :rules="data.rules.new_password"+ variant="outlined"+ :autocomplete="false"+ :append-inner-icon="data.showPassword_new ? 'mdi-eye' : 'mdi-eye-off'"+ :type="data.showPassword_new ? 'text' : 'password'"+ @click:append-inner="method.handleShowPassword('new')"+ ></v-text-field>+ <v-text-field+ v-model="data.form.confirm_new_password"+ :label="$t('system.homeHeader.confrimNewPwd')"+ :rules="data.rules.confirm_new_password"+ variant="outlined"+ :autocomplete="false"+ :append-inner-icon="data.showPassword_confirm ? 'mdi-eye' : 'mdi-eye-off'"+ :type="data.showPassword_confirm ? 'text' : 'password'"+ @click:append-inner="method.handleShowPassword('confirm')"+ ></v-text-field>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.close">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, ref } from 'vue'+import { Md5 } from 'ts-md5'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { changePassword } from '@/api/base/userManagement'+import { store } from '@/store'++const formRef = ref()++const data = reactive({+ isShow: false,+ showPassword_old: false,+ showPassword_new: false,+ showPassword_confirm: false,+ form: {+ old_password: '',+ new_password: '',+ confirm_new_password: ''+ },+ rules: {+ old_password: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('system.homeHeader.oldPwd') }!`],+ new_password: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('system.homeHeader.newPwd') }!`],+ confirm_new_password: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('system.homeHeader.confrimNewPwd') }!`,+ (val: string) => method.verifyPwd(val)+ ]+ }+})++const method = reactive({+ handleShowPassword: (flag: string) => {+ switch (flag) {+ case 'old':+ data.showPassword_old = !data.showPassword_old+ break+ case 'new':+ data.showPassword_new = !data.showPassword_new+ break+ case 'confirm':+ data.showPassword_confirm = !data.showPassword_confirm+ break+ }+ },+ open: () => {+ data.form = {+ old_password: '',+ new_password: '',+ confirm_new_password: ''+ }+ data.isShow = true+ },+ close: () => {+ data.isShow = false+ },+ submit: async () => {+ const { valid } = await formRef.value.validate()+ if (valid) {+ const user = store.getters['user/userInfo']+ const form = JSON.parse(+ JSON.stringify({+ id: user.user_id,+ old_password: Md5.hashStr(data.form.old_password),+ new_password: Md5.hashStr(data.form.new_password)+ })+ )+ const { data: res } = await changePassword(form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ // Get remember username and password+ const rememberJSON = localStorage.getItem('userLoginInfo')+ if (rememberJSON) {+ const rememberJSON = JSON.stringify({+ userName: window.btoa(encodeURIComponent(user.user_name)),+ password: window.btoa(encodeURIComponent(data.form.new_password))+ })+ localStorage.setItem('userLoginInfo', rememberJSON)+ }+ method.close()+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ },+ // Verify whether the passwords are the same+ verifyPwd: (val: string) => {+ if (val !== data.form.new_password) {+ return i18n.global.t('system.tips.verifyPwd')+ }+ return true+ }+})++defineExpose({+ open: method.open,+ close: method.close+})+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/components/system/hookComponent/dialog.ts b/frontend/src/components/system/hookComponent/dialog.tsnew file mode 100644index 0000000..cce6530--- /dev/null+++ b/frontend/src/components/system/hookComponent/dialog.ts@@ -0,0 +1,34 @@+import { createApp } from 'vue'+import DialogComponent from './dialog.vue'+import { DialogOptions } from '@/types/System/HookComponent'+// Use vuetify+import { vuetify } from '@/plugins/vuetify/index'+import i18n from '@/languages/i18n'++// Use the createApp of vue3 and the mount and unmount methods to create a mounted instance+export default {+ name: 'dialog',+ dialog: (options: DialogOptions) => {+ const mountNode = document.createElement('div')+ mountNode.style.zIndex = '9000'+ document.body.appendChild(mountNode)+ if (!options.confirmText) {+ options.confirmText = i18n.global.t('system.hookComponent.dialog.defaultConfirm')+ }+ if (!options.cancleText) {+ options.cancleText = i18n.global.t('system.hookComponent.dialog.defaultClose')+ }+ if (!options.title) {+ options.title = i18n.global.t('system.hookComponent.dialog.defaultTitle')+ }+ const app = createApp(DialogComponent, {+ ...options,+ visible: true,+ removeComponent: () => {+ app.unmount()+ document.body.removeChild(mountNode)+ }+ }).use(vuetify)+ return app.mount(mountNode)+ }+}diff --git a/frontend/src/components/system/hookComponent/dialog.vue b/frontend/src/components/system/hookComponent/dialog.vuenew file mode 100644index 0000000..5f4cbee--- /dev/null+++ b/frontend/src/components/system/hookComponent/dialog.vue@@ -0,0 +1,80 @@+<template>+ <v-dialog v-model="data.dialogVisible" persistent :width="dialogWidth">+ <v-card>+ <v-card-title class="text-h5"> {{ title }} </v-card-title>+ <v-card-text>{{ content }}</v-card-text>+ <v-card-actions>+ <v-spacer></v-spacer>+ <v-btn variant="text" @click="data.dialogVisible = false">+ {{ cancleText }}+ </v-btn>+ <v-btn v-if="typeof dialogProps.handleConfirm === 'function'" color="green-darken-1" variant="text" @click="method._sure()">+ {{ confirmText }}+ </v-btn>+ </v-card-actions>+ </v-card>+ </v-dialog>+</template>++<script lang="ts" setup>+import { watch, reactive } from 'vue'++const dialogProps = defineProps({+ visible: {+ type: Boolean,+ default: false+ },+ confirmText: {+ type: String,+ default: ''+ },+ cancleText: {+ type: String,+ default: ''+ },+ handleConfirm: {+ type: Function,+ default: null+ },+ // Remove dom function+ removeComponent: {+ type: Function,+ default: null+ },+ content: {+ type: String,+ default: ''+ },+ title: {+ type: String,+ default: ''+ },+ dialogWidth: {+ type: [String, Number],+ default: 700+ }+})++const data = reactive({+ dialogVisible: false,+ dialogText: ''+})++// Init dialog visible+data.dialogVisible = Boolean(dialogProps.visible) // Avoid shallow copies++const method = reactive({+ _sure: async () => {+ await dialogProps.handleConfirm()+ data.dialogVisible = false+ }+})++// Shut dialog run remove function+watch(+ () => data.dialogVisible,+ (val) => {+ !val && dialogProps.removeComponent()+ }+)+</script>diff --git a/frontend/src/components/system/hookComponent/message.ts b/frontend/src/components/system/hookComponent/message.tsnew file mode 100644index 0000000..8fbc452--- /dev/null+++ b/frontend/src/components/system/hookComponent/message.ts@@ -0,0 +1,61 @@+import { createApp } from 'vue'+import MessageComponent from './message.vue'+import { MessageOptions } from '@/types/System/HookComponent'+// Use vuetify+import { vuetify } from '@/plugins/vuetify/index'++// Use the createApp of vue3 and the mount and unmount methods to create a mounted instance+export default {+ name: 'message',+ message: (options: MessageOptions) => {+ const mountNode = document.createElement('div')+ mountNode.className = 'messageItems'+ mountNode.style.top = `${ getNewMsgTop() }px`+ mountNode.style.zIndex = '9999'+ document.body.appendChild(mountNode)+ const app = createApp(MessageComponent, {+ ...options,+ removeComponent: () => {+ setTimeout(+ () => {+ mountNode.style.opacity = '0'+ setTimeout(() => {+ app.unmount()+ document.body.removeChild(mountNode)+ resetMsgTop()+ }, 200)+ },+ options.shutDelay ? options.shutDelay - 200 : 1300+ )+ }+ }).use(vuetify)+ return app.mount(mountNode)+ }+}++function resetMsgTop() {+ const messageDomList: any = document.body.getElementsByClassName('messageItems')+ for (let i = 0; i < messageDomList.length; i++) {+ messageDomList[i].style.top = `${ getNewMsgTop(i) }px`+ }+}++// Get message top+function getNewMsgTop(index = -1) {+ const messageDomList = document.body.querySelectorAll('.messageItems')+ let top = 10+ if (index < 0) {+ for (let i = 0; i < messageDomList.length; i++) {+ top += messageDomList[i].clientHeight + 10+ }+ } else {+ for (let i = 0; i < messageDomList.length; i++) {+ if (i < index) {+ top += messageDomList[i].clientHeight + 10+ } else {+ break+ }+ }+ }+ return top+}diff --git a/frontend/src/components/system/hookComponent/message.vue b/frontend/src/components/system/hookComponent/message.vuenew file mode 100644index 0000000..320fb99--- /dev/null+++ b/frontend/src/components/system/hookComponent/message.vue@@ -0,0 +1,33 @@+<template>+ <v-alert+ :type="type || 'info'"+ :variant="variant || 'flat'"+ :border="border || false"+ :color="color || undefined"+ :width="messageWidth"+ :min-width="250"+ >+ <!-- :max-height="60" -->+ {{ content }}+ </v-alert>+</template>++<script lang="ts" setup>+import { onBeforeMount } from 'vue'++// Vue3 does not support external interfaces+const messageProps = defineProps<{+ type?: 'success' | 'info' | 'warning' | 'error'+ variant?: 'flat' | 'elevated' | 'tonal' | 'outlined' | 'text' | 'plain'+ content: string+ border?: boolean | 'top' | 'end' | 'bottom' | 'start'+ color?: string+ messageWidth?: string | number // message width pixel or percentage+ removeComponent(): void+}>()++onBeforeMount(() => {+ messageProps.removeComponent()+})+</script>+<style lang="less" scoped></style>diff --git a/frontend/src/components/system/index.ts b/frontend/src/components/system/index.tsnew file mode 100644index 0000000..5e8d5a4--- /dev/null+++ b/frontend/src/components/system/index.ts@@ -0,0 +1,22 @@+import '@/assets/css/hookComponent.css' // import hookComponent style+import { Components } from '@/types/System/HookComponent'++// Use import.meta.globEager to read the files in the components folder, distinguished by the suffix ts+const componentsList: any = import.meta.globEager('./hookComponent/**')++const List: any = {}+export default function (app: any) {+ Object.keys(componentsList).forEach((key) => {+ // Filter out ts suffix+ if (key.includes('.ts')) {+ const hookObj = componentsList[key].default+ // Assignment function component, thrown later, imported for use+ List[`$${ hookObj.name }`] = hookObj[hookObj.name]+ // Define function components into global variables, and use them in script in vue through proxy+ app.config.globalProperties[`$${ hookObj.name }`] = hookObj[hookObj.name]+ }+ })+}++// Export function components for import+export const hookComponent: Components = Listdiff --git a/frontend/src/components/system/languages.vue b/frontend/src/components/system/languages.vuenew file mode 100644index 0000000..a445e1e--- /dev/null+++ b/frontend/src/components/system/languages.vue@@ -0,0 +1,72 @@+<template>+ <div class="languageIcon">+ <v-menu>+ <template #activator="{ props }">+ <!-- <v-icon icon="mdi-translate" color="#666666" v-bind="props"></v-icon> -->+ <v-icon icon="mdi-web" color="#666666" v-bind="props"></v-icon>+ </template>+ <v-list>+ <v-list-item v-for="(item, index) in data.languageList" :key="index" :value="index" @click="method.changeLanguage(item.value)">+ <v-list-item-title>{{ item.title }}</v-list-item-title>+ </v-list-item>+ </v-list>+ </v-menu>+ </div>+</template>++<script lang="ts" setup>+import { reactive } from 'vue'+import { useI18n } from 'vue-i18n'+import { useLocale } from 'vuetify'+import { getSelectedLang } from '@/languages/method/index'+import { getSelcectedLangForVuetify } from '@/plugins/vuetify/method/index'+import { store } from '@/store'+import { router } from '@/router'++const { locale } = useI18n()+const { current } = useLocale()++const data = reactive({+ showLanguage: false,+ languageList: [+ { title: '简体中文', value: 'zh' },+ { title: '繁體中文', value: 'tw' },+ { title: 'English', value: 'en' }+ ]+})++const method = reactive({+ changeLanguage: (lang: string) => {+ if (store.getters['system/language'] === lang) {+ return+ }+ localStorage.setItem('language', lang)+ store.commit('system/setLanguage', lang) // set store+ locale.value = getSelectedLang(lang) // global+ current.value = getSelcectedLangForVuetify(lang) // vuetify++ if (!['/', '/login'].includes(router.currentRoute.value.path)) {+ store.commit('system/setRefreshFlag', true) // change language refresh page+ }+ }+})+</script>++<style lang="less" scoped>+.languageIcon {+ height: 40px;+ width: 40px;+ font-size: 16px;+ display: flex;+ justify-content: center;+ align-items: center;+ transition: all 0.5s;+ border-radius: 40px;+ &:hover {+ background-color: #e4e5ea;+ }+ &:active {+ background-color: #cdced3;+ }+}+</style>diff --git a/frontend/src/components/system/logo.vue b/frontend/src/components/system/logo.vuenew file mode 100644index 0000000..816d484--- /dev/null+++ b/frontend/src/components/system/logo.vue@@ -0,0 +1,28 @@+<template>+ <img+ class="SysTitleLogo"+ :style="{ height: height + 'px', top: top + 'px', left: left + 'px' }"+ src="@/assets/img/WMSTitle.png"+ />+</template>+<script setup lang="ts">+defineProps({+ height: {+ type: Number,+ default: 80+ },+ top: {+ type: Number,+ default: 20+ },+ left: {+ type: Number,+ default: 20+ }+})+</script>+<style lang="less">+.SysTitleLogo {+ position: absolute;+}+</style>diff --git a/frontend/src/components/system/search-group.vue b/frontend/src/components/system/search-group.vuenew file mode 100644index 0000000..742a7b8--- /dev/null+++ b/frontend/src/components/system/search-group.vue@@ -0,0 +1,94 @@+<template>+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col v-if="[1].includes(searchSetting.length)" cols="4"> </v-col>+ <v-col v-if="[1, 2].includes(searchSetting.length)" cols="4"> </v-col>+ <v-col v-for="(item, index) of searchSetting" :key="index" cols="4">+ <template v-if="item.type === 'string'">+ <v-text-field+ v-model="searchForm[item.name]"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t(`${props.i18nPrefix}.${item.name}`)"+ variant="solo"+ >+ </v-text-field>+ </template>+ <template v-else-if="item.type === 'datetime'">+ <v-datetime-picker v-model="searchForm[item.name]" :label="$t(`${props.i18nPrefix}.${item.name}`)" />+ </template>+ </v-col>+ </v-row>++ <set-search ref="SetSearchRef" :i18n-key="props.i18nPrefix" :options="data.searchSetting" @success="method.refreshSearchSetting()" />+</template>++<script setup lang="tsx">+import { reactive, computed, ref, onMounted } from 'vue'+import { getMenuSearchSetting } from '@/utils/common'+import vDatetimePicker from '../form/v-datetime-picker.vue'+import searchSettingSet from '@/constant/searchSettingSet'+import SetSearch from '@/components/system/set-search.vue'++const SetSearchRef = ref()++const emit = defineEmits(['sureSearch', 'update:modelValue'])++const props = defineProps<{+ modelValue: any+ // searchSetting: any[]+ menuName: string+ i18nPrefix: string+}>()++const data = reactive({+ searchSetting: [] as string[],+ initForm: null+})++const method = reactive({+ sureSearch: () => {+ emit('sureSearch')+ },+ // 刷新查询条件+ refreshSearchSetting: () => {+ // 不加ref不会触发响应式+ searchForm.value = ref(JSON.parse(JSON.stringify(data.initForm)))++ // Obtain query condition settings+ const searchSetting = getMenuSearchSetting(props.menuName)+ if (searchSetting.length > 0) {+ data.searchSetting = searchSetting+ } else {+ data.searchSetting = searchSettingSet[props.menuName].default+ }+ }+})++onMounted(() => {+ data.initForm = JSON.parse(JSON.stringify(props.modelValue))++ method.refreshSearchSetting()+})++const searchForm = computed({+ get: () => props.modelValue,+ set: (val: any) => {+ emit('update:modelValue', val)+ }+})++const searchSetting = computed(() => {+ const result = searchSettingSet[props.menuName].list.filter((item: any) => data.searchSetting.includes(item.name))+ return result+})++defineExpose({+ openDialog: () => {+ SetSearchRef.value.openDialog(props.menuName)+ }+})+</script>++<style scoped lang="less"></style>diff --git a/frontend/src/components/system/set-search.vue b/frontend/src/components/system/set-search.vuenew file mode 100644index 0000000..1a7e16a--- /dev/null+++ b/frontend/src/components/system/set-search.vue@@ -0,0 +1,117 @@+<template>+ <v-dialog v-model="data.showDialog" width="400px" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('system.page.setSearch')}`"></v-toolbar>+ <v-card-text>+ <vxe-table+ ref="xTable"+ :checkbox-config="{ checkRowKeys: data.actions }"+ :data="data.searchList"+ :radio-config="{ labelField: 'value' }"+ :row-config="{ isHover: true, keyField: 'value' }"+ align="center"+ row-id="value"+ max-height="500"+ @checkbox-all="method.selectAllEvent"+ @checkbox-change="method.selectChangeEvent"+ >+ <vxe-column type="checkbox" width="60"></vxe-column>+ <vxe-column :title="$t('base.roleMenu.modalTitle.actionTitle')" field="label"></vxe-column>+ </vxe-table>+ </v-card-text>++ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog()">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script setup lang="tsx">+import { reactive, ref } from 'vue'+import i18n from '@/languages/i18n'+import searchSetting from '@/constant/searchSettingSet'+import { setStorage, getStorage } from '@/utils/common'+import { hookComponent } from '@/components/system'++const emit = defineEmits(['success'])++const xTable = ref()++const props = defineProps<{+ options: string[]+ i18nKey: string+}>()++const data = reactive({+ showDialog: false as boolean,+ actions: [] as string[],+ searchList: [] as {+ label: string+ value: string+ }[],+ menu_name: '' as string+})++const method = reactive({+ openDialog: (menu_name: string) => {+ data.menu_name = menu_name++ // 获取当前路由的所有搜索项+ data.searchList = searchSetting[data.menu_name].list.map((item: { type: string; name: string }) => ({+ label: i18n.global.t(`${ props.i18nKey }.${ item.name }`),+ value: item.name+ }))++ // 赋值初始值+ data.actions = [...props.options]++ data.showDialog = true+ },+ closeDialog: () => {+ data.showDialog = false+ },+ submit: () => {+ if (data.actions.length > 3 || data.actions.length === 0) {+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('system.tips.setSearchError') }`+ })+ return+ }++ let storage = getStorage('menu_search_setting')++ if (storage) {+ storage[data.menu_name] = data.actions+ } else {+ storage = {+ [data.menu_name]: data.actions+ }+ }++ setStorage('menu_search_setting', storage)++ emit('success')++ method.closeDialog()+ },+ selectAllEvent: ({ checked }) => {+ checked ? (data.actions = data.searchList.map((item) => item.value)) : (data.actions = [])+ },+ selectChangeEvent: () => {+ const records = xTable.value.getCheckboxRecords()+ data.actions = records.map((item) => item.value)+ }+})++defineExpose({+ openDialog: method.openDialog,+ closeDialog: method.closeDialog+})+</script>++<style scoped lang="less"></style>diff --git a/frontend/src/components/system/view-log-dialog.vue b/frontend/src/components/system/view-log-dialog.vuenew file mode 100644index 0000000..e1522e3--- /dev/null+++ b/frontend/src/components/system/view-log-dialog.vue@@ -0,0 +1,258 @@+<template>+ <v-dialog v-model="data.showDialog" width="80%" height="80%" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('system.homeHeader.log')}`"></v-toolbar>+ <v-card-text>+ <v-row>+ <v-col :cols="3">+ <v-card :height="searchFormHeight">+ <NavListVue+ :list-data="data.menuList"+ :title="data.navListOptions.title"+ :label-key="data.navListOptions.labelKey"+ :index-key="data.navListOptions.indexKey"+ :index-value="data.navListOptions.indexValue"+ @item-click="method.navListClick"+ />+ </v-card>+ </v-col>+ <v-col :cols="9">+ <v-row justify="end" @keyup.enter="method.sureSearch">+ <v-col :cols="4">+ <v-text-field+ v-model="data.searchForm.user_name"+ :label="$t('system.viewLog.user_name')"+ variant="outlined"+ density="compact"+ hide-details+ clearable+ class="mb-4"+ >+ </v-text-field>+ </v-col>+ </v-row>++ <vxe-table ref="xTable" :column-config="{ minWidth: '100px' }" align="center" :height="tableHeight" :data="data.tableData">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="user_name" width="140" :title="$t('system.viewLog.user_name')"></vxe-column>+ <vxe-column field="action_content" :title="$t('system.viewLog.action_content')"></vxe-column>+ <vxe-column+ field="action_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('system.viewLog.action_time')"+ >+ </vxe-column>+ </vxe-table>++ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </v-col>+ </v-row>+ </v-card-text>++ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog()">{{ $t('system.page.close') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script setup lang="tsx">+import { reactive, computed, ref, onMounted, watch } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import i18n from '@/languages/i18n'+import { computedSelectTableSearchHeight } from '@/constant/style'+import { getActionLog } from '@/api/sys/system'+import { DEFAULT_PAGE_SIZE, PAGE_SIZE, PAGE_LAYOUT } from '@/constant/vxeTable'+import { hookComponent } from '.'+import { PageConfigProps } from '@/types/System/Form'+import { formatDate } from '@/utils/format/formatSystem'+import customPager from '@/components/custom-pager.vue'+import { actionDict } from '@/view/base/roleMenu/actionList'+import NavListVue from '@/components/page/nav-list.vue'+import { setSearchObject } from '@/utils/common'+import { DEBOUNCE_TIME } from '@/constant/system'++const menuList = [] as any[]++Object.keys(actionDict).forEach((key) => {+ // if (key === 'companySetting') {+ // menuList.push({ type: 'subheader', title: i18n.global.t('router.sideBar.baseModule') })+ // } else if (key === 'stockAsn') {+ // menuList.push({ type: 'subheader', title: i18n.global.t('router.sideBar.stockAsn') })+ // } else if (key === 'stockManagement') {+ // menuList.push({ type: 'subheader', title: i18n.global.t('router.sideBar.statisticAnalysis') })+ // } else if (key === 'warehouseProcessing') {+ // menuList.push({ type: 'subheader', title: i18n.global.t('router.sideBar.warehouseWorkingModule') })+ // } else if (key === 'deliveryManagement') {+ // menuList.push({ type: 'subheader', title: i18n.global.t('router.sideBar.deliveryManagement') })+ // }++ const obj = {+ title: i18n.global.t(`router.sideBar.${ key }`),+ value: key+ }++ menuList.push(obj)+})++const data = reactive({+ showDialog: false as boolean,+ menuList: menuList as any[],+ tablePage: {+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: []+ } as PageConfigProps,+ tableData: [] as {+ id: number+ vue_path: string+ user_name: string+ action_content: string+ action_time: string+ }[],+ // Menu Search Object+ menuSearchObject: {} as any,+ // Fuzzy search object+ likeSearchObject: [] as any[],+ // Navigation List Configuration+ navListOptions: {+ title: i18n.global.t('base.roleMenu.menu_name'),+ labelKey: 'title',+ indexKey: 'value',+ indexValue: ''+ },+ // query form+ searchForm: {+ user_name: ''+ },+ // anti-shake+ timer: ref<any>(null)+})++const searchFormHeight = computed(() => computedSelectTableSearchHeight({}))+const tableHeight = computed(() => {+ let height: any = computedSelectTableSearchHeight({})++ height = height.split('px')[0]++ return `${ height - 74 }px`+})++onMounted(() => {+ const menu = data.menuList.find((item) => !item.type)++ // The first menu is selected by default+ if (menu) {+ method.navListClick(menu)+ }+})++const method = reactive({+ // Click navList+ navListClick: (item: { title: string; value: string }) => {+ data.navListOptions.indexValue = String(item.value)++ data.menuSearchObject = {+ name: 'vue_path',+ operator: 1,+ text: item.value,+ value: item.value+ }++ method.list()+ },+ list: async () => {+ const { data: res } = await getActionLog({ ...data.tablePage, searchObjects: [data.menuSearchObject, ...data.likeSearchObject] })+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ openDialog: () => {+ data.showDialog = true++ method.list()+ },+ closeDialog: () => {+ data.showDialog = false+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize+ method.list()+ }),+ sureSearch: () => {+ data.likeSearchObject = setSearchObject(data.searchForm)++ method.list()+ }+})++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)++defineExpose({+ openDialog: method.openDialog,+ closeDialog: method.closeDialog+})+</script>++<style scoped lang="less">+.searchForm {+ // box-sizing: border-box;+ box-shadow: rgb(153, 153, 153) 0px 0px 10px;+ border-radius: 5px;+ overflow: auto;+ &::-webkit-scrollbar {+ width: 6px;+ }++ &::-webkit-scrollbar-thumb {+ background-color: #c6c6c6;+ border-radius: 10px;+ }++ &::-webkit-scrollbar-thumb:hover {+ background-color: #a8a8a8;+ }++ &::-webkit-scrollbar-button {+ display: none;+ }+}+</style>diff --git a/frontend/src/components/tooltip-btn.vue b/frontend/src/components/tooltip-btn.vuenew file mode 100644index 0000000..4efd3ef--- /dev/null+++ b/frontend/src/components/tooltip-btn.vue@@ -0,0 +1,51 @@+<template>+ <v-tooltip location="bottom">+ <template #activator="{ props }">+ <v-btn :disabled="disabled" :flat="flat" class="mr-3" :size="size" icon v-bind="props" @click="method.clickEvent">+ <v-icon :color="iconColor"> {{ icon }} </v-icon>+ </v-btn>+ </template>+ <span>{{ tooltipText }}</span>+ </v-tooltip>+</template>+<script setup lang="ts">+import { reactive } from 'vue'++const emit = defineEmits(['click'])++defineProps({+ icon: {+ type: String,+ default: ''+ },+ tooltipText: {+ type: String,+ default: ''+ },+ size: {+ type: String,+ default: 'small'+ },+ // Whether show button shadow.+ // It's hasn't shadow when 'flat = true'.+ flat: {+ type: Boolean,+ default: false+ },+ iconColor: {+ type: String,+ default: ''+ },+ disabled: {+ type: Boolean,+ default: false+ }+})++const method = reactive({+ clickEvent: () => {+ emit('click')+ }+})+</script>+<style lang="less"></style>diff --git a/frontend/src/constant/commodityManagement.ts b/frontend/src/constant/commodityManagement.tsnew file mode 100644index 0000000..9ef539b--- /dev/null+++ b/frontend/src/constant/commodityManagement.ts@@ -0,0 +1,11 @@+// Acquisition unit+export function GetUnit(type: 'weight' | 'length' | 'volume', val: number) {+ switch (type) {+ case 'length':+ return ['mm', 'cm', 'dm', 'm'][val]+ case 'volume':+ return ['cm³', 'dm³', 'm³'][val]+ case 'weight':+ return ['mg', 'g', 'kg'][val]+ }+}\ No newline at end of filediff --git a/frontend/src/constant/print.ts b/frontend/src/constant/print.tsnew file mode 100644index 0000000..1c52f10--- /dev/null+++ b/frontend/src/constant/print.ts@@ -0,0 +1,61 @@+export const PRINT_MENU = [{+ vue_path: 'commodityManagement',+ i18nName: 'base.commodityManagement',+ children: [{+ tab_page: 'print_page_main',+ form: {+ detailList: {+ name: 'print_data_main',+ columns: ['sku_code', 'sku_name', 'category_name', 'spu_description', 'supplier_name', 'bar_code', 'weight', 'lenght', 'width', 'height', 'volume', 'cost', 'price']+ }+ }+ }, {+ tab_page: 'print_page_detail',+ form: {+ id: 0,+ spu_code: '',+ spu_name: '',+ category_id: 0,+ category_name: '',+ spu_description: '',+ supplier_id: 0,+ supplier_name: '',+ brand: '',+ origin: '',+ length_unit: 1,+ volume_unit: 0,+ weight_unit: 1,+ detailList: {+ name: 'print_data_detail',+ columns: ['sku_code', 'sku_name', 'unit', 'weight', 'width', 'height', 'volume', 'cost', 'price']+ }+ }+ }]+},+{+ vue_path: 'customer',+ i18nName: 'base.customer',+ children: [{+ tab_page: 'print_page_main',+ form: {+ detailList: {+ name: 'print_data_main',+ columns: ['customer_name', 'city', 'address', 'manager', 'email', 'contact_tel']+ }++ }+ }, {+ tab_page: 'print_page_detail',+ form: {+ id: 0,+ customer_name: '',+ city: '',+ address: '',+ manager: '',+ email: '',+ contact_tel: '',+ }+ }]+},++]\ No newline at end of filediff --git a/frontend/src/constant/searchSettingSet.ts b/frontend/src/constant/searchSettingSet.tsnew file mode 100644index 0000000..5a0622b--- /dev/null+++ b/frontend/src/constant/searchSettingSet.ts@@ -0,0 +1,68 @@+export default {+ asnStatistic: {+ default: ['supplier_name', 'sku_name'],+ list: [+ {+ type: 'string',+ name: 'spu_code'+ },+ {+ type: 'string',+ name: 'spu_name'+ },+ {+ type: 'string',+ name: 'sku_code'+ },+ {+ type: 'string',+ name: 'supplier_name'+ },+ {+ type: 'string',+ name: 'sku_name'+ },+ {+ type: 'string',+ name: 'goods_owner_name'+ }+ ]+ },+ deliveryStatistic: {+ default: ['sku_code', 'warehouse_name', 'customer_name'],+ list: [+ {+ type: 'string',+ name: 'spu_code'+ },+ {+ type: 'string',+ name: 'spu_name'+ },+ {+ type: 'string',+ name: 'sku_code'+ },+ {+ type: 'string',+ name: 'sku_name'+ },+ {+ type: 'string',+ name: 'warehouse_name'+ },+ {+ type: 'string',+ name: 'customer_name'+ },+ {+ type: 'datetime',+ name: 'delivery_date_from'+ },+ {+ type: 'datetime',+ name: 'delivery_date_to'+ }+ ]+ }+}diff --git a/frontend/src/constant/style.ts b/frontend/src/constant/style.tsnew file mode 100644index 0000000..d6d954b--- /dev/null+++ b/frontend/src/constant/style.ts@@ -0,0 +1,73 @@+import { store } from '@/store'++interface pageHasElement {+ hasPager?: boolean+ hasTab?: boolean+ hasOperateBtn?: boolean+ hasToolBar?: boolean+}++export const primaryColor = '#9C27B0'+export const primaryLightColor = '#ECE7F6'+export const lightGrey = '#999999'+export const errorColor = '#BA2828'++export const SYSTEM_HEIGHT = {+ HEADER: 60,+ TAB: 70,+ OPERATE_BAR: 52,+ VXE_PAGER: 48,+ SELECT_TABLE: 500,+ TOOLBAR: 40+}++// The height of the content card+export const computedCardHeight = ({ hasTab = true, hasOperateBtn = true }: pageHasElement) => {+ const clientHeight = store.getters['system/clientHeight']+ const EXTRA_MARGIN = 100++ let res = clientHeight - SYSTEM_HEIGHT.HEADER - EXTRA_MARGIN++ if (hasTab) {+ res -= SYSTEM_HEIGHT.TAB+ }+ if (hasOperateBtn) {+ res -= SYSTEM_HEIGHT.OPERATE_BAR+ }++ return `${ res }px`+}++// The height of the table+export const computedTableHeight = ({ hasPager = true, hasTab = true, hasOperateBtn = true }: pageHasElement) => {+ const clientHeight = store.getters['system/clientHeight']+ const EXTRA_MARGIN = 100++ let res = clientHeight - SYSTEM_HEIGHT.HEADER - EXTRA_MARGIN++ if (hasPager) {+ res -= SYSTEM_HEIGHT.VXE_PAGER+ }+ if (hasTab) {+ res -= SYSTEM_HEIGHT.TAB+ }+ if (hasOperateBtn) {+ res -= SYSTEM_HEIGHT.OPERATE_BAR+ }++ return `${ res }px`+}++// The height of the table container in select modal.+export const computedSelectTableSearchHeight = ({ hasPager = true, hasToolBar = false }: pageHasElement) => {+ let res = SYSTEM_HEIGHT.SELECT_TABLE++ if (hasPager) {+ res += SYSTEM_HEIGHT.VXE_PAGER+ }+ if (hasToolBar) {+ res += SYSTEM_HEIGHT.TOOLBAR+ }++ return `${ res }px`+}diff --git a/frontend/src/constant/system.ts b/frontend/src/constant/system.tsnew file mode 100644index 0000000..1c0f15c--- /dev/null+++ b/frontend/src/constant/system.ts@@ -0,0 +1,2 @@+// unit: ms+export const DEBOUNCE_TIME = 350diff --git a/frontend/src/constant/vxeTable.ts b/frontend/src/constant/vxeTable.tsnew file mode 100644index 0000000..467eeaf--- /dev/null+++ b/frontend/src/constant/vxeTable.ts@@ -0,0 +1,14 @@+import { VxePagerPropTypes } from 'vxe-table'++export const PAGE_SIZE = [20, 50, 100]+export const DEFAULT_PAGE_SIZE = 20+export const PAGE_LAYOUT: VxePagerPropTypes.Layouts = [+ 'PrevJump',+ 'PrevPage',+ 'Number',+ 'NextPage',+ 'NextJump',+ 'Sizes',+ 'FullJump',+ 'Total'+]diff --git a/frontend/src/constant/warehouseWorking.ts b/frontend/src/constant/warehouseWorking.tsnew file mode 100644index 0000000..35c7119--- /dev/null+++ b/frontend/src/constant/warehouseWorking.ts@@ -0,0 +1,8 @@+export const PROCESS_JOB_COMBINE = true+export const PROCESS_JOB_SPLIT = false++export const FREEZE_JOB_FREEZE = true+export const FREEZE_JOB_UNFREEZE = false++export const TAKING_JOB_FINISH = true+export const TAKING_JOB_UNFINISH = false\ No newline at end of filediff --git a/frontend/src/env.d.ts b/frontend/src/env.d.tsnew file mode 100644index 0000000..2f7d41b--- /dev/null+++ b/frontend/src/env.d.ts@@ -0,0 +1,6 @@+declare module '*.vue' {+ import type { DefineComponent } from 'vue'+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types+ const component: DefineComponent<{}, {}, any>+ export default component+}diff --git a/frontend/src/languages/i18n.ts b/frontend/src/languages/i18n.tsnew file mode 100644index 0000000..35561e1--- /dev/null+++ b/frontend/src/languages/i18n.ts@@ -0,0 +1,41 @@+import zhCN from 'vxe-table/lib/locale/lang/zh-CN'+import enUS from 'vxe-table/lib/locale/lang/en-US'+import zhTW from 'vxe-table/lib/locale/lang/zh-TW'++import { createI18n } from 'vue-i18n'+import { getSelectedLang } from './method/index'++import en from './langsJson/en.json'+import cn from './langsJson/cn.json'+import tw from './langsJson/tw.json'++const i18n = createI18n({+ legacy: false,+ globalInjection: true,+ locale: getStorageLang(),+ messages: {+ zh_CN: {+ ...cn,+ ...zhCN+ },+ en_US: {+ ...en,+ ...enUS+ },+ zh_TW: {+ ...tw,+ ...zhTW+ }+ }+})++// get language in storage or default+function getStorageLang() {+ const lang = localStorage.getItem('language')+ if (lang) {+ return getSelectedLang(lang)+ }+ return 'en_US'+}++export default i18ndiff --git a/frontend/src/languages/langsJson/cn.json b/frontend/src/languages/langsJson/cn.jsonnew file mode 100644index 0000000..3048304--- /dev/null+++ b/frontend/src/languages/langsJson/cn.json@@ -0,0 +1,736 @@+{+ "base": {+ "commodityCategorySetting": {+ "category_name": "商品类别",+ "create_time": "创建时间",+ "creator": "创建人",+ "parent_name": "所属类别"+ },+ "commodityManagement": {+ "bar_code": "商品条码",+ "brand": "品牌",+ "category_name": "商品类别",+ "cost": "商品成本",+ "height": "商品高度",+ "lenght": "商品长度",+ "length_unit": "长度单位",+ "origin": "产地",+ "price": "商品价格",+ "printBarCode": "打印条码",+ "printQrCode": "打印二维码",+ "print_data_detail": "明细数据",+ "print_data_main": "数据列表",+ "print_page_detail": "商品管理",+ "print_page_main": "商品管理-列表",+ "saftyStock": "安全库存",+ "sku_code": "规格编码",+ "sku_name": "规格名称",+ "spu_code": "商品编码",+ "spu_description": "商品描述",+ "spu_name": "商品名称",+ "supplier_name": "供应商名称",+ "unit": "商品单位",+ "volume": "商品体积",+ "volume_unit": "体积单位",+ "weight": "商品重量",+ "weight_unit": "重量单位",+ "width": "商品宽度"+ },+ "companySetting": {+ "address": "详细地址",+ "city": "所在城市",+ "company_name": "公司名称",+ "contact_tel": "联系方式",+ "manager": "负责人"+ },+ "customer": {+ "address": "详细地址",+ "city": "所在城市",+ "contact_tel": "联系方式",+ "create_time": "创建时间",+ "creator": "创建人",+ "customer_name": "客户名称",+ "email": "Email",+ "is_valid": "是否有效",+ "last_update_time": "最后更新时间",+ "manager": "负责人",+ "print_data_main": "数据列表",+ "print_page_detail": "客户信息",+ "print_page_main": "客户信息-列表"+ },+ "freightSetting": {+ "arrival_city": "到货城市",+ "carrier": "承运商",+ "create_time": "创建时间",+ "creator": "创建人",+ "departure_city": "始发城市",+ "freightSelectModal": "运费选择框",+ "is_valid": "是否有效",+ "last_update_time": "最后更新时间",+ "min_payment": "最小运费",+ "price_per_volume": "单立方米运费",+ "price_per_weight": "单公斤运费"+ },+ "ownerOfCargo": {+ "address": "详细地址",+ "city": "所在城市",+ "contact_tel": "联系方式",+ "create_time": "创建时间",+ "creator": "创建人",+ "goods_owner_name": "货主名称",+ "manager": "负责人"+ },+ "printSolution": {+ "detailList": "明细数据",+ "solution_name": "方案名称",+ "tab_page": "页面名称",+ "vue_path": "菜单名称"+ },+ "roleMenu": {+ "beforeUpdateOrDel": "请先选择需要处理的数据!",+ "dataEmpty": "暂无权限",+ "expandRow": "展开行",+ "menu_name": "菜单名称",+ "modalTitle": {+ "actionTitle": "操作权限",+ "editMenuAction": "编辑菜单操作权限"+ },+ "opeartionFunctionName": {+ "deliveryManagement": {+ "delivered": "出库",+ "invoice": "发货单",+ "packaged": "打包",+ "picked": "拣货",+ "signedIn": "已签收",+ "weighed": "称重"+ },+ "stockAsn": {+ "delivered": "待到货",+ "detail": "收货明细",+ "notice": "到货通知",+ "putOnTheShelf": "待上架",+ "sorted": "待分拣",+ "unloaded": "待卸货"+ },+ "stockManagement": {+ "area": "库位列表",+ "stock": "库存列表"+ },+ "warehouseSetting": {+ "area": "库区设置",+ "location": "库位设置",+ "warehouse": "仓库设置"+ }+ },+ "operation": "操作权限",+ "operationTitle": {+ "add": "新增",+ "confirm": "确认操作",+ "confirmAdjust": "确认调整",+ "confirmOpeartion": "确认操作",+ "delete": "删除",+ "delivery": "出库",+ "editArrival": "编辑上架数量",+ "editCount": "编辑数量",+ "export": "导出",+ "freeze": "冻结",+ "group": "组合加工",+ "import": "导入",+ "package": "打包",+ "printBarCode": "打印条码",+ "printQrCode": "打印二维码",+ "refresh": "刷新",+ "resetPwd": "重置密码",+ "revoke": "撤回",+ "saftyStock": "安全库存",+ "save": "保存",+ "setCarrier": "设置承运单位",+ "signIn": "签收",+ "split": "拆分加工",+ "stock": "库存",+ "unfreeze": "解冻",+ "weigh": "称重"+ },+ "role_name": "角色名称"+ },+ "supplier": {+ "address": "详细地址",+ "city": "所在城市",+ "contact_tel": "联系方式",+ "create_time": "创建时间",+ "creator": "创建人",+ "email": "Email",+ "is_valid": "是否有效",+ "last_update_time": "最后更新时间",+ "manager": "负责人",+ "supplier_name": "供应商名称"+ },+ "userManagement": {+ "addSuccessTip": "新增成功, 用户初始密码为: ",+ "afterResetPwd": "重置密码成功, 新密码为: ",+ "auth_string": "密码",+ "beforeResetPwd": "您确定要重置这些用户的密码吗?",+ "checkboxIsNull": "请选中数据!",+ "contact_tel": "联系方式",+ "email": "Email",+ "is_valid": "是否有效",+ "restPwd": "重置密码",+ "sex": "性别",+ "userModalTitle": "用户选择框",+ "user_name": "员工名称",+ "user_num": "员工编号",+ "user_register_name": "用户名",+ "user_role": "角色"+ },+ "userRoleSetting": {+ "is_valid": "是否有效",+ "role_name": "用户角色"+ },+ "warehouseSetting": {+ "address": "详细地址",+ "area_name": "库区名称",+ "area_property": "库区类型",+ "city": "所在城市",+ "contact_tel": "联系方式",+ "create_time": "创建时间",+ "creator": "创建人",+ "defective_area": "次品区",+ "email": "Email",+ "inventory_area": "存货区",+ "is_valid": "是否有效",+ "last_update_time": "最后更新时间",+ "layer_number": "层号",+ "locationSelectModal": "库位选择框",+ "locationSetting": "库位设置",+ "location_heigth": "库位高(m)",+ "location_length": "库位长(m)",+ "location_load": "库位承重(kg)",+ "location_name": "库位编码",+ "location_volume": "库位容积(m³)",+ "location_width": "库位宽(m)",+ "manager": "负责人",+ "picking_area": "拣货区",+ "receiving_area": "收货区",+ "reservoirSetting": "库区设置",+ "return_area": "退货区",+ "roadway_number": "巷道号",+ "shelf_number": "货架号",+ "stocking_area": "备货区",+ "tag_number": "位号",+ "warehourseSelectModal": "库位选择框",+ "warehouseSetting": "仓库设置",+ "warehouse_name": "仓库名称"+ }+ },+ "homepage": {+ "subTitle": "现代化仓库管理系统"+ },+ "login": {+ "loginSuccess": "登录成功",+ "mainButtonLabel": "登录",+ "notAuthority": "该账号未分配菜单权限,请联系管理员",+ "password": "密码",+ "register": "注册",+ "registerTips": "没有账号?点此注册一个!",+ "rememberTips": "记住账号密码",+ "userName": "用户名",+ "welcomeTitle": "欢迎来到ModernWMS!👋🏻"+ },+ "router": {+ "sideBar": {+ "asnStatistic": "收货统计",+ "baseModule": "基础设置",+ "commodityCategorySetting": "商品类别设置",+ "commodityManagement": "商品管理",+ "companySetting": "公司信息",+ "customer": "客户信息",+ "deliveryManagement": "发货管理",+ "deliveryStatistic": "发货统计",+ "freightSetting": "运费设置",+ "homepage": "首页",+ "menuBasicSettings": "菜单基础设置",+ "ownerOfCargo": "货主信息",+ "print": "打印设置",+ "roleMenu": "权限设置",+ "saftyStock": "安全库存",+ "statisticAnalysis": "统计分析",+ "stockAsn": "收货管理",+ "stockManagement": "库存管理",+ "supplier": "供应商信息",+ "userManagement": "用户管理",+ "userRoleSetting": "角色设置",+ "vwms": "可视化仓库",+ "warehouseAdjust": "库存调整",+ "warehouseFreeze": "库存冻结",+ "warehouseMove": "库存移动",+ "warehouseProcessing": "仓内加工",+ "warehouseSetting": "仓库设置",+ "warehouseTaking": "库存盘点",+ "warehouseWorkingModule": "仓内作业"+ }+ },+ "system": {+ "checkText": {+ "checkFormFail": "操作失败, 请检查数据后重试!",+ "decimal": " 小数",+ "inputDecimalMsg": "的小数位",+ "inputIntMsg": "的整数位",+ "integer": "整数",+ "lengthValid": "字段长度应该在",+ "mustInput": "请填写",+ "mustSelect": "请选择",+ "pleaseEnter": "请输入长度为"+ },+ "combobox": {+ "sex": {+ "female": "女",+ "male": "男"+ },+ "yesOrNo": {+ "no": "否",+ "yes": "是"+ }+ },+ "hiprint": {+ "addScheme": "新增方案",+ "auxiliary": "辅助",+ "emptyScheme": "不存在方案",+ "field": "字段",+ "hline": "横线",+ "oval": "椭圆",+ "rect": "矩形",+ "repeatScheme": "方案名称已存在",+ "routine": "常规",+ "schemeName": "方案名称",+ "text": "文本",+ "vline": "竖线"+ },+ "homeHeader": {+ "changePwd": "修改密码",+ "confrimNewPwd": "确认新密码",+ "log": "系统日志",+ "logout": "注销",+ "newPwd": "新密码",+ "oldPwd": "旧密码"+ },+ "hookComponent": {+ "dialog": {+ "defaultClose": "关闭",+ "defaultConfirm": "确认",+ "defaultTitle": "提示"+ }+ },+ "page": {+ "add": "新增",+ "chooseFile": "选择文件",+ "close": "关闭",+ "confirm": "确认",+ "delete": "删除",+ "edit": "编辑",+ "export": "导出",+ "exportTemplate": "导出模板",+ "gridColumnGap": "列间距(px)",+ "gridRowGap": "行间距(px)",+ "import": "导入",+ "insertOneRow": "新增一行",+ "noData": "暂无数据",+ "operate": "操作",+ "preView": "预览",+ "preview": "预览",+ "print": "打印",+ "refresh": "刷新",+ "reset": "重置",+ "revoke": "撤回",+ "rowsNumber": "每行放置数量",+ "submit": "提交",+ "update": "修改",+ "view": "查看",+ "setSearch": "设置查询条件",+ "chart": "图表",+ "table": "表格"+ },+ "pager": {+ "goTo": "前往",+ "pageSizes": "条/页",+ "record": "条记录",+ "total": "共"+ },+ "tips": {+ "beforeAsnConfirm": "确认到货?",+ "beforeAsnSorted": "确认分拣完成?",+ "beforeAsnUnload": "确认卸货?",+ "beforeDeleteDetailMessage": "您确定要删除此行吗?",+ "beforeDeleteMessage": "您确定要删除此条数据吗?",+ "beforeOperation": "您确定要进行此操作吗?",+ "detailHasItemRepeat": "明细中含有重复项目!",+ "detailLengthIsZero": "请添加明细数据!",+ "fail": "失败!",+ "noData": "暂无数据",+ "requestFail": "接口请求失败,请重试",+ "requestTimeout": "请求超时!",+ "success": "成功!",+ "vaildEmail": "请输入正确的邮箱格式!",+ "verifyPwd": "校验失败, 新密码与确认新密码不同!",+ "setSearchError": "设置失败! 查询条件数量应该在1-3个之间",+ "dataExpirationAutoRefresh": "操作失败! 数据已过期, 已为您自动刷新数据",+ "dataExpiration": "操作失败! 数据已过期, 请刷新后重试"+ },+ "viewLog": {+ "action_content": "操作内容",+ "action_time": "操作时间",+ "user_name": "操作人"+ }+ },+ "wms": {+ "deliveryManagement": {+ "NoItemSelected": "请至少选中一项商品进行出库!",+ "ViewInventoryDetails": "查看商品明细",+ "arrival_city": "到货城市",+ "backToThePreviousStep": "撤回到上一个流程",+ "bar_code": "条码",+ "carrier": "承运单位",+ "confirmBack": "确认撤回",+ "confirmDelivery": "确认出库",+ "confirmOrder": "确认发货单",+ "confirmPicking": "确认拣货",+ "confirmSignIn": "确认签收",+ "confirmSuccess": "确认发货单成功!",+ "create_time": "创建时间",+ "creator": "创建人",+ "customer_name": "客户名称",+ "damagedQuantity": "到货破损数量",+ "delivery": "出库",+ "deliveryReady": "已出库",+ "deliveryTodo": "未出库",+ "departure_city": "始发城市",+ "detailQty": "数量",+ "detailQuantityIsZero": "发货数量不能为0",+ "detailVolume": "体积",+ "detailWeight": "重量",+ "dispatch_no": "发货单号",+ "dispatch_status": "发货单状态",+ "exceedingQuantity": "不能超过总数量",+ "goodsToBePicked": "待拣货",+ "incorrectStatusMsg": "操作失败, 状态应该为",+ "invalidValue": "请输入有效数值",+ "irreversible": "此操作不可逆",+ "newShipment": "新发货",+ "opeartionCheckboxIsNull": "未选中可操作的数据!",+ "or": "或",+ "orderDetail": "发货单商品详情",+ "order_qty": "订单数量",+ "outOfWarehouse": "出库",+ "package": "打包",+ "packageReady": "已打包",+ "packageTodo": "未打包",+ "package_no": "打包流水号",+ "package_person": "打包员",+ "package_qty": "已打包数量",+ "package_time": "打包时间",+ "packaged": "打包",+ "picked": "已拣货",+ "picked_qty": "已拣货数量",+ "preShipment": "预发货",+ "qty": "总数量",+ "qty_available": "可用数量",+ "quantityIsZero": "请保证选择的商品至少有一项出库数量大于0!",+ "quantityOverflow": "发货数量之和不能超出发货单数量",+ "setFreight": "设置承运单位",+ "shipment": "发货单",+ "signIn": "签收",+ "signInQty": "实际签收数量",+ "signedIn": "已签收",+ "sku_code": "规格编码",+ "sku_name": "规格名称",+ "spu_code": "商品编码",+ "spu_description": "商品描述",+ "spu_name": "商品名称",+ "state": "状态",+ "toBeDelivered": "待出库",+ "toBePackaged": "待打包",+ "toBeWeighed": "待称重",+ "unit": "商品单位",+ "unpackage_qty": "待打包数量",+ "unpicked_qty": "待拣货数量",+ "unweighing_qty": "待称重数量",+ "validQtyMsgPackage": "请输入有效数值, 且不能超过总数量",+ "validQtyMsgSignIn": "请输入有效数值, 且不能超过总数量",+ "volume": "总体积",+ "warehouse_name": "仓库名称",+ "waybill_no": "运单号",+ "weigh": "称重",+ "weighReady": "已称重",+ "weighTodo": "未称重",+ "weighed": "称重",+ "weighing_no": "称重单号",+ "weighing_person": "称重员",+ "weighing_weight": "称重重量",+ "weight": "总重量"+ },+ "deliveryBatchAllocation": {+ "dateFrom": "时间从",+ "dateTo": "时间至",+ "allocationRule": "分配规则",+ "startAllocation": "开始分配"+ },+ "deliveryStatistic": {+ "amount": "数量",+ "amount_money": "金额",+ "category_name": "商品类别",+ "customer_name": "客户名称",+ "delivery_date": "出库时间",+ "delivery_qty": "出库数量",+ "dispatch_no": "发货单号",+ "goods_owner_name": "货主名称",+ "location_name": "库位名称",+ "series_number": "序列号",+ "sku_code": "规格编码",+ "sku_name": "规格名称",+ "spu_code": "商品编码",+ "spu_name": "商品名称",+ "warehouse_name": "仓库名称",+ "delivery_date_from": "出库时间从",+ "delivery_date_to": "出库时间至"+ },+ "saftyStock": {+ "qty": "数量",+ "qty_available": "可用数量",+ "qty_frozen": "冻结数量",+ "qty_locked": "锁定数量",+ "safety_stock_qty": "安全库存数量",+ "sku_code": "规格编码",+ "sku_id": "规格标识",+ "sku_name": "规格名称",+ "spu_code": "商品编码",+ "spu_name": "商品名称",+ "warehouse_name": "仓库名称"+ },+ "skuInfo": {+ "bar_code": "商品条码",+ "brand": "品牌",+ "category_id": "商品类别标识",+ "category_name": "商品类别",+ "cost": "商品成本",+ "height": "商品高度",+ "lenght": "商品长度",+ "length_unit": "长度单位",+ "origin": "产地",+ "price": "商品价格",+ "sku_code": "规格编码",+ "sku_id": "规格标识",+ "sku_name": "规格名称",+ "spu_code": "商品编码",+ "spu_description": "商品描述",+ "spu_id": "商品spu标识",+ "spu_name": "商品名称",+ "supplier_id": "供应商标识",+ "supplier_name": "供应商名称",+ "unit": "商品单位",+ "volume": "商品体积",+ "volume_unit": "体积单位",+ "weight": "总重量",+ "weight_unit": "重量单位",+ "width": "商品宽度"+ },+ "stock": {+ "location_name": "库位编码",+ "qty_available": "可用数量",+ "skuSelectModal": "商品选择框",+ "stockSelectModal": "库存选择框",+ "warehouse": "仓库名称"+ },+ "stockAsn": {+ "tabNotice": "到货通知",+ "tabReceiptDetails": "收货明细",+ "tabToDoArrival": "待到货",+ "tabToDoGrounding": "待上架",+ "tabToDoSorting": "待分拣",+ "tabToDoUnload": "待卸货"+ },+ "stockAsnInfo": {+ "actual_qty": "上架数量",+ "addSorting": "分拣",+ "arrival_time": "到达时间",+ "asn_batch": "批次",+ "asn_no": "到货通知书编号",+ "asn_qty": "到货通知书数据",+ "asn_status": "到货通知书状态",+ "can_putaway_qty": "可上架数量",+ "confirmArrival": "确认到货",+ "confirmUnload": "确认卸货",+ "damage_qty": "破损数量",+ "editGrounding": "编辑",+ "editSorting": "编辑",+ "estimated_arrival_time": "预计到达时间",+ "exceedTip": "上架数量不可超过可上架数量!",+ "exceedingPrompt": "序列号数量不能超过分拣数量!",+ "goods_owner_id": "货主标识",+ "goods_owner_name": "货主名称",+ "grounding": "上架",+ "id": "标识",+ "is_valid": "是否有效",+ "length_unit": "长度单位",+ "more_qty": "超量数量",+ "mustInputErrorMsg": "请填写到货时间!",+ "notLocation": "请选择库位后进行上架!",+ "num": "编号",+ "origin": "产地",+ "putaway_qty": "上架数量",+ "revoke": "撤销",+ "selectLocation": "选择库位编码",+ "selectOne": "请至少选择一条数据!",+ "series_number": "序列号",+ "shortage_qty": "短少数量",+ "sku_code": "规格编码",+ "sku_id": "商品sku标识",+ "sku_name": "规格名称",+ "sorted_qty": "分拣数量",+ "spu_code": "商品编码",+ "spu_id": "商品spu标识",+ "spu_name": "商品名称",+ "supplier_id": "供应商标识",+ "supplier_name": "供应商名称",+ "unloadPerson": "卸货人",+ "unloadTime": "卸货时间",+ "viewDetail": "查看明细",+ "volume": "总体积",+ "volume_unit": "体积单位",+ "weight": "总重量",+ "weight_unit": "重量单位"+ },+ "stockList": {+ "qty": "数量",+ "qty_asn": "到货通知书数量",+ "qty_available": "可用数量",+ "qty_frozen": "冻结数量",+ "qty_locked": "锁定数量",+ "qty_sorted": "已分拣数量",+ "qty_to_sort": "待分拣数量",+ "qty_to_unload": "待卸货数量",+ "shortage_qty": "欠货数量",+ "sku_code": "规格编码",+ "sku_id": "规格标识",+ "spu_code": "商品编码",+ "spu_name": "商品名称"+ },+ "stockLocation": {+ "location_name": "库位名称",+ "qty": "数量",+ "qty_available": "可用数量",+ "qty_frozen": "冻结数量",+ "qty_locked": "锁定数量",+ "series_number": "序列号",+ "sku_code": "规格编码",+ "sku_id": "规格标识",+ "sku_name": "规格名称",+ "spu_code": "商品编码",+ "spu_name": "商品名称",+ "warehouse_name": "仓库名称"+ },+ "stockManagement": {+ "stock": "库存列表",+ "stockLocation": "库位列表"+ },+ "warehouseWorking": {+ "warehouseAdjust": {+ "beforeConfirmAdjust": "您确认对该条数据进行调整吗?",+ "confirmAdjust": "确认调整",+ "create_time": "创建时间",+ "creator": "创建人",+ "handle_time": "操作时间",+ "handler": "操作人",+ "job_code": "作业单号",+ "job_type": "作业类型",+ "location_name": "所在库位",+ "processCombine": "仓内加工",+ "processSplit": "仓内加工",+ "qty": "调整差异数量",+ "warehouse": "所在仓库",+ "warehouseMove": "移库",+ "warehouseTake": "盘点"+ },+ "warehouseFreeze": {+ "create_time": "创建时间",+ "creator": "创建人",+ "freeze": "冻结",+ "handle_time": "操作时间",+ "handler": "操作人",+ "job_code": "作业单号",+ "job_type": "作业类型",+ "location_name": "所在库位",+ "unfreeze": "解冻",+ "warehouse": "所在仓库"+ },+ "warehouseMove": {+ "adjusted": "已调整",+ "beforeConfirmMove": "您确认对该条数据进行移库吗?",+ "confirmMove": "确认移库",+ "create_time": "创建时间",+ "creator": "创建人",+ "dest_googs_location_name": "目标库位",+ "dest_googs_warehouse": "目标仓库",+ "handle_time": "操作时间",+ "handler": "操作人",+ "job_code": "作业单号",+ "move_status": "作业状态",+ "orig_goods_location_name": "来源库位",+ "orig_goods_warehouse": "来源仓库",+ "qty": "数量",+ "unadjust": "未调整"+ },+ "warehouseProcessing": {+ "adjust_status": "是否已调整",+ "alreadyAdjust": "该数据已完成调整,不可删除",+ "alreadyProcess": "该数据已完成加工,不可删除",+ "beforeConfirmAdjust": "您确认对该条数据进行调整吗?",+ "beforeConfirmProcess": "您确认对该条数据进行加工吗?",+ "confirmAdjust": "确认调整",+ "confirmProcess": "确认加工",+ "create_time": "创建时间",+ "creator": "创建人",+ "is_source": "是否来源商品",+ "is_update_stock": "是否已更新库存",+ "job_code": "作业单号",+ "job_type": "作业类型",+ "last_update_time": "最后更新时间",+ "process_combine": "组合加工",+ "process_split": "拆分加工",+ "process_status": "加工状态",+ "process_time": "操作时间",+ "processor": "操作人",+ "qty": "数量",+ "qtyMoreThanAvailable": "不可超过可用数量",+ "sku_code": "规格编码",+ "sku_name": "规格名称",+ "source": "来源",+ "spu_code": "商品编码",+ "spu_name": "商品名称",+ "target": "目标",+ "target_location": "目标库位",+ "target_warehouse": "目标仓库",+ "unit": "商品单位"+ },+ "warehouseTaking": {+ "addFromCommodity": "选择商品",+ "addFromStock": "选择库存",+ "addTips": "当目标库存不存在时,可通过手动选择商品和库位来新增记录",+ "beforeConfirmAdjust": "您确认对该条数据进行调整吗?",+ "book_qty": "账面数量",+ "confirmAdjust": "确认调整",+ "confirmTaking": "确认盘点",+ "counted_qty": "盘点数量",+ "create_time": "创建时间",+ "creator": "创建人",+ "difference_qty": "差异数量",+ "finish": "已完成",+ "handle_time": "操作时间",+ "handler": "操作人",+ "job_code": "作业单号",+ "job_status": "作业状态",+ "location_name": "所在库位",+ "unfinish": "待作业",+ "warehouse": "所在仓库"+ }+ }+ }+}diff --git a/frontend/src/languages/langsJson/en.json b/frontend/src/languages/langsJson/en.jsonnew file mode 100644index 0000000..79a70b8--- /dev/null+++ b/frontend/src/languages/langsJson/en.json@@ -0,0 +1,736 @@+{+ "base": {+ "commodityCategorySetting": {+ "category_name": "Commodity category",+ "create_time": "Create Time",+ "creator": "Creator",+ "parent_name": "Parent Category"+ },+ "commodityManagement": {+ "bar_code": "Specification Code",+ "brand": "Brand",+ "category_name": "Commodity Category",+ "cost": "Commodity Cost",+ "height": "Commodity Height",+ "lenght": "Commodity Length",+ "length_unit": "Length Unit",+ "origin": "origin",+ "price": "Commodity Price",+ "printBarCode": "Print barcode",+ "printQrCode": "Print QR code",+ "print_data_detail": "Detail List",+ "print_data_main": "Data List",+ "print_page_detail": "commodityManagement",+ "print_page_main": "commodityManagement-List",+ "saftyStock": "Safety stock",+ "sku_code": "Specification Code",+ "sku_name": "Specification Name",+ "spu_code": "Commodity Code",+ "spu_description": "Commodity Description",+ "spu_name": "Commodity Name",+ "supplier_name": "Supplier Name",+ "unit": "Commodity Unit",+ "volume": "Commodity Volume",+ "volume_unit": "Volume Unit",+ "weight": "Commodity Weight",+ "weight_unit": "Weight Unit",+ "width": "Commodity Width"+ },+ "companySetting": {+ "address": "Detailed Address",+ "city": "City",+ "company_name": "Corporate Name",+ "contact_tel": "Contact Information",+ "manager": "Person In Charge"+ },+ "customer": {+ "address": "Address",+ "city": "City",+ "contact_tel": "Contact Tel",+ "create_time": "Create Time",+ "creator": "Creator",+ "customer_name": "Customer Name",+ "email": "Email",+ "is_valid": "Valid",+ "last_update_time": "Last Update Time",+ "manager": "Manager",+ "print_data_main": "Data List",+ "print_page_detail": "Customer",+ "print_page_main": "Customer List"+ },+ "freightSetting": {+ "arrival_city": "Arrival City",+ "carrier": "carrier",+ "create_time": "Create Time",+ "creator": "Creator",+ "departure_city": "Departure City",+ "freightSelectModal": "Freight Select Modal",+ "is_valid": "Valid",+ "last_update_time": "Last Update Time",+ "min_payment": "Min Payment",+ "price_per_volume": "Volume Fee",+ "price_per_weight": "Weight Fee"+ },+ "ownerOfCargo": {+ "address": "Detailed Address",+ "city": "City",+ "contact_tel": "Contact Information",+ "create_time": "Create Time",+ "creator": "Creator",+ "goods_owner_name": "Owner Of Cargo",+ "manager": "Person In Charge"+ },+ "printSolution": {+ "detailList": "detailList",+ "solution_name": "schemeName",+ "tab_page": "pageName",+ "vue_path": "menuName"+ },+ "roleMenu": {+ "beforeUpdateOrDel": "Please select the data to be processed first!",+ "dataEmpty": "Empty data",+ "expandRow": "Expand rows",+ "menu_name": "Menu Name",+ "modalTitle": {+ "actionTitle": "Operation permissions",+ "editMenuAction": "Edit menu operation permissions"+ },+ "opeartionFunctionName": {+ "deliveryManagement": {+ "delivered": "Delivered",+ "invoice": "Shipment",+ "packaged": "Packaged",+ "picked": "Picked",+ "signedIn": "Signed In",+ "weighed": "Weighed"+ },+ "stockAsn": {+ "delivered": "To Be Delivered",+ "detail": "Receipt Details",+ "notice": "Arrival notice",+ "putOnTheShelf": "To Be Put On The Shelf",+ "sorted": "To Be Sorted",+ "unloaded": "To Be Unloaded"+ },+ "stockManagement": {+ "area": "Stock Location",+ "stock": "Stock"+ },+ "warehouseSetting": {+ "area": "Reservoir Setting",+ "location": "Location Setting",+ "warehouse": "Warehouse Setting"+ }+ },+ "operation": "Operation permissions",+ "operationTitle": {+ "add": "Add",+ "confirm": "Confirm operation",+ "confirmAdjust": "Confirm adjustment",+ "confirmOpeartion": "Confirm operation",+ "delete": "Delete",+ "delivery": "Delivery",+ "editArrival": "Edit notice of arrival",+ "editCount": "Edit quantity",+ "export": "Export",+ "freeze": "Freeze",+ "group": "Combined processing",+ "import": "Import",+ "package": "Pack",+ "printBarCode": "Print barcode",+ "printQrCode": "Print QR code",+ "refresh": "Refresh",+ "resetPwd": "Reset password",+ "revoke": "Revoke",+ "saftyStock": "Safety stock",+ "save": "Save",+ "setCarrier": "Set carrier",+ "signIn": "Sign in",+ "split": "Split processing",+ "stock": "Inventory",+ "unfreeze": "Unfreeze",+ "weigh": "Weigh"+ },+ "role_name": "Role Name"+ },+ "supplier": {+ "address": "Address",+ "city": "City",+ "contact_tel": "Contact Tel",+ "create_time": "Create Time",+ "creator": "Creator",+ "email": "Email",+ "is_valid": "Valid",+ "last_update_time": "Last Update Time",+ "manager": "Manager",+ "supplier_name": "Supplier Name"+ },+ "userManagement": {+ "addSuccessTip": "Successfully added, user's initial password is: ",+ "afterResetPwd": "Password reset succeeded, the new password is ",+ "auth_string": "Password",+ "beforeResetPwd": "Are you sure you want to reset the passwords of these users?",+ "checkboxIsNull": "Please select data!",+ "contact_tel": "Contact Information",+ "email": "Email",+ "is_valid": "Valid",+ "restPwd": "Reset password",+ "sex": "Sex",+ "userModalTitle": "User selection",+ "user_name": "User Name",+ "user_num": "User Num",+ "user_register_name": "User Name",+ "user_role": "Role"+ },+ "userRoleSetting": {+ "is_valid": "Valid",+ "role_name": "User Role"+ },+ "warehouseSetting": {+ "address": "Address",+ "area_name": "Reservoir Name",+ "area_property": "Reservoir Category",+ "city": "City",+ "contact_tel": "Contact Tel",+ "create_time": "Create Time",+ "creator": "Creator",+ "defective_area": "Defective Area",+ "email": "Email",+ "inventory_area": "Inventory Area",+ "is_valid": "Valid",+ "last_update_time": "Last Update Time",+ "layer_number": "Layer Number",+ "locationSelectModal": "Location Select Modal",+ "locationSetting": "Location Setting",+ "location_heigth": "Location Height(m)",+ "location_length": "Location Length(m)",+ "location_load": "Location Load(kg)",+ "location_name": "Location Code",+ "location_volume": "Location Volume(m³)",+ "location_width": "Location Width(m)",+ "manager": "Manager",+ "picking_area": "Picking Area",+ "receiving_area": "Receiving Area",+ "reservoirSetting": "Reservoir Setting",+ "return_area": "Return Area",+ "roadway_number": "Roadway Number",+ "shelf_number": "Shelf Number",+ "stocking_area": "Stocking Area",+ "tag_number": "Tag Number",+ "warehourseSelectModal": "Location Select Modal",+ "warehouseSetting": "Warehouse Setting",+ "warehouse_name": "Warehouse Name"+ }+ },+ "homepage": {+ "subTitle": "Modern Warehouse Management System"+ },+ "login": {+ "loginSuccess": "Login succeeded!",+ "mainButtonLabel": "Login",+ "notAuthority": "Undistributed menu access the account, please contact the administrator to add it!",+ "password": "Password",+ "register": "Register",+ "registerTips": "No account? Click here to register!",+ "rememberTips": "Remember me",+ "userName": "UserName",+ "welcomeTitle": "Welcome to ModernWMS!👋🏻"+ },+ "router": {+ "sideBar": {+ "asnStatistic": "Receiving statistics",+ "baseModule": "Basic Settings",+ "commodityCategorySetting": "Commodity Category",+ "commodityManagement": "Commodity Management",+ "companySetting": "Company Information",+ "customer": "Customer Info",+ "deliveryManagement": "Delivery Management",+ "deliveryStatistic": "Shipment statistics",+ "freightSetting": "Freight Setting",+ "homepage": "Home Page",+ "menuBasicSettings": "Menu",+ "ownerOfCargo": "Owner Information",+ "print": "Print Settings",+ "roleMenu": "Permission settings",+ "saftyStock": "Safety Stock",+ "statisticAnalysis": "Statistic Analysis",+ "stockAsn": "Receiving Management",+ "stockManagement": "Stock Management",+ "supplier": "Supplier Info",+ "userManagement": "User Management",+ "userRoleSetting": "User Role",+ "vwms": "Visual warehouse",+ "warehouseAdjust": "Inventory Adjust",+ "warehouseFreeze": "Inventory freeze",+ "warehouseMove": "Inventory Move",+ "warehouseProcessing": "Warehouse Processing",+ "warehouseSetting": "Warehouse Setting",+ "warehouseTaking": "Inventory Take",+ "warehouseWorkingModule": "Warehouse Working"+ }+ },+ "system": {+ "checkText": {+ "checkFormFail": "Operation failed. Please check the data and try again!",+ "decimal": " decimal",+ "inputDecimalMsg": " decimal places of the decimal part",+ "inputIntMsg": "decimal places of integer part",+ "integer": " integer",+ "lengthValid": "The length should be between ",+ "mustInput": "Please fill in the ",+ "mustSelect": "Please select ",+ "pleaseEnter": "Please enter "+ },+ "combobox": {+ "sex": {+ "female": "Female",+ "male": "Male"+ },+ "yesOrNo": {+ "no": "no",+ "yes": "yes"+ }+ },+ "hiprint": {+ "addScheme": "addScheme",+ "auxiliary": "auxiliary",+ "emptyScheme": "Empty Scheme",+ "field": "field",+ "hline": "horizontalLine",+ "oval": "oval",+ "rect": "rectangle",+ "repeatScheme": "SchemeName Is Repeat",+ "routine": "routine",+ "schemeName": "schemeName",+ "text": "text",+ "vline": "verticalLine"+ },+ "homeHeader": {+ "changePwd": "Change Password",+ "confrimNewPwd": "Confirm new password",+ "log": "System log",+ "logout": "Logout",+ "newPwd": "New password",+ "oldPwd": "Old password"+ },+ "hookComponent": {+ "dialog": {+ "defaultClose": "Close",+ "defaultConfirm": "Agree",+ "defaultTitle": "Tips"+ }+ },+ "page": {+ "add": "Add",+ "chooseFile": "Choose File",+ "close": "Close",+ "confirm": "Confirm",+ "delete": "Delete",+ "edit": "Edit",+ "export": "Export",+ "exportTemplate": "Export Template",+ "gridColumnGap": "Column spacing(px)",+ "gridRowGap": "Row spacing(px)",+ "import": "Import",+ "insertOneRow": "Insert One Row",+ "noData": "No data",+ "operate": "Operate",+ "preView": "preView",+ "preview": "preview",+ "print": "Print",+ "refresh": "Refresh",+ "reset": "Reset",+ "revoke": "Revoke",+ "rowsNumber": "Number placed per row",+ "submit": "Submit",+ "update": "Update",+ "view": "View",+ "setSearch": "Set query criteria",+ "chart": "Chart",+ "table": "Table"+ },+ "pager": {+ "goTo": "Go to",+ "pageSizes": "/page",+ "record": "record",+ "total": "Total"+ },+ "tips": {+ "beforeAsnConfirm": "Confirm Arrival?",+ "beforeAsnSorted": "Confirm Sorted?",+ "beforeAsnUnload": "Confirm Unload?",+ "beforeDeleteDetailMessage": "Are you sure you want to delete this row?",+ "beforeDeleteMessage": "Do you want to delete this data?",+ "beforeOperation": "Are you sure to proceed?",+ "detailHasItemRepeat": "The details contain duplicate items!",+ "detailLengthIsZero": "Details verification before document submission!",+ "fail": " fail!",+ "noData": "no data",+ "requestFail": "Request fail.Please try it again",+ "requestTimeout": "Request Timeout!",+ "success": " success!",+ "vaildEmail": "Please enter the correct email format!",+ "verifyPwd": "Verification failed. The new password is different from the confirmed one!",+ "setSearchError": "Setting failed! The number of query criteria should be between 1-3",+ "dataExpirationAutoRefresh": "Operation failed! The data has expired and has been automatically refreshed for you",+ "dataExpiration": "Operation failed! The data has expired, please refresh and try again"+ },+ "viewLog": {+ "action_content": "Operation content",+ "action_time": "Time",+ "user_name": "Operator"+ }+ },+ "wms": {+ "deliveryManagement": {+ "NoItemSelected": "Please select at least one commodity to delivered!",+ "ViewInventoryDetails": "View product details",+ "arrival_city": "City of arrival",+ "backToThePreviousStep": "Recall to previous process",+ "bar_code": "Bar Code",+ "carrier": "Carrier",+ "confirmBack": "Confirm withdrawal",+ "confirmDelivery": "Confirm Delivery",+ "confirmOrder": "Confirm Shipment Doc",+ "confirmPicking": "Confirm Picking",+ "confirmSignIn": "Confirm Signing",+ "confirmSuccess": "Confirm the shipment order successfully!",+ "create_time": "Creation Time",+ "creator": "Created By",+ "customer_name": "Customer Name",+ "damagedQuantity": "Damaged quantity upon arrival",+ "delivery": "Delivery",+ "deliveryReady": "Deliveryed",+ "deliveryTodo": "Undelivery",+ "departure_city": "Originating city",+ "detailQty": "Quantity",+ "detailQuantityIsZero": "Shipment quantity cannot be 0",+ "detailVolume": "Volume",+ "detailWeight": "Weight",+ "dispatch_no": "Shipment No",+ "dispatch_status": "Shipment Doc Status",+ "exceedingQuantity": "Cannot exceed the total quantity",+ "goodsToBePicked": "To Be Picked",+ "incorrectStatusMsg": "Operation failed, the status should be",+ "invalidValue": "Please enter a valid value",+ "irreversible": "This operation is irreversible",+ "newShipment": "New Shipment",+ "opeartionCheckboxIsNull": "No actionable data selected!",+ "or": " or ",+ "orderDetail": "Shipment Order Product Details",+ "order_qty": "Order Quantity",+ "outOfWarehouse": "Delivered",+ "package": "Pack",+ "packageReady": "Packaged",+ "packageTodo": "Unpacked",+ "package_no": "Packaging serial No",+ "package_person": "Packer",+ "package_qty": "Packed Quantity",+ "package_time": "Packaging Time",+ "packaged": "Packaged",+ "picked": "Picked",+ "picked_qty": "Picked Quantity",+ "preShipment": "Pre Shipment",+ "qty": "Total Quantity",+ "qty_available": "Available Quantity",+ "quantityIsZero": "Please ensure that at least one of the selected goods has an issue quantity greater than 0!",+ "quantityOverflow": "The sum of shipment quantity cannot exceed the shipment document quantity",+ "setFreight": "Set Carrier",+ "shipment": "Invoice",+ "signIn": "Sign In",+ "signInQty": "Actual signed in quantity",+ "signedIn": "Signed In",+ "sku_code": "Specification Code",+ "sku_name": "Specification Name",+ "spu_code": "Commodity Code",+ "spu_description": "Product Description",+ "spu_name": "Commodity Name",+ "state": "State",+ "toBeDelivered": "To Be Delivered",+ "toBePackaged": "To Be Packaged",+ "toBeWeighed": "To Be Weighed",+ "unit": "Commodity Unit",+ "unpackage_qty": "Quantity to be packaged",+ "unpicked_qty": "Quantity to be picked",+ "unweighing_qty": "Quantity to be weighed",+ "validQtyMsgPackage": "Please enter a valid value, which cannot exceed the total quantity",+ "validQtyMsgSignIn": "Please enter a valid value",+ "volume": "Total Volume",+ "warehouse_name": "Warehouse name",+ "waybill_no": "Waybill No",+ "weigh": "Weigh",+ "weighReady": "Weighed",+ "weighTodo": "Unweighed",+ "weighed": "Weighed",+ "weighing_no": "Weighing sheet No",+ "weighing_person": "Weigher",+ "weighing_weight": "Weighing Weight",+ "weight": "Total Weight"+ },+ "deliveryBatchAllocation": {+ "dateFrom": "Time from",+ "dateTo": "Time to",+ "allocationRule": "Allocation rules",+ "startAllocation": "Start allocation"+ },+ "deliveryStatistic": {+ "amount": "amount",+ "amount_money": "Amount of money",+ "category_name": "merchandise categories",+ "customer_name": "Customer Name",+ "delivery_date": "Delivery time",+ "delivery_qty": "Delivery quantity",+ "dispatch_no": "Shipment No",+ "goods_owner_name": "Goods owner name",+ "location_name": "Location Code",+ "series_number": "Serial number",+ "sku_code": "Specification Code",+ "sku_name": "Specification Name",+ "spu_code": "Commodity Code",+ "spu_name": "Commodity Name",+ "warehouse_name": "Warehouse name",+ "delivery_date_from": "Delivery time from",+ "delivery_date_to": "Delivery time to"+ },+ "saftyStock": {+ "qty": "Quantity",+ "qty_available": "Available quantity",+ "qty_frozen": "Frozen Quantity",+ "qty_locked": "Locked Quantity",+ "safety_stock_qty": "Safety stock quantity",+ "sku_code": "Specification Code",+ "sku_id": "Identifying",+ "sku_name": "Specification Name",+ "spu_code": "Commodity Code",+ "spu_name": "Commodity Name",+ "warehouse_name": "Warehouse name"+ },+ "skuInfo": {+ "bar_code": "Specification Code",+ "brand": "Brand",+ "category_id": "Commodity Category ID",+ "category_name": "Commodity Category",+ "cost": "Commodity Cost",+ "height": "Commodity Height",+ "lenght": "Commodity Length",+ "length_unit": "Length Unit",+ "origin": "origin",+ "price": "Commodity Price",+ "sku_code": "Specification code",+ "sku_id": "Sku Id",+ "sku_name": "Form Name",+ "spu_code": "Commodity code",+ "spu_description": "Commodity Description",+ "spu_id": "Spu Id",+ "spu_name": "Trade name",+ "supplier_id": "Supplier Id",+ "supplier_name": "Supplier Name",+ "unit": "Commodity Unit",+ "volume": "Commodity Volume",+ "volume_unit": "Volume Unit",+ "weight": "Commodity Weight",+ "weight_unit": "Weight Unit",+ "width": "Commodity Width"+ },+ "stock": {+ "location_name": "Location Code",+ "qty_available": "Available Qty",+ "skuSelectModal": "Commodity Select Modal",+ "stockSelectModal": "Stock Select Modal",+ "warehouse": "Warehouse Name"+ },+ "stockAsn": {+ "tabNotice": "Notice Of Arrival",+ "tabReceiptDetails": "Receipt Details",+ "tabToDoArrival": "To Be Delivered",+ "tabToDoGrounding": "To Be Put On The Shelf",+ "tabToDoSorting": "To Be Sorted",+ "tabToDoUnload": "To Be Unloaded"+ },+ "stockAsnInfo": {+ "actual_qty": "Actual Quantity",+ "addSorting": "Sorting",+ "arrival_time": "Arrival time",+ "asn_batch": "Batch",+ "asn_no": "Asn No",+ "asn_qty": "Asn Quantity",+ "asn_status": "Asn Status",+ "can_putaway_qty": "Quantity available for listing",+ "confirmArrival": "Confirm arrival",+ "confirmUnload": "Confirm unloading",+ "damage_qty": "Damage Quantity",+ "editGrounding": "Edit",+ "editSorting": "Edit",+ "estimated_arrival_time": "Estimated time of arrival",+ "exceedTip": "The number of listings cannot exceed the number of listings available!",+ "exceedingPrompt": "The number of serial numbers cannot exceed the sorting quantity!",+ "goods_owner_id": "Goods Owner Id",+ "goods_owner_name": "Goods Owner Name",+ "grounding": "grounding",+ "id": "ID",+ "is_valid": "Valid",+ "length_unit": "Length Unit",+ "more_qty": "More Quantity",+ "mustInputErrorMsg": "Please fill in the arrival time!",+ "notLocation": "Please select a storage location before listing!",+ "num": "number",+ "origin": "Origin",+ "putaway_qty": "Number of listings",+ "revoke": "Revoke",+ "selectLocation": "Select location code",+ "selectOne": "Please select at least one piece of data!",+ "series_number": "Serial number",+ "shortage_qty": "Shortage Quantity",+ "sku_code": "Specification code",+ "sku_id": "Sku Id",+ "sku_name": "Form Name",+ "sorted_qty": "Sorted Quantity",+ "spu_code": "Commodity code",+ "spu_id": "Spu Id",+ "spu_name": "Trade name",+ "supplier_id": "Supplier Id",+ "supplier_name": "Supplier Name",+ "unloadPerson": "Discharger",+ "unloadTime": "Unloading time",+ "viewDetail": "View Details",+ "volume": "Volume",+ "volume_unit": "Volume Unit",+ "weight": "Weight",+ "weight_unit": "Weight Unit"+ },+ "stockList": {+ "qty": "Quantity",+ "qty_asn": "Asn Quantity",+ "qty_available": "Available Quantity",+ "qty_frozen": "Frozen Quantity",+ "qty_locked": "Locked Quantity",+ "qty_sorted": "Sorted Quantity",+ "qty_to_sort": "Sort Quantity",+ "qty_to_unload": "Unload Quantity",+ "shortage_qty": "Shortage Quantity",+ "sku_code": "Specification code",+ "sku_id": "Sku Id",+ "spu_code": "Commodity code",+ "spu_name": "Trade name"+ },+ "stockLocation": {+ "location_name": "Location Code",+ "qty": "Quantity",+ "qty_available": "Available Quantity",+ "qty_frozen": "Frozen Quantity",+ "qty_locked": "Locked Quantity",+ "series_number": "Serial number",+ "sku_code": "Specification code",+ "sku_id": "Sku Id",+ "sku_name": "Form Name",+ "spu_code": "Commodity code",+ "spu_name": "Trade name",+ "warehouse_name": "Warehouse"+ },+ "stockManagement": {+ "stock": "Stock",+ "stockLocation": "Stock Location"+ },+ "warehouseWorking": {+ "warehouseAdjust": {+ "beforeConfirmAdjust": "Are you sure to adjust this data?",+ "confirmAdjust": "Confirm Adjust",+ "create_time": "Create Time",+ "creator": "Creator",+ "handle_time": "Handle Time",+ "handler": "Handler",+ "job_code": "Job Code",+ "job_type": "Job Type",+ "location_name": "Location Code",+ "processCombine": "Warehouse Process",+ "processSplit": "Warehouse Process",+ "qty": "Difference Qty",+ "warehouse": "Warehouse",+ "warehouseMove": "Warehouse Move",+ "warehouseTake": "Warehouse Take"+ },+ "warehouseFreeze": {+ "create_time": "Create Time",+ "creator": "Creator",+ "freeze": "Freeze",+ "handle_time": "Handle Time",+ "handler": "Handler",+ "job_code": "Job Code",+ "job_type": "Job Type",+ "location_name": "Location Code",+ "unfreeze": "Unfreeze",+ "warehouse": "Warehouse"+ },+ "warehouseMove": {+ "adjusted": "Adjusted",+ "beforeConfirmMove": "Are you sure to move this data?",+ "confirmMove": "Confirm Move",+ "create_time": "Create Time",+ "creator": "Creator",+ "dest_googs_location_name": "Target Location",+ "dest_googs_warehouse": "Target Warehouse",+ "handle_time": "Handle Time",+ "handler": "Handler",+ "job_code": "Job No",+ "move_status": "Move Status",+ "orig_goods_location_name": "Origin Location",+ "orig_goods_warehouse": "Origin Warehouse",+ "qty": "Qty",+ "unadjust": "Unadjust"+ },+ "warehouseProcessing": {+ "adjust_status": "Is Updated Stock",+ "alreadyAdjust": "The data can't delete because it had been adjusted",+ "alreadyProcess": "The data can't delete because it had been processed",+ "beforeConfirmAdjust": "Are you sure to adjust this data?",+ "beforeConfirmProcess": "Are you sure to process this data?",+ "confirmAdjust": "Confirm Adjust",+ "confirmProcess": "Confirm Process",+ "create_time": "Create Time",+ "creator": "Creator",+ "is_source": "Is Source",+ "is_update_stock": "Is Updated Stock",+ "job_code": "Job Code",+ "job_type": "Job Type",+ "last_update_time": "Last Update Time",+ "process_combine": "Combine Processing",+ "process_split": "Split Processing",+ "process_status": "Process Status",+ "process_time": "Process Time",+ "processor": "Processor",+ "qty": "Qty",+ "qtyMoreThanAvailable": "Can't more than the number of Available",+ "sku_code": "Specification Code",+ "sku_name": "Specification Name",+ "source": "Source",+ "spu_code": "Commodity Code",+ "spu_name": "Commodity Name",+ "target": "Target",+ "target_location": "Target Location",+ "target_warehouse": "Target Warehouse",+ "unit": "Unit"+ },+ "warehouseTaking": {+ "addFromCommodity": "Choose From Commodity",+ "addFromStock": "Choose From Inventory",+ "addTips": "You can choose goods and the location to add a new record when there is no target inventory",+ "beforeConfirmAdjust": "Are you sure to adjust this data?",+ "book_qty": "Book Qty",+ "confirmAdjust": "Confirm Adjust",+ "confirmTaking": "Confirm Taking",+ "counted_qty": "Actual Qty",+ "create_time": "Create Time",+ "creator": "Creator",+ "difference_qty": "Difference Qty",+ "finish": "Finish",+ "handle_time": "Handle Time",+ "handler": "Handler",+ "job_code": "Job Code",+ "job_status": "Job Status",+ "location_name": "Location Code",+ "unfinish": "Unfinish",+ "warehouse": "Warehouse"+ }+ }+ }+}diff --git a/frontend/src/languages/langsJson/tw.json b/frontend/src/languages/langsJson/tw.jsonnew file mode 100644index 0000000..66203fe--- /dev/null+++ b/frontend/src/languages/langsJson/tw.json@@ -0,0 +1,736 @@+{+ "base": {+ "commodityCategorySetting": {+ "category_name": "商品類別",+ "create_time": "創建時間",+ "creator": "創建人",+ "parent_name": "所屬類別"+ },+ "commodityManagement": {+ "bar_code": "商品條碼",+ "brand": "品牌",+ "category_name": "商品類別",+ "cost": "商品成本",+ "height": "商品高度",+ "lenght": "商品長度",+ "length_unit": "長度單位",+ "origin": "產地",+ "price": "商品價格",+ "printBarCode": "列印條碼",+ "printQrCode": "列印二維碼",+ "print_data_detail": "明細數據",+ "print_data_main": "數據清單",+ "print_page_detail": "商品管理",+ "print_page_main": "商品管理-清單",+ "saftyStock": "安全庫存",+ "sku_code": "規格編碼",+ "sku_name": "規格名稱",+ "spu_code": "商品編碼",+ "spu_description": "商品描述",+ "spu_name": "商品名稱",+ "supplier_name": "供應商名稱",+ "unit": "商品單位",+ "volume": "商品體積",+ "volume_unit": "體積單位",+ "weight": "商品重量",+ "weight_unit": "重量單位",+ "width": "商品寬度"+ },+ "companySetting": {+ "address": "詳細地址",+ "city": "所在城市",+ "company_name": "公司名稱",+ "contact_tel": "聯繫方式",+ "manager": "負責人"+ },+ "customer": {+ "address": "詳細地址",+ "city": "所在城市",+ "contact_tel": "聯繫方式",+ "create_time": "創建時間",+ "creator": "創建人",+ "customer_name": "客戶名稱",+ "email": "Email",+ "is_valid": "是否有效",+ "last_update_time": "最後更新時間",+ "manager": "負責人",+ "print_data_main": "數據清單",+ "print_page_detail": "客戶資訊",+ "print_page_main": "客戶資訊-清單"+ },+ "freightSetting": {+ "arrival_city": "到貨城市",+ "carrier": "承運商",+ "create_time": "創建時間",+ "creator": "創建人",+ "departure_city": "始發城市",+ "freightSelectModal": "運費選擇框",+ "is_valid": "是否有效",+ "last_update_time": "最後更新時間",+ "min_payment": "最小運費",+ "price_per_volume": "單立方米運費",+ "price_per_weight": "單公斤運費"+ },+ "ownerOfCargo": {+ "address": "詳細地址",+ "city": "所在城市",+ "contact_tel": "聯繫方式",+ "create_time": "創建時間",+ "creator": "創建人",+ "goods_owner_name": "貨主名稱",+ "manager": "負責人"+ },+ "printSolution": {+ "detailList": "明細數據",+ "solution_name": "方案名稱",+ "tab_page": "頁面名稱",+ "vue_path": "選單名稱"+ },+ "roleMenu": {+ "beforeUpdateOrDel": "請先選擇需要處理的資料!",+ "dataEmpty": "暫無權限",+ "expandRow": "展開行",+ "menu_name": "菜單名稱",+ "modalTitle": {+ "actionTitle": "操作權限",+ "editMenuAction": "編輯選單操作权限"+ },+ "opeartionFunctionName": {+ "deliveryManagement": {+ "delivered": "出庫",+ "invoice": "發貨單",+ "packaged": "打包",+ "picked": "撿貨",+ "signedIn": "已簽收",+ "weighed": "秤重"+ },+ "stockAsn": {+ "delivered": "待到貨",+ "detail": "收貨明細",+ "notice": "到貨通知",+ "putOnTheShelf": "待上架",+ "sorted": "待分揀",+ "unloaded": "待卸貨"+ },+ "stockManagement": {+ "area": "庫位列表",+ "stock": "庫存列表"+ },+ "warehouseSetting": {+ "area": "庫區設置",+ "location": "庫位設置",+ "warehouse": "倉庫設置"+ }+ },+ "operation": "操作權限",+ "operationTitle": {+ "add": "新增",+ "confirm": "確認操作",+ "confirmAdjust": "確認調整",+ "confirmOpeartion": "確認操作",+ "delete": "刪除",+ "delivery": "出庫",+ "editArrival": "編輯上架數量",+ "editCount": "編輯數量",+ "export": "匯出",+ "freeze": "凍結",+ "group": "組合加工",+ "import": "匯入",+ "package": "打包",+ "printBarCode": "列印條碼",+ "printQrCode": "列印二維碼",+ "refresh": "更新",+ "resetPwd": "重置密碼",+ "revoke": "撤回",+ "saftyStock": "安全庫存",+ "save": "保存",+ "setCarrier": "設置承運單位",+ "signIn": "簽收",+ "split": "拆分加工",+ "stock": "庫存",+ "unfreeze": "解除",+ "weigh": "秤重"+ },+ "role_name": "角色名稱"+ },+ "supplier": {+ "address": "詳細地址",+ "city": "所在城市",+ "contact_tel": "聯繫方式",+ "create_time": "創建時間",+ "creator": "創建人",+ "email": "Email",+ "is_valid": "是否有效",+ "last_update_time": "最後更新時間",+ "manager": "負責人",+ "supplier_name": "供應商名稱"+ },+ "userManagement": {+ "addSuccessTip": "新增成功, 使用者初始密碼為: ",+ "afterResetPwd": "重置密碼成功, 新密碼為: ",+ "auth_string": "密碼",+ "beforeResetPwd": "您確定要重置這些使用者的密碼嗎?",+ "checkboxIsNull": "請選中數據!",+ "contact_tel": "聯繫方式",+ "email": "Email",+ "is_valid": "是否有效",+ "restPwd": "重置密碼",+ "sex": "性别",+ "userModalTitle": "用戶選擇框",+ "user_name": "員工名稱",+ "user_num": "員工編號",+ "user_register_name": "用戶名",+ "user_role": "角色"+ },+ "userRoleSetting": {+ "is_valid": "是否有效",+ "role_name": "用戶角色"+ },+ "warehouseSetting": {+ "address": "詳細地址",+ "area_name": "庫區名稱",+ "area_property": "庫區類型",+ "city": "所在城市",+ "contact_tel": "聯繫方式",+ "create_time": "創建時間",+ "creator": "創建人",+ "defective_area": "次品區",+ "email": "Email",+ "inventory_area": "存貨區",+ "is_valid": "是否有效",+ "last_update_time": "最後更新時間",+ "layer_number": "層號",+ "locationSelectModal": "庫位選擇框",+ "locationSetting": "庫位設置",+ "location_heigth": "庫位高(m)",+ "location_length": "庫位長(m)",+ "location_load": "庫位承重(kg)",+ "location_name": "儲位編碼",+ "location_volume": "庫位容積(m³)",+ "location_width": "庫位寬(m)",+ "manager": "負責人",+ "picking_area": "揀貨區",+ "receiving_area": "收貨區",+ "reservoirSetting": "庫區設置",+ "return_area": "退貨區",+ "roadway_number": "巷道號",+ "shelf_number": "貨架號",+ "stocking_area": "備貨區",+ "tag_number": "位號",+ "warehourseSelectModal": "庫位選擇框",+ "warehouseSetting": "倉庫設置",+ "warehouse_name": "倉庫名稱"+ }+ },+ "homepage": {+ "subTitle": "現代化倉庫管理系統"+ },+ "login": {+ "loginSuccess": "登入成功",+ "mainButtonLabel": "登入",+ "notAuthority": "該帳號未設定功能權限,請聯繫管理員",+ "password": "密碼",+ "register": "註冊",+ "registerTips": "沒有帳號?點此註冊一個!",+ "rememberTips": "記住帳號密碼",+ "userName": "用戶名",+ "welcomeTitle": "歡迎來到ModernWMS!👋🏻"+ },+ "router": {+ "sideBar": {+ "asnStatistic": "收貨統計",+ "baseModule": "基礎設置",+ "commodityCategorySetting": "商品類別設置",+ "commodityManagement": "商品管理",+ "companySetting": "公司資訊",+ "customer": "客戶資訊",+ "deliveryManagement": "發貨管理",+ "deliveryStatistic": "發貨統計",+ "freightSetting": "運費設置",+ "homepage": "首頁",+ "menuBasicSettings": "功能基礎設置",+ "ownerOfCargo": "貨主信息",+ "print": "列印設定",+ "roleMenu": "功能設置",+ "saftyStock": "安全庫存",+ "statisticAnalysis": "統計分析",+ "stockAsn": "收貨管理",+ "stockManagement": "庫存管理",+ "supplier": "供應商資訊",+ "userManagement": "用戶管理",+ "userRoleSetting": "角色設置",+ "vwms": "視覺化倉庫",+ "warehouseAdjust": "庫存調整",+ "warehouseFreeze": "庫存凍結",+ "warehouseMove": "庫存移動",+ "warehouseProcessing": "倉內加工",+ "warehouseSetting": "倉庫設置",+ "warehouseTaking": "庫存盤點",+ "warehouseWorkingModule": "倉內作業"+ }+ },+ "system": {+ "checkText": {+ "checkFormFail": "操作失敗, 請檢查資料後重試!",+ "decimal": " 小數",+ "inputDecimalMsg": "的小數位",+ "inputIntMsg": "的整數位元",+ "integer": "整數",+ "lengthValid": "欄位長度應該在",+ "mustInput": "請填寫",+ "mustSelect": "請選擇",+ "pleaseEnter": "請輸入長度為"+ },+ "combobox": {+ "sex": {+ "female": "女",+ "male": "男"+ },+ "yesOrNo": {+ "no": "否",+ "yes": "是"+ }+ },+ "hiprint": {+ "addScheme": "新增方案",+ "auxiliary": "輔助",+ "emptyScheme": "不存在方案",+ "field": "欄位",+ "hline": "橫線",+ "oval": "橢圓",+ "rect": "矩形",+ "repeatScheme": "方案名稱已存在",+ "routine": "常規",+ "schemeName": "方案名稱",+ "text": "文字",+ "vline": "分隔號"+ },+ "homeHeader": {+ "changePwd": "修改密碼",+ "confrimNewPwd": "確認新密碼",+ "log": "系統日誌",+ "logout": "註銷",+ "newPwd": "新密碼",+ "oldPwd": "舊密碼"+ },+ "hookComponent": {+ "dialog": {+ "defaultClose": "關閉",+ "defaultConfirm": "確認",+ "defaultTitle": "提示"+ }+ },+ "page": {+ "add": "新增",+ "chooseFile": "選擇檔案",+ "close": "關閉",+ "confirm": "確認",+ "delete": "刪除",+ "edit": "編輯",+ "export": "匯出",+ "exportTemplate": "匯出範本",+ "gridColumnGap": "列間距(px)",+ "gridRowGap": "行間距(px)",+ "import": "匯入",+ "insertOneRow": "新增一行",+ "noData": "暫無數據",+ "operate": "操作",+ "preView": "預覽",+ "preview": "預覽",+ "print": "列印",+ "refresh": "更新",+ "reset": "重置",+ "revoke": "撤回",+ "rowsNumber": "每行放置數量",+ "submit": "提交",+ "update": "修改",+ "view": "查看",+ "setSearch": "設定查詢準則",+ "chart": "圖表",+ "table": "表格"+ },+ "pager": {+ "goTo": "前往",+ "pageSizes": "條/頁",+ "record": "條記錄",+ "total": "共"+ },+ "tips": {+ "beforeAsnConfirm": "確認到貨?",+ "beforeAsnSorted": "確認分揀完成?",+ "beforeAsnUnload": "確認卸貨?",+ "beforeDeleteDetailMessage": "您確定要刪除此行嗎?",+ "beforeDeleteMessage": "您確定要刪除此條資料嗎?",+ "beforeOperation": "您確定要進行此操作嗎?",+ "detailHasItemRepeat": "明細中含有重複專案!",+ "detailLengthIsZero": "請添加明細數據!",+ "fail": "失敗!",+ "noData": "暫無數據",+ "requestFail": "介面請求失敗,請重試",+ "requestTimeout": "請求逾時!",+ "success": "成功!",+ "vaildEmail": "請輸入正確的e-mail格式!",+ "verifyPwd": "校驗失敗, 新密碼與確認新密碼不同!",+ "setSearchError": "設定失敗! 查詢準則數量應該在1-3個之間",+ "dataExpirationAutoRefresh": "操作失敗!數據已過期,已為您自動刷新數據",+ "dataExpiration": "操作失敗!數據已過期,請重繪後重試"+ },+ "viewLog": {+ "action_content": "操作內容",+ "action_time": "操作時間",+ "user_name": "操作人"+ }+ },+ "wms": {+ "deliveryManagement": {+ "NoItemSelected": "請至少選中一項商品進行出庫!",+ "ViewInventoryDetails": "查看商品明細",+ "arrival_city": "到貨城市",+ "backToThePreviousStep": "撤回到上一個流程",+ "bar_code": "條碼",+ "carrier": "承運單位",+ "confirmBack": "確認撤回",+ "confirmDelivery": "確認出庫",+ "confirmOrder": "確認發貨單",+ "confirmPicking": "確認揀貨",+ "confirmSignIn": "確認簽收",+ "confirmSuccess": "確認發貨單成功!",+ "create_time": "創建時間",+ "creator": "創建人",+ "customer_name": "客戶名稱",+ "damagedQuantity": "到貨破損數量",+ "delivery": "出庫",+ "deliveryReady": "已出庫",+ "deliveryTodo": "未出庫",+ "departure_city": "始發城市",+ "detailQty": "數量",+ "detailQuantityIsZero": "發貨數量不能為0",+ "detailVolume": "體積",+ "detailWeight": "重量",+ "dispatch_no": "發貨單號",+ "dispatch_status": "發貨單狀態",+ "exceedingQuantity": "不能超過總數量",+ "goodsToBePicked": "待揀貨",+ "incorrectStatusMsg": "操作失敗, 狀態應該為",+ "invalidValue": "請輸入有效數值",+ "irreversible": "此操作不可逆",+ "newShipment": "新發貨",+ "opeartionCheckboxIsNull": "未選中可操作的資料!",+ "or": "或",+ "orderDetail": "發貨單商品詳情",+ "order_qty": "訂單數量",+ "outOfWarehouse": "出庫",+ "package": "打包",+ "packageReady": "已打包",+ "packageTodo": "未打包",+ "package_no": "打包流水號",+ "package_person": "打包員",+ "package_qty": "已打包數量",+ "package_time": "打包時間",+ "packaged": "打包",+ "picked": "已揀貨",+ "picked_qty": "已揀貨數量",+ "preShipment": "預發貨",+ "qty": "總數量",+ "qty_available": "可用數量",+ "quantityIsZero": "請保證選擇的商品至少有一項出庫數量大於0!",+ "quantityOverflow": "發貨數量之和不能超出發貨單數量",+ "setFreight": "設置承運單位",+ "shipment": "發貨單",+ "signIn": "簽收",+ "signInQty": "實際簽收數量",+ "signedIn": "已簽收",+ "sku_code": "規格編碼",+ "sku_name": "規格名稱",+ "spu_code": "商品編碼",+ "spu_description": "商品描述",+ "spu_name": "商品名稱",+ "state": "狀態",+ "toBeDelivered": "待出庫",+ "toBePackaged": "待打包",+ "toBeWeighed": "待秤重",+ "unit": "商品單位",+ "unpackage_qty": "待打包數量",+ "unpicked_qty": "待揀貨數量",+ "unweighing_qty": "待秤重數量",+ "validQtyMsgPackage": "請輸入有效數值, 且不能超过总数量",+ "validQtyMsgSignIn": "請輸入有效數值, 且不能超过总数量",+ "volume": "總體積",+ "warehouse_name": "倉庫名稱",+ "waybill_no": "運單號",+ "weigh": "秤重",+ "weighReady": "已秤重",+ "weighTodo": "未秤重",+ "weighed": "秤重",+ "weighing_no": "秤重單號",+ "weighing_person": "秤重員",+ "weighing_weight": "秤重重量",+ "weight": "總重量"+ },+ "deliveryBatchAllocation": {+ "dateFrom": "時間從",+ "dateTo": "時間至",+ "allocationRule": "分配規則",+ "startAllocation": "開始分配"+ },+ "deliveryStatistic": {+ "amount": "數量",+ "amount_money": "金額",+ "category_name": "商品類別",+ "customer_name": "客戶名稱",+ "delivery_date": "出庫時間",+ "delivery_qty": "出庫數量",+ "dispatch_no": "發貨單號",+ "goods_owner_name": "貨主名稱",+ "location_name": "庫位名稱",+ "series_number": "SN號",+ "sku_code": "規格編碼",+ "sku_name": "規格名稱",+ "spu_code": "商品編碼",+ "spu_name": "商品名稱",+ "warehouse_name": "倉庫名稱",+ "delivery_date_from": "出庫時間從",+ "delivery_date_to": "出庫時間至"+ },+ "saftyStock": {+ "qty": "數量",+ "qty_available": "可用數量",+ "qty_frozen": "凍結數量",+ "qty_locked": "鎖定數量",+ "safety_stock_qty": "安全庫存數量",+ "sku_code": "規格編碼",+ "sku_id": "規格標識",+ "sku_name": "規格名稱",+ "spu_code": "商品編碼",+ "spu_name": "商品名稱",+ "warehouse_name": "倉庫名稱"+ },+ "skuInfo": {+ "bar_code": "商品條碼",+ "brand": "品牌",+ "category_id": "商品類別標識",+ "category_name": "商品類別",+ "cost": "商品成本",+ "height": "商品高度",+ "lenght": "商品長度",+ "length_unit": "長度單位",+ "origin": "產地",+ "price": "商品價格",+ "sku_code": "規格編碼",+ "sku_id": "規格標識",+ "sku_name": "規格名稱",+ "spu_code": "商品編碼",+ "spu_description": "商品描述",+ "spu_id": "商品spu標識",+ "spu_name": "商品名稱",+ "supplier_id": "供應商標識",+ "supplier_name": "供應商名稱",+ "unit": "商品單位",+ "volume": "商品體積",+ "volume_unit": "體積單位",+ "weight": "總重量",+ "weight_unit": "重量單位",+ "width": "商品寬度"+ },+ "stock": {+ "location_name": "儲位編碼",+ "qty_available": "可用數量",+ "skuSelectModal": "商品選擇框",+ "stockSelectModal": "庫存選擇框",+ "warehouse": "倉庫名稱"+ },+ "stockAsn": {+ "tabNotice": "到貨通知",+ "tabReceiptDetails": "收貨明細",+ "tabToDoArrival": "待到貨",+ "tabToDoGrounding": "待上架",+ "tabToDoSorting": "待分揀",+ "tabToDoUnload": "待卸貨"+ },+ "stockAsnInfo": {+ "actual_qty": "上架數量",+ "addSorting": "分揀",+ "arrival_time": "到達時間",+ "asn_batch": "批次",+ "asn_no": "到貨通知書編號",+ "asn_qty": "到貨通知書數據",+ "asn_status": "到貨通知書狀態",+ "can_putaway_qty": "可上架數量",+ "confirmArrival": "確認到貨",+ "confirmUnload": "確認卸貨",+ "damage_qty": "破損數量",+ "editGrounding": "編輯",+ "editSorting": "編輯",+ "estimated_arrival_time": "預計到達時間",+ "exceedTip": "上架數量不可超過可上架數量!",+ "exceedingPrompt": "序號數量不能超過分揀數量!",+ "goods_owner_id": "貨主標識",+ "goods_owner_name": "貨主名稱",+ "grounding": "上架",+ "id": "標識",+ "is_valid": "是否有效",+ "length_unit": "長度單位",+ "more_qty": "超量數量",+ "mustInputErrorMsg": "請填寫到貨時間!",+ "notLocation": "請選擇儲位後進行上架!",+ "num": "編號",+ "origin": "產地",+ "putaway_qty": "上架數量",+ "revoke": "撤銷",+ "selectLocation": "選擇儲位編碼",+ "selectOne": "請至少選擇一條資料!",+ "series_number": "SN號",+ "shortage_qty": "短少數量",+ "sku_code": "規格編碼",+ "sku_id": "商品sku標識",+ "sku_name": "規格名稱",+ "sorted_qty": "分揀數量",+ "spu_code": "商品編碼",+ "spu_id": "商品spu標識",+ "spu_name": "商品名稱",+ "supplier_id": "供應商標識",+ "supplier_name": "供應商名稱",+ "unloadPerson": "卸貨人",+ "unloadTime": "卸貨時間",+ "viewDetail": "查看明細",+ "volume": "總體積",+ "volume_unit": "體積單位",+ "weight": "總重量",+ "weight_unit": "重量單位"+ },+ "stockList": {+ "qty": "數量",+ "qty_asn": "到貨通知書數量",+ "qty_available": "可用數量",+ "qty_frozen": "凍結數量",+ "qty_locked": "鎖定數量",+ "qty_sorted": "已分揀數量",+ "qty_to_sort": "待分揀數量",+ "qty_to_unload": "待卸貨數量",+ "shortage_qty": "欠貨數量",+ "sku_code": "規格編碼",+ "sku_id": "規格標識",+ "spu_code": "商品編碼",+ "spu_name": "商品名稱"+ },+ "stockLocation": {+ "location_name": "庫位名稱",+ "qty": "數量",+ "qty_available": "可用數量",+ "qty_frozen": "凍結數量",+ "qty_locked": "鎖定數量",+ "series_number": "SN號",+ "sku_code": "規格編碼",+ "sku_id": "規格標識",+ "sku_name": "規格名稱",+ "spu_code": "商品編碼",+ "spu_name": "商品名稱",+ "warehouse_name": "倉庫名稱"+ },+ "stockManagement": {+ "stock": "庫存列表",+ "stockLocation": "庫位列表"+ },+ "warehouseWorking": {+ "warehouseAdjust": {+ "beforeConfirmAdjust": "您確認對該條資料進行調整嗎?",+ "confirmAdjust": "確認調整",+ "create_time": "創建時間",+ "creator": "創建人",+ "handle_time": "操作時間",+ "handler": "操作人",+ "job_code": "作業單號",+ "job_type": "作業類型",+ "location_name": "所在庫位",+ "processCombine": "倉內加工",+ "processSplit": "倉內加工",+ "qty": "調整差異數量",+ "warehouse": "所在倉庫",+ "warehouseMove": "移庫",+ "warehouseTake": "盤點"+ },+ "warehouseFreeze": {+ "create_time": "創建時間",+ "creator": "創建人",+ "freeze": "凍結",+ "handle_time": "操作時間",+ "handler": "操作人",+ "job_code": "作業單號",+ "job_type": "作業類型",+ "location_name": "所在庫位",+ "unfreeze": "解除",+ "warehouse": "所在倉庫"+ },+ "warehouseMove": {+ "adjusted": "已調整",+ "beforeConfirmMove": "您確認對該條資料進行移庫嗎?",+ "confirmMove": "確認移庫",+ "create_time": "創建時間",+ "creator": "創建人",+ "dest_googs_location_name": "目標儲位",+ "dest_googs_warehouse": "目標倉庫",+ "handle_time": "操作時間",+ "handler": "操作人",+ "job_code": "作業單號",+ "move_status": "作業狀態",+ "orig_goods_location_name": "來源儲位",+ "orig_goods_warehouse": "來源倉庫",+ "qty": "數量",+ "unadjust": "未調整"+ },+ "warehouseProcessing": {+ "adjust_status": "是否已調整",+ "alreadyAdjust": "該資料已完成調整,不可刪除",+ "alreadyProcess": "該資料已完成加工,不可刪除",+ "beforeConfirmAdjust": "您確認對該條資料進行調整嗎?",+ "beforeConfirmProcess": "您確認對該條資料進行加工嗎?",+ "confirmAdjust": "確認調整",+ "confirmProcess": "確認加工",+ "create_time": "創建時間",+ "creator": "創建人",+ "is_source": "是否來源商品",+ "is_update_stock": "是否已更新庫存",+ "job_code": "作業單號",+ "job_type": "作業類型",+ "last_update_time": "最後更新時間",+ "process_combine": "組合加工",+ "process_split": "拆分加工",+ "process_status": "加工狀態",+ "process_time": "操作時間",+ "processor": "操作人",+ "qty": "數量",+ "qtyMoreThanAvailable": "不可超過可用數量",+ "sku_code": "規格編碼",+ "sku_name": "規格名稱",+ "source": "來源",+ "spu_code": "商品編碼",+ "spu_name": "商品名稱",+ "target": "目標",+ "target_location": "目標儲位",+ "target_warehouse": "目標倉庫",+ "unit": "商品單位"+ },+ "warehouseTaking": {+ "addFromCommodity": "選擇商品",+ "addFromStock": "選擇庫存",+ "addTips": "當目標庫存不存在時,可通過手動選擇商品和儲位來新增記錄",+ "beforeConfirmAdjust": "您確認對該條資料進行調整嗎?",+ "book_qty": "帳面數量",+ "confirmAdjust": "確認調整",+ "confirmTaking": "確認盤點",+ "counted_qty": "盤點數量",+ "create_time": "創建時間",+ "creator": "創建人",+ "difference_qty": "差異數量",+ "finish": "已完成",+ "handle_time": "操作時間",+ "handler": "操作人",+ "job_code": "作業單號",+ "job_status": "作業狀態",+ "location_name": "所在庫位",+ "unfinish": "待作業",+ "warehouse": "所在倉庫"+ }+ }+ }+}diff --git a/frontend/src/languages/method/index.ts b/frontend/src/languages/method/index.tsnew file mode 100644index 0000000..1d0aeea--- /dev/null+++ b/frontend/src/languages/method/index.ts@@ -0,0 +1,13 @@+// Get different languages according to the key+export function getSelectedLang(lang: string) {+ switch (lang) {+ case 'zh':+ return 'zh_CN'+ case 'en':+ return 'en_US'+ case 'tw':+ return 'zh_TW'+ default:+ return 'en_US'+ }+}diff --git a/frontend/src/main.ts b/frontend/src/main.tsnew file mode 100644index 0000000..e7942e1--- /dev/null+++ b/frontend/src/main.ts@@ -0,0 +1,30 @@+import { createApp } from 'vue'+import './style.css' // Global Styles+import print from 'vue3-print-nb'+import { setup } from 'yk-vue-plugin-hiprint'+import { VXETable } from '@/plugins/VXETable/index'+import { vuetify } from '@/plugins/vuetify/index'+import i18n from './languages/i18n'+import App from './App.vue'++// import router+import { router } from './router'+import { store } from './store/index'+import hookComponent from '@/components/system/index'++const app = createApp(App)+app.config.globalProperties.hiprint = setup()++VXETable.setup({+ i18n: (key, args) => i18n.global.t(key, args)+})++app.use(print)+app.use(router)+app.use(store)+app.use(vuetify)+app.use(i18n)+app.use(hookComponent)+app.use(VXETable)++app.mount('#app')diff --git a/frontend/src/plugins/VXETable/index.ts b/frontend/src/plugins/VXETable/index.tsnew file mode 100644index 0000000..7e94da1--- /dev/null+++ b/frontend/src/plugins/VXETable/index.ts@@ -0,0 +1,20 @@+import VXETable from 'vxe-table'+import XEUtils from 'xe-utils'+import VXETablePluginExportXLSX from 'vxe-table-plugin-export-xlsx'+import 'vxe-table/lib/style.css'++/**+ * Format date.+ * @param {String} format: default value is 'yyyy-MM-dd HH:mm:ss'+ */+VXETable.formats.add('formatDate', ({ cellValue }, format) => {+ const date = new Date(cellValue)+ if (!cellValue || !date || XEUtils.toDateString(date, 'yyyy-MM-dd') === '1900-01-01') {+ return ''+ }+ return XEUtils.toDateString(date, format || 'yyyy-MM-dd HH:mm:ss')+})++VXETable.use(VXETablePluginExportXLSX)++export { VXETable }diff --git a/frontend/src/plugins/vuetify/index.ts b/frontend/src/plugins/vuetify/index.tsnew file mode 100644index 0000000..ad901ea--- /dev/null+++ b/frontend/src/plugins/vuetify/index.ts@@ -0,0 +1,40 @@+// Vuetify+import 'vuetify/styles'+import { createVuetify } from 'vuetify'+import * as components from 'vuetify/components'+import * as directives from 'vuetify/directives'+import { aliases, mdi } from 'vuetify/iconsets/mdi'+// Translations provided by Vuetify+import { zhHans, zhHant, en } from 'vuetify/locale'+import { getSelcectedLangForVuetify } from './method/index'++import 'material-design-icons-iconfont/dist/material-design-icons.css'+import 'vuetify/dist/vuetify.min.css'+import '@mdi/font/css/materialdesignicons.css'++const vuetify = createVuetify({+ locale: {+ locale: getStorageLang(),+ messages: { zhHans, zhHant, en }+ },+ components,+ directives,+ icons: {+ defaultSet: 'mdi',+ aliases,+ sets: {+ mdi+ }+ }+})++// get language in storage or default+function getStorageLang() {+ const lang = localStorage.getItem('language')+ if (lang) {+ return getSelcectedLangForVuetify(lang)+ }+ return 'en'+}++export { vuetify }diff --git a/frontend/src/plugins/vuetify/method/index.ts b/frontend/src/plugins/vuetify/method/index.tsnew file mode 100644index 0000000..447d0de--- /dev/null+++ b/frontend/src/plugins/vuetify/method/index.ts@@ -0,0 +1,13 @@+// Get different languages according to the key+export function getSelcectedLangForVuetify(lang: string) {+ switch (lang) {+ case 'zh':+ return 'zhHans'+ case 'en':+ return 'en'+ case 'tw':+ return 'zhHant'+ default:+ return 'en'+ }+}diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.tsnew file mode 100644index 0000000..3a02335--- /dev/null+++ b/frontend/src/router/index.ts@@ -0,0 +1,121 @@+// index.ts+import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'+import { store } from '@/store'+import { CustomerRouterProps } from '@/types/System/Router'+import { menusToRouter } from '@/utils/router'++// array => dynamic router+let dynamicRouter: CustomerRouterProps[] = []+let loadedRouter: string[] = []++// default router+const routes: RouteRecordRaw[] = [+ {+ path: '/',+ redirect: '/login'+ },+ {+ path: '/login',+ name: 'login',+ component: () => import('@/view/login/login.vue')+ },+ {+ name: 'home',+ path: '/home',+ redirect: 'homepage',+ component: () => import('@/view/home/home.vue'),+ children: [+ {+ name: 'vwms',+ path: '/vwms',+ component: () => import('@/view/vwms/VWms.vue'),+ meta: {+ menuPath: 'vwms'+ }+ }+ ]+ },+]++// create router+const router = createRouter({+ // mode is hash+ history: createWebHashHistory(),+ routes+ // Return to top after route jump+ // scrollBehavior() {+ // return { top: 0 }+ // }+})++// vite2 dynamic import+const modules = import.meta.glob('../view/*/*/*.vue')++// load router function+function loadRouter() {+ dynamicRouter = menusToRouter(store.getters['user/menulist'])+ dynamicRouter.push(+ {+ name: 'homepage',+ path: '/homepage',+ directory: 'home/homepage',+ redirect: '',+ component: null+ }+ )+ // dynamicRouter.push(+ // {+ // name: 'test',+ // path: '/test',+ // directory: 'test/test',+ // redirect: '',+ // component: null+ // }+ // )+ // Clear the loaded routes before creating them, mainly for logged out users+ for (const item of loadedRouter) {+ router.removeRoute(item)+ }+ loadedRouter = []+ // This works normally, but it doesn't seem right when getting router+ for (const item of dynamicRouter) {+ item.component = modules[`../view/${ item.directory }${ item.path }.vue`]+ item.meta = {+ menuModule: item.module,+ menuPath: item.name+ }+ router.addRoute('home', item)+ loadedRouter.push(item.name) // cache dynamic router+ }+}++// Set the front routing guard+router.beforeEach((to, from, next) => {+ // join system+ if (to.path === '/login') {+ dynamicRouter = []+ return next()+ }+ if (to.path === '/vwms') {+ next()+ }+ // dont have token, back login+ if (!store.getters['user/token']) {+ return next('/login')+ }++ if (dynamicRouter.length === 0) {+ loadRouter()+ return next(to.path)+ }++ next()+})++// Route interceptor, after jump+router.afterEach(() => {+ // disable back or forward+ window.history.pushState(null, '', window.location.href)+})++export { router }diff --git a/frontend/src/shims.axios.d.ts b/frontend/src/shims.axios.d.tsnew file mode 100644index 0000000..057fd05--- /dev/null+++ b/frontend/src/shims.axios.d.ts@@ -0,0 +1,7 @@+import { AxiosRequestConfig } from 'axios'++declare module 'axios' {+ export interface AxiosRequestConfig {+ hideLoading?: boolean+ }+}diff --git a/frontend/src/shims.d.ts b/frontend/src/shims.d.tsnew file mode 100644index 0000000..40cda30--- /dev/null+++ b/frontend/src/shims.d.ts@@ -0,0 +1,2 @@+declare module '@/hiprint/index.js'+declare namespace jquery {}\ No newline at end of filediff --git a/frontend/src/store/index.ts b/frontend/src/store/index.tsnew file mode 100644index 0000000..bb4f5c4--- /dev/null+++ b/frontend/src/store/index.ts@@ -0,0 +1,18 @@+import { createStore } from 'vuex'+import VuexPersistence from 'vuex-persist'++import { user } from '@/store/module/user'+import { system } from '@/store/module/system'++const vuexLocal = new VuexPersistence({+ storage: window.localStorage,+ modules: ['user', 'system']+})++export const store = createStore({+ modules: {+ user,+ system+ },+ plugins: [vuexLocal.plugin]+})diff --git a/frontend/src/store/module/system.ts b/frontend/src/store/module/system.tsnew file mode 100644index 0000000..bbf5196--- /dev/null+++ b/frontend/src/store/module/system.ts@@ -0,0 +1,66 @@+import { StateProps } from '@/types/System/Store'++export const system = {+ namespaced: true,+ state: {+ language: '',+ openedMenus: [],+ // Window Size+ clientWidth: 0,+ clientHeight: 0,+ currentRouterPath: '',+ refreshFlag: false+ },+ mutations: {+ setCurrentRouterPath(state: StateProps, path: string) {+ state.currentRouterPath = path+ },+ setRefreshFlag(state: StateProps, flag: boolean) {+ state.refreshFlag = flag+ },+ setLanguage(state: StateProps, lang: string) {+ state.language = lang+ },+ addOpenedMenu(state: StateProps, menuName: string) {+ if (!state.openedMenus.includes(menuName)) {+ state.openedMenus.push(menuName)+ }+ },+ delOpenedMenu(state: StateProps, menuName: string) {+ const menuIndex = state.openedMenus.findIndex((item) => item === menuName)+ if (menuIndex > -1) {+ state.openedMenus.splice(menuIndex, 1)+ }+ },+ clearOpenedMenu(state: StateProps) {+ state.openedMenus = []+ },+ setClientWidth(state: StateProps, clientWidth: number) {+ state.clientWidth = clientWidth+ },+ setClientHeight(state: StateProps, clientHeight: number) {+ state.clientHeight = clientHeight+ }+ },+ actions: {},+ getters: {+ currentRouterPath(state: StateProps) {+ return state.currentRouterPath+ },+ language(state: StateProps) {+ return state.language+ },+ openedMenus(state: StateProps) {+ return state.openedMenus+ },+ clientWidth(state: StateProps) {+ return state.clientWidth+ },+ clientHeight(state: StateProps) {+ return state.clientHeight+ },+ refreshFlag(state: StateProps) {+ return state.refreshFlag+ }+ }+}diff --git a/frontend/src/store/module/user.ts b/frontend/src/store/module/user.tsnew file mode 100644index 0000000..1c9e7d0--- /dev/null+++ b/frontend/src/store/module/user.ts@@ -0,0 +1,75 @@+import { UserStateProps, MenuItem } from '@/types/System/Store'++export const user = {+ namespaced: true,+ state: {+ userInfo: {},+ token: '',+ // String used to refresh token+ refreshToken: '',+ // The time when the token expires+ expirationTime: '',+ // Token validity period+ effectiveMinutes: '',+ // Is refreshToken currently in progress+ isRefreshingToken: false,+ // Menu permissions+ menulist: [+ // {+ // name: 'testmenu',+ // path: '/testmenu',+ // directory: 'testmenu/testmenu'+ // }+ ]+ },+ mutations: {+ setUserInfo(state: UserStateProps, userInfo: any) {+ state.userInfo = userInfo+ },+ resetUserInfo(state: UserStateProps, userInfo = {}) {+ state.userInfo = { ...state.userInfo, ...userInfo }+ },+ setToken(state: UserStateProps, token: string) {+ state.token = token+ },+ setExpirationTime(state: UserStateProps, expirationTime: number) {+ state.expirationTime = expirationTime+ },+ setIsRefreshingToken(state: UserStateProps, isRefreshingToken: boolean) {+ state.isRefreshingToken = isRefreshingToken+ },+ setRefreshToken(state: UserStateProps, refreshToken: string) {+ state.refreshToken = refreshToken+ },+ setEffectiveMinutes(state: UserStateProps, effectiveMinutes: number) {+ state.effectiveMinutes = effectiveMinutes+ },+ setUserMenuList(state: UserStateProps, menulist: MenuItem[]) {+ state.menulist = menulist+ }+ },+ actions: {},+ getters: {+ userInfo(state: UserStateProps) {+ return state.userInfo+ },+ token(state: UserStateProps) {+ return state.token+ },+ expirationTime(state: UserStateProps) {+ return state.expirationTime+ },+ isRefreshingToken(state: UserStateProps) {+ return state.isRefreshingToken+ },+ refreshToken(state: UserStateProps) {+ return state.refreshToken+ },+ effectiveMinutes(state: UserStateProps) {+ return state.effectiveMinutes+ },+ menulist(state: UserStateProps) {+ return state.menulist+ }+ }+}diff --git a/frontend/src/style.css b/frontend/src/style.cssnew file mode 100644index 0000000..d7732c5--- /dev/null+++ b/frontend/src/style.css@@ -0,0 +1,43 @@+html,+body {+ padding: 0;+ margin: 0;+ height: 100%;+ width: 100%;+}++#app {+ height: 100vh;+ width: 100vw;+}++.hiprint-headerLine, .hiprint-footerLine {+ border-color: red !important;+}++.hiprint-headerLine:hover, .hiprint-footerLine:hover {+ border-top: 3px dashed red !important;+}++.hiprint-headerLine:hover:before {+ content: "页眉线";+ left: calc(50% - 18px);+ position: relative;+ background: #FFFF;+ top: -12px;+ color: red;+ font-size: 12px;+}++.hiprint-footerLine:hover:before {+ content: "页脚线";+ left: calc(50% - 18px);+ position: relative;+ color: red;+ background: #FFFF;+ top: -12px;+ font-size: 12px;+}+/* .hiprint-printElement-image-content img{+ content: url('@/assets/img/webLogoMini.png')!important;+} */diff --git a/frontend/src/types/Base/CommodityCategorySetting.ts b/frontend/src/types/Base/CommodityCategorySetting.tsnew file mode 100644index 0000000..1bb4d13--- /dev/null+++ b/frontend/src/types/Base/CommodityCategorySetting.ts@@ -0,0 +1,18 @@+import { VxeTablePropTypes } from 'vxe-table'+import { UniformFileNaming, btnGroupItem } from '../System/Form'++export interface CategoryVO extends UniformFileNaming {+ id: number+ parent_id?: number+ category_name: string+ is_valid?: boolean+}++export interface DataProps {+ tableData: CategoryVO[]+ tableTreeConfig: VxeTablePropTypes.TreeConfig+ showDialog: boolean+ dialogForm: CategoryVO+ btnList: btnGroupItem[]+ authorityList: string[]+}diff --git a/frontend/src/types/Base/CommodityManagement.ts b/frontend/src/types/Base/CommodityManagement.tsnew file mode 100644index 0000000..02ee434--- /dev/null+++ b/frontend/src/types/Base/CommodityManagement.ts@@ -0,0 +1,73 @@+import { VxeTablePropTypes } from 'vxe-table'+import { UniformFileNaming, TablePage, btnGroupItem } from '../System/Form'++export interface CommodityVO extends UniformFileNaming {+ id: number+ spu_code: string+ spu_name: string+ category_id?: number+ category_name?: string+ spu_description: string+ supplier_id?: number+ supplier_name?: string+ brand: string+ origin?: string+ length_unit: number+ volume_unit: number+ weight_unit: number+ detailList?: CommodityDetailVO[]+}++export interface CommodityDetailVO {+ id: number+ sku_code: string+ sku_name: string+ unit: string+ cost?: number+ price?: number+ weight?: number+ lenght?: number+ width?: number+ height?: number+ volume?: number+ detailList: UpdateSaftyStockReqBodyVO[]+}++export interface CommodityDetailJoinMainVO {+ sku_id: number+ spu_id: number+ spu_code: string+ spu_name: string+ sku_code: string+ sku_name: string+ supplier_id: number+ supplier_name: string+ brand: string+ origin: string+ unit: string+}++export interface DataProps {+ tableData: CommodityVO[]+ tableTreeConfig: VxeTablePropTypes.TreeConfig+ showDialog: boolean+ dialogForm: CommodityVO+ tablePage: TablePage+ searchForm: {+ spu_code: string+ spu_name: string+ category_name: string+ }+ timer: any+ btnList: btnGroupItem[]+ authorityList: string[]+ selectRowData: any[]+}++export interface UpdateSaftyStockReqBodyVO {+ id?: number+ sku_id?: number+ warehouse_id?: number+ warehouse_name: string+ safety_stock_qty: number+}diff --git a/frontend/src/types/Base/CompanySetting.ts b/frontend/src/types/Base/CompanySetting.tsnew file mode 100644index 0000000..93d5ee6--- /dev/null+++ b/frontend/src/types/Base/CompanySetting.ts@@ -0,0 +1,18 @@+import { UniformFileNaming, btnGroupItem } from '../System/Form'++export interface CompanyVO extends UniformFileNaming {+ id: number+ company_name: string+ city: string+ address: string+ manager: string+ contact_tel: string+}++export interface DataProps {+ tableData: CompanyVO[]+ showDialog: boolean+ dialogForm: CompanyVO+ btnList: btnGroupItem[]+ authorityList: string[]+}diff --git a/frontend/src/types/Base/Customer.ts b/frontend/src/types/Base/Customer.tsnew file mode 100644index 0000000..229e7cf--- /dev/null+++ b/frontend/src/types/Base/Customer.ts@@ -0,0 +1,28 @@+import { UniformFileNaming, TablePage } from '../System/Form'++export interface CustomerVO extends UniformFileNaming {+ id: number+ customer_name: string+ city: string+ address: string+ manager: string+ email: string+ contact_tel: string+ is_valid: boolean+}+export interface CustomerExcelVO {+ customer_name: string+ city: string+ address: string+ manager: string+ email: string+ contact_tel: string+ _XID: string+ errorMsg: string+}+export interface DataProps {+ tableData: CustomerVO[]+ tablePage: TablePage+ showDialog: boolean+ dialogForm: CustomerVO+}diff --git a/frontend/src/types/Base/Freight.ts b/frontend/src/types/Base/Freight.tsnew file mode 100644index 0000000..ef39332--- /dev/null+++ b/frontend/src/types/Base/Freight.ts@@ -0,0 +1,12 @@+import { UniformFileNaming } from '../System/Form'++export interface FreightVO extends UniformFileNaming{+ id?: number+ carrier: string+ departure_city: string+ arrival_city: string+ price_per_weight: number+ price_per_volume: number+ min_payment: number+ is_valid?: boolean+}\ No newline at end of filediff --git a/frontend/src/types/Base/OwnerOfCargo.ts b/frontend/src/types/Base/OwnerOfCargo.tsnew file mode 100644index 0000000..f44b912--- /dev/null+++ b/frontend/src/types/Base/OwnerOfCargo.ts@@ -0,0 +1,32 @@+import { UniformFileNaming, TablePage, btnGroupItem } from '../System/Form'++export interface OwnerOfCargoVO extends UniformFileNaming {+ id: number+ goods_owner_name: string+ city: string+ address: string+ contact_tel: string+ manager: string+}++export interface ImportVO {+ goods_owner_name: string+ city: string+ address: string+ contact_tel: string+ manager: string+}++export interface DataProps {+ tableData: OwnerOfCargoVO[]+ showDialog: boolean+ showDialogImport: boolean+ dialogForm: OwnerOfCargoVO+ searchForm: {+ goods_owner_name: string+ }+ tablePage: TablePage+ timer: any+ btnList: btnGroupItem[]+ authorityList: string[]+}diff --git a/frontend/src/types/Base/PrintSolution.ts b/frontend/src/types/Base/PrintSolution.tsnew file mode 100644index 0000000..f5d21cf--- /dev/null+++ b/frontend/src/types/Base/PrintSolution.ts@@ -0,0 +1,31 @@+import { TablePage, btnGroupItem } from '../System/Form'++export interface PrintSolutionVO {+ id: number+ vue_path?: string+ tab_page?: string+ solution_name: string+ config_json: string+ report_length: number+ report_width: number+ report_direction: string+}+export interface PrintSolutionGetByPathVo {+ vue_path: string+ tab_page: string+}+export interface DataProps {+ tableData: PrintSolutionVO[]+ showDialog: boolean+ dialogForm: PrintSolutionVO+ tablePage: TablePage+ searchForm: {+ vue_path: string+ tab_page: string+ solution_name: string+ }+ timer: any+ btnList: btnGroupItem[]+ authorityList: string[]+ selectRowData: any[]+}\ No newline at end of filediff --git a/frontend/src/types/Base/RoleMenu.ts b/frontend/src/types/Base/RoleMenu.tsnew file mode 100644index 0000000..7f48776--- /dev/null+++ b/frontend/src/types/Base/RoleMenu.ts@@ -0,0 +1,24 @@+import { NavListOptions, UniformFileNaming, VxeTableRow, btnGroupItem } from '../System/Form'++export interface RoleMenuVO extends UniformFileNaming {+ userrole_id?: number+ role_name?: string+ detailList: RoleMenuDetailVo[]+}++export interface RoleMenuDetailVo extends VxeTableRow {+ id: number+ menu_id?: number+ menu_name?: string+ menu_actions_authority: string[]+}++export interface DataProps {+ activeRoleMenuForm: RoleMenuVO+ roleList: RoleMenuVO[]+ showDialog: boolean+ dialogForm: RoleMenuVO+ navListOptions: NavListOptions+ btnList: btnGroupItem[]+ editMenuDialogCurrentRow: RoleMenuDetailVo+}diff --git a/frontend/src/types/Base/Supplier.ts b/frontend/src/types/Base/Supplier.tsnew file mode 100644index 0000000..ddeac2a--- /dev/null+++ b/frontend/src/types/Base/Supplier.ts@@ -0,0 +1,28 @@+import { UniformFileNaming, TablePage } from '../System/Form'++export interface SupplierVO extends UniformFileNaming {+ id: number+ supplier_name: string+ city: string+ address: string+ manager: string+ email: string+ contact_tel: string+ is_valid: boolean+}++export interface SupplierExcelVO {+ supplier_name: string+ city: string+ address: string+ manager: string+ email: string+ contact_tel: string+}++export interface DataProps {+ tableData: SupplierVO[]+ tablePage: TablePage+ showDialog: boolean+ dialogForm: SupplierVO+}diff --git a/frontend/src/types/Base/UserManagement.ts b/frontend/src/types/Base/UserManagement.tsnew file mode 100644index 0000000..a0f1104--- /dev/null+++ b/frontend/src/types/Base/UserManagement.ts@@ -0,0 +1,44 @@+import { UniformFileNaming, TablePage, btnGroupItem } from '../System/Form'++export interface UserVO extends UniformFileNaming {+ id: number+ user_num: string+ user_name: string+ contact_tel?: string+ user_role?: string+ sex?: string+ auth_string?: string+ email?: string+ is_valid: boolean+}++export interface ImportVO {+ user_num: string+ user_name: string+ contact_tel: string+ user_role: string+ sex: string+ is_valid: boolean+}++export interface DataProps {+ showDialogImport: boolean+ tableData: UserVO[]+ searchForm: {+ user_num: string+ user_name: string+ user_role: string+ }+ tablePage: TablePage+ showDialog: boolean+ dialogForm: UserVO+ timer: any+ btnList: btnGroupItem[]+ authorityList: string[]+}++export interface ChangePwdAPIParams {+ id: number+ old_password: string+ new_password: string+}diff --git a/frontend/src/types/Base/UserRoleSetting.ts b/frontend/src/types/Base/UserRoleSetting.tsnew file mode 100644index 0000000..b55c8b8--- /dev/null+++ b/frontend/src/types/Base/UserRoleSetting.ts@@ -0,0 +1,15 @@+import { UniformFileNaming, btnGroupItem } from '../System/Form'++export interface UserRoleVO extends UniformFileNaming {+ id: number+ role_name: string+ is_valid: boolean+}++export interface DataProps {+ tableData: UserRoleVO[]+ showDialog: boolean+ dialogForm: UserRoleVO+ btnList: btnGroupItem[]+ authorityList: string[]+}diff --git a/frontend/src/types/Base/Warehouse.ts b/frontend/src/types/Base/Warehouse.tsnew file mode 100644index 0000000..2baae73--- /dev/null+++ b/frontend/src/types/Base/Warehouse.ts@@ -0,0 +1,51 @@+import { UniformFileNaming } from '../System/Form'++export interface WarehouseVO extends UniformFileNaming {+ id?: number+ warehouse_name: string+ city: string+ address: string+ contact_tel?: string+ email?: string+ manager?: string+ is_valid?: boolean+}++export interface WarehouseAreaVO extends UniformFileNaming {+ id: number+ warehouse_id?: number+ parent_id?: number+ warehouse_name: string+ area_name: string+ area_property: AreaProperty+ is_valid: boolean+}++export interface GoodsLocationVO extends UniformFileNaming {+ id: number+ warehouse_id?: number+ warehouse_area_id?: number+ warehouse_name: string+ warehouse_area_name: string+ warehouse_area_property?: number+ location_name: string+ location_length?: number+ location_width?: number+ location_heigth?: number+ location_volume?: number+ location_load?: number+ roadway_number?: string+ shelf_number?: string+ layer_number?: string+ tag_number?: string+ is_valid: boolean+}++export enum AreaProperty {+ 'picking_area' = 1,+ 'stocking_area' = 2,+ 'receiving_area' = 3,+ 'return_area' = 4,+ 'defective_area' = 5,+ 'inventory_area' = 6+}diff --git a/frontend/src/types/DeliveryManagement/DeliveryManagement.ts b/frontend/src/types/DeliveryManagement/DeliveryManagement.tsnew file mode 100644index 0000000..e0efac3--- /dev/null+++ b/frontend/src/types/DeliveryManagement/DeliveryManagement.ts@@ -0,0 +1,130 @@+import { UniformFileNaming } from '../System/Form'++export interface DeliveryManagementVO extends UniformFileNaming {+ id: number+ dispatch_no?: string+ dispatch_status?: number+ qty?: number+ weight?: number+ volume?: number+ customer_id?: number+ customer_name?: string+ picked_qty?: number+ detailList: DeliveryManagementDetailListVO[]+}++export interface DeliveryManagementDetailListVO {+ id: number+ qty: number+ sku_id?: number+ spu_code?: string+ spu_name?: string+ sku_code?: string+ sku_name?: string+}++export interface DeliveryManagementDetailVO extends DeliveryManagementVO {+ id: number+ spu_code?: string+ spu_name?: string+ sku_code?: string+ unpackage_qty?: number+ unweighing_qty?: number+ spu_description?: string+ bar_code?: string+ qty?: number+ unpicked_qty?: number+ picked_qty?: number+ weight?: number+ volume?: number+ weight_unit?: number+ is_todo: boolean+}++export interface addRequestVO {+ customer_id: number+ customer_name: string+ sku_id: number+ qty: number+}++export interface ConfirmOrderVO {+ spu_code: string+ sku_code: string+ qty: number+ confirm: boolean+ pick_list: ConfirmOrderPickListVO[]+}++export interface ConfirmOrderPickListVO {+ warehouse_name: string+ location_name: string+ pick_qty: number+}++export interface PackageVO {+ id?: number+ dispatch_no?: string+ dispatch_status?: number+ package_qty?: number+ picked_qty?: number+}++export interface WeighVO {+ id?: number+ dispatch_no?: string+ dispatch_status?: number+ weighing_qty?: number+ weighing_weight?: number+ picked_qty?: number+}++export interface DeliveryVO {+ id?: number+ dispatch_no?: string+ dispatch_status?: number+ picked_qty?: number+}++export interface SignInVO {+ id?: number+ dispatch_no?: string+ dispatch_status?: number+ damage_qty?: number+}++export interface CancleOrderVO {+ dispatch_no?: string+ dispatch_status?: number+}++export interface SetCarrierVO {+ id: number+ dispatch_no: string+ dispatch_status: number+ freightfee_id: number+ carrier: string+ waybill_no: string+}++export interface ConfirmItem {+ id: number+ dispatch_no: string+ dispatch_status: number+ spu_name: string+ spu_code: string+ sku_code: string+ maxQty: number+ qty: number+ picked_qty?: number+ weight?: number+ weight_unit?: string+}++export interface DeliveryBatchAllocationVO {+ id: number+ dateFrom: string+ dateTo: string+ allocationRule: string+ is_valid: boolean+}diff --git a/frontend/src/types/Home/Home.ts b/frontend/src/types/Home/Home.tsnew file mode 100644index 0000000..437638e--- /dev/null+++ b/frontend/src/types/Home/Home.ts@@ -0,0 +1,12 @@+// test interface+export interface SideBarMenu {+ icon?: string+ lable: string+ routerPath?: string+ showDetail?: boolean+ children?: SideBarMenu[]+}++export interface SideBarDataProps {+ menuList: SideBarMenu[]+}\ No newline at end of filediff --git a/frontend/src/types/Home/HomeHeader.ts b/frontend/src/types/Home/HomeHeader.tsnew file mode 100644index 0000000..228baad--- /dev/null+++ b/frontend/src/types/Home/HomeHeader.ts@@ -0,0 +1,9 @@+export interface DataProps {+ breadcrumbItems: BreadcrumbItems[]+ userOperationMenu: any+}++interface BreadcrumbItems {+ title: string+ disabled: boolean+}diff --git a/frontend/src/types/System/Form.ts b/frontend/src/types/System/Form.tsnew file mode 100644index 0000000..ac6523f--- /dev/null+++ b/frontend/src/types/System/Form.ts@@ -0,0 +1,53 @@+export interface UniformFileNaming {+ creator?: string+ create_time?: string+ last_update_time?: string+ tenant_id?: number+}++// VxeTable Required paging parameters+export interface TablePage {+ total: number+ pageIndex: number+ pageSize: number+ searchObjects?: SearchObject[]+}++export interface NavListOptions {+ title: string+ labelKey: string+ indexKey: string+ indexValue: string+}++// API Required paging parameters+export interface PageConfigProps {+ pageIndex: number+ pageSize: number+ sqlTitle?: string+ searchObjects?: any+ total?: number+}++export interface VxeTableRow {+ _X_ROW_KEY?: string+}++export interface SearchObject {+ name?: string,+ operator?: SearchOperator,+ text?: string,+ value?: string+}++export enum SearchOperator {+ INCLUDE = 6,+ EQUAL = 1+}++export interface btnGroupItem {+ name: string+ icon: string+ code: string+ click: () => void+}\ No newline at end of filediff --git a/frontend/src/types/System/HookComponent.ts b/frontend/src/types/System/HookComponent.tsnew file mode 100644index 0000000..7347aff--- /dev/null+++ b/frontend/src/types/System/HookComponent.ts@@ -0,0 +1,28 @@+// Dialog modal options+export interface DialogOptions {+ confirmText?: string // confirm btn text+ cancleText?: string // cancle btn text+ handleConfirm?(): void // confirm trigger method+ content: string // dialog content text+ title?: string // dialog title text+ dialogWidth?: string | number // dialog width pixel or percentage+}++// System message options+export interface MessageOptions {+ type?: 'success' | 'info' | 'warning' | 'error'+ variant?: 'flat' | 'elevated' | 'tonal' | 'outlined' | 'text' | 'plain'+ content: string+ border?: boolean | 'top' | 'end' | 'bottom' | 'start'+ shutDelay?: number+ color?: string+ messageWidth?: string | number // message width pixel or percentage+}++// Component list+export interface Components {+ // eslint-disable-next-line no-unused-vars+ $message(prop: MessageOptions): void+ // eslint-disable-next-line no-unused-vars+ $dialog(prop: DialogOptions): void+}diff --git a/frontend/src/types/System/Router.ts b/frontend/src/types/System/Router.tsnew file mode 100644index 0000000..ca8f595--- /dev/null+++ b/frontend/src/types/System/Router.ts@@ -0,0 +1,12 @@+import { RouteMeta } from 'vue-router'++export interface CustomerRouterProps {+ name: string+ module?: string+ path: string+ directory: string+ redirect: string+ component: any+ children?: CustomerRouterProps[]+ meta?: RouteMeta+}diff --git a/frontend/src/types/System/Store.ts b/frontend/src/types/System/Store.tsnew file mode 100644index 0000000..d3e2f50--- /dev/null+++ b/frontend/src/types/System/Store.ts@@ -0,0 +1,28 @@+// user+export interface MenuItem {+ id: number+ menu_name: string+ module: string+ vue_path: string+ vue_path_detail: string+ vue_directory: string+}++export interface UserStateProps {+ userInfo: any+ token: string+ refreshToken: string+ expirationTime: number+ effectiveMinutes: number+ isRefreshingToken: boolean+ menulist: MenuItem[]+}++export interface StateProps {+ language: string+ currentRouterPath: string+ openedMenus: string[]+ clientWidth: number+ clientHeight: number+ refreshFlag: boolean+}\ No newline at end of filediff --git a/frontend/src/types/System/UserModel.ts b/frontend/src/types/System/UserModel.tsnew file mode 100644index 0000000..a2b89cf--- /dev/null+++ b/frontend/src/types/System/UserModel.ts@@ -0,0 +1,31 @@+/**+ * @description: Login interface parameters+ */+export interface LoginParams {+ user_name: string+ password: string+}++/**+ * @description: Login interface return value+ */+export interface LoginResultModel {+ userId: string | number+ token: string+}++/**+ * @description: Get user information return value+ */+// export interface GetUserInfoModel {+// // 用户id+// userId: string | number;+// // 用户名+// username: string;+// // 真实名字+// realName: string;+// // 头像+// avatar: string;+// // 介绍+// desc?: string;+// }diff --git a/frontend/src/types/WMS/DeliveryStatistic.ts b/frontend/src/types/WMS/DeliveryStatistic.tsnew file mode 100644index 0000000..ca69910--- /dev/null+++ b/frontend/src/types/WMS/DeliveryStatistic.ts@@ -0,0 +1,13 @@+export interface DeliveryStatisticVo {+ dispatch_no: string+ warehouse_name: string+ location_name: string+ sku_code: string+ sku_name: string+ spu_code: string+ spu_name: string+ customer_name: string+ series_number: string+ delivery_qty: number+ delivery_date: string+}diff --git a/frontend/src/types/WMS/SafetyStock.ts b/frontend/src/types/WMS/SafetyStock.tsnew file mode 100644index 0000000..f6e8b93--- /dev/null+++ b/frontend/src/types/WMS/SafetyStock.ts@@ -0,0 +1,13 @@+export interface SafetyStockVo {+ warehouse_name: string+ spu_code: string+ spu_name: string+ sku_code: string+ sku_name: string+ sku_id: number+ qty: number+ qty_available: number+ qty_locked: number+ qty_frozen: number+ safety_stock_qty: number+}diff --git a/frontend/src/types/WMS/StockAsn.ts b/frontend/src/types/WMS/StockAsn.tsnew file mode 100644index 0000000..22f74a3--- /dev/null+++ b/frontend/src/types/WMS/StockAsn.ts@@ -0,0 +1,103 @@+import { UniformFileNaming } from '../System/Form'++export interface StockAsnVO extends UniformFileNaming {+ id?: number+ asn_no?: string+ spu_id?: number+ supplier_name?: string+ supplier_id?: number+ is_valid?: boolean+ spu_code?: string+ spu_name?: string+ sku_code?: string+ sku_name?: string+ origin?: string+ sku_id?: number+ asn_qty?: number+ asn_batch?: string+ estimated_arrival_time?: string+ asn_status?: number+ weight?: number+ volume?: number+ goods_owner_id?: number+ goods_owner_name?: string+ creator?: string+ create_time?: string+ last_update_time?: string+ detailList: StockAsnDetailVO[]+}++export interface StockAsnDetailVO {+ id?: number+ asnmaster_id?: number+ asn_status?: number+ spu_id?: number+ spu_code?: string+ spu_name?: string+ sku_id?: number+ sku_code?: string+ sku_name?: string+ origin?: string+ length_unit?: number+ volume_unit?: number+ weight_unit?: number+ asn_qty?: number+ actual_qty?: number+ weight?: number+ volume?: number+ supplier_id?: number+ supplier_name?: string+ is_valid?: boolean+}++export interface PutawayVo {+ asn_id: number+ goods_location_id: number+ putaway_qty: number+ location_name: string+}++export interface SortingVo {+ asn_id: number+ sorted_qty: number+}++export interface SkuInfoVo {+ spu_id: number+ spu_code: string+ spu_name: string+ category_id: number+ category_name: string+ spu_description: string+ bar_code: string+ supplier_id: number+ supplier_name: string+ brand: string+ origin: string+ length_unit: number+ volume_unit: number+ weight_unit: number+ sku_id: number+ sku_code: string+ sku_name: string+ weight: number+ lenght: number+ width: number+ height: number+ volume: number+ unit: string+ cost: number+ price: number+}++export interface UpdateSortingVo {+ id: number+ asn_id: number+ sorted_qty: number+ series_number: string+ creator: string+ create_time: string+ last_update_time: string+ is_valid: boolean+ tenant_id: number+}diff --git a/frontend/src/types/WMS/StockManagement.ts b/frontend/src/types/WMS/StockManagement.tsnew file mode 100644index 0000000..b94fff6--- /dev/null+++ b/frontend/src/types/WMS/StockManagement.ts@@ -0,0 +1,29 @@+export interface StockLocationVO {+ warehouse: string+ location_name: string+ spu_code: string+ spu_name: string+ sku_id: number+ sku_code: string+ sku_name: string+ qty: number+ qty_available: number+ qty_locked: number+ qty_frozen: number+}++export interface StockVO {+ spu_code: string+ spu_name: string+ sku_code: string+ sku_id: number+ qty: number+ qty_available: number+ qty_locked: number+ qty_frozen: number+ qty_asn: number+ qty_to_unload: number+ qty_to_sort: number+ qty_sorted: number+ shortage_qty: number+}diff --git a/frontend/src/types/WarehouseWorking/WarehouseAdjust.ts b/frontend/src/types/WarehouseWorking/WarehouseAdjust.tsnew file mode 100644index 0000000..f4ae0dd--- /dev/null+++ b/frontend/src/types/WarehouseWorking/WarehouseAdjust.ts@@ -0,0 +1,26 @@+import { UniformFileNaming } from '../System/Form'++export interface WarehouseAdjustVO extends UniformFileNaming {+ id: number+ job_type?: AdjustJobType+ job_code: string+ sku_id: number+ goods_owner_id: number+ goods_location_id: number+ qty: number+ is_update_stock: boolean+ source_table_id: number+ spu_code?: string+ spu_name?: string+ sku_code?: string+ warehouse_name?: string+ location_name?: string+}++export enum AdjustJobType {+ UNKNOW = 0,+ TAKE = 1,+ PROCESS_COMBINE = 2,+ PROCESS_SPLIT = 3,+ MOVE = 4+}diff --git a/frontend/src/types/WarehouseWorking/WarehouseFreeze.ts b/frontend/src/types/WarehouseWorking/WarehouseFreeze.tsnew file mode 100644index 0000000..4757038--- /dev/null+++ b/frontend/src/types/WarehouseWorking/WarehouseFreeze.ts@@ -0,0 +1,18 @@+import { UniformFileNaming } from '../System/Form'++export interface WarehouseFreezeVO extends UniformFileNaming {+ id: number+ job_code: string+ job_type: boolean+ sku_id: number+ goods_owner_id: number+ goods_location_id: number+ handler: string+ handle_time: string+ warehouse_name: string+ location_name: string+ spu_code: string+ spu_name: string+ sku_code: string+ series_number: string+}diff --git a/frontend/src/types/WarehouseWorking/WarehouseMove.ts b/frontend/src/types/WarehouseWorking/WarehouseMove.tsnew file mode 100644index 0000000..d35ab29--- /dev/null+++ b/frontend/src/types/WarehouseWorking/WarehouseMove.ts@@ -0,0 +1,28 @@+import { UniformFileNaming } from '../System/Form'++export interface WarehouseMoveVO extends UniformFileNaming {+ id: number+ job_code: string+ move_status: MoveStatus+ sku_id: number+ orig_goods_location_id: number+ dest_googs_location_id: number+ qty: number+ goods_owner_id: number+ handler: string+ handle_time: string+ orig_goods_warehouse: string+ orig_goods_location_name: string+ dest_googs_warehouse: string+ dest_googs_location_name: string+ spu_code: string+ spu_name: string+ sku_code: string+ sku_name: string+ series_number: string+}++export enum MoveStatus {+ UNADJUST = 0,+ ADJUSTED = 1+}diff --git a/frontend/src/types/WarehouseWorking/WarehouseProcessing.ts b/frontend/src/types/WarehouseWorking/WarehouseProcessing.tsnew file mode 100644index 0000000..111b0b0--- /dev/null+++ b/frontend/src/types/WarehouseWorking/WarehouseProcessing.ts@@ -0,0 +1,31 @@+import { UniformFileNaming } from '../System/Form'++export interface WarehouseProcessingVO extends UniformFileNaming {+ id: number+ job_code: string+ job_type: boolean+ process_status: boolean+ processor: string+ process_time: string+ source_detail_list?: Array<WarehouseProcessingDetailVO>+ target_detail_list?: Array<WarehouseProcessingDetailVO>+ adjust_status?: boolean+ detailList?: Array<any>+}++export interface WarehouseProcessingDetailVO extends UniformFileNaming {+ id: number+ stock_process_id: number+ sku_id: number+ goods_owner_id: number+ goods_location_id: number+ qty: number | string+ is_source: boolean+ spu_code: string+ spu_name: string+ sku_code: string+ unit: string+ is_update_stock: boolean+ qty_available?: number+ location_name?: string+}diff --git a/frontend/src/types/WarehouseWorking/WarehouseTaking.ts b/frontend/src/types/WarehouseWorking/WarehouseTaking.tsnew file mode 100644index 0000000..046d2b1--- /dev/null+++ b/frontend/src/types/WarehouseWorking/WarehouseTaking.ts@@ -0,0 +1,22 @@+import { UniformFileNaming } from '../System/Form'++export interface WarehouseTakingVO extends UniformFileNaming {+ id: number+ job_code: string+ job_status: boolean+ sku_id: number+ goods_owner_id: number+ goods_location_id: number+ book_qty: number+ counted_qty: number+ difference_qty: number+ spu_code: string+ spu_name: string+ sku_code: string+ series_number: string+ warehouse_name: string+ location_name: string+ adjust_status: boolean+ handler: string+ handle_time: string+}diff --git a/frontend/src/utils/bus.ts b/frontend/src/utils/bus.tsnew file mode 100644index 0000000..f2a3b92--- /dev/null+++ b/frontend/src/utils/bus.ts@@ -0,0 +1,4 @@+// using ES6 modules+import mitt from 'mitt'++export const emitter = mitt()diff --git a/frontend/src/utils/common.ts b/frontend/src/utils/common.tsnew file mode 100644index 0000000..08beeaa--- /dev/null+++ b/frontend/src/utils/common.ts@@ -0,0 +1,118 @@+import XEUtils from 'xe-utils'+import { useRoute } from 'vue-router'+import { SearchObject, SearchOperator } from '@/types/System/Form'+import { store } from '@/store'++export const setSearchObject = (searchForm: any, preciseSearchCols: string[] = []) => {+ const searchObjects: Array<SearchObject> = []+ try {+ for (const key in searchForm) {+ const str = key as string+ const searchValue = searchForm[str as keyof typeof searchForm]+ let operator = SearchOperator.INCLUDE+ if (preciseSearchCols.includes(key)) {+ operator = SearchOperator.EQUAL+ }++ if (searchValue && searchValue.trim() !== '') {+ searchObjects.push({+ name: key,+ operator,+ text: searchValue,+ value: searchValue+ })+ }+ }+ return searchObjects+ } catch (error) {+ return searchObjects+ }+}++// Remove item what value is 'null' or '' in array+export const removeArrayNull = (array: any) => {+ for (const obj of array) {+ Object.keys(obj).forEach((item) => {+ if (XEUtils.isString(obj[item])) {+ obj[item] = obj[item].replace(/(^\s*)|(\s*$)/g, '')+ }+ if (obj[item] === '' || obj[item] === null) {+ delete obj[item]+ }+ })+ }+ return array+}++// Remove item what value is 'null' or '' in object+export const removeObjectNull = (obj: any) => {+ const copy = JSON.parse(JSON.stringify(obj))+ Object.keys(copy).forEach((item) => {+ if (XEUtils.isString(copy[item])) {+ copy[item] = copy[item].replace(/(^\s*)|(\s*$)/g, '')+ }+ if (copy[item] === '' || copy[item] == null) {+ delete copy[item]+ }+ })+ return copy+}++// Obtain menu operation permissions+export const getMenuAuthorityList = () => {+ let AuthorityList: string[] = []++ const route = useRoute()++ const menu_name = route.path.substring(1)++ const menu_list: any[] = store.getters['user/menulist']++ const filter = menu_list.filter((item: any) => item.menu_name === menu_name)++ // Obtain permission list based on route+ if (filter.length > 0) {+ AuthorityList = filter[0].menu_actions+ } else {+ AuthorityList = []+ }++ return AuthorityList+}++// Retrieve data from cache in browser+export const getStorage = (key: string) => {+ // printCommidity...+ const value = localStorage.getItem(key)+ if (value) {+ return JSON.parse(value)+ }+ return null+}++// Store data in the browser's cache+export const setStorage = (key: string, value: any) => {+ localStorage.setItem(key, JSON.stringify(value))+}++// 获取菜单的查询条件设置+export const getMenuSearchSetting = (menu_name: string) => {+ const allSetting = getStorage('menu_search_setting')++ if (allSetting && allSetting[menu_name]) {+ return allSetting[menu_name]+ }++ return []+}++// 生成uuid方法+export const generateUUID = (): string => {+ let d = new Date().getTime()+ const uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => {+ const r = (d + Math.random() * 16) % 16 | 0+ d = Math.floor(d / 16)+ return (c === 'x' ? r : (r & 0x3) | 0x8).toString(16)+ })+ return uuid+}\ No newline at end of filediff --git a/frontend/src/utils/dataVerification/formRule.ts b/frontend/src/utils/dataVerification/formRule.tsnew file mode 100644index 0000000..ad3cf27--- /dev/null+++ b/frontend/src/utils/dataVerification/formRule.ts@@ -0,0 +1,94 @@+import i18n from '@/languages/i18n'++// Judge whether it is integer+export function IsInteger(value: string | number, validNumerical: 'nonNegative' | 'greaterThanZero' | 'noZero', length?: number): string {+ if (typeof value === 'number') {+ value = String(value)+ }+ let validText = ''+ if (value === '' || value == null) {+ return ''+ }+ let re = /^-?[0-9]\d*$/+ let max = 2147483647+ let min = -2147483648+ length = length || 32+ if (length === 8) {+ max = 255+ min = 0+ } else if (length === 16) {+ max = 32767+ min = -32768+ }+ switch (validNumerical) {+ case 'nonNegative':+ re = /^[0-9]\d*$/+ validText = '>=0'+ break+ case 'greaterThanZero':+ re = /^[1-9]\d*$/+ validText = '>0'+ break+ case 'noZero':+ re = /^[-]?[1-9][0-9]*$/+ validText = '!=0'+ break+ }+ const rsCheck = re.test(value)+ if (!rsCheck) {+ return `${ i18n.global.t('system.checkText.mustInput') }${ validText }${ i18n.global.t('system.checkText.integer') }`+ }+ if (Number(value) > max || Number(value) < min) {+ return `${ i18n.global.t('system.checkText.mustInput') }${ min }-${ max }${ i18n.global.t('system.checkText.integer') }`+ }+ return ''+}++// Judge whether it is decimal+export function IsDecimal(+ value: string | number,+ validNumerical: 'nonNegative' | 'greaterThanZero',+ length?: number,+ decimalLength?: number+): string {+ if (typeof value === 'number') {+ value = String(value)+ }+ if (value === '' || value == null) {+ return ''+ }+ let validText = ''+ let reg = /^[-]?\d+(\.\d+)?$/+ switch (validNumerical) {+ case 'nonNegative':+ reg = /^\d+(\.\d+)?$/+ validText = '>=0'+ break+ case 'greaterThanZero':+ reg = /^[+]{0,1}([1-9][0-9]{0,})$|^[+]{0,1}([1-9][0-9]{0,}\.\d+)$|^[+]{0,1}([0]\.(?!0+$)\d{1,})$/+ validText = '>0'+ break+ }+ const rsCheck = reg.test(value)+ if (!rsCheck) {+ return `${ i18n.global.t('system.checkText.pleaseEnter') }${ validText }${ i18n.global.t('system.checkText.decimal') }`+ }+ length = length || 18+ decimalLength = decimalLength || 2+ const arr = value.toString().split('.')+ if (arr.length > 0 && arr[0].length > length - decimalLength) {+ return `${ i18n.global.t('system.checkText.pleaseEnter') }${ length - decimalLength }${ i18n.global.t('system.checkText.inputIntMsg') }`+ }+ if (arr.length > 1 && arr[1].length > decimalLength) {+ return `${ i18n.global.t('system.checkText.pleaseEnter') }${ decimalLength }${ i18n.global.t('system.checkText.inputDecimalMsg') }`+ }+ return ''+}++// Judge string length+export function StringLength(value: string, min: number, max: number) {+ if (value.length < min || value.length > max) {+ return `${ i18n.global.t('system.checkText.lengthValid') }${ min }-${ max }`+ }+ return ''+}\ No newline at end of filediff --git a/frontend/src/utils/dataVerification/page.ts b/frontend/src/utils/dataVerification/page.tsnew file mode 100644index 0000000..c6e6bc9--- /dev/null+++ b/frontend/src/utils/dataVerification/page.ts@@ -0,0 +1,41 @@+/**+ * Duplicate inspection details+ * @param detail Array to be verified+ * @param checkKey Collection of items to be checked in the array object+ * @returns Repeat array+ */+export function checkDetailRepeatGetArry(detail: any[], checkKey: string[]): any[] {+ const repeatArray: any[] = []+ for (const item of detail) {+ let repeat = true+ for (const key of checkKey) {+ if (detail.filter(df => df[key] === item[key]).length === 1) {+ repeat = false+ }+ }+ if (repeat) {+ repeatArray.push(item)+ }+ }+ return repeatArray+}+/**+ * Duplicate inspection details+ * @param detail Array to be verified+ * @param checkKey Collection of items to be checked in the array object+ * @returns Duplicate or not+ */+export function checkDetailRepeatGetBool(detail: any[], checkKey: string[]): boolean {+ for (const item of detail) {+ let repeat = true+ for (const key of checkKey) {+ if (detail.filter(df => df[key] === item[key]).length === 1) {+ repeat = false+ }+ }+ if (repeat) {+ return true+ }+ }+ return false+}diff --git a/frontend/src/utils/dataVerification/tableRule.ts b/frontend/src/utils/dataVerification/tableRule.tsnew file mode 100644index 0000000..4415f31--- /dev/null+++ b/frontend/src/utils/dataVerification/tableRule.ts@@ -0,0 +1,83 @@+import i18n from '@/languages/i18n'++// Judge whether it is integer+export function isInteger(rule: any, value: any) {+ if (rule.hasOwnProperty('cellValue')) {+ value = rule.cellValue+ rule = rule.rule+ }+ return new Promise((resolve, reject) => {+ let validText = ''+ if (value === '' || value == null) {+ resolve(true)+ } else {+ let re = /^-?[0-9]\d*$/+ let max = 2147483647+ let min = -2147483648+ const length = rule.length || 32+ if (length === 8) {+ max = 255+ min = 0+ } else if (length === 16) {+ max = 32767+ min = -32768+ }+ if (rule.validNumerical === 'nonNegative') {+ re = /^[0-9]\d*$/+ validText = '>=0'+ } else if (rule.validNumerical === 'greaterThanZero') {+ re = /^[1-9]\d*$/+ validText = '>0'+ } else if (rule.validNumerical === 'noZero') {+ re = /^[-]?[1-9][0-9]*$/+ validText = '!=0'+ }+ const rsCheck = re.test(value)+ if (!rsCheck) {+ reject(new Error(`${ i18n.global.t('system.checkText.mustInput') }${ validText }${ i18n.global.t('system.checkText.integer') }`))+ } else if (value > max || value < min) {+ reject(new Error(`${ i18n.global.t('system.checkText.mustInput') }${ min }-${ max }${ i18n.global.t('system.checkText.integer') }`))+ } else {+ resolve(true)+ }+ }+ })+}++// Judge whether it is decimal+export function isDecimal(rule: any, value: any): any {+ if (rule.hasOwnProperty('cellValue')) {+ value = rule.cellValue+ rule = rule.rule+ }+ return new Promise((resolve, reject) => {+ if (value === '' || value == null) {+ resolve(true)+ } else {+ let validText = ''+ let reg = /^[-]?\d+(\.\d+)?$/+ if (rule.validNumerical === 'nonNegative') {+ reg = /^\d+(\.\d+)?$/+ validText = '>=0'+ } else if (rule.validNumerical === 'greaterThanZero') {+ reg = /^[+]{0,1}([1-9][0-9]{0,})$|^[+]{0,1}([1-9][0-9]{0,}\.\d+)$|^[+]{0,1}([0]\.(?!0+$)\d{1,})$/+ validText = '>0'+ }+ const rsCheck = reg.test(value)+ if (!rsCheck) {+ reject(new Error(`${ i18n.global.t('system.checkText.pleaseEnter') }${ validText }${ i18n.global.t('system.checkText.decimal') }`))+ } else {+ const length = rule.length || 18+ const decimalLength = rule.decimalLength || 2+ const arr = value.toString().split('.')+ if (arr.length > 0 && arr[0].length > length - decimalLength) {+ reject(new Error(`${ i18n.global.t('system.checkText.pleaseEnter') }${ length - decimalLength }${ i18n.global.t('system.checkText.inputIntMsg') }`))+ } else if (arr.length > 1 && arr[1].length > decimalLength) {+ reject(new Error(`${ i18n.global.t('system.checkText.pleaseEnter') }${ decimalLength }${ i18n.global.t('system.checkText.inputDecimalMsg') }`))+ } else {+ resolve(true)+ }+ }+ }+ })+}diff --git a/frontend/src/utils/exportTable.ts b/frontend/src/utils/exportTable.tsnew file mode 100644index 0000000..8757af1--- /dev/null+++ b/frontend/src/utils/exportTable.ts@@ -0,0 +1,69 @@+import * as XLSX from 'xlsx'+import { hookComponent } from '@/components/system'+import i18n from '@/languages/i18n'+/**+ * Export table+ * Default type is 'xlsx'+ */+export const exportData = ({ table, filename, columnFilterMethod, mode = 'all' }: IExportTable): void => {+ try {+ // 1.Get table header+ const columns = table?.getColumns()+ const theadDOM = table.$el.querySelector('.body--wrapper>.vxe-table--header')+ const theadDOMCopy = theadDOM.cloneNode(true)+ const headerRow = theadDOMCopy.querySelector('.vxe-header--row')+ const headerColumn = theadDOMCopy.querySelectorAll('.vxe-header--column')++ // 2.Get table data+ const bodyDOM = table.$el.querySelector('.body--wrapper>.vxe-table--body')+ const bodyDOMCopy = bodyDOM.cloneNode(true)+ const rowDOMList = bodyDOMCopy.querySelectorAll('.vxe-body--row')++ // 3.Filter header in table+ for (let i = 0; i < columns.length; i++) {+ const column = columns[i]+ if (columnFilterMethod && !columnFilterMethod({ column })) {+ headerRow.removeChild(headerColumn[i])+ }+ }++ // 4.Filter table data in table+ for (let j = 0; j < rowDOMList.length; j++) {+ const row = rowDOMList[j]+ const columnDOMList = row.querySelectorAll('.vxe-body--column')++ for (let i = 0; i < columns.length; i++) {+ const column = columns[i]+ if (columnFilterMethod && !columnFilterMethod({ column })) {+ row.removeChild(columnDOMList[i])+ }+ }+ }++ // 5.Combine table header and data+ const combineDOM = document.createElement('div')+ combineDOM.appendChild(theadDOMCopy)+ if (mode === 'all') {+ combineDOM.appendChild(bodyDOMCopy)+ }++ // 6.Export+ const workBook = XLSX.utils.table_to_book(combineDOM as HTMLElement)+ XLSX.writeFile(workBook, `${ filename }.xlsx`)+ } catch (error) {+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('system.page.export') }${ i18n.global.t('system.tips.fail') }`+ })+ }+}++interface IExportTable {+ table: any+ filename?: string+ exceptIndex?: Array<number>+ mode?: 'all' | 'header'+ columnFilterMethod?: FilterMEthod+}++type FilterMEthod = ({ column, row }: any) => booleandiff --git a/frontend/src/utils/format/formatSystem.ts b/frontend/src/utils/format/formatSystem.tsnew file mode 100644index 0000000..0eee8d6--- /dev/null+++ b/frontend/src/utils/format/formatSystem.ts@@ -0,0 +1,17 @@+import XEUtils from 'xe-utils'+import i18n from '@/languages/i18n'++export const formatIsValid = (value: boolean) => (value ? i18n.global.t('system.combobox.yesOrNo.yes') : i18n.global.t('system.combobox.yesOrNo.no'))++export const formatDate = (value: any, format?: string) => {+ const date = new Date(value)+ if (!value || !date || XEUtils.toDateString(date, 'yyyy-MM-dd') === '1900-01-01') {+ return ''+ }+ return XEUtils.toDateString(date, format || 'yyyy-MM-dd HH:mm:ss')+}++export const formatString = (value: any): string => {+ if (value == null) return ''+ return value?.toString() || ''+}\ No newline at end of filediff --git a/frontend/src/utils/format/formatWarehouse.ts b/frontend/src/utils/format/formatWarehouse.tsnew file mode 100644index 0000000..9237b49--- /dev/null+++ b/frontend/src/utils/format/formatWarehouse.ts@@ -0,0 +1,21 @@+import { AreaProperty } from '@/types/Base/Warehouse'+import i18n from '@/languages/i18n'++export const formatAreaProperty = (value: number) => {+ switch (value) {+ case AreaProperty.picking_area:+ return i18n.global.t('base.warehouseSetting.picking_area')+ case AreaProperty.stocking_area:+ return i18n.global.t('base.warehouseSetting.stocking_area')+ case AreaProperty.receiving_area:+ return i18n.global.t('base.warehouseSetting.receiving_area')+ case AreaProperty.return_area:+ return i18n.global.t('base.warehouseSetting.return_area')+ case AreaProperty.defective_area:+ return i18n.global.t('base.warehouseSetting.defective_area')+ case AreaProperty.inventory_area:+ return i18n.global.t('base.warehouseSetting.inventory_area')+ default:+ return ''+ }+}diff --git a/frontend/src/utils/format/formatWarehouseWorking.ts b/frontend/src/utils/format/formatWarehouseWorking.tsnew file mode 100644index 0000000..47b91e7--- /dev/null+++ b/frontend/src/utils/format/formatWarehouseWorking.ts@@ -0,0 +1,35 @@+import i18n from '@/languages/i18n'+import { PROCESS_JOB_COMBINE, FREEZE_JOB_FREEZE, TAKING_JOB_FINISH } from '@/constant/warehouseWorking'+import { MoveStatus } from '@/types/WarehouseWorking/WarehouseMove'+import { AdjustJobType } from '@/types/WarehouseWorking/WarehouseAdjust'++export const formatProcessJobType = (value: boolean) => (value === PROCESS_JOB_COMBINE+ ? i18n.global.t('wms.warehouseWorking.warehouseProcessing.process_combine')+ : i18n.global.t('wms.warehouseWorking.warehouseProcessing.process_split'))++export const formatFreezeJobType = (value: boolean) => (value === FREEZE_JOB_FREEZE+ ? i18n.global.t('wms.warehouseWorking.warehouseFreeze.freeze')+ : i18n.global.t('wms.warehouseWorking.warehouseFreeze.unfreeze'))++export const formatMoveStatus = (value: number) => (value === MoveStatus.UNADJUST+ ? i18n.global.t('wms.warehouseWorking.warehouseMove.unadjust')+ : i18n.global.t('wms.warehouseWorking.warehouseMove.adjusted'))++export const formatTakingJobStatus = (value: boolean) => (value === TAKING_JOB_FINISH+ ? i18n.global.t('wms.warehouseWorking.warehouseTaking.finish')+ : i18n.global.t('wms.warehouseWorking.warehouseTaking.unfinish'))++export const formatAdjustJobType = (value: number) => {+ switch (value) {+ case AdjustJobType.TAKE:+ return i18n.global.t('wms.warehouseWorking.warehouseAdjust.warehouseTake')+ case AdjustJobType.PROCESS_COMBINE:+ return i18n.global.t('wms.warehouseWorking.warehouseAdjust.processCombine')+ case AdjustJobType.PROCESS_SPLIT:+ return i18n.global.t('wms.warehouseWorking.warehouseAdjust.processSplit')+ case AdjustJobType.MOVE:+ return i18n.global.t('wms.warehouseWorking.warehouseAdjust.warehouseMove')+ default:+ return ''+ }+}diff --git a/frontend/src/utils/http/httpCodeJudge.ts b/frontend/src/utils/http/httpCodeJudge.tsnew file mode 100644index 0000000..62932ae--- /dev/null+++ b/frontend/src/utils/http/httpCodeJudge.ts@@ -0,0 +1,36 @@+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system'++// Obtain the code for error information+function extractNumbers(str: string): any {+ const regex = /^\[(\d+)\]/ // 匹配以 "[xxx]" 开头的字符串,并提取其中的数字部分++ const match = str.match(regex)++ if (match) {+ const extractedValue = match[1] // 提取匹配到的数字部分+ return extractedValue+ }+ return null+}++// Return the corresponding error information based on the error code+export const httpCodeJudge = (msg: string, showTip = true) => {+ const code = extractNumbers(msg)+ if (code) {+ switch (code) {+ case '202':+ if (showTip) {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t(`${ i18n.global.t('system.tips.dataExpirationAutoRefresh') }`)+ })+ }+ return true+ default:+ return false+ }+ }++ return false+}diff --git a/frontend/src/utils/http/request.ts b/frontend/src/utils/http/request.tsnew file mode 100644index 0000000..ee7b584--- /dev/null+++ b/frontend/src/utils/http/request.ts@@ -0,0 +1,214 @@+import axios from 'axios' // 引入axios+import { store } from '@/store'+import { emitter } from '@/utils/bus'+import { router } from '@/router'+import { hookComponent } from '@/components/system'+import i18n from '@/languages/i18n'++// Basis of axios+const SERVER_URL = `${ import.meta.env.VITE_BASE_PATH }:${ import.meta.env.VITE_SERVER_PORT }`+axios.defaults.baseURL = SERVER_URL+const http = axios.create({+ baseURL: SERVER_URL,+ timeout: 10000+})++// The interface array request failed+let subscribesArr: Array<any> = []++// The count of current request+let acitveAxios = 0++function pushSubscribeInterface(cb: any) {+ subscribesArr.push(cb)+}++function reloadSubscribesWithNewToken(token: string) {+ subscribesArr.map((cb) => cb(token))+}++function resetSubscribes() {+ subscribesArr = []+}++/**+ * expired or will expired+ * @returns {boolean}+ */+function isTokenExpired() {+ const expiredTime = store.getters['user/expirationTime']+ if (expiredTime) {+ // Distance and x seconds is judged to be due+ const willExpiredSecond = 10 * 60+ const nowTime = new Date().getTime()+ const willExpired = (expiredTime - nowTime) / 1000 < willExpiredSecond++ return willExpired+ }+ return false+}++function rediretToLogin() {+ store.commit('system/clearOpenedMenu')+ store.commit('system/setCurrentRouterPath', '')++ clearLoading() // Clear all loads++ router.push('/login')+}++const showLoading = () => {+ acitveAxios+++ if (acitveAxios > 0) {+ emitter.emit('showLoading')+ }+}++const closeLoading = () => {+ acitveAxios--+ if (acitveAxios <= 0) {+ emitter.emit('closeLoading')+ }+}++const clearLoading = () => {+ acitveAxios = 0+ emitter.emit('closeLoading')+}++const handleRefreshToken = (token: string) => {+ const refreshToken = store.getters['user/refreshToken']+ store.commit('user/setIsRefreshingToken', true)+ axios+ .post('/refresh-token', {+ accessToken: token,+ refreshToken+ })+ .then(({ data: res }) => {+ if (res.isSuccess) {+ const tokenVo = res.data+ const expiredTime = new Date().getTime() + store.getters['user/effectiveMinutes'] * 60 * 1000++ store.commit('user/setToken', tokenVo)+ store.commit('user/setExpirationTime', expiredTime)++ // With the new token request those suspended interface+ reloadSubscribesWithNewToken(tokenVo)+ } else {+ return Promise.reject()+ }+ })+ .catch(() => {+ resetSubscribes()+ rediretToLogin()+ })+ .finally(() => {+ store.commit('user/setIsRefreshingToken', false)+ })+}++http.interceptors.request.use(+ (config: any) => {+ const donNeedTokenApi = ['/login', '/user/register']+ const token = store.getters['user/token']++ let culture = 'en-us'+ switch (store.getters['system/language']) {+ case 'zh':+ culture = 'zh-cn'+ break+ case 'en':+ culture = 'en-us'+ break+ }+ config.params ? (config.params.culture = culture) : (config.params = { culture })++ if (!config.hideLoading) {+ showLoading()+ }++ // It don't need token to request with some apis.+ if (donNeedTokenApi.includes(config.url)) {+ return config+ }++ // 1.Logout when token isn't exist+ if (!token) {+ rediretToLogin()+ return config+ }++ // 2.Request normally when token is exist and in valid date+ if (!isTokenExpired() || config.url === '/refresh-token') {+ config.headers = {+ 'Content-Type': 'application/json',+ ...config.headers+ }+ if (config.url && !donNeedTokenApi.includes(config.url)) {+ config.headers.Authorization = `Bearer ${ token }`+ }++ return config+ }++ // 3.Take a 'refresh token' request when it not in the refreshing.+ if (!store.getters['user/isRefreshingToken']) {+ handleRefreshToken(token)+ }++ // 4.Put the fail requests up and initiate them after refresh token+ const retry = new Promise((resolve) => {+ pushSubscribeInterface((newToken: string) => {+ config.headers.Authorization = `Bearer ${ newToken }`+ resolve(config)+ })+ })+ return retry+ },+ (error) => {+ closeLoading()+ return error+ }+)++http.interceptors.response.use(+ (response) => {+ closeLoading()+ if (response.data.code === 0 || response.headers.success === 'true') {+ if (response.headers.msg) {+ response.data.msg = decodeURI(response.headers.msg)+ }+ return response.data+ }+ return response.data.msg ? response.data : response+ },+ (error) => {+ closeLoading()+ // 1.There isn't 'error.response' object when request timeout+ if (!error.response) {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.tips.requestTimeout')+ })+ return+ }++ // 2.There is response status when request fail but not timeout+ switch (error.response.status) {+ case 500:+ console.error('error:', 500)+ break+ case 404:+ console.error('error:', 404)+ break+ }++ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.tips.requestFail')+ })+ return error+ }+)++export default httpdiff --git a/frontend/src/utils/router/index.ts b/frontend/src/utils/router/index.tsnew file mode 100644index 0000000..f397584--- /dev/null+++ b/frontend/src/utils/router/index.ts@@ -0,0 +1,185 @@+import { MenuItem } from '@/types/System/Store'+import { CustomerRouterProps } from '@/types/System/Router'+import { SideBarMenu } from '@/types/Home/Home'+import { store } from '@/store'+import i18n from '@/languages/i18n'++// Convert menu permissions to data required for dynamic routing+export function menusToRouter(menuList: MenuItem[]): CustomerRouterProps[] {+ const result: CustomerRouterProps[] = []+ for (const menu of menuList) {+ result.push({+ name: menu.vue_path,+ module: menu.module,+ path: `/${ menu.vue_path }`,+ directory: menu.vue_directory,+ redirect: '',+ component: null+ })+ }+ return result+}++// Convert the menu permission returned from the back end to the sidebar+export function menusToSideBar(): SideBarMenu[] {+ const result: SideBarMenu[] = [+ { icon: GetModuleAndIcon('homepage'), lable: i18n.global.t('router.sideBar.homepage'), routerPath: 'homepage', showDetail: false }+ ]+ const menuList: MenuItem[] = store.getters['user/menulist']++ for (const menu of menuList) {+ // Get the module index and check whether this group exists+ const moduleIndex = result.findIndex((item) => item.lable === i18n.global.t(`router.sideBar.${ menu.module }`))+ const lable = GetMenuNameAndModule(menu.vue_path)+ if (lable) {+ // Primary menu+ if (!menu.module) {+ result.push({+ lable,+ icon: GetModuleAndIcon(menu.vue_path),+ routerPath: menu.vue_path+ })+ continue+ }+ // Secondary menu+ if (moduleIndex > -1) {+ result[moduleIndex].children?.push({+ lable,+ icon: GetModuleAndIcon(menu.vue_path),+ routerPath: menu.vue_path+ })+ } else {+ result.push({+ lable: i18n.global.t(`router.sideBar.${ menu.module }`),+ icon: GetModuleAndIcon(menu.module),+ showDetail: false,+ children: [+ {+ lable,+ icon: GetModuleAndIcon(menu.vue_path),+ routerPath: menu.vue_path+ }+ ]+ })+ }+ }+ }+ result.push({ icon: GetModuleAndIcon('homepage'), lable: i18n.global.t('router.sideBar.vwms'), routerPath: 'vwms', showDetail: false })+ return result+}++// Get the menu name, module and icon+function GetMenuNameAndModule(path: string): string {+ switch (path) {+ case 'homepage':+ return i18n.global.t('router.sideBar.homepage')+ case 'ownerOfCargo':+ return i18n.global.t('router.sideBar.ownerOfCargo')+ case 'menuBasicSettings':+ return i18n.global.t('router.sideBar.menuBasicSettings')+ case 'userManagement':+ return i18n.global.t('router.sideBar.userManagement')+ case 'commodityCategorySetting':+ return i18n.global.t('router.sideBar.commodityCategorySetting')+ case 'commodityManagement':+ return i18n.global.t('router.sideBar.commodityManagement')+ case 'userRoleSetting':+ return i18n.global.t('router.sideBar.userRoleSetting')+ case 'companySetting':+ return i18n.global.t('router.sideBar.companySetting')+ case 'freightSetting':+ return i18n.global.t('router.sideBar.freightSetting')+ case 'warehouseSetting':+ return i18n.global.t('router.sideBar.warehouseSetting')+ case 'customer':+ return i18n.global.t('router.sideBar.customer')+ case 'print':+ return i18n.global.t('router.sideBar.print')+ case 'supplier':+ return i18n.global.t('router.sideBar.supplier')+ case 'roleMenu':+ return i18n.global.t('router.sideBar.roleMenu')+ case 'stockManagement':+ return i18n.global.t('router.sideBar.stockManagement')+ case 'warehouseProcessing':+ return i18n.global.t('router.sideBar.warehouseProcessing')+ case 'warehouseMove':+ return i18n.global.t('router.sideBar.warehouseMove')+ case 'warehouseFreeze':+ return i18n.global.t('router.sideBar.warehouseFreeze')+ case 'warehouseAdjust':+ return i18n.global.t('router.sideBar.warehouseAdjust')+ case 'warehouseTaking':+ return i18n.global.t('router.sideBar.warehouseTaking')+ case 'deliveryManagement':+ return i18n.global.t('router.sideBar.deliveryManagement')+ case 'stockAsn':+ return i18n.global.t('router.sideBar.stockAsn')+ case 'saftyStock':+ return i18n.global.t('router.sideBar.saftyStock')+ case 'deliveryStatistic':+ return i18n.global.t('router.sideBar.deliveryStatistic')+ case 'asnStatistic':+ return i18n.global.t('router.sideBar.asnStatistic')+ default:+ return ''+ }+}+function GetModuleAndIcon(name: string) {+ switch (name) {+ case 'baseModule':+ return 'cog'+ case 'homepage':+ return 'home'+ case 'stockManagement':+ return 'warehouse'+ case 'stockAsn':+ case 'asnStatistic':+ return 'home-silo'+ case 'warehouseWorkingModule':+ return 'account-hard-hat-outline '+ case 'deliveryManagement':+ case 'deliveryStatistic':+ return 'cube-send'+ case 'companySetting':+ return 'office-building'+ case 'roleMenu':+ return 'menu'+ case 'userRoleSetting':+ return 'account-box'+ case 'userManagement':+ return 'account'+ case 'commodityCategorySetting':+ return 'format-list-bulleted-type'+ case 'commodityManagement':+ return 'cart-minus'+ case 'ownerOfCargo':+ return 'account-credit-card'+ case 'freightSetting':+ return 'cash-multiple'+ case 'warehouseSetting':+ return 'warehouse'+ case 'warehouseProcessing':+ return 'vector-combine'+ case 'warehouseMove':+ return 'file-document-arrow-right-outline'+ case 'warehouseFreeze':+ return 'lock-outline'+ case 'warehouseAdjust':+ return 'image-auto-adjust'+ case 'warehouseTaking':+ return 'ballot-recount-outline'+ case 'customer':+ return 'account-box-outline'+ case 'print':+ return 'printer-outline'+ case 'supplier':+ return 'account-badge'+ case 'statisticAnalysis':+ return 'chart-pie'+ case 'saftyStock':+ return 'alarm-light'+ default:+ return ''+ }+}diff --git a/frontend/src/view/base/commodityCategorySetting/add-or-update-category.vue b/frontend/src/view/base/commodityCategorySetting/add-or-update-category.vuenew file mode 100644index 0000000..254f0f1--- /dev/null+++ b/frontend/src/view/base/commodityCategorySetting/add-or-update-category.vue@@ -0,0 +1,143 @@+<template>+ <v-dialog v-model="isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('router.sideBar.commodityCategorySetting')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-text-field+ v-model="data.form.category_name"+ :label="$t('base.commodityCategorySetting.category_name')"+ :rules="data.rules.category_name"+ variant="outlined"+ ></v-text-field>+ <v-select+ v-model="data.form.parent_id"+ :items="data.combobox.parent"+ item-title="label"+ item-value="value"+ :rules="data.rules.parent_id"+ :label="$t('base.commodityCategorySetting.parent_name')"+ variant="outlined"+ clearable+ ></v-select>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { CategoryVO } from '@/types/Base/CommodityCategorySetting'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { addCategory, updateCategory, getCategoryAll } from '@/api/base/commodityCategorySetting'+import { StringLength } from '@/utils/dataVerification/formRule'++const formRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])++const props = defineProps<{+ showDialog: boolean+ form: CategoryVO+}>()++const isShow = computed(() => props.showDialog)++const dialogTitle = computed(() => {+ if (props.form.id && props.form.id > 0) {+ return 'update'+ }+ return 'add'+})++const data = reactive({+ form: ref<CategoryVO>({+ id: 0,+ category_name: ''+ }),+ rules: {+ category_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityCategorySetting.category_name') }!`,+ (val: string) => StringLength(val, 0, 32) === '' || StringLength(val, 0, 32)+ ],+ parent_id: [],+ is_valid: []+ },+ combobox: ref<{+ parent: {+ label: string+ value: number+ }[]+ }>({+ parent: []+ })+})++const method = reactive({+ // Get the options required by the drop-down box+ getCombobox: async () => {+ data.combobox.parent = []+ const { data: res } = await getCategoryAll()+ if (!res.isSuccess) {+ return+ }+ for (const item of res.data) {+ data.combobox.parent.push({+ label: item.category_name,+ value: item.id+ })+ }+ },+ closeDialog: () => {+ emit('close')+ },+ submit: async () => {+ const { valid } = await formRef.value.validate()+ if (valid) {+ const { data: res } = dialogTitle.value === 'add' ? await addCategory(data.form) : await updateCategory(data.form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.getCombobox()+ data.form = props.form+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/base/commodityCategorySetting/commodityCategorySetting.vue b/frontend/src/view/base/commodityCategorySetting/commodityCategorySetting.vuenew file mode 100644index 0000000..5a278bc--- /dev/null+++ b/frontend/src/view/base/commodityCategorySetting/commodityCategorySetting.vue@@ -0,0 +1,277 @@+<template>+ <div class="container">+ <div>+ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="12" sm="4" class="col">+ <!-- <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.add')" @click="method.add()"></tooltip-btn>+ <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh()"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"></tooltip-btn> -->++ <!-- new version -->+ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="12" sm="8">+ <!-- <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="12" sm="4">+ <v-text-field+ v-model="data.searchForm.userName"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('login.userName')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="12" sm="4">+ <v-text-field+ v-model="data.searchForm.userName1"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('login.userName')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="12" sm="4">+ <v-text-field+ v-model="data.searchForm.userName2"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('login.userName')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row> -->+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :data="data.tableData" :height="tableHeight" :tree-config="data.tableTreeConfig" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="80"></vxe-column>+ <vxe-column field="category_name" align="left" :title="$t('base.commodityCategorySetting.category_name')" tree-node></vxe-column>+ <vxe-column field="creator" :title="$t('base.commodityCategorySetting.creator')"></vxe-column>+ <vxe-column+ field="create_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('base.commodityCategorySetting.create_time')"+ ></vxe-column>+ <vxe-column :title="$t('system.page.operate')" width="160" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-pencil-outline"+ :tooltip-text="$t('system.page.edit')"+ :disabled="!data.authorityList.includes('save')"+ @click="method.editRow(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="!data.authorityList.includes('delete')?'':errorColor"+ :disabled="!data.authorityList.includes('delete')"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ </vxe-table>+ </div>+ </v-card-text>+ </v-card>+ </div>+ <!-- Add or modify data mode window -->+ <addOrUpdateDialog :show-dialog="data.showDialog" :form="data.dialogForm" @close="method.closeDialog" @saveSuccess="method.saveSuccess" />+ </div>+</template>++<script lang="ts" setup>+import { computed, reactive, onMounted, ref } from 'vue'+import { computedCardHeight, computedTableHeight, errorColor } from '@/constant/style'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { DataProps, CategoryVO } from '@/types/Base/CommodityCategorySetting'+import { getCategoryAll, deleteCategory } from '@/api/base/commodityCategorySetting'+import { hookComponent } from '@/components/system'+import addOrUpdateDialog from './add-or-update-category.vue'+import i18n from '@/languages/i18n'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'+import { getMenuAuthorityList } from '@/utils/common'++const xTable = ref()++const data: DataProps = reactive({+ // searchForm: {+ // userName: '',+ // userName1: '',+ // userName2: ''+ // },+ tableData: [],+ tableTreeConfig: {+ transform: true,+ rowField: 'id',+ parentField: 'parent_id'+ },+ // Dialog info+ showDialog: false,+ dialogForm: {+ id: 0,+ category_name: ''+ },+ btnList: [],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ sureSearch: () => {+ // console.log(data.searchForm)+ },+ // Find Data by Pagination+ getCommodityCategorySetting: async () => {+ const { data: res } = await getCategoryAll()+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data+ // nextTick(() => {+ // xTable.value.setAllTreeExpand(true)+ // })+ },+ // Add user+ add: () => {+ data.dialogForm = {+ id: 0,+ category_name: ''+ }+ data.showDialog = true+ },+ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },+ // after Add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },+ // Refresh data+ refresh: () => {+ method.getCommodityCategorySetting()+ },+ editRow(row: CategoryVO) {+ data.dialogForm = JSON.parse(JSON.stringify(row))+ // If there is no parent, the parent will not be brought in_ id+ if (data.dialogForm.parent_id === 0) {+ delete data.dialogForm.parent_id+ }+ data.showDialog = true+ },+ deleteRow(row: CategoryVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await deleteCategory(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ // Export table+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.commodityCategorySetting'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ }+})++onMounted(async () => {+ await method.getCommodityCategorySetting()++ data.btnList = [+ {+ name: i18n.global.t('system.page.add'),+ icon: 'mdi-plus',+ code: 'save',+ click: method.add+ },+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'export',+ click: method.exportTable+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({ hasTab: false }))++const tableHeight = computed(() => computedTableHeight({ hasTab: false, hasPager: false }))+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/base/commodityManagement/add-or-update-commodity.vue b/frontend/src/view/base/commodityManagement/add-or-update-commodity.vuenew file mode 100644index 0000000..86bc0e6--- /dev/null+++ b/frontend/src/view/base/commodityManagement/add-or-update-commodity.vue@@ -0,0 +1,645 @@+<template>+ <v-dialog v-model="isShow" width="70%" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('router.sideBar.commodityManagement')}`"></v-toolbar>+ <v-card-text>+ <v-row>+ <v-col cols="3">+ <div class="mainForm" :style="{ height: mainFormHeight }">+ <v-form ref="formRef">+ <v-text-field+ v-model="data.form.spu_code"+ :rules="data.rules.spu_code"+ :label="$t('base.commodityManagement.spu_code')"+ variant="outlined"+ density="compact"+ clearable+ class="mb-4"+ ></v-text-field>+ <v-text-field+ v-model="data.form.spu_name"+ :rules="data.rules.spu_name"+ :label="$t('base.commodityManagement.spu_name')"+ variant="outlined"+ density="compact"+ clearable+ class="mb-4"+ ></v-text-field>+ <v-select+ v-model="data.form.category_name"+ :items="data.combobox.category_name"+ item-title="label"+ item-value="label"+ :rules="data.rules.category_name"+ :label="$t('base.commodityManagement.category_name')"+ variant="outlined"+ density="compact"+ class="mb-4"+ clearable+ @update:model-value="method.categoryNameChange"+ ></v-select>+ <v-text-field+ v-model="data.form.spu_description"+ :rules="data.rules.spu_description"+ :label="$t('base.commodityManagement.spu_description')"+ variant="outlined"+ density="compact"+ clearable+ class="mb-4"+ ></v-text-field>+ <!-- <v-text-field+ v-model="data.form.bar_code"+ :rules="data.rules.bar_code"+ :label="$t('base.commodityManagement.bar_code')"+ variant="outlined"+ density="compact"+ clearable+ class="mb-4"+ ></v-text-field> -->+ <v-select+ v-model="data.form.supplier_name"+ :items="data.combobox.supplier_name"+ :rules="data.rules.supplier_name"+ item-title="label"+ item-value="label"+ :label="$t('base.commodityManagement.supplier_name')"+ variant="outlined"+ density="compact"+ class="mb-4"+ clearable+ @update:model-value="method.supplierNameChange"+ ></v-select>+ <v-text-field+ v-model="data.form.brand"+ :rules="data.rules.brand"+ :label="$t('base.commodityManagement.brand')"+ variant="outlined"+ density="compact"+ clearable+ class="mb-4"+ ></v-text-field>+ <v-select+ v-model="data.form.length_unit"+ :items="data.combobox.length_unit"+ item-title="label"+ item-value="value"+ :rules="data.rules.length_unit"+ :label="$t('base.commodityManagement.length_unit')"+ variant="outlined"+ density="compact"+ class="mb-4"+ clearable+ ></v-select>+ <v-select+ v-model="data.form.volume_unit"+ :items="data.combobox.volume_unit"+ item-title="label"+ item-value="value"+ :rules="data.rules.volume_unit"+ :label="$t('base.commodityManagement.volume_unit')"+ variant="outlined"+ density="compact"+ class="mb-4"+ clearable+ ></v-select>+ <v-select+ v-model="data.form.weight_unit"+ :items="data.combobox.weight_unit"+ item-title="label"+ item-value="value"+ :rules="data.rules.weight_unit"+ :label="$t('base.commodityManagement.weight_unit')"+ variant="outlined"+ density="compact"+ class="mb-4"+ clearable+ ></v-select>+ </v-form>+ </div>+ </v-col>+ <v-col cols="9">+ <div class="dataTable">+ <div class="toolbar">+ <tooltip-btn+ icon="mdi-plus"+ :tooltip-text="$t('system.page.insertOneRow')"+ size="x-small"+ @click="method.insertOneRow"+ ></tooltip-btn>+ <tooltip-btn+ icon="mdi-export-variant"+ :tooltip-text="$t('system.page.export')"+ size="x-small"+ @click="method.exportTable"+ ></tooltip-btn>+ </div>+ <vxe-table+ ref="xTable"+ keep-source+ :column-config="{ minWidth: '100px' }"+ :data="data.form.detailList"+ :height="SYSTEM_HEIGHT.SELECT_TABLE"+ align="center"+ :edit-rules="data.validRules"+ :edit-config="{ trigger: 'click', mode: 'cell' }"+ :mouse-config="{ selected: true }"+ :keyboard-config="{ isArrow: true, isDel: true, isEnter: true, isTab: true, isEdit: true, isChecked: true }"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="sku_code" :title="$t('base.commodityManagement.sku_code')" :edit-render="{ autofocus: '.vxe-input--inner' }">+ <template #edit="{ row }">+ <vxe-input v-model="row.sku_code" type="text"></vxe-input>+ </template>+ </vxe-column>+ <vxe-column field="sku_name" :title="$t('base.commodityManagement.sku_name')" :edit-render="{ autofocus: '.vxe-input--inner' }">+ <template #edit="{ row }">+ <vxe-input v-model="row.sku_name" type="text"></vxe-input>+ </template>+ </vxe-column>+ <!-- <vxe-column field="supplier_name" :title="$t('base.commodityManagement.supplier_name')"></vxe-column> -->+ <!-- <vxe-column field="brand" :title="$t('base.commodityManagement.brand')"></vxe-column> -->+ <vxe-column field="unit" :title="$t('base.commodityManagement.unit')" :edit-render="{ autofocus: '.vxe-input--inner' }">+ <template #edit="{ row }">+ <vxe-input v-model="row.unit" type="text"></vxe-input>+ </template>+ </vxe-column>+ <vxe-column field="bar_code" :title="$t('base.commodityManagement.bar_code')" :edit-render="{ autofocus: '.vxe-input--inner' }">+ <template #edit="{ row }">+ <vxe-input v-model="row.bar_code" type="text"></vxe-input>+ </template>+ </vxe-column>+ <vxe-column field="weight" :title="$t('base.commodityManagement.weight')" :edit-render="{ autofocus: '.vxe-input--inner' }">+ <template #edit="{ row }">+ <vxe-input v-model="row.weight" type="text"></vxe-input>+ </template>+ </vxe-column>+ <vxe-column field="lenght" :title="$t('base.commodityManagement.lenght')" :edit-render="{ autofocus: '.vxe-input--inner' }">+ <template #edit="{ row }">+ <vxe-input v-model="row.lenght" type="text"></vxe-input>+ </template>+ </vxe-column>+ <vxe-column field="width" :title="$t('base.commodityManagement.width')" :edit-render="{ autofocus: '.vxe-input--inner' }">+ <template #edit="{ row }">+ <vxe-input v-model="row.width" type="text"></vxe-input>+ </template>+ </vxe-column>+ <vxe-column field="height" :title="$t('base.commodityManagement.height')" :edit-render="{ autofocus: '.vxe-input--inner' }">+ <template #edit="{ row }">+ <vxe-input v-model="row.height" type="text"></vxe-input>+ </template>+ </vxe-column>+ <vxe-column field="volume" :title="$t('base.commodityManagement.volume')"> </vxe-column>+ <vxe-column field="cost" :title="$t('base.commodityManagement.cost')" :edit-render="{ autofocus: '.vxe-input--inner' }">+ <template #edit="{ row }">+ <vxe-input v-model="row.cost" type="text"></vxe-input>+ </template>+ </vxe-column>+ <vxe-column field="price" :title="$t('base.commodityManagement.price')" :edit-render="{ autofocus: '.vxe-input--inner' }">+ <template #edit="{ row }">+ <vxe-input v-model="row.price" type="text"></vxe-input>+ </template>+ </vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="100" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="errorColor"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ </vxe-table>+ </div>+ </v-col>+ </v-row>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.print">{{ $t('system.page.print') }}</v-btn>+ </v-card-actions>+ </v-card>+ <hprintDialog ref="hprintDialogRef" :form="data.form" :tab-page="'print_page_detail'" />+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { CommodityVO, CommodityDetailVO } from '@/types/Base/CommodityManagement'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { addSpu, updateSpu } from '@/api/base/commodityManagementSetting'+import { getCategoryAll } from '@/api/base/commodityCategorySetting'+import { getSupplierAll } from '@/api/base/supplier'+import { CategoryVO } from '@/types/Base/CommodityCategorySetting'+import { SupplierVO } from '@/types/Base/Supplier'+import { computedSelectTableSearchHeight, SYSTEM_HEIGHT, errorColor } from '@/constant/style'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { removeArrayNull } from '@/utils/common'+import { StringLength } from '@/utils/dataVerification/formRule'+import { isDecimal } from '@/utils/dataVerification/tableRule'+import { exportData } from '@/utils/exportTable'+import hprintDialog from '@/components/hiprint/hiprintFast.vue'++const formRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])+const xTable = ref()+const hprintDialogRef = ref()+const props = defineProps<{+ showDialog: boolean+ form: CommodityVO+}>()++const isShow = computed(() => props.showDialog)++const dialogTitle = computed(() => {+ if (props.form.id && props.form.id > 0) {+ return 'update'+ }+ return 'add'+})++const data = reactive({+ form: ref<CommodityVO>({+ id: 0,+ spu_code: '',+ spu_name: '',+ category_id: 0,+ category_name: '',+ spu_description: '',+ supplier_id: 0,+ supplier_name: '',+ brand: '',+ origin: '',+ length_unit: 1,+ volume_unit: 0,+ weight_unit: 1,+ detailList: []+ }),+ tableData: [],+ rules: {+ spu_code: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.spu_code') }!`,+ (val: string) => StringLength(val, 0, 32) === '' || StringLength(val, 0, 32)+ ],+ spu_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.spu_name') }!`,+ (val: string) => StringLength(val, 0, 200) === '' || StringLength(val, 0, 200)+ ],+ spu_description: [(val: string) => StringLength(val, 0, 1000) === '' || StringLength(val, 0, 1000)],+ // bar_code: [(val: string) => StringLength(val, 0, 64) === '' || StringLength(val, 0, 64)],+ brand: [(val: string) => StringLength(val, 0, 128) === '' || StringLength(val, 0, 128)],+ category_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.category_name') }!`+ ],+ length_unit: [+ (val: number) => [0, 1, 2, 3].includes(val) || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.length_unit') }!`+ ],+ volume_unit: [+ (val: number) => [0, 1, 2].includes(val) || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.volume_unit') }!`+ ],+ weight_unit: [+ (val: number) => [0, 1, 2].includes(val) || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.weight_unit') }!`+ ],+ supplier_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.supplier_name') }!`+ ]+ },+ validRules: ref<any>({+ bar_code: [+ {+ type: 'string',+ min: 0,+ max: 64,+ message: `${ i18n.global.t('system.checkText.lengthValid') }${ 0 }-${ 64 }`,+ trigger: 'change'+ }+ ],+ sku_code: [+ { required: true, message: `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.sku_code') }` },+ {+ type: 'string',+ min: 0,+ max: 32,+ message: `${ i18n.global.t('system.checkText.lengthValid') }${ 0 }-${ 32 }`,+ trigger: 'change'+ }+ ],+ sku_name: [+ { required: true, message: `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.sku_name') }` },+ {+ type: 'string',+ min: 0,+ max: 200,+ message: `${ i18n.global.t('system.checkText.lengthValid') }${ 0 }-${ 200 }`,+ trigger: 'change'+ }+ ],+ unit: [+ { required: true, message: `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.unit') }` },+ {+ type: 'string',+ min: 0,+ max: 5,+ message: `${ i18n.global.t('system.checkText.lengthValid') }${ 0 }-${ 5 }`,+ trigger: 'change'+ }+ ],+ weight: [+ {+ validator: isDecimal,+ validNumerical: 'nonNegative',+ length: 8,+ decimalLength: 3,+ trigger: 'change'+ }+ ],+ lenght: [+ {+ validator: isDecimal,+ validNumerical: 'nonNegative',+ length: 8,+ decimalLength: 3,+ trigger: 'change'+ }+ ],+ width: [+ {+ validator: isDecimal,+ validNumerical: 'nonNegative',+ length: 8,+ decimalLength: 3,+ trigger: 'change'+ }+ ],+ height: [+ {+ validator: isDecimal,+ validNumerical: 'nonNegative',+ length: 8,+ decimalLength: 3,+ trigger: 'change'+ }+ ],+ volume: [+ // {+ // validator: isDecimal,+ // validNumerical: 'nonNegative',+ // length: 8,+ // decimalLength: 3,+ // trigger: 'change'+ // }+ ],+ cost: [+ {+ validator: isDecimal,+ validNumerical: 'nonNegative',+ length: 10,+ decimalLength: 2,+ trigger: 'change'+ }+ ],+ price: [+ {+ validator: isDecimal,+ validNumerical: 'nonNegative',+ length: 10,+ decimalLength: 2,+ trigger: 'change'+ }+ ]+ }),+ combobox: ref<{+ length_unit: {+ label: string+ value: number+ }[]+ volume_unit: {+ label: string+ value: number+ }[]+ weight_unit: {+ label: string+ value: number+ }[]+ category_name: {+ label: string+ value: number+ }[]+ supplier_name: {+ label: string+ value: number+ }[]+ }>({+ length_unit: [+ {+ label: 'mm',+ value: 0+ },+ {+ label: 'cm',+ value: 1+ },+ {+ label: 'dm',+ value: 2+ },+ {+ label: 'm',+ value: 3+ }+ ],+ volume_unit: [+ {+ label: 'cm³',+ value: 0+ },+ {+ label: 'dm³',+ value: 1+ },+ {+ label: 'm³',+ value: 2+ }+ ],+ weight_unit: [+ {+ label: 'mg',+ value: 0+ },+ {+ label: 'g',+ value: 1+ },+ {+ label: 'kg',+ value: 2+ }+ ],+ category_name: [],+ supplier_name: []+ })+})++const method = reactive({+ // When the commodity type changes, it is mainly used to assign the ID+ categoryNameChange: (val: string) => {+ if (!val) {+ data.form.category_id = 0+ } else {+ data.form.category_id = data.combobox.category_name.filter((item) => item.label === val)[0].value+ }+ },+ supplierNameChange: (val: string) => {+ if (!val) {+ data.form.supplier_id = 0+ } else {+ data.form.supplier_id = data.combobox.supplier_name.filter((item) => item.label === val)[0].value+ }+ },+ // Get the options required by the drop-down box+ getCombobox: async () => {+ data.combobox.category_name = []+ data.combobox.supplier_name = []+ const { data: res } = await getCategoryAll()+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.combobox.category_name = res.data+ .filter((item: CategoryVO) => item.is_valid)+ .map((item: CategoryVO) => ({ value: item.id, label: item.category_name }))+ // Get supplier information+ const { data: supplierRes } = await getSupplierAll()+ if (!supplierRes.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: supplierRes.errorMessage+ })+ return+ }+ data.combobox.supplier_name = supplierRes.data+ .filter((item: SupplierVO) => item.is_valid)+ .map((item: SupplierVO) => ({ value: item.id, label: item.supplier_name }))+ },+ closeDialog: () => {+ emit('close')+ },+ insertOneRow: () => {+ xTable.value.insertAt(-1)+ },+ // Export table+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.commodityManagement'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ submit: async () => {+ const $table = xTable.value+ const errMap = await $table.validate(true)+ const { valid } = await formRef.value.validate()+ if (valid && !errMap) {+ if ($table.getTableData().fullData.length === 0) {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.tips.detailLengthIsZero')+ })+ return+ }+ const form = { ...data.form }+ const insertRecords = $table.getInsertRecords()+ form.detailList = []+ // Processing detailed data+ if (dialogTitle.value === 'add') {+ form.detailList = [...insertRecords]+ } else {+ const updateRecords = $table.getUpdateRecords()+ const removeRecords = $table.getRemoveRecords()+ form.detailList = [...insertRecords, ...updateRecords]+ for (const item of removeRecords) {+ item.id = item.id > 0 ? 0 - item.id : item.id+ form.detailList.push(item)+ }+ }+ form.detailList = removeArrayNull(form.detailList)+ const { data: res } = dialogTitle.value === 'add' ? await addSpu(form) : await updateSpu(form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ },+ print() {+ const ref = hprintDialogRef.value+ ref.method.handleOpen()+ },+ editRow: (row: CommodityDetailVO) => {+ const $table = xTable.value+ $table.setEditRow(row)+ },+ deleteRow: (row: CommodityDetailVO) => {+ const $table = xTable.value+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteDetailMessage'),+ handleConfirm: async () => {+ $table.remove(row)+ }+ })+ }+})++const mainFormHeight = computed(() => computedSelectTableSearchHeight({ hasPager: false, hasToolBar: true }))++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.getCombobox()+ data.form = props.form+ }+ }+)+</script>++<style scoped lang="less">+.mainForm {+ background-color: #f9f9f9;+ border-radius: 5px;+ padding: 20px;+ box-sizing: border-box;+ overflow: auto;+}++.toolbar {+ height: 40px;+}+</style>diff --git a/frontend/src/view/base/commodityManagement/barCodeDialog.vue b/frontend/src/view/base/commodityManagement/barCodeDialog.vuenew file mode 100644index 0000000..3fa3497--- /dev/null+++ b/frontend/src/view/base/commodityManagement/barCodeDialog.vue@@ -0,0 +1,110 @@+<template>+ <v-dialog v-model="data.showDialog" :persistent="true" transition="dialog-top-transition" width="348px">+ <template #default>+ <v-card>+ <v-card-text>+ <div id="printArea" class="printArea">+ <div>+ <div+ style="width: 100%; height: 100%; display: flex; flex: none; justify-content: center; align-items: center"+ >+ <svg id="printBarCode"></svg>+ </div>+ </div>+ <!-- </div> -->+ </div>++ </v-card-text>++ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn v-print="'#printArea'" :disabled="isDisabled" color="primary" variant="text">+ {{ $t('system.page.print') }}+ </v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="tsx" setup>+import { computed, nextTick, reactive } from 'vue'+import JsBarcode from 'jsbarcode'+import { CommodityVO } from '@/types/Base/CommodityManagement'++const data = reactive({+ showDialog: false,+ printData: {+ sku_id: 0,+ spu_name: '',+ spu_code: '',+ sku_name: '',+ sku_code: '',+ barcode: ''+ } as any+})+const isDisabled = computed(() => data.printData.barcode === '')+const method = reactive({+ openDialog: (row: CommodityVO) => {+ data.printData = row++ data.showDialog = true++ nextTick(() => {+ JsBarcode('#printBarCode', data.printData.barcode, {+ fontSize: 12,+ width: 2,+ height: 40,+ displayValue: true+ })+ })+ },+ closeDialog: () => {+ data.showDialog = false+ }+})++defineExpose({+ openDialog: method.openDialog,+ closeDialog: method.closeDialog+})+</script>++<style lang="less" scoped>+.printArea {+ width: 300px;+ // display: flex;+ // flex-wrap: wrap;+ // align-items: center;+ // justify-content: center;+ text-align: center;++ box-sizing: border-box;+ padding: 10px;+ .printTopContainer {+ display: flex;+ justify-content: space-between;+ }+}++.printLabel {+ font-size: 14px;+ font-weight: bold;++ display: flex;+ flex-wrap: wrap;+ align-items: center;++ box-sizing: border-box;+ padding-left: 20px;++ .labelTitle {+ opacity: 0.7;+ font-weight: 600;+ }++ div {+ width: 100%;+ }+}+</style>diff --git a/frontend/src/view/base/commodityManagement/commodityManagement.vue b/frontend/src/view/base/commodityManagement/commodityManagement.vuenew file mode 100644index 0000000..0652e1e--- /dev/null+++ b/frontend/src/view/base/commodityManagement/commodityManagement.vue@@ -0,0 +1,617 @@+<template>+ <div class="container">+ <div>+ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="12" sm="4" class="col">+ <!-- <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.add')" @click="method.add()"></tooltip-btn>+ <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh()"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"></tooltip-btn> -->++ <!-- new version -->+ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="12" sm="8">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.spu_code"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('base.commodityManagement.spu_code')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.spu_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('base.commodityManagement.spu_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.category_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('base.commodityManagement.category_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table+ ref="xTable"+ :data="data.tableData"+ :column-config="{+ minWidth: '100px'+ }"+ :height="tableHeight"+ align="center"+ :tree-config="data.tableTreeConfig"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="checkbox" width="50" fixed="left"></vxe-column>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column tree-node width="60">+ <template #header>+ <div+ style="height: 100%; display: flex; align-items: center; justify-content: flex-start; cursor: pointer"+ @click="method.expandAllRows()"+ >+ <v-tooltip location="bottom">+ <template #activator="{ props }">+ <div v-bind="props">+ <v-icon v-if="!isExpandAll" size="large">mdi-menu-right</v-icon>+ <v-icon v-else size="large">mdi-menu-down</v-icon>+ </div>+ </template>+ <span>{{ $t('base.roleMenu.expandRow') }}</span>+ </v-tooltip>+ </div>+ </template>+ </vxe-column>+ <vxe-column field="spu_code" width="150px" :title="$t('base.commodityManagement.spu_code')">+ <template #default="{ row }">+ <span v-if="row.parent_id > 0">{{ row.sku_code }}</span>+ <span v-else>{{ row.spu_code }}</span>+ </template>+ </vxe-column>+ <vxe-column field="spu_name" :title="$t('base.commodityManagement.spu_name')">+ <template #default="{ row }">+ <span v-if="row.parent_id > 0">{{ row.sku_name }}</span>+ <span v-else>{{ row.spu_name }}</span>+ </template>+ </vxe-column>+ <vxe-column field="category_name" :title="$t('base.commodityManagement.category_name')">+ <template #default="{ row }">+ <span v-if="row.parent_id > 0">{{ row.unit }}</span>+ <span v-else>{{ row.category_name }}</span>+ </template>+ </vxe-column>+ <vxe-column field="spu_description" width="200" :title="$t('base.commodityManagement.spu_description')"> </vxe-column>+ <vxe-column field="supplier_name" :title="$t('base.commodityManagement.supplier_name')"> </vxe-column>+ <vxe-column field="brand" :title="$t('base.commodityManagement.brand')"> </vxe-column>++ <vxe-column field="bar_code" :title="$t('base.commodityManagement.bar_code')"> </vxe-column>+ <vxe-column field="weight" :title="$t('base.commodityManagement.weight')">+ <template #default="{ row }">+ <span v-if="row.parent_id > 0">{{ `${row.weight} ${GetUnit('weight', row.weight_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="lenght" :title="$t('base.commodityManagement.lenght')">+ <template #default="{ row }">+ <span v-if="row.parent_id > 0">{{ `${row.lenght} ${GetUnit('length', row.length_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="width" :title="$t('base.commodityManagement.width')">+ <template #default="{ row }">+ <span v-if="row.parent_id > 0">{{ `${row.width} ${GetUnit('length', row.length_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="height" :title="$t('base.commodityManagement.height')">+ <template #default="{ row }">+ <span v-if="row.parent_id > 0">{{ `${row.height} ${GetUnit('length', row.length_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="volume" :title="$t('base.commodityManagement.volume')">+ <template #default="{ row }">+ <span v-if="row.parent_id > 0">{{ `${row.volume} ${GetUnit('volume', row.volume_unit)}` }}</span>+ </template>+ </vxe-column>++ <vxe-column field="cost" :title="$t('base.commodityManagement.cost')">+ <template #default="{ row }">+ <span v-if="row.parent_id > 0">{{ row.cost }}</span>+ </template>+ </vxe-column>+ <vxe-column field="price" :title="$t('base.commodityManagement.price')">+ <template #default="{ row }">+ <span v-if="row.parent_id > 0">{{ row.price }}</span>+ </template>+ </vxe-column>+ <!-- <vxe-column field="sku_name" :title="$t('base.commodityManagement.sku_name')"></vxe-column> -->+ <!-- <vxe-column field="supplier_name" :title="$t('base.commodityManagement.supplier_name')"></vxe-column>+ <vxe-column field="brand" :title="$t('base.commodityManagement.brand')"></vxe-column>+ <vxe-column field="unit" :title="$t('base.commodityManagement.unit')"></vxe-column>+ <vxe-column field="cost" :title="$t('base.commodityManagement.cost')"></vxe-column> -->+ <vxe-column field="operate" :title="$t('system.page.operate')" width="160px" :resizable="false" show-overflow>+ <template #default="{ row }">+ <div v-if="!row.parent_id || row.parent_id <= 0">+ <tooltip-btn+ :flat="true"+ icon="mdi-pencil-outline"+ :tooltip-text="$t('system.page.edit')"+ :disabled="!data.authorityList.includes('save')"+ @click="method.editRow(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="!data.authorityList.includes('delete') ? '' : errorColor"+ :disabled="!data.authorityList.includes('delete')"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </div>+ <div v-else>+ <!-- <tooltip-btn+ :flat="true"+ icon="mdi-qrcode"+ :tooltip-text="$t('base.commodityManagement.printQrCode')"+ :disabled="!data.authorityList.includes('printQrCode')"+ @click="method.printQrCode(row)"+ ></tooltip-btn> -->+ <!-- <tooltip-btn+ :flat="true"+ icon="mdi-barcode"+ :tooltip-text="$t('base.commodityManagement.printBarCode')"+ :disabled="!data.authorityList.includes('printBarCode')"+ @click="method.printBarCode(row)"+ ></tooltip-btn> -->+ <tooltip-btn+ :flat="true"+ icon="mdi-alarm-light"+ :tooltip-text="$t('base.commodityManagement.saftyStock')"+ :disabled="!data.authorityList.includes('saftyStock')"+ @click="method.openUpdateSaftyStockDialog(row)"+ ></tooltip-btn>+ </div>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ </v-card-text>+ </v-card>+ </div>+ <!-- Add or modify data mode window -->+ <addOrUpdateDialog :show-dialog="data.showDialog" :form="data.dialogForm" @close="method.closeDialog" @saveSuccess="method.saveSuccess" />++ <update-sku-safety-stock ref="updateSkuSaftyStockRef" @sure="method.updateSkuSaftyStockByRow" />++ <!-- Print QR code -->+ <qr-code-dialog ref="qrCodeDialogRef" :menu="'commodityManagement'">+ <template #left="{ slotData }">+ <p>{{ $t('base.commodityManagement.spu_code') }}:{{ slotData.spu_code }}</p>+ <p>{{ $t('base.commodityManagement.spu_name') }}:{{ slotData.spu_name }}</p>+ <p>{{ $t('base.commodityManagement.sku_code') }}:{{ slotData.sku_code }}</p>+ <p>{{ $t('base.commodityManagement.sku_name') }}:{{ slotData.sku_name }}</p>+ </template>+ </qr-code-dialog>++ <!-- Print barcode -->+ <bar-code-dialog ref="barCodeDialogRef" :menu="'commodityManagement'" />+ <hprintDialog ref="hprintDialogRef" :form="printDate.printForm" :tab-page="'print_page_main'" />+ </div>+</template>++<script lang="ts" setup>+import { computed, onMounted, reactive, ref, watch } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight, errorColor } from '@/constant/style'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { CommodityVO, DataProps, CommodityDetailVO, UpdateSaftyStockReqBodyVO } from '@/types/Base/CommodityManagement'+import { getSpuList, deleteSpu, updateSaftyStock } from '@/api/base/commodityManagementSetting'+import { hookComponent } from '@/components/system'+import addOrUpdateDialog from './add-or-update-commodity.vue'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import i18n from '@/languages/i18n'+import { GetUnit } from '@/constant/commodityManagement'+import customPager from '@/components/custom-pager.vue'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { exportData } from '@/utils/exportTable'+import { DEBOUNCE_TIME } from '@/constant/system'+import BtnGroup from '@/components/system/btnGroup.vue'+import updateSkuSafetyStock from './update-sku-safety-stock.vue'+// import qrCodeDialogDialog from './qrCodeDialog.vue'+import BarCodeDialog from '@/components/codeDialog/barCodeDialog.vue'+import QrCodeDialog from '@/components/codeDialog/qrCodeDialog.vue'+import hprintDialog from '@/components/hiprint/hiprintFast.vue'++const xTable = ref()+const updateSkuSaftyStockRef = ref()+const qrCodeDialogRef = ref()+const barCodeDialogRef = ref()+const hprintDialogRef = ref()++const data: DataProps = reactive({+ searchForm: {+ spu_code: '',+ spu_name: '',+ category_name: ''+ },+ timer: null,+ tableData: [],+ tablePage: {+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE+ },+ tableTreeConfig: {+ transform: true,+ rowField: 'tree_id',+ parentField: 'parent_id'+ },+ // Dialog info+ showDialog: false,+ dialogForm: {+ id: 0,+ spu_code: '',+ spu_name: '',+ category_id: 0,+ category_name: '',+ spu_description: '',+ bar_code: '',+ supplier_id: 0,+ supplier_name: '',+ brand: '',+ origin: '',+ length_unit: 1,+ volume_unit: 0,+ weight_unit: 1,+ detailList: []+ },+ btnList: [],+ authorityList: getMenuAuthorityList(),+ selectRowData: []+})+const printDate = reactive({+ printForm: {} as any+})+const method = reactive({+ // Check if the checkbox can be checked+ getCheckBoxDisableState: ({ row }: { row: any }): boolean => row.parent_id,+ // Print QR code+ printQrCode: () => {+ let records = xTable.value.getCheckboxRecords()+ const parentRecords = records.filter((item) => !item.parent_id)+ records = records.filter((item) => item.parent_id)++ // data.selectRowData.length === 0 ? (data.selectRowData = [row]) : ''+ // let records: any[] = data.selectRowData+ if (records.length > 0) {+ for (const parent of parentRecords) {+ for (const child of records) {+ if (parent.id === child.parent_id) {+ child.spu_code = parent.spu_code+ child.spu_name = parent.spu_name+ child.type = 'commodity'+ }+ }+ }+ qrCodeDialogRef.value.openDialog(records)+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('base.userManagement.checkboxIsNull')+ })+ }+ },+ printBarCode: () => {+ let records = xTable.value.getCheckboxRecords()+ records = records.filter((item: any) => item.parent_id)+ records = records.filter((item: any) => item.bar_code)++ // data.selectRowData.length === 0 ? (data.selectRowData = [row]) : ''+ // let records = data.selectRowData+ if (records.length > 0) {+ barCodeDialogRef.value.openDialog(records)+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('base.userManagement.checkboxIsNull')+ })+ }+ },+ print: () => {+ const records = xTable.value.getCheckboxRecords()+ if (records.length > 0) {+ printDate.printForm = { detailList: records }+ const ref = hprintDialogRef.value+ ref.method.handleOpen()+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('base.userManagement.checkboxIsNull')+ })+ }+ },+ selectAllEvent({ checked }) {+ const records = xTable.value.getCheckboxRecords()+ checked ? (data.selectRowData = records) : (data.selectRowData = [])+ },+ selectChangeEvent() {+ data.selectRowData = xTable.value.getCheckboxRecords()+ },+ expandAllRows: () => {+ const expandRows = xTable.value.getTreeExpandRecords()+ const parentData = data.tableData.filter((item: any) => !item.parent_id)++ if (expandRows.length === parentData.length) {+ xTable.value.setAllTreeExpand(false)+ } else {+ xTable.value.setAllTreeExpand(true)+ }+ },+ updateSkuSaftyStockByRow: async (body: { sku_id: number; detailList: UpdateSaftyStockReqBodyVO[] }) => {+ const { data: res } = await updateSaftyStock(body)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ updateSkuSaftyStockRef.value.closeDialog()+ method.refresh()+ },+ openUpdateSaftyStockDialog: (row: CommodityDetailVO) => {+ updateSkuSaftyStockRef.value.openDialog(row)+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getCompanyList()+ },+ // Find Data by Pagination+ getCompanyList: async () => {+ const { data: res } = await getSpuList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = []+ for (const item of res.data.rows) {+ item.tree_id = item.id+ data.tableData.push(item)+ for (const ditem of item.detailList) {+ ditem.tree_id = 0+ ditem.parent_id = item.id+ ditem.length_unit = item.length_unit+ ditem.volume_unit = item.volume_unit+ ditem.weight_unit = item.weight_unit+ data.tableData.push(ditem)+ }+ }+ data.tablePage.total = res.data.totals+ },+ // Add user+ add: () => {+ data.dialogForm = {+ id: 0,+ spu_code: '',+ spu_name: '',+ spu_description: '',+ brand: '',+ length_unit: 1,+ volume_unit: 0,+ weight_unit: 1,+ detailList: []+ }+ data.showDialog = true+ },+ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },+ // after Add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },+ // Refresh data+ refresh: () => {+ method.getCompanyList()+ },+ editRow(row: CommodityVO) {+ data.dialogForm = JSON.parse(JSON.stringify(row))+ data.showDialog = true+ },+ deleteRow(row: CommodityVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await deleteSpu(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ // Export table+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.commodityManagement'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ // When change paging+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize+ method.refresh()+ })+})++onMounted(async () => {+ await method.getCompanyList()++ data.btnList = [+ {+ name: i18n.global.t('system.page.add'),+ icon: 'mdi-plus',+ code: 'save',+ click: method.add+ },+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'export',+ click: method.exportTable+ },+ {+ name: i18n.global.t('base.commodityManagement.printQrCode'),+ icon: 'mdi-qrcode',+ code: 'printQrCode',+ click: method.printQrCode+ },+ {+ name: i18n.global.t('base.commodityManagement.printBarCode'),+ icon: 'mdi-barcode',+ code: 'printBarCode',+ click: method.printBarCode+ },+ {+ name: i18n.global.t('system.page.print'),+ icon: 'mdi-printer',+ code: '',+ click: method.print+ }+ // {+ // name: i18n.global.t('base.commodityManagement.printQrCode'),+ // icon: 'mdi-qrcode',+ // code: 'printQrCode',+ // click: method.printQrCode+ // },+ // {+ // name: i18n.global.t('base.commodityManagement.printBarCode'),+ // icon: 'mdi-barcode',+ // code: 'printBarCode',+ // click: method.printBarCode+ // }+ ]+})++const cardHeight = computed(() => computedCardHeight({ hasTab: false }))++const tableHeight = computed(() => computedTableHeight({ hasTab: false }))++const isExpandAll = computed(() => {+ const expandRows = xTable.value.getTreeExpandRecords()+ const parentData = data.tableData.filter((item: any) => !item.parent_id)++ if (expandRows.length === parentData.length) {+ return true+ }+ return false+})++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/base/commodityManagement/qrCodeDialog.vue b/frontend/src/view/base/commodityManagement/qrCodeDialog.vuenew file mode 100644index 0000000..47afa26--- /dev/null+++ b/frontend/src/view/base/commodityManagement/qrCodeDialog.vue@@ -0,0 +1,116 @@+<template>+ <v-dialog v-model="data.showDialog" width="448px" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-card-text>+ <div id="printArea" class="printArea">+ <div class="printTopContainer">+ <div>+ <vue-qr :key="data.printText" size="140" :margin="0" :auto-color="true" :dot-scale="1" :text="data.printText"></vue-qr>+ </div>++ <div class="printLabel" style="flex: 1">+ <div>+ <span class="labelTitle">{{ $t('base.commodityManagement.spu_code') }}:</span> {{ data.printData.spu_code }}+ </div>+ <div>+ <span class="labelTitle">{{ $t('base.commodityManagement.spu_name') }}:</span> {{ data.printData.spu_name }}+ </div>+ <div>+ <span class="labelTitle">{{ $t('base.commodityManagement.sku_code') }}:</span> {{ data.printData.sku_code }}+ </div>+ <div>+ <span class="labelTitle">{{ $t('base.commodityManagement.sku_name') }}:</span> {{ data.printData.sku_name }}+ </div>+ </div>+ </div>+ </div>+ </v-card-text>++ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn v-print="'#printArea'" color="primary" variant="text">{{ $t('system.page.print') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script setup lang="tsx">+import { reactive } from 'vue'+import VueQr from 'vue-qr/src/packages/vue-qr.vue'++const data = reactive({+ showDialog: false,+ printData: {+ sku_id: 0,+ spu_name: '',+ spu_code: '',+ sku_name: '',+ sku_code: '',+ barcode: ''+ } as any,+ printText: ''+})++const method = reactive({+ openDialog: (row: any) => {+ data.printData = row++ // 二维码内容+ data.printText = JSON.stringify({+ sku_id: row.sku_id,+ type: row.type+ })++ data.showDialog = true+ },+ closeDialog: () => {+ data.showDialog = false+ }+})++defineExpose({+ openDialog: method.openDialog,+ closeDialog: method.closeDialog+})+</script>++<style scoped lang="less">+.printArea {+ width: 400px;++ display: flex;+ flex-wrap: wrap;+ align-items: center;+ justify-content: center;++ box-sizing: border-box;+ padding: 10px;++ .printTopContainer {+ display: flex;+ justify-content: space-between;+ }+}+.printLabel {+ font-size: 14px;+ font-weight: bold;++ display: flex;+ flex-wrap: wrap;+ align-items: center;++ box-sizing: border-box;+ padding-left: 30px;++ .labelTitle {+ opacity: 0.7;+ font-weight: 600;+ }++ div {+ width: 100%;+ }+}+</style>diff --git a/frontend/src/view/base/commodityManagement/update-sku-safety-stock.vue b/frontend/src/view/base/commodityManagement/update-sku-safety-stock.vuenew file mode 100644index 0000000..70fc7b9--- /dev/null+++ b/frontend/src/view/base/commodityManagement/update-sku-safety-stock.vue@@ -0,0 +1,197 @@+<template>+ <v-dialog v-model="data.showDialog" width="50%" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('router.sideBar.commodityManagement')}`"></v-toolbar>+ <v-card-text>+ <div>+ <v-row>+ <v-col cols="6">+ <v-text-field+ v-model="data.skuInfo.sku_code"+ :label="$t('base.commodityManagement.sku_code')"+ variant="outlined"+ density="compact"+ readonly+ ></v-text-field>+ </v-col>+ <v-col cols="6">+ <v-text-field+ v-model="data.skuInfo.sku_name"+ :label="$t('base.commodityManagement.sku_name')"+ variant="outlined"+ density="compact"+ readonly+ ></v-text-field>+ </v-col>+ </v-row>+ </div>+ <div>+ <v-form ref="formRef">+ <v-row v-for="(item, index) of data.detailList" :key="index" style="margin-top: 5px">+ <v-col :cols="7">+ <v-text-field+ v-model="item.warehouse_name"+ :label="$t('wms.deliveryManagement.warehouse_name')"+ :rules="data.rules.warehouse_name"+ variant="outlined"+ readonly+ ></v-text-field>+ </v-col>+ <v-col :cols="3">+ <v-text-field+ v-model="item.safety_stock_qty"+ :rules="data.rules.safety_stock_qty"+ :label="$t('wms.deliveryManagement.detailQty')"+ variant="outlined"+ clearable+ ></v-text-field>+ </v-col>+ <v-col :cols="2">+ <div class="detailBtnContainer">+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="errorColor"+ @click="method.deleteRow(index, item)"+ ></tooltip-btn>+ </div>+ </v-col>+ </v-row>+ </v-form>++ <v-btn style="font-size: 20px; margin-bottom: 15px; margin-top: 10px; float: right" color="primary" :width="40" @click="method.addNewRow">+ ++ </v-btn>+ </div>+ </v-card-text>++ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.sureBack">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>++ <warehouse-select ref="warehouseSelectRef" @sure-select="method.warehouseSureSelect" />+</template>++<script setup lang="tsx">+import { reactive, ref, nextTick } from 'vue'+import { CommodityDetailVO, UpdateSaftyStockReqBodyVO } from '@/types/Base/CommodityManagement'+import { errorColor } from '@/constant/style'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { hookComponent } from '@/components/system/index'+import i18n from '@/languages/i18n'+import warehouseSelect from '@/components/select/warehouse-select.vue'+import { WarehouseVO } from '@/types/Base/Warehouse'+import { IsInteger } from '@/utils/dataVerification/formRule'++const emit = defineEmits(['sure'])++const warehouseSelectRef = ref()+const formRef = ref()++const data = reactive({+ showDialog: false as boolean,+ detailList: [] as UpdateSaftyStockReqBodyVO[],+ rules: {+ warehouse_name: [],+ safety_stock_qty: [+ (val: number) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.deliveryManagement.detailQty') }!`,+ (val: number) => IsInteger(val, 'nonNegative') === '' || IsInteger(val, 'nonNegative')+ ]+ },+ skuInfo: {} as CommodityDetailVO,+ cacheDeleteDetail: [] as UpdateSaftyStockReqBodyVO[]+})++const method = reactive({+ openDialog: (row: CommodityDetailVO) => {+ data.cacheDeleteDetail = []++ data.showDialog = true+ nextTick(() => {+ data.skuInfo = row++ data.detailList = row.detailList+ })+ },+ closeDialog: () => {+ data.showDialog = false+ },+ addNewRow: () => {+ warehouseSelectRef.value.openDialog()+ },+ deleteRow: (index: number, item: UpdateSaftyStockReqBodyVO) => {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteDetailMessage'),+ handleConfirm: async () => {+ if (item.id && item.id > 0) {+ const delItem = { ...item }+ delItem.id = 0 - item.id+ data.cacheDeleteDetail.push(delItem)+ }++ data.detailList.splice(index, 1)+ }+ })+ },+ // After selection+ warehouseSureSelect: (list: WarehouseVO[]) => {+ for (const item of list) {+ const fl = data.detailList.filter((i: UpdateSaftyStockReqBodyVO) => i.warehouse_id === item.id)++ // If it already exists, do not insert it+ if (fl.length === 0) {+ data.detailList.push({+ id: 0,+ sku_id: data.skuInfo.id,+ warehouse_id: item.id,+ warehouse_name: item.warehouse_name,+ safety_stock_qty: 0+ })+ }+ }+ },+ // Confirm Save+ sureBack: async () => {+ const { valid } = await formRef.value.validate()++ if (valid) {+ emit('sure', {+ sku_id: data.skuInfo.id,+ detailList: [...data.detailList, ...data.cacheDeleteDetail]+ })+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ }+})++defineExpose({+ openDialog: method.openDialog,+ closeDialog: method.closeDialog+})+</script>++<style scoped lang="less">+.mainForm {+ background-color: #f9f9f9;+ border-radius: 5px;+ padding: 20px;+ box-sizing: border-box;+ overflow: auto;+}+.detailBtnContainer {+ height: 56px;+ display: flex;+ justify-content: center;+ align-items: center;+}+</style>diff --git a/frontend/src/view/base/companySetting/add-or-update-company.vue b/frontend/src/view/base/companySetting/add-or-update-company.vuenew file mode 100644index 0000000..80fc453--- /dev/null+++ b/frontend/src/view/base/companySetting/add-or-update-company.vue@@ -0,0 +1,135 @@+<template>+ <v-dialog v-model="isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('router.sideBar.companySetting')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-text-field+ v-model="data.form.company_name"+ :label="$t('base.companySetting.company_name')"+ :rules="data.rules.company_name"+ variant="outlined"+ ></v-text-field>+ <v-text-field v-model="data.form.city" :label="$t('base.companySetting.city')" :rules="data.rules.city" variant="outlined"></v-text-field>+ <v-text-field+ v-model="data.form.address"+ :label="$t('base.companySetting.address')"+ :rules="data.rules.address"+ variant="outlined"+ ></v-text-field>+ <v-text-field+ v-model="data.form.manager"+ :label="$t('base.companySetting.manager')"+ :rules="data.rules.manager"+ variant="outlined"+ ></v-text-field>+ <v-text-field+ v-model="data.form.contact_tel"+ :label="$t('base.companySetting.contact_tel')"+ :rules="data.rules.contact_tel"+ variant="outlined"+ ></v-text-field>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { CompanyVO } from '@/types/Base/CompanySetting'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { addCompany, updateCompany } from '@/api/base/companySetting'+import { StringLength } from '@/utils/dataVerification/formRule'++const formRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])++const props = defineProps<{+ showDialog: boolean+ form: CompanyVO+}>()++const isShow = computed(() => props.showDialog)++const dialogTitle = computed(() => {+ if (props.form.id && props.form.id > 0) {+ return 'update'+ }+ return 'add'+})++const data = reactive({+ form: ref<CompanyVO>({+ id: 0,+ company_name: '',+ city: '',+ address: '',+ manager: '',+ contact_tel: ''+ }),+ rules: {+ company_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.companySetting.company_name') }!`,+ (val: string) => StringLength(val, 0, 256) === '' || StringLength(val, 0, 256)+ ],+ city: [(val: string) => StringLength(val, 0, 128) === '' || StringLength(val, 0, 128)],+ address: [(val: string) => StringLength(val, 0, 256) === '' || StringLength(val, 0, 256)],+ manager: [(val: string) => StringLength(val, 0, 64) === '' || StringLength(val, 0, 64)],+ contact_tel: [(val: string) => StringLength(val, 0, 64) === '' || StringLength(val, 0, 64)]+ }+})++const method = reactive({+ closeDialog: () => {+ emit('close')+ },+ submit: async () => {+ const { valid } = await formRef.value.validate()+ if (valid) {+ const { data: res } = dialogTitle.value === 'add' ? await addCompany(data.form) : await updateCompany(data.form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ data.form = props.form+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/base/companySetting/companySetting.vue b/frontend/src/view/base/companySetting/companySetting.vuenew file mode 100644index 0000000..3740974--- /dev/null+++ b/frontend/src/view/base/companySetting/companySetting.vue@@ -0,0 +1,272 @@+<template>+ <div class="container">+ <div>+ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->++ <!-- old version -->+ <v-col cols="12" sm="4" class="col">+ <!-- <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.add')" @click="method.add()"></tooltip-btn>+ <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh()"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"></tooltip-btn> -->++ <!-- new version -->+ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="12" sm="8">+ <!-- <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="12" sm="4">+ <v-text-field+ v-model="data.searchForm.userName"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('login.userName')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="12" sm="4">+ <v-text-field+ v-model="data.searchForm.userName1"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('login.userName')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="12" sm="4">+ <v-text-field+ v-model="data.searchForm.userName2"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('login.userName')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row> -->+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="company_name" :title="$t('base.companySetting.company_name')"></vxe-column>+ <vxe-column field="city" :title="$t('base.companySetting.city')"></vxe-column>+ <vxe-column field="address" :title="$t('base.companySetting.address')"></vxe-column>+ <vxe-column field="manager" :title="$t('base.companySetting.manager')"></vxe-column>+ <vxe-column field="contact_tel" :title="$t('base.companySetting.contact_tel')"></vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="160" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-pencil-outline"+ :tooltip-text="$t('system.page.edit')"+ :disabled="!data.authorityList.includes('save')"+ @click="method.editRow(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="!data.authorityList.includes('delete')?'':errorColor"+ :disabled="!data.authorityList.includes('delete')"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ </vxe-table>+ </div>+ </v-card-text>+ </v-card>+ </div>+ <!-- Add or modify data mode window -->+ <addOrUpdateDialog :show-dialog="data.showDialog" :form="data.dialogForm" @close="method.closeDialog" @saveSuccess="method.saveSuccess" />+ </div>+</template>++<script lang="ts" setup>+import { computed, reactive, onMounted, ref } from 'vue'+import { computedCardHeight, computedTableHeight, errorColor } from '@/constant/style'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { CompanyVO, DataProps } from '@/types/Base/CompanySetting'+import { getCompanyAll, deleteCompany } from '@/api/base/companySetting'+import { hookComponent } from '@/components/system'+import addOrUpdateDialog from './add-or-update-company.vue'+import i18n from '@/languages/i18n'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'+import { getMenuAuthorityList } from '@/utils/common'++const xTable = ref()++const data: DataProps = reactive({+ // searchForm: {+ // userName: '',+ // userName1: '',+ // userName2: ''+ // },+ tableData: [],+ // Dialog info+ showDialog: false,+ dialogForm: {+ id: 0,+ company_name: '',+ city: '',+ address: '',+ manager: '',+ contact_tel: ''+ },+ btnList: [],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ sureSearch: () => {+ // console.log(data.searchForm)+ },+ // Find Data by Pagination+ getCompanyList: async () => {+ const { data: res } = await getCompanyAll()+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data+ },+ // Add user+ add: () => {+ data.dialogForm = {+ id: 0,+ company_name: '',+ city: '',+ address: '',+ manager: '',+ contact_tel: ''+ }+ data.showDialog = true+ },+ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },+ // after Add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },+ // Refresh data+ refresh: () => {+ method.getCompanyList()+ },+ editRow(row: CompanyVO) {+ data.dialogForm = JSON.parse(JSON.stringify(row))+ data.showDialog = true+ },+ deleteRow(row: CompanyVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await deleteCompany(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ // Export table+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.companySetting'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ }+})++onMounted(async () => {+ await method.getCompanyList()++ data.btnList = [+ {+ name: i18n.global.t('system.page.add'),+ icon: 'mdi-plus',+ code: 'save',+ click: method.add+ },+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'export',+ click: method.exportTable+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({ hasTab: false }))++const tableHeight = computed(() => computedTableHeight({ hasTab: false, hasPager: false }))+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/base/customer/add-or-update-customer.vue b/frontend/src/view/base/customer/add-or-update-customer.vuenew file mode 100644index 0000000..2348fd2--- /dev/null+++ b/frontend/src/view/base/customer/add-or-update-customer.vue@@ -0,0 +1,149 @@+<template>+ <v-dialog v-model="isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('router.sideBar.customer')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-text-field+ v-model="data.form.customer_name"+ :label="$t('base.customer.customer_name')"+ :rules="data.rules.customer_name"+ variant="outlined"+ ></v-text-field>+ <v-text-field v-model="data.form.city" :label="$t('base.customer.city')" :rules="data.rules.city" variant="outlined"></v-text-field>+ <v-text-field+ v-model="data.form.email"+ :label="$t('base.customer.email')"+ :rules="data.rules.email"+ variant="outlined"+ ></v-text-field>+ <v-text-field+ v-model="data.form.address"+ :label="$t('base.customer.address')"+ :rules="data.rules.address"+ variant="outlined"+ ></v-text-field>+ <v-text-field+ v-model="data.form.manager"+ :label="$t('base.customer.manager')"+ :rules="data.rules.manager"+ variant="outlined"+ ></v-text-field>+ <v-text-field+ v-model="data.form.contact_tel"+ :label="$t('base.customer.contact_tel')"+ :rules="data.rules.contact_tel"+ variant="outlined"+ ></v-text-field>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.print">{{ $t('system.page.print') }}</v-btn>+ </v-card-actions>+ </v-card>+ <hprintDialog ref="hprintDialogRef" :form="data.form" :tab-page="'print_page_detail'" />+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { CustomerVO } from '@/types/Base/Customer'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { addCustomer, updateCustomer } from '@/api/base/customer'+import hprintDialog from '@/components/hiprint/hiprintFast.vue'++const formRef = ref()+const hprintDialogRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])++const props = defineProps<{+ showDialog: boolean+ form: CustomerVO+}>()++const isShow = computed(() => props.showDialog)++const dialogTitle = computed(() => {+ if (props.form.id && props.form.id > 0) {+ return 'update'+ }+ return 'add'+})++const data = reactive({+ form: ref<CustomerVO>({+ id: 0,+ customer_name: '',+ city: '',+ address: '',+ manager: '',+ email: '',+ contact_tel: '',+ is_valid: true+ }),+ rules: {+ customer_name: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.customer.customer_name') }!`],+ city: [],+ address: [],+ manager: [],+ email: [],+ contact_tel: [],+ is_valid: []+ }+})++const method = reactive({+ closeDialog: () => {+ emit('close')+ },+ submit: async () => {+ const { valid } = await formRef.value.validate()+ if (valid) {+ const { data: res } = dialogTitle.value === 'add' ? await addCustomer(data.form) : await updateCustomer(data.form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ },+ print() {+ const ref = hprintDialogRef.value+ ref.method.handleOpen()+ },+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ data.form = props.form+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/base/customer/customer.vue b/frontend/src/view/base/customer/customer.vuenew file mode 100644index 0000000..a7e9f8a--- /dev/null+++ b/frontend/src/view/base/customer/customer.vue@@ -0,0 +1,361 @@+<!-- customer Setting -->+<template>+ <div class="container">+ <div>+ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <!-- <v-window v-model="data.activeTab">+ <v-window-item> -->+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="12" sm="4" class="col">+ <!-- <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.add')" @click="method.add()"></tooltip-btn>+ <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh()"></tooltip-btn>+ <tooltip-btn icon="mdi-database-import-outline" :tooltip-text="$t('system.page.import')" @click="method.openDialogImport">+ </tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->++ <!-- new version -->+ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="12" sm="8">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="12" sm="4"></v-col>+ <v-col cols="12" sm="4"></v-col>+ <v-col cols="12" sm="4">+ <v-text-field+ v-model="data.searchForm.customer_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('base.customer.customer_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table+ ref="xTable"+ :data="data.tableData"+ :column-config="{+ minWidth: '100px'+ }"+ :height="tableHeight"+ align="center"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="customer_name" :title="$t('base.customer.customer_name')"></vxe-column>+ <vxe-column field="city" :title="$t('base.customer.city')"></vxe-column>+ <vxe-column field="address" :title="$t('base.customer.address')"></vxe-column>+ <vxe-column field="manager" :title="$t('base.customer.manager')"></vxe-column>+ <vxe-column field="email" :title="$t('base.customer.email')"></vxe-column>+ <vxe-column field="contact_tel" :title="$t('base.customer.contact_tel')"></vxe-column>+ <vxe-column field="creator" :title="$t('base.customer.creator')"></vxe-column>+ <vxe-column field="create_time" width="170px" :formatter="['formatDate', 'yyyy-MM-dd HH:mm']" :title="$t('base.customer.create_time')">+ </vxe-column>+ <vxe-column+ field="last_update_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('base.customer.last_update_time')"+ >+ </vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="160" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-pencil-outline"+ :tooltip-text="$t('system.page.edit')"+ :disabled="!data.authorityList.includes('save')"+ @click="method.editRow(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="!data.authorityList.includes('delete')?'':errorColor"+ :disabled="!data.authorityList.includes('delete')"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ <!-- </v-window-item>+ </v-window> -->+ </v-card-text>+ </v-card>+ </div>+ </div>+ <addOrUpdateDialog :show-dialog="data.showDialog" :form="data.dialogForm" @close="method.closeDialog" @saveSuccess="method.saveSuccess" />+ <importCustomerTable :show-dialog="data.showDialogImport" @close="method.closeDialogImport" @saveSuccess="method.saveSuccessImport" />+ <hprintDialog ref="hprintDialogRef" :form="data.printForm" :tab-page="'print_page_main'" />+</template>++<script lang="tsx" setup>+import { computed, ref, reactive, onMounted, watch } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight, errorColor } from '@/constant/style'+import { CustomerVO } from '@/types/Base/Customer'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import tooltipBtn from '@/components/tooltip-btn.vue'+import addOrUpdateDialog from './add-or-update-customer.vue'+import { hookComponent } from '@/components/system'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { SearchObject, btnGroupItem } from '@/types/System/Form'+import i18n from '@/languages/i18n'+import { getCustomerList, deleteCustomer } from '@/api/base/customer'+import importCustomerTable from './import-customer-table.vue'+import customPager from '@/components/custom-pager.vue'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'+import hprintDialog from '@/components/hiprint/hiprintFast.vue'++const xTable = ref()+const hprintDialogRef = ref()++const data = reactive({+ searchForm: {+ customer_name: ''+ },+ tableData: [],+ // activeTab: null,+ showDialog: false,+ showDialogImport: false,+ dialogForm: {+ id: 0,+ customer_name: '',+ city: '',+ address: '',+ manager: '',+ email: '',+ contact_tel: '',+ is_valid: true+ },+ tablePage: {+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ },+ printForm: {} as any,+ timer: ref<any>(null),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList() as string[]+})++const method = reactive({+ // Import Dialog+ openDialogImport: () => {+ data.showDialogImport = true+ },+ closeDialogImport: () => {+ data.showDialogImport = false+ },+ saveSuccessImport: () => {+ method.refresh()+ method.closeDialog()+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getData()+ },+ // Add user+ add: () => {+ data.dialogForm = {+ id: 0,+ customer_name: '',+ city: '',+ address: '',+ manager: '',+ email: '',+ contact_tel: '',+ is_valid: true+ }+ data.showDialog = true+ },+ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },+ // after Add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },+ // Refresh data+ refresh: () => {+ method.getData()+ },+ editRow(row: CustomerVO) {+ data.dialogForm = JSON.parse(JSON.stringify(row))+ data.showDialog = true+ },+ deleteRow(row: CustomerVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await deleteCustomer(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize+ method.getData()+ }),+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.customer'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ getData: async () => {+ const { data: res } = await getCustomerList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ print: () => {+ const records = xTable.value.getCheckboxRecords()+ if (records.length > 0) {+ data.printForm = { detailList: records }+ const ref = hprintDialogRef.value+ ref.method.handleOpen()+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('base.userManagement.checkboxIsNull')+ })+ }+ },+})+onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.add'),+ icon: 'mdi-plus',+ code: 'save',+ click: method.add+ },+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.import'),+ icon: 'mdi-database-import-outline',+ code: 'import',+ click: method.openDialogImport+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'export',+ click: method.exportTable+ },+ {+ name: i18n.global.t('system.page.print'),+ icon: 'mdi-printer',+ code: '',+ click: method.print+ }+ ]++ method.getData()+})++const cardHeight = computed(() => computedCardHeight({ hasTab: false }))+const tableHeight = computed(() => computedTableHeight({ hasTab: false }))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/base/customer/import-customer-table.vue b/frontend/src/view/base/customer/import-customer-table.vuenew file mode 100644index 0000000..0a3c6b2--- /dev/null+++ b/frontend/src/view/base/customer/import-customer-table.vue@@ -0,0 +1,227 @@+<!-- Customer Setting Import Dialog -->+<template>+ <v-dialog v-model="isShow" width="70%" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('system.page.import')}`"></v-toolbar>+ <v-card-text>+ <div class="mb-4">+ <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.chooseFile')" size="x-small" @click="method.chooseFile"></tooltip-btn>+ <tooltip-btn+ icon="mdi-export-variant"+ :tooltip-text="$t('system.page.exportTemplate')"+ size="x-small"+ @click="method.exportTemplate"+ ></tooltip-btn>+ <input v-show="false" id="open" ref="uploadExcel" type="file" accept=".xls, .xlsx" @change="method.readExcel" />+ </div>+ <vxe-table+ ref="xTable"+ :column-config="{ minWidth: '100px' }"+ :data="data.importData"+ :height="SYSTEM_HEIGHT.SELECT_TABLE"+ :edit-config="{ trigger: 'click', mode: 'cell' }"+ :edit-rules="data.validRules"+ :export-config="{}"+ align="center"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="operate" width="60" :title="$t('system.page.operate')" :resizable="false">+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="errorColor"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ <vxe-column field="customer_name" :title="$t('base.customer.customer_name')"></vxe-column>+ <vxe-column field="city" :title="$t('base.customer.city')"></vxe-column>+ <vxe-column field="address" :title="$t('base.customer.address')"></vxe-column>+ <vxe-column field="manager" :title="$t('base.customer.manager')"></vxe-column>+ <vxe-column field="email" :title="$t('base.customer.email')"></vxe-column>+ <vxe-column field="contact_tel" :title="$t('base.customer.contact_tel')"></vxe-column>+ </vxe-table>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { VxeTablePropTypes } from 'vxe-table'+import * as XLSX from 'xlsx'+import i18n from '@/languages/i18n'+import { excelImport } from '@/api/base/customer'+import { hookComponent } from '@/components/system/index'+import { SYSTEM_HEIGHT, errorColor } from '@/constant/style'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { CustomerExcelVO } from '@/types/Base/Customer'+import { exportData } from '@/utils/exportTable'++const emit = defineEmits(['close', 'saveSuccess'])+const uploadExcel = ref()+const xTable = ref()++const props = defineProps<{+ showDialog: boolean+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ importData: ref<Array<CustomerExcelVO>>([]),+ validRules: ref<VxeTablePropTypes.EditRules>({}),+ eMsg: ''+})++const method = reactive({+ initForm: () => {+ data.importData = []+ },+ closeDialog: () => {+ emit('close')+ },+ submit: async () => {+ const isValid = method.valid()+ if (!isValid) {+ return+ }++ const $table = xTable.value+ // It must be use 'getTableData()' to get all datas with table because it will delete row sometimes.+ const importData = $table.getTableData().fullData++ const { data: res } = await excelImport(importData)+ if (!res.isSuccess) {+ data.eMsg = ''+ if (res.data.length > 0) {+ for (const item of res.data) {+ if (item.errorMsg) {+ data.eMsg = data.eMsg ? data.eMsg + ',' + item.errorMsg : item.errorMsg+ }+ }+ }+ hookComponent.$message({+ type: 'error',+ content: data.eMsg+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ },++ valid: () => {+ const $table = xTable.value+ const importData = $table.getTableData().fullData++ if (importData.length <= 0) {+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('system.tips.detailLengthIsZero') }`+ })+ return false+ }+ return true+ },++ chooseFile: async () => {+ uploadExcel.value.value = ''+ uploadExcel.value.click()+ },++ readExcel: async (evnt: any) => {+ const files = evnt.target.files+ if (files.length <= 0) {+ return false+ }++ const file = files[0]+ const fileReader = new FileReader()++ fileReader.onload = (ev: ProgressEvent<FileReader>) => {+ const fileData = ev?.target?.result+ if (fileData) {+ const workbook = XLSX.read(fileData, { type: 'binary' })+ const wsname = workbook.SheetNames[0]++ let ws = XLSX.utils.sheet_to_json(workbook.Sheets[wsname])+ let str = JSON.stringify(ws)+ str = str.replace(/(/g, '(')+ str = str.replace(/)/g, ')')+ ws = JSON.parse(str)++ data.importData = []+ ws.forEach((value: any, index: number, ws: any) => {+ data.importData.push({+ customer_name: ws[index][i18n.global.t('base.customer.customer_name')] ? ws[index][i18n.global.t('base.customer.customer_name')] + '' : '',+ city: ws[index][i18n.global.t('base.customer.city')] ? ws[index][i18n.global.t('base.customer.city')] + '' : '',+ address: ws[index][i18n.global.t('base.customer.address')] ? ws[index][i18n.global.t('base.customer.address')] + '' : '',+ manager: ws[index][i18n.global.t('base.customer.manager')] ? ws[index][i18n.global.t('base.customer.manager')] + '' : '',+ email: ws[index][i18n.global.t('base.customer.email')] ? ws[index][i18n.global.t('base.customer.email')] + '' : '',+ contact_tel: ws[index][i18n.global.t('base.customer.contact_tel')] ? ws[index][i18n.global.t('base.customer.contact_tel')] + '' : '',+ _XID: '',+ errorMsg: ''+ })+ })+ }+ }+ fileReader.readAsBinaryString(file)+ },++ exportTemplate: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.customer'),+ mode: 'header',+ columnFilterMethod({ column }: any) {+ return !['checkbox', 'seq'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },++ deleteRow: (row: CustomerExcelVO) => {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteDetailMessage'),+ handleConfirm: async () => {+ if (row) {+ const $table = xTable.value+ $table.remove(row)+ }+ }+ })+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.initForm()+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/base/freightSetting/add-or-update-freight.vue b/frontend/src/view/base/freightSetting/add-or-update-freight.vuenew file mode 100644index 0000000..c4bbe1c--- /dev/null+++ b/frontend/src/view/base/freightSetting/add-or-update-freight.vue@@ -0,0 +1,175 @@+<!-- Freight Setting Operate Dialog -->+<template>+ <v-dialog v-model="isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('router.sideBar.freightSetting')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-text-field+ v-model="data.form.carrier"+ :label="$t('base.freightSetting.carrier')"+ :rules="data.rules.carrier"+ variant="outlined"+ ></v-text-field>+ <v-text-field+ v-model="data.form.departure_city"+ :label="$t('base.freightSetting.departure_city')"+ :rules="data.rules.departure_city"+ variant="outlined"+ ></v-text-field>+ <v-text-field+ v-model="data.form.arrival_city"+ :label="$t('base.freightSetting.arrival_city')"+ :rules="data.rules.arrival_city"+ variant="outlined"+ ></v-text-field>+ <v-text-field+ v-model="data.form.price_per_weight"+ :label="$t('base.freightSetting.price_per_weight')"+ :rules="data.rules.price_per_weight"+ variant="outlined"+ ></v-text-field>+ <v-text-field+ v-model="data.form.price_per_volume"+ :label="$t('base.freightSetting.price_per_volume')"+ :rules="data.rules.price_per_volume"+ variant="outlined"+ ></v-text-field>+ <v-text-field+ v-model="data.form.min_payment"+ :label="$t('base.freightSetting.min_payment')"+ :rules="data.rules.min_payment"+ variant="outlined"+ ></v-text-field>+ <v-switch+ v-model="data.form.is_valid"+ color="primary"+ :label="$t('base.freightSetting.is_valid')"+ :rules="data.rules.is_valid"+ ></v-switch>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { addFreight, updateFreight } from '@/api/base/freightSetting'+import { FreightVO } from '@/types/Base/Freight'+import { StringLength, IsDecimal } from '@/utils/dataVerification/formRule'++const formRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])++const props = defineProps<{+ showDialog: boolean+ form: FreightVO+}>()++const isShow = computed(() => props.showDialog)++const dialogTitle = computed(() => {+ if (props.form.id && props.form.id > 0) {+ return 'update'+ }+ return 'add'+})++const data = reactive({+ form: ref<FreightVO>({+ id: 0,+ carrier: '',+ departure_city: '',+ arrival_city: '',+ price_per_weight: 0,+ price_per_volume: 0,+ min_payment: 0,+ is_valid: true+ }),+ rules: {+ carrier: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.freightSetting.carrier') }!`,+ (val: string) => StringLength(val, 0, 256) === '' || StringLength(val, 0, 256)+ ],+ departure_city: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.freightSetting.departure_city') }!`,+ (val: string) => StringLength(val, 0, 128) === '' || StringLength(val, 0, 128)+ ],+ arrival_city: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.freightSetting.arrival_city') }!`,+ (val: string) => StringLength(val, 0, 128) === '' || StringLength(val, 0, 128)+ ],+ price_per_weight: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.freightSetting.price_per_weight') }!`,+ (val: number) => IsDecimal(val, 'nonNegative', 6, 2) === '' || IsDecimal(val, 'nonNegative', 6, 2)+ ],+ price_per_volume: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.freightSetting.price_per_volume') }!`,+ (val: number) => IsDecimal(val, 'nonNegative', 6, 2) === '' || IsDecimal(val, 'nonNegative', 6, 2)+ ],+ min_payment: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.freightSetting.min_payment') }!`,+ (val: number) => IsDecimal(val, 'nonNegative', 8, 2) === '' || IsDecimal(val, 'nonNegative', 8, 2)+ ],+ is_valid: []+ }+})++const method = reactive({+ closeDialog: () => {+ emit('close')+ },+ initForm: () => {+ data.form = props.form+ },+ submit: async () => {+ const { valid } = await formRef.value.validate()+ if (valid) {+ const { data: res } = dialogTitle.value === 'add' ? await addFreight(data.form) : await updateFreight(data.form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.initForm()+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/base/freightSetting/freightSetting.vue b/frontend/src/view/base/freightSetting/freightSetting.vuenew file mode 100644index 0000000..82ea4d6--- /dev/null+++ b/frontend/src/view/base/freightSetting/freightSetting.vue@@ -0,0 +1,361 @@+<!-- Freight Setting -->+<template>+ <div class="container">+ <div>+ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <v-window v-model="data.activeTab">+ <v-window-item>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.add')" @click="method.add"></tooltip-btn>+ <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-database-import-outline" :tooltip-text="$t('system.page.import')" @click="method.openDialogImport">+ </tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->++ <!-- new version -->+ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.carrier"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('base.freightSetting.carrier')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.departure_city"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('base.freightSetting.departure_city')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.arrival_city"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('base.freightSetting.arrival_city')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="carrier" :title="$t('base.freightSetting.carrier')"></vxe-column>+ <vxe-column field="departure_city" :title="$t('base.freightSetting.departure_city')"></vxe-column>+ <vxe-column field="arrival_city" :title="$t('base.freightSetting.arrival_city')"></vxe-column>+ <vxe-column field="price_per_weight" :title="$t('base.freightSetting.price_per_weight')"></vxe-column>+ <vxe-column field="price_per_volume" :title="$t('base.freightSetting.price_per_volume')"></vxe-column>+ <vxe-column field="min_payment" :title="$t('base.freightSetting.min_payment')"></vxe-column>+ <vxe-column field="creator" :title="$t('base.freightSetting.creator')"></vxe-column>+ <vxe-column+ field="create_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('base.freightSetting.create_time')"+ ></vxe-column>+ <vxe-column field="is_valid" :title="$t('base.freightSetting.is_valid')">+ <template #default="{ row, column }">+ <span>{{ row[column.property] ? $t('system.combobox.yesOrNo.yes') : $t('system.combobox.yesOrNo.no') }}</span>+ </template>+ </vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="160" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-pencil-outline"+ :tooltip-text="$t('system.page.edit')"+ :disabled="!data.authorityList.includes('save')"+ @click="method.editRow(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="!data.authorityList.includes('delete')?'':errorColor"+ :disabled="!data.authorityList.includes('delete')"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ ></custom-pager>+ </div>+ </v-window-item>+ </v-window>+ </v-card-text>+ </v-card>+ <addOrUpdateDialog :show-dialog="data.showDialog" :form="data.dialogForm" @close="method.closeDialog" @saveSuccess="method.saveSuccess" />+ <import-table :show-dialog="data.showDialogImport" @close="method.closeDialogImport" @saveSuccess="method.saveSuccessImport" />+ </div>+ </div>+</template>++<script lang="ts" setup>+import { computed, ref, reactive, onMounted, watch } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight, errorColor } from '@/constant/style'+import { FreightVO } from '@/types/Base/Freight'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { deleteFreight, getFreightList } from '@/api/base/freightSetting'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { SearchObject, btnGroupItem } from '@/types/System/Form'+import tooltipBtn from '@/components/tooltip-btn.vue'+import customPager from '@/components/custom-pager.vue'+import addOrUpdateDialog from './add-or-update-freight.vue'+import importTable from './import-table.vue'+import i18n from '@/languages/i18n'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'++const xTable = ref()++const data = reactive({+ showDialog: false,+ showDialogImport: false,++ dialogForm: {+ id: 0,+ carrier: '',+ departure_city: '',+ arrival_city: '',+ price_per_weight: 0,+ price_per_volume: 0,+ min_payment: 0,+ is_valid: true+ },+ searchForm: {+ carrier: '',+ departure_city: '',+ arrival_city: ''+ },+ activeTab: null,+ tableData: ref<FreightVO[]>([]),+ tablePage: reactive({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ timer: ref<any>(null),+ btnList: [] as btnGroupItem[],+ authorityList: getMenuAuthorityList() as string[]+})++const method = reactive({+ // Open a dialog to add+ add: () => {+ data.dialogForm = {+ id: 0,+ carrier: '',+ departure_city: '',+ arrival_city: '',+ price_per_weight: 0,+ price_per_volume: 0,+ min_payment: 0,+ is_valid: true+ }+ data.showDialog = true+ },+ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },+ // After add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },+ // Import Dialog+ openDialogImport: () => {+ data.showDialogImport = true+ },+ closeDialogImport: () => {+ data.showDialogImport = false+ },+ saveSuccessImport: () => {+ method.refresh()+ method.closeDialogImport()+ },+ // Refresh data+ refresh: () => {+ method.getFreightList()+ },+ getFreightList: async () => {+ const { data: res } = await getFreightList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ editRow(row: FreightVO) {+ data.dialogForm = JSON.parse(JSON.stringify(row))+ data.showDialog = true+ },+ deleteRow(row: FreightVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await deleteFreight(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getFreightList()+ }),+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.freightSetting'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ importTable: () => {+ const $table = xTable.value+ $table.importData()+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getFreightList()+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.add'),+ icon: 'mdi-plus',+ code: 'save',+ click: method.add+ },+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.import'),+ icon: 'mdi-database-import-outline',+ code: 'import',+ click: method.openDialogImport+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'export',+ click: method.exportTable+ }+ ]++ method.getFreightList()+})++const cardHeight = computed(() => computedCardHeight({ hasTab: false }))+const tableHeight = computed(() => computedTableHeight({ hasTab: false }))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/base/freightSetting/import-table.vue b/frontend/src/view/base/freightSetting/import-table.vuenew file mode 100644index 0000000..60c63f9--- /dev/null+++ b/frontend/src/view/base/freightSetting/import-table.vue@@ -0,0 +1,214 @@+<!-- Freight Setting Import Dialog -->+<template>+ <v-dialog v-model="isShow" width="70%" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('system.page.import')}`"></v-toolbar>+ <v-card-text>+ <div class="mb-4">+ <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.chooseFile')" size="x-small" @click="method.chooseFile"></tooltip-btn>+ <tooltip-btn+ icon="mdi-export-variant"+ :tooltip-text="$t('system.page.exportTemplate')"+ size="x-small"+ @click="method.exportTemplate"+ ></tooltip-btn>+ <input v-show="false" id="open" ref="uploadExcel" type="file" accept=".xls, .xlsx" @change="method.readExcel" />+ </div>+ <vxe-table+ ref="xTable"+ :column-config="{ minWidth: '100px' }"+ :data="data.importData"+ :height="SYSTEM_HEIGHT.SELECT_TABLE"+ :edit-config="{ trigger: 'click', mode: 'cell' }"+ :edit-rules="data.validRules"+ :export-config="{}"+ align="center"+ >+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="operate" width="60" :title="$t('system.page.operate')" :resizable="false">+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="errorColor"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ <vxe-column field="carrier" :title="$t('base.freightSetting.carrier')"></vxe-column>+ <vxe-column field="departure_city" :title="$t('base.freightSetting.departure_city')"></vxe-column>+ <vxe-column field="arrival_city" :title="$t('base.freightSetting.arrival_city')"></vxe-column>+ <vxe-column field="price_per_weight" :title="$t('base.freightSetting.price_per_weight')"></vxe-column>+ <vxe-column field="price_per_volume" :title="$t('base.freightSetting.price_per_volume')"></vxe-column>+ <vxe-column field="min_payment" :title="$t('base.freightSetting.min_payment')"></vxe-column>+ </vxe-table>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { VxeTablePropTypes } from 'vxe-table'+import * as XLSX from 'xlsx'+import i18n from '@/languages/i18n'+import { excelImport } from '@/api/base/freightSetting'+import { hookComponent } from '@/components/system/index'+import { SYSTEM_HEIGHT, errorColor } from '@/constant/style'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { FreightVO } from '@/types/Base/Freight'+import { exportData } from '@/utils/exportTable'+import { formatString } from '@/utils/format/formatSystem'++const emit = defineEmits(['close', 'saveSuccess'])+const uploadExcel = ref()+const xTable = ref()++const props = defineProps<{+ showDialog: boolean+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ importData: ref<Array<FreightVO>>([]),+ validRules: ref<VxeTablePropTypes.EditRules>({})+})++const method = reactive({+ initForm: () => {+ data.importData = []+ },+ closeDialog: () => {+ emit('close')+ },+ submit: async () => {+ const isValid = method.valid()+ if (!isValid) {+ return+ }++ const $table = xTable.value+ // It must be use 'getTableData()' to get all datas with table because it will delete row sometimes.+ const importData = $table.getTableData().fullData++ const { data: res } = await excelImport(importData)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ },++ valid: () => {+ const $table = xTable.value+ const importData = $table.getTableData().fullData++ if (importData.length <= 0) {+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('system.tips.detailLengthIsZero') }`+ })+ return false+ }+ return true+ },++ chooseFile: async () => {+ uploadExcel.value.value = ''+ uploadExcel.value.click()+ },++ readExcel: async (evnt: any) => {+ const files = evnt.target.files+ if (files.length <= 0) {+ return false+ }++ const file = files[0]+ const fileReader = new FileReader()++ fileReader.onload = (ev: ProgressEvent<FileReader>) => {+ const fileData = ev?.target?.result+ if (fileData) {+ const workbook = XLSX.read(fileData, { type: 'binary' })+ const wsname = workbook.SheetNames[0]++ let ws = XLSX.utils.sheet_to_json(workbook.Sheets[wsname])+ let str = JSON.stringify(ws)+ str = str.replace(/(/g, '(')+ str = str.replace(/)/g, ')')+ ws = JSON.parse(str)++ data.importData = []+ ws.forEach((value: any, index: number, ws: any) => {+ data.importData.push({+ carrier: formatString(ws[index][i18n.global.t('base.freightSetting.carrier')]),+ departure_city: formatString(ws[index][i18n.global.t('base.freightSetting.departure_city')]),+ arrival_city: formatString(ws[index][i18n.global.t('base.freightSetting.arrival_city')]),+ price_per_weight: ws[index][i18n.global.t('base.freightSetting.price_per_weight')],+ price_per_volume: ws[index][i18n.global.t('base.freightSetting.price_per_volume')],+ min_payment: ws[index][i18n.global.t('base.freightSetting.min_payment')]+ })+ })+ }+ }+ fileReader.readAsBinaryString(file)+ },++ exportTemplate: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.freightSetting'),+ mode: 'header',+ columnFilterMethod({ column }: any) {+ return !['checkbox', 'seq'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },++ deleteRow: (row: FreightVO) => {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteDetailMessage'),+ handleConfirm: async () => {+ if (row) {+ const $table = xTable.value+ $table.remove(row)+ }+ }+ })+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.initForm()+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/base/ownerOfCargo/add-or-update-owner-of-cargo.vue b/frontend/src/view/base/ownerOfCargo/add-or-update-owner-of-cargo.vuenew file mode 100644index 0000000..bd05ba5--- /dev/null+++ b/frontend/src/view/base/ownerOfCargo/add-or-update-owner-of-cargo.vue@@ -0,0 +1,135 @@+<template>+ <v-dialog v-model="isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('router.sideBar.ownerOfCargo')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-text-field+ v-model="data.form.goods_owner_name"+ :label="$t('base.ownerOfCargo.goods_owner_name')"+ :rules="data.rules.goods_owner_name"+ variant="outlined"+ ></v-text-field>+ <v-text-field v-model="data.form.city" :label="$t('base.ownerOfCargo.city')" :rules="data.rules.city" variant="outlined"></v-text-field>+ <v-text-field+ v-model="data.form.address"+ :label="$t('base.ownerOfCargo.address')"+ :rules="data.rules.address"+ variant="outlined"+ ></v-text-field>+ <v-text-field+ v-model="data.form.manager"+ :label="$t('base.ownerOfCargo.manager')"+ :rules="data.rules.manager"+ variant="outlined"+ ></v-text-field>+ <v-text-field+ v-model="data.form.contact_tel"+ :label="$t('base.ownerOfCargo.contact_tel')"+ :rules="data.rules.contact_tel"+ variant="outlined"+ ></v-text-field>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { OwnerOfCargoVO } from '@/types/Base/OwnerOfCargo'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { addOwnerOfCargo, updateOwnerOfCargo } from '@/api/base/ownerOfCargo'+import { StringLength } from '@/utils/dataVerification/formRule'++const formRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])++const props = defineProps<{+ showDialog: boolean+ form: OwnerOfCargoVO+}>()++const isShow = computed(() => props.showDialog)++const dialogTitle = computed(() => {+ if (props.form.id && props.form.id > 0) {+ return 'update'+ }+ return 'add'+})++const data = reactive({+ form: ref<OwnerOfCargoVO>({+ id: 0,+ goods_owner_name: '',+ city: '',+ address: '',+ manager: '',+ contact_tel: ''+ }),+ rules: {+ goods_owner_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.ownerOfCargo.goods_owner_name') }!`,+ (val: string) => StringLength(val, 0, 256) === '' || StringLength(val, 0, 256)+ ],+ city: [(val: string) => StringLength(val, 0, 128) === '' || StringLength(val, 0, 128)],+ address: [(val: string) => StringLength(val, 0, 256) === '' || StringLength(val, 0, 256)],+ manager: [(val: string) => StringLength(val, 0, 64) === '' || StringLength(val, 0, 64)],+ contact_tel: [(val: string) => StringLength(val, 0, 64) === '' || StringLength(val, 0, 64)]+ }+})++const method = reactive({+ closeDialog: () => {+ emit('close')+ },+ submit: async () => {+ const { valid } = await formRef.value.validate()+ if (valid) {+ const { data: res } = dialogTitle.value === 'add' ? await addOwnerOfCargo(data.form) : await updateOwnerOfCargo(data.form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ data.form = props.form+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/base/ownerOfCargo/import-table.vue b/frontend/src/view/base/ownerOfCargo/import-table.vuenew file mode 100644index 0000000..23d3a35--- /dev/null+++ b/frontend/src/view/base/ownerOfCargo/import-table.vue@@ -0,0 +1,215 @@+<!-- OwnerOfCargo Setting Import Dialog -->+<template>+ <v-dialog v-model="isShow" width="70%" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('system.page.import')}`"></v-toolbar>+ <v-card-text>+ <div class="mb-4">+ <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.chooseFile')" size="x-small" @click="method.chooseFile"></tooltip-btn>+ <tooltip-btn+ icon="mdi-export-variant"+ :tooltip-text="$t('system.page.exportTemplate')"+ size="x-small"+ @click="method.exportTemplate"+ ></tooltip-btn>+ <input v-show="false" id="open" ref="uploadExcel" type="file" accept=".xls, .xlsx" @change="method.readExcel" />+ </div>+ <vxe-table+ ref="xTable"+ :column-config="{ minWidth: '100px' }"+ :data="data.importData"+ :height="SYSTEM_HEIGHT.SELECT_TABLE"+ :edit-config="{ trigger: 'click', mode: 'cell' }"+ :edit-rules="data.validRules"+ :export-config="{}"+ align="center"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="operate" width="60" :title="$t('system.page.operate')" :resizable="false">+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="errorColor"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ <vxe-column field="goods_owner_name" :title="$t('base.ownerOfCargo.goods_owner_name')"></vxe-column>+ <vxe-column field="city" :title="$t('base.ownerOfCargo.city')"></vxe-column>+ <vxe-column field="address" :title="$t('base.ownerOfCargo.address')"></vxe-column>+ <vxe-column field="manager" :title="$t('base.ownerOfCargo.manager')"></vxe-column>+ <vxe-column field="contact_tel" :title="$t('base.ownerOfCargo.contact_tel')"></vxe-column>+ </vxe-table>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { VxeTablePropTypes } from 'vxe-table'+import * as XLSX from 'xlsx'+import i18n from '@/languages/i18n'+import { excelImport } from '@/api/base/ownerOfCargo'+import { hookComponent } from '@/components/system/index'+import { SYSTEM_HEIGHT, errorColor } from '@/constant/style'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { ImportVO } from '@/types/Base/OwnerOfCargo'+import { exportData } from '@/utils/exportTable'+import { formatString } from '@/utils/format/formatSystem'++const emit = defineEmits(['close', 'saveSuccess'])+const uploadExcel = ref()+const xTable = ref()++const props = defineProps<{+ showDialog: boolean+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ importData: ref<Array<ImportVO>>([]),+ validRules: ref<VxeTablePropTypes.EditRules>({})+})++const method = reactive({+ initForm: () => {+ data.importData = []+ },+ closeDialog: () => {+ emit('close')+ },+ submit: async () => {+ const isValid = method.valid()+ if (!isValid) {+ return+ }++ const $table = xTable.value+ // It must be use 'getTableData()' to get all datas with table because it will delete row sometimes.+ const importData = $table.getTableData().fullData++ const { data: res } = await excelImport(importData)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ },++ valid: () => {+ const $table = xTable.value+ const importData = $table.getTableData().fullData++ if (importData.length <= 0) {+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('system.tips.detailLengthIsZero') }`+ })+ return false+ }+ return true+ },++ chooseFile: async () => {+ uploadExcel.value.value = ''+ uploadExcel.value.click()+ },++ readExcel: async (evnt: any) => {+ const files = evnt.target.files+ if (files.length <= 0) {+ return false+ }++ const file = files[0]+ const fileReader = new FileReader()++ fileReader.onload = (ev: ProgressEvent<FileReader>) => {+ const fileData = ev?.target?.result+ if (fileData) {+ const workbook = XLSX.read(fileData, { type: 'binary' })+ const wsname = workbook.SheetNames[0]++ let ws = XLSX.utils.sheet_to_json(workbook.Sheets[wsname])+ let str = JSON.stringify(ws)+ str = str.replace(/(/g, '(')+ str = str.replace(/)/g, ')')+ ws = JSON.parse(str)++ data.importData = []+ ws.forEach((value: any, index: number, ws: any) => {+ data.importData.push({+ goods_owner_name: formatString(ws[index][i18n.global.t('base.ownerOfCargo.goods_owner_name')]),+ city: formatString(ws[index][i18n.global.t('base.ownerOfCargo.city')]),+ address: formatString(ws[index][i18n.global.t('base.ownerOfCargo.address')]),+ manager: formatString(ws[index][i18n.global.t('base.ownerOfCargo.manager')]),+ contact_tel: formatString(ws[index][i18n.global.t('base.ownerOfCargo.contact_tel')])+ })+ })+ }+ }+ fileReader.readAsBinaryString(file)+ },++ exportTemplate: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.ownerOfCargo'),+ mode: 'header',+ columnFilterMethod({ column }: any) {+ return !['checkbox', 'seq'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },++ deleteRow: (row: ImportVO) => {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteDetailMessage'),+ handleConfirm: async () => {+ if (row) {+ const $table = xTable.value+ $table.remove(row)+ }+ }+ })+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.initForm()+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/base/ownerOfCargo/ownerOfCargo.vue b/frontend/src/view/base/ownerOfCargo/ownerOfCargo.vuenew file mode 100644index 0000000..e5e2453--- /dev/null+++ b/frontend/src/view/base/ownerOfCargo/ownerOfCargo.vue@@ -0,0 +1,328 @@+<template>+ <div class="container">+ <div>+ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="12" sm="4" class="col">+ <!-- <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.add')" @click="method.add()"></tooltip-btn>+ <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh()"></tooltip-btn>+ <tooltip-btn icon="mdi-database-import-outline" :tooltip-text="$t('system.page.import')" @click="method.openDialogImport">+ </tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"></tooltip-btn> -->++ <!-- new version -->+ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="12" sm="8">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4"> </v-col>+ <v-col cols="4"> </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.goods_owner_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('base.ownerOfCargo.goods_owner_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table+ ref="xTable"+ :column-config="{+ minWidth: '100px'+ }"+ :data="data.tableData"+ :height="tableHeight"+ align="center"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="goods_owner_name" :title="$t('base.ownerOfCargo.goods_owner_name')"></vxe-column>+ <vxe-column field="city" :title="$t('base.ownerOfCargo.city')"></vxe-column>+ <vxe-column field="address" :title="$t('base.ownerOfCargo.address')"></vxe-column>+ <vxe-column field="contact_tel" :title="$t('base.ownerOfCargo.contact_tel')"></vxe-column>+ <vxe-column field="manager" :title="$t('base.ownerOfCargo.manager')"></vxe-column>+ <vxe-column field="creator" :title="$t('base.ownerOfCargo.creator')"></vxe-column>+ <vxe-column+ field="create_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('base.ownerOfCargo.create_time')"+ ></vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="160" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-pencil-outline"+ :tooltip-text="$t('system.page.edit')"+ :disabled="!data.authorityList.includes('save')"+ @click="method.editRow(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="!data.authorityList.includes('delete')?'':errorColor"+ :disabled="!data.authorityList.includes('delete')"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ </v-card-text>+ </v-card>+ </div>+ <!-- Add or modify data mode window -->+ <addOrUpdateDialog :show-dialog="data.showDialog" :form="data.dialogForm" @close="method.closeDialog" @saveSuccess="method.saveSuccess" />+ <import-table :show-dialog="data.showDialogImport" @close="method.closeDialogImport" @saveSuccess="method.saveSuccessImport" />+ </div>+</template>++<script lang="ts" setup>+import { computed, reactive, onMounted, ref, watch } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight, errorColor } from '@/constant/style'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { OwnerOfCargoVO, DataProps } from '@/types/Base/OwnerOfCargo'+import { getOwnerOfCargoByPage, deleteOwnerOfCargo } from '@/api/base/ownerOfCargo'+import { hookComponent } from '@/components/system'+import addOrUpdateDialog from './add-or-update-owner-of-cargo.vue'+import i18n from '@/languages/i18n'+import importTable from './import-table.vue'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import customPager from '@/components/custom-pager.vue'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { exportData } from '@/utils/exportTable'+import { DEBOUNCE_TIME } from '@/constant/system'+import BtnGroup from '@/components/system/btnGroup.vue'++const xTable = ref()++const data: DataProps = reactive({+ searchForm: {+ goods_owner_name: ''+ },+ showDialogImport: false,+ tableData: [],+ // Dialog info+ showDialog: false,+ dialogForm: {+ id: 0,+ goods_owner_name: '',+ city: '',+ address: '',+ contact_tel: '',+ manager: ''+ },+ tablePage: {+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE+ },+ timer: null,+ btnList: [],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ // When change paging+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize+ method.refresh()+ }),+ // Import Dialog+ openDialogImport: () => {+ data.showDialogImport = true+ },+ closeDialogImport: () => {+ data.showDialogImport = false+ },+ saveSuccessImport: () => {+ method.refresh()+ method.closeDialogImport()+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getOwnerOfCargoList()+ },+ // Find Data by Pagination+ getOwnerOfCargoList: async () => {+ const { data: res } = await getOwnerOfCargoByPage(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ // Add user+ add: () => {+ data.dialogForm = {+ id: 0,+ goods_owner_name: '',+ city: '',+ address: '',+ contact_tel: '',+ manager: ''+ }+ data.showDialog = true+ },+ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },+ // after Add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },+ // Refresh data+ refresh: () => {+ method.getOwnerOfCargoList()+ },+ editRow(row: OwnerOfCargoVO) {+ data.dialogForm = JSON.parse(JSON.stringify(row))+ data.showDialog = true+ },+ deleteRow(row: OwnerOfCargoVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await deleteOwnerOfCargo(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ // Export table+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.ownerOfCargo'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ }+})++onMounted(async () => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.add'),+ icon: 'mdi-plus',+ code: 'save',+ click: method.add+ },+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.import'),+ icon: 'mdi-database-import-outline',+ code: 'import',+ click: method.openDialogImport+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'export',+ click: method.exportTable+ }+ ]++ await method.getOwnerOfCargoList()+})++const cardHeight = computed(() => computedCardHeight({ hasTab: false }))++const tableHeight = computed(() => computedTableHeight({ hasTab: false }))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/base/print/add-or-update-print.vue b/frontend/src/view/base/print/add-or-update-print.vuenew file mode 100644index 0000000..f5506f9--- /dev/null+++ b/frontend/src/view/base/print/add-or-update-print.vue@@ -0,0 +1,687 @@+<template>+ <v-dialog v-model="isShow" fullscreen :scrim="false" transition="dialog-bottom-transition">+ <v-card>+ <div style="padding: 15px 15px">+ <v-row no-gutters>+ <v-col cols="4">+ <v-row no-gutters>+ <v-col :cols="4">+ <v-select+ v-model="data.form.vue_path"+ :items="menuList"+ item-title="label"+ item-value="value"+ :label="$t('base.printSolution.vue_path')"+ density="compact"+ hide-details+ clearable+ variant="outlined"+ :disabled="props.form.id > 0"+ @update:model-value="method.handleChangePath()"+ ></v-select>+ </v-col>+ <v-col cols="4">+ <div style="padding-left: 5px">+ <v-select+ v-model="data.form.tab_page"+ :items="data.pageList"+ item-title="label"+ item-value="value"+ :label="$t('base.printSolution.tab_page')"+ density="compact"+ hide-details+ :disabled="props.form.id > 0"+ clearable+ variant="outlined"+ @update:model-value="method.handleChangePage()"+ ></v-select>+ </div>+ </v-col>+ <v-col cols="4">+ <div style="padding-left: 5px">+ <v-text-field+ v-model="data.form.solution_name"+ :label="$t('base.printSolution.solution_name')"+ density="compact"+ hide-details+ clearable+ variant="outlined"+ :disabled="props.form.id > 0"+ ></v-text-field>+ </div>+ </v-col>+ </v-row>+ </v-col>+ <v-col cols="7">+ <div class="center-btn-box">+ <div>+ <v-btn+ v-for="(value, type) in data.paperTypes"+ :key="type"+ :color="curPaperType === type ? 'indigo-darken-3' : 'white'"+ @click="method.handleSetPaper(type, value)"+ >+ {{ type }}+ </v-btn>+ <v-btn+ icon="mdi-magnify-minus-outline"+ style="font-size: 14px; margin-left: 10px"+ size="small"+ @click="method.handleChangeScale(false)"+ ></v-btn>+ <v-btn disabled size="small" style="margin-left: 10px; width: 70px">{{ scaleValueStr }}%</v-btn>+ <v-btn+ icon="mdi-magnify-plus-outline"+ style="font-size: 14px; margin-left: 10px"+ size="small"+ @click="method.handleChangeScale(true)"+ ></v-btn>+ </div>+ <div>+ <v-btn style="font-size: 14px; margin-left: 10px" @click="method.handlePreView()">+ {{ $t('system.page.preView') }}+ </v-btn>+ <v-btn+ style="font-size: 14px; margin-left: 10px"+ :disabled="!data.form.solution_name || !data.form.tab_page"+ color="primary"+ @click="method.handleSubmit"+ >+ {{ $t('system.page.submit') }}+ </v-btn>+ </div>+ </div>+ </v-col>+ <v-col cols="1">+ <div class="right-top-box">+ <v-btn icon style="font-size: 14px; margin-left: 10px" size="small" @click="method.handleClose()">+ <v-icon>mdi-close</v-icon>+ </v-btn>+ </div>+ </v-col>+ </v-row>+ <v-row>+ <v-col cols="2">+ <div class="left-box">+ <div id="hiprintEpContainer" class="rect-printElement-types hiprintEpContainer"> </div>+ </div>+ </v-col>+ <v-col cols="7">+ <div class="center-box card-design">+ <div id="hiprint-printTemplate" style="margin-top: 20px" class="hiprint-printTemplate"></div>+ </div>+ </v-col>+ <v-col cols="3">+ <div class="right-box">+ <div id="PrintElementOptionSetting"></div>+ </div>+ </v-col>+ </v-row>+ </div>+ </v-card>++ <preViewDialog ref="preViewDialogRef" />+ </v-dialog>+</template>+<script lang="ts" setup>+import { reactive, ref, computed, watch, nextTick, getCurrentInstance, ComponentInternalInstance } from 'vue'+import { hookComponent } from '@/components/system/index'+import { addPrintSolution, updatePrintSolution } from '@/api/base/printSolution'+import { PrintSolutionVO } from '@/types/Base/PrintSolution'+import i18n from '@/languages/i18n'+import preViewDialog from '@/components/hiprint/preView.vue'+import { PRINT_MENU } from '@/constant/print'++const logoRef = ref()+const { appContext } = getCurrentInstance() as ComponentInternalInstance+const proxy = appContext.config.globalProperties+const { hiprint } = proxy+const emit = defineEmits(['close', 'saveSuccess'])++interface paperTypeData {+ width: number+ height: number+}+interface tableInterFace {+ name: string+ field: string+ columns: Array<string>+}+interface selectInterFace {+ value: string+ label: string+ form: any+}+const props = defineProps<{+ showDialog: boolean+ form: PrintSolutionVO+}>()+const isShow = computed(() => props.showDialog)+const preViewDialogRef = ref()+const data = reactive({+ form: {+ id: 0,+ solution_name: '',+ config_json: '',+ report_length: 0,+ report_width: 0,+ report_direction: 'A4',+ tenant_id: 0+ } as PrintSolutionVO,+ table: [] as tableInterFace[],+ i18nName: '',+ pageForm: {} as any,+ hiprintTemplate: {} as any,+ mode: '',+ modeList: [] as string[],+ pageList: [] as selectInterFace[],+ // 当前纸张+ curPaper: {+ type: 'A4',+ width: 210,+ height: 296.6+ },+ // 纸张类型+ paperTypes: {+ A3: {+ width: 420,+ height: 296.6+ },+ A4: {+ width: 210,+ height: 296.6+ },+ A5: {+ width: 210,+ height: 147.6+ },+ B3: {+ width: 500,+ height: 352.6+ },+ B4: {+ width: 250,+ height: 352.6+ },+ B5: {+ width: 250,+ height: 175.6+ }+ },+ scaleValue: 1,+ scaleMax: 5,+ scaleMin: 0.5,+ panel: {}+})++const method = reactive({+ provider() {+ const elementList = [+ new hiprint.PrintElementTypeGroup(i18n.global.t('system.hiprint.routine'), [+ {+ tid: 'providerModule.customText',+ title: i18n.global.t('system.hiprint.text'),+ customText: i18n.global.t('system.hiprint.text'),+ custom: true,+ type: 'text'+ },+ {+ tid: 'providerModule.image',+ title: 'Logo',+ custom: true,+ type: 'image'+ }+ ])+ ]+ const userList = [] as any[]+ for (const key in data.pageForm) {+ const i18nName = `${ data.i18nName }.${ key }`+ const labelName = i18n.global.t(i18nName)+ if (labelName !== i18nName && !key.includes('detailList')) {+ userList.push({+ tid: `providerModule.${ key }`,+ title: labelName,+ data: labelName,+ type: 'text',+ options: {+ field: key,+ testData: labelName,+ height: 16,+ fontSize: 6.75,+ fontWeight: '700',+ textAlign: 'left',+ textContentVerticalAlign: 'middle'+ }+ })+ }+ }+ let index = 1+ data.table.forEach((item) => {+ const object = {+ tid: `providerModule.table${ index.toString() }`,+ title: item.name,+ type: 'table',+ options: {+ field: item.field,+ fields: [{ text: '名称', field: 'NAME' }]+ },+ editable: true,+ columnDisplayEditable: true, // 列显示是否能编辑+ columnDisplayIndexEditable: true, // 列顺序显示是否能编辑+ columnTitleEditable: true, // 列标题是否能编辑+ columnResizable: true, // 列宽是否能调整+ columnAlignEditable: true, // 列对齐是否调整+ columns: [[{ title: '部门', align: 'center', field: 'dept', width: 50 }]]+ }+ object.columns[0] = []+ object.options.fields = []+ item.columns.forEach((col) => {+ const i18nName = `${ data.i18nName }.${ col }`+ const labelName = i18n.global.t(i18nName)+ if (i18nName !== labelName) {+ object.columns[0].push({ title: labelName, align: 'center', field: col, width: 50 })+ object.options.fields.push({ text: labelName, field: col })+ }+ })+ userList.push(object)+ index += 1+ })+ if (userList.length > 0) {+ elementList.push(new hiprint.PrintElementTypeGroup(i18n.global.t('system.hiprint.field'), userList))+ }+ elementList.push(+ new hiprint.PrintElementTypeGroup(i18n.global.t('system.hiprint.auxiliary'), [+ {+ tid: 'providerModule.hline',+ title: i18n.global.t('system.hiprint.hline'),+ type: 'hline'+ },+ {+ tid: 'providerModule.vline',+ title: i18n.global.t('system.hiprint.vline'),+ type: 'vline'+ },+ {+ tid: 'providerModule.rect',+ title: i18n.global.t('system.hiprint.rect'),+ type: 'rect'+ },+ {+ tid: 'providerModule.oval',+ title: i18n.global.t('system.hiprint.oval'),+ type: 'oval'+ }+ ])+ )+ const addElementTypes = function (context: any) {+ context.removePrintElementTypes('providerModule')+ context.addPrintElementTypes('providerModule', elementList)+ }+ return {+ addElementTypes+ }+ },+ initProvier() {+ hiprint.init({+ providers: [method.provider()]+ })+ // $('.hiprintEpContainer').empty()+ const dom = document.getElementById('hiprintEpContainer')+ if (dom !== null) {+ dom.innerHTML = ''+ }+ hiprint.PrintElementTypeManager.build('.hiprintEpContainer', 'providerModule')+ },+ initTemplate() {+ // const provider = providers[0]+ // $('#hiprint-printTemplate').empty()+ const dom = document.getElementById('hiprint-printTemplate')+ if (dom !== null) {+ dom.innerHTML = ''+ }+ data.hiprintTemplate = new hiprint.PrintTemplate({+ template: data.panel,+ dataMode: 1, // 1:getJson 其他:getJsonTid 默认1+ history: false, // 是否需要 撤销重做功能+ // onDataChanged: (type, json) => {+ // console.log(type) // 新增、移动、删除、修改(参数调整)、大小、旋转+ // console.log(json) // 返回 template+ // // 更新模板+ // // hiprintTemplate.update(json)+ // // console.log(hiprintTemplate.historyList)+ // },+ onImageChooseClick: (target) => {+ // 创建input,模拟点击,然后 target.refresh 更新+ const input = document.createElement('input')+ input.setAttribute('type', 'file')+ input.click()+ input.onchange = function (evnt: any) {+ const file = evnt?.target?.files[0]+ if (file) {+ const reader = new FileReader()+ // 通过文件流行文件转换成Base64字行串+ reader.readAsDataURL(file)+ // 转换成功后+ reader.onloadend = function () {+ // 通过 target.refresh 更新图片元素+ target.refresh(reader.result)+ }+ }+ }+ input.remove()+ },+ settingContainer: '#PrintElementOptionSetting',+ paginationContainer: '.hiprint-printPagination'+ })+ data.hiprintTemplate.design('#hiprint-printTemplate')+ },+ handleSetPaper(type: string, value: paperTypeData) {+ try {+ if (Object.keys(data.paperTypes).includes(type)) {+ data.curPaper = { type, width: value.width, height: value.height }+ } else {+ data.curPaper = { type: 'other', width: value.width, height: value.height }+ }+ if (data.hiprintTemplate) {+ data.hiprintTemplate.setPaper(value.width, value.height)+ }+ } catch (error) {+ // console.log(error)+ }+ },+ handleChangeScale(big: boolean) {+ let scaleValue = data.scaleValue+ if (big) {+ scaleValue += 0.1+ if (scaleValue > data.scaleMax) scaleValue = 5+ } else {+ scaleValue -= 0.1+ if (scaleValue < data.scaleMin) scaleValue = 0.5+ }+ scaleValue = Number(scaleValue.toFixed(1))+ if (data.hiprintTemplate) {+ // scaleValue: 放大缩小值, false: 不保存(不传也一样), 如果传 true, 打印时也会放大+ data.hiprintTemplate.zoom(scaleValue, true)+ data.scaleValue = scaleValue+ }+ },+ handleChangePath() {+ data.form.tab_page = ''+ method.initPageList()+ },+ initPageList() {+ data.pageList = []+ const option = PRINT_MENU.filter((item) => item.vue_path === data.form.vue_path)+ if (option.length > 0) {+ data.i18nName = option[0].i18nName+ data.pageList = option[0].children.map((item) => {+ let label = item.tab_page+ if (item.tab_page === option[0].vue_path) {+ label = i18n.global.t(`router.sideBar.${ item.tab_page }`)+ } else {+ label = i18n.global.t(`${ data.i18nName }.${ item.tab_page }`)+ }+ return { value: item.tab_page, label, form: item.form }+ })+ }+ },+ handleChangePage() {+ const option = data.pageList.filter((item) => item.value === data.form.tab_page)+ data.table = []+ if (option.length > 0) {+ data.pageForm = option[0].form+ for (const key in data.pageForm) {+ if (key.indexOf('detailList') > -1) {+ const detailList = data.pageForm[key]+ const name = i18n.global.t(`${ data.i18nName }.${ detailList.name }`)+ data.table.push({ name, field: key, columns: detailList.columns })+ }+ }+ }+ method.initProvier()+ method.initTemplate()+ },+ async handleSubmit() {+ if (data.hiprintTemplate) {+ const jsonOut = JSON.stringify(data.hiprintTemplate.getJson() || {})+ const form = {+ id: data.form.id,+ vue_path: data.form.vue_path,+ tab_page: data.form.tab_page,+ solution_name: data.form.solution_name,+ config_json: jsonOut,+ report_length: data.curPaper.height,+ report_width: data.curPaper.width,+ report_direction: data.curPaper.type,+ tenant_id: 0+ } as PrintSolutionVO++ const { data: res } = form.id === 0 ? await addPrintSolution(form) : await updatePrintSolution(form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ }+ },+ handleClose() {+ emit('close')+ },+ handlePreView() {+ const ref = preViewDialogRef.value+ ref.data.width = data.curPaper.width+ ref.data.hiprintTemplate = data.hiprintTemplate+ const printData = {}+ for (const key in data.pageForm) {+ if (!key.includes('detailList')) {+ let value = key+ const i18nName = `${ data.i18nName }.${ key }`+ const labelName = i18n.global.t(i18nName)+ if (labelName !== i18nName) {+ value = labelName+ }+ printData[key] = value+ } else {+ const detailList = data.pageForm[key]+ const obj = {}+ detailList.columns.forEach((col) => {+ const i18nName = `${ data.i18nName }.${ col }`+ const labelName = i18n.global.t(i18nName)+ if (i18nName !== labelName) {+ obj[col] = labelName+ } else {+ obj[col] = col+ }+ })+ printData[key] = [obj]+ }+ }+ ref.data.printData = printData+ ref.method.show()+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ nextTick(() => {+ if (props.form.id > 0) {+ data.form = props.form+ if (data.form.config_json) {+ data.panel = JSON.parse(data.form.config_json)+ } else {+ data.panel = {}+ }+ method.initPageList()+ method.handleChangePage()+ if (Object.keys(data.paperTypes).includes(data.form.report_direction)) {+ data.curPaper = {+ type: data.form.report_direction,+ width: data.paperTypes[data.form.report_direction].width,+ height: data.paperTypes[data.form.report_direction].height+ }+ method.handleSetPaper(data.curPaper.type, data.curPaper)+ }+ } else {+ data.form = {+ id: 0,+ solution_name: '',+ config_json: '',+ report_length: 0,+ report_width: 0,+ report_direction: 'st',+ tenant_id: 0+ } as PrintSolutionVO+ data.curPaper = {+ type: 'A4',+ width: 210,+ height: 296.6+ }+ method.handleSetPaper(data.curPaper.type, data.curPaper)+ const dom = document.getElementById('hiprintEpContainer')+ if (dom !== null) {+ dom.innerHTML = ''+ }+ const dom1 = document.getElementById('hiprint-printTemplate')+ if (dom1 !== null) {+ dom1.innerHTML = ''+ }+ data.panel = {}+ }+ })+ }+ }+)+const scaleValueStr = computed(() => {+ let scaleValue = data.scaleValue * 100+ scaleValue = Number(scaleValue.toFixed(0))+ return scaleValue+})+const curPaperType = computed(() => {+ let type = 'other'+ const types = data.paperTypes+ for (const key in types) {+ const item = types[key]+ const { width, height } = data.curPaper+ if (item.width === width && item.height === height) {+ type = key+ }+ }+ return type+})+const menuList = computed(() => PRINT_MENU.map((item) => ({ value: item.vue_path, label: i18n.global.t(`router.sideBar.${ item.vue_path }`) })))++defineExpose({+ data+})+</script>+<style scoped lang="less">+.center-btn-box {+ margin-left: 10px;+ margin-bottom: 5px;+ display: flex;+ justify-content: start;+}++.center-box {+ height: calc(100vh - 100px);+ border: 2px solid #e8e8e8;+ box-sizing: border-box;+ border-radius: 2px;+ padding: 0 5px;+ display: flex;+ justify-content: center;+ /* 水平居中对齐 */+}++.left-top-box {+ display: flex;+ justify-content: space-between;+ /* 水平居中对齐 */+}++.left-box {+ height: calc(100vh - 100px);+ border: 2px solid #e8e8e8;+ box-sizing: border-box;+ border-radius: 2px;+ padding: 0 5px;+ display: flex;+ justify-content: center;+}++.right-top-box {+ display: flex;+ justify-content: flex-end;+}++.right-box {+ height: calc(100vh - 100px);+ border: 2px solid #e8e8e8;+ box-sizing: border-box;+ border-radius: 2px;+ padding: 0 5px;+ display: flex;+ justify-content: center;+}++.hiprintEpContainer {+ max-width: 200px;+}++:deep(.hiprint-printElement-type > li > ul > li > a) {+ padding: 4px 4px !important;+ color: white !important;+ background-color: #9c27b0 !important;+ font-family: 'Roboto', sans-serif !important;+ font-weight: 500 !important;+ line-height: normal !important;+ vertical-align: middle !important;+ justify-content: center !important;+ height: 30px !important;+ border-radius: 4px !important;+ border-style: none !important;+ text-overflow: ellipsis !important;+ font-size: 14px !important;+ box-shadow: 0 3px 1px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)),+ 0 2px 2px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0 1px 5px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12)) !important;+}++:deep(.hiprint-printElement-type > li > .title) {+ color: #000000de !important;+ font-family: 'Roboto', sans-serif !important;+ font-weight: 500 !important;+}++// 最右边样式,确认按钮背景色+:deep(.hiprint-option-item-settingBtn) {+ background: #9c27b0 !important;+}++// 最右边样式,删除按钮背景色+:deep(.hiprint-option-item-deleteBtn) {+ background: #8d9098 !important;+}++// 默认图片+// :deep(.hiprint-printElement-image-content) {+// img {+// content: url('@/assets/img/webLogoMini.png') !important;+// }+// }++// 设计容器+.card-design {+ overflow: hidden;+ overflow-x: auto;+ overflow-y: auto;+}+</style>diff --git a/frontend/src/view/base/print/print.vue b/frontend/src/view/base/print/print.vuenew file mode 100644index 0000000..04b0a58--- /dev/null+++ b/frontend/src/view/base/print/print.vue@@ -0,0 +1,360 @@+<template>+ <div class="container">+ <div>+ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="12" sm="4" class="col">+ <!-- new version -->+ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="8" sm="8">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4"></v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.vue_path"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('base.printSolution.vue_path')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <!-- <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.tab_page"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('base.printSolution.tab_page')"+ variant="solo"+ >+ </v-text-field>+ </v-col> -->+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.solution_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('base.printSolution.solution_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table+ ref="xTable"+ :data="data.tableData"+ :column-config="{+ minWidth: '100px'+ }"+ :height="tableHeight"+ align="center"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="checkbox" width="50" fixed="left"></vxe-column>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="vue_path" :title="$t('base.printSolution.vue_path')">+ <template #default="{ row }">+ <span v-if="row.parent_id > 0">{{ row.sku_name }}</span>+ <span v-else>{{ $t(`router.sideBar.${row.vue_path}`) }}</span>+ </template>+ </vxe-column>+ <!-- <vxe-column field="tab_page" :title="$t('base.printSolution.tab_page')">+ <template #default="{ row }">+ <span v-if="row.parent_id > 0">{{ row.unit }}</span>+ <span v-else>{{ row.tab_page }}</span>+ </template>+ </vxe-column> -->+ <vxe-column field="solution_name" width="150px" :title="$t('base.printSolution.solution_name')">+ <template #default="{ row }">+ <span v-if="row.parent_id > 0">{{ row.sku_code }}</span>+ <span v-else>{{ row.solution_name }}</span>+ </template>+ </vxe-column>+ <vxe-column+ field="operate"+ :title="$t('system.page.operate')"+ width="160px"+ :resizable="false"+ show-overflow+ >+ <template #default="{ row }">+ <div>+ <tooltip-btn+ :flat="true"+ icon="mdi-pencil-outline"+ :tooltip-text="$t('system.page.edit')"+ @click="method.editRow(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="!data.authorityList.includes('delete') ? '' : errorColor"+ :disabled="!data.authorityList.includes('delete')"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </div>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ </v-card-text>+ </v-card>+ </div>+ <!-- Add or modify data mode window -->+ <addOrUpdateDialog+ :show-dialog="data.showDialog"+ :form="data.dialogForm"+ @close="method.closeDialog"+ @saveSuccess="method.saveSuccess"+ />+ </div>+</template>++<script lang="ts" setup>+import { computed, onMounted, reactive, ref, watch } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight, errorColor } from '@/constant/style'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { DataProps, PrintSolutionVO } from '@/types/Base/PrintSolution'+import { getPrintSolutionList, deletePrintSolution } from '@/api/base/printSolution'+import { hookComponent } from '@/components/system'+import addOrUpdateDialog from './add-or-update-print.vue'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import i18n from '@/languages/i18n'+import customPager from '@/components/custom-pager.vue'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { exportData } from '@/utils/exportTable'+import { DEBOUNCE_TIME } from '@/constant/system'+import BtnGroup from '@/components/system/btnGroup.vue'++const xTable = ref()++const data: DataProps = reactive({+ searchForm: {+ vue_path: '',+ tab_page: '',+ solution_name: '',+ },+ timer: null,+ tableData: [],+ tablePage: {+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE+ },+ // Dialog info+ showDialog: false,+ dialogForm: {+ id: 0,+ vue_path: '',+ tab_page: '',+ solution_name: '',+ config_json: '',+ report_length: 0,+ report_width: 0,+ report_direction: 'st',+ tenant_id: 0+ },+ btnList: [],+ authorityList: getMenuAuthorityList(),+ selectRowData: []+})++const method = reactive({+ // Check if the checkbox can be checked+ getCheckBoxDisableState: ({ row }: { row: any }): boolean => row.parent_id,+ selectAllEvent({ checked }) {+ const records = xTable.value.getCheckboxRecords()+ checked ? (data.selectRowData = records) : (data.selectRowData = [])+ },+ selectChangeEvent() {+ data.selectRowData = xTable.value.getCheckboxRecords()+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getCompanyList()+ },+ // Find Data by Pagination+ getCompanyList: async () => {+ const { data: res } = await getPrintSolutionList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ // Add user+ add: () => {+ data.dialogForm = {+ id: 0,+ vue_path: '',+ tab_page: '',+ solution_name: '',+ config_json: '',+ report_length: 0,+ report_width: 0,+ report_direction: ''+ }+ data.showDialog = true+ },+ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },+ // after Add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },+ // Refresh data+ refresh: () => {+ method.getCompanyList()+ },+ editRow(row: PrintSolutionVO) {+ data.dialogForm = JSON.parse(JSON.stringify(row))+ data.showDialog = true+ },+ deleteRow(row: PrintSolutionVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await deletePrintSolution(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ // Export table+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.print'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ // When change paging+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize+ method.refresh()+ })+})++onMounted(async () => {+ await method.getCompanyList()++ data.btnList = [+ {+ name: i18n.global.t('system.page.add'),+ icon: 'mdi-plus',+ code: 'save',+ click: method.add+ },+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'export',+ click: method.exportTable+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({ hasTab: false }))++const tableHeight = computed(() => computedTableHeight({ hasTab: false }))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/base/roleMenu/actionList.ts b/frontend/src/view/base/roleMenu/actionList.tsnew file mode 100644index 0000000..63eca20--- /dev/null+++ b/frontend/src/view/base/roleMenu/actionList.ts@@ -0,0 +1,97 @@+import i18n from '@/languages/i18n'++export const actionDict: any = {+ companySetting: ['save', 'delete', 'export'],+ userRoleSetting: ['save', 'delete', 'export'],+ roleMenu: [],+ userManagement: ['save', 'delete', 'import', 'export', 'resetPwd'],+ commodityCategorySetting: ['save', 'delete', 'export'],+ commodityManagement: ['save', 'delete', 'export', 'saftyStock', 'printQrCode', 'printBarCode'],+ supplier: ['save', 'delete', 'import', 'export'],+ print: ['save', 'delete', 'export'],+ warehouseSetting: [+ 'warehouse-save',+ 'warehouse-delete',+ 'warehouse-import',+ 'warehouse-export',+ 'area-save',+ 'area-delete',+ 'area-export',+ 'location-save',+ 'location-delete',+ 'location-export',+ 'location-printBarCode',+ 'location-printQrCode'+ ],+ ownerOfCargo: ['save', 'delete', 'import', 'export'],+ freightSetting: ['save', 'delete', 'import', 'export'],+ customer: ['save', 'delete', 'import', 'export'],++ stockAsn: [+ 'notice-save',+ 'notice-delete',+ 'notice-export',+ 'notice-printQrCode',+ 'delivered-confirm',+ 'delivered-export',+ 'unloaded-confirm',+ 'unloaded-delete',+ 'unloaded-export',+ 'sorted-editCount',+ 'sorted-confirm',+ 'sorted-delete',+ 'sorted-export',+ 'putOnTheShelf-editArrival',+ 'putOnTheShelf-delete',+ 'putOnTheShelf-export',+ 'detail-export'+ ],++ stockManagement: ['area-export', 'stock-export'],+ saftyStock: ['export'],+ asnStatistic: ['export'],+ deliveryStatistic: ['export'],++ warehouseProcessing: ['split', 'group', 'confirmOpeartion', 'confirmAdjust', 'delete', 'export'],+ warehouseMove: ['save', 'delete', 'export', 'confirm'],+ warehouseFreeze: ['freeze', 'unfreeze', 'export'],+ warehouseAdjust: ['export'],+ warehouseTaking: ['save', 'delete', 'export', 'confirmOpeartion', 'confirmAdjust'],++ deliveryManagement: [+ 'invoice-save',+ 'invoice-confirm',+ 'invoice-revoke',+ 'invoice-delete',+ 'invoice-export',+ 'invoice-printQrCode',+ 'picked-confirm',+ 'picked-revoke',+ 'picked-export',+ 'packaged-package',+ 'packaged-export',+ 'packaged-revoke',+ 'weighed-weigh',+ 'weighed-export',+ 'weighed-revoke',+ 'delivered-delivery',+ 'delivered-setCarrier',+ 'delivered-signIn',+ 'delivered-export',+ 'signedIn-export'+ ]+}++// Get operation name+export const getActionName = (item: string, menu_name?: string) => {+ let titleKey = item++ let titleFun = ''+ if (titleKey.includes('-')) {+ titleFun = `${ i18n.global.t(`base.roleMenu.opeartionFunctionName.${ menu_name }.${ titleKey.split('-')[0] }`) }-`++ titleKey = titleKey.split('-')[1]+ }++ return `${ titleFun }${ i18n.global.t(`base.roleMenu.operationTitle.${ titleKey }`) }`+}diff --git a/frontend/src/view/base/roleMenu/add-or-update-role-menu.vue b/frontend/src/view/base/roleMenu/add-or-update-role-menu.vuenew file mode 100644index 0000000..b5acf22--- /dev/null+++ b/frontend/src/view/base/roleMenu/add-or-update-role-menu.vue@@ -0,0 +1,242 @@+<template>+ <v-dialog v-model="isShow" :persistent="true" :width="'30%'" transition="dialog-top-transition">+ <template #default>+ <v-card class="formCard">+ <v-toolbar :title="`${$t('router.sideBar.roleMenu')}`" color="white"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-select+ v-model="data.form.userrole_id"+ :disabled="data.dialogTitle === 'update'"+ :items="data.combobox.role_name"+ :label="$t('base.roleMenu.role_name')"+ :rules="data.rules.role_name"+ clearable+ item-title="label"+ item-value="value"+ variant="outlined"+ ></v-select>+ </v-form>+ <vxe-table+ ref="xTable"+ :checkbox-config="{checkRowKeys: data.menusSelectedList}"+ :data="data.combobox.menu_name"+ :radio-config="{labelField: 'value'}"+ :row-config="{isHover: true, keyField:'value'}"+ align="center"+ max-height="500"+ row-id="value"+ @checkbox-all="method.selectAllEvent"+ @checkbox-change="method.selectChangeEvent"+ >+ <vxe-column type="checkbox" width="60"></vxe-column>+ <vxe-column :title="$t('base.roleMenu.menu_name')" field="label"></vxe-column>+ </vxe-table>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { computed, reactive, ref, watch } from 'vue'+import { RoleMenuDetailVo, RoleMenuVO } from '@/types/Base/RoleMenu'+import { UserRoleVO } from '@/types/Base/UserRoleSetting'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { addRoleMenu, getMenus, updateRoleMenu } from '@/api/base/roleMenu'+import { getUserRoleAll } from '@/api/base/userRoleSetting'+import { MenuItem } from '@/types/System/Store'+import { actionDict } from './actionList'++const formRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])++const props = defineProps<{+ showDialog: boolean+ form: RoleMenuVO+}>()+const isShow = computed(() => props.showDialog)+const xTable = ref()+const data = reactive({+ dialogTitle: '',+ form: ref<RoleMenuVO>({+ userrole_id: 0,+ role_name: '',+ detailList: []+ }),+ // Multiple drop-down box values, mainly used to temporarily save the selected values+ menusSelectedList: ref<any[]>([]),+ // If it is modified, you need to pass a negative ID to the API to delete the existing details+ removeDetailList: ref<RoleMenuDetailVo[]>([]),+ // Drop down box options+ combobox: ref<{+ role_name: {+ label: string+ value: number+ }[]+ menu_name: {+ label: string+ value: number+ menu_name: string+ }[]+ }>({+ role_name: [],+ menu_name: []+ }),+ rules: {+ role_name: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.roleMenu.role_name') }!`],+ menu_name: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.roleMenu.menu_name') }!`]+ }+})++const method = reactive({+ // Get dialog type, add or update+ getDialogType: () => {+ // This is special because this document is not actually a table,+ // but the data associated with another table.+ // so directly use the details to determine whether it is a new document+ if (props.form.detailList.length > 0) {+ data.dialogTitle = 'update'+ } else {+ data.dialogTitle = 'add'+ }+ },+ // Get the options required by the drop-down box+ getCombobox: async () => {+ data.combobox.role_name = []+ const { data: res } = await getUserRoleAll()+ if (!res.isSuccess) {+ return+ }+ const roleNameList: UserRoleVO[] = res.data+ for (const role of roleNameList) {+ data.combobox.role_name.push({+ label: role.role_name,+ value: role.id+ })+ }+ // data.combobox.menu_name = []+ const { data: menuRes } = await getMenus()+ if (!menuRes.isSuccess) {+ return+ }+ const menus: MenuItem[] = menuRes.data+ // for (const menu of menus) {+ // data.combobox.menu_name.push({+ // label: i18n.global.t(`router.sideBar.${ menu.menu_name }`),+ // value: menu.id,+ // menu_name: menu.menu_name+ // })+ // }+ data.combobox.menu_name = menus.map(item => ({+ label: i18n.global.t(`router.sideBar.${ item.menu_name }`),+ value: item.id,+ menu_name: item.menu_name+ }))+ },+ closeDialog: () => {+ emit('close')+ },+ // Details verification before document submission+ beforeSubmit: (): boolean => {+ let flag = true+ // Process the new dropdown options+ for (const item of data.menusSelectedList) {+ if (data.form.detailList.findIndex((dl) => dl.menu_id === item) < 0) {+ data.form.detailList.push({+ id: 0,+ menu_id: item,+ menu_actions_authority: []+ })+ }+ }+ if (data.dialogTitle === 'update') {+ for (const item of data.form.detailList) {+ if (!data.menusSelectedList.includes(item.menu_id)) {+ // Delete if ID is negative+ item.id = -item.id+ }+ }+ }+ if (data.form.detailList.length === 0) {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.tips.detailLengthIsZero')+ })+ flag = false+ }+ return flag+ },+ submit: async () => {+ const beforeSubmitFlag = method.beforeSubmit()+ if (!beforeSubmitFlag) {+ return+ }+ const { valid } = await formRef.value.validate()+ if (valid) {+ const form = { ...data.form }++ form.detailList = form.detailList.map((item: RoleMenuDetailVo) => {+ if (!item.id || item.id === 0) {+ const index = data.combobox.menu_name.findIndex((fi: { value: number }) => fi.value === item.menu_id)++ item.menu_actions_authority = index > -1 ? actionDict[data.combobox.menu_name[index].menu_name] : []+ }+ return item+ })++ const { data: res } = data.dialogTitle === 'add'+ ? await addRoleMenu(form)+ : await updateRoleMenu({+ ...form,+ detailList: [...form.detailList, ...data.removeDetailList]+ }) // Merge the deleted list and the original list+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ },+ selectAllEvent: ({ checked }) => {+ checked+ ? data.menusSelectedList = data.combobox.menu_name.map(item => item.value)+ : data.menusSelectedList = []+ },+ selectChangeEvent: () => {+ const records = xTable.value.getCheckboxRecords()+ data.menusSelectedList = records.map(item => item.value)+ }+})++watch(+ () => props.showDialog,+ (val) => {+ if (val) {+ method.getDialogType()+ method.getCombobox()+ data.form = props.form+ data.menusSelectedList = data.form.detailList.map((item) => item.menu_id)+ }+ }+)+</script>++<style lang="less" scoped></style>diff --git a/frontend/src/view/base/roleMenu/edit-menu-action.vue b/frontend/src/view/base/roleMenu/edit-menu-action.vuenew file mode 100644index 0000000..e2d44e9--- /dev/null+++ b/frontend/src/view/base/roleMenu/edit-menu-action.vue@@ -0,0 +1,104 @@+<template>+ <v-dialog v-model="data.showDialog" :persistent="true" :width="'30%'" transition="dialog-top-transition">+ <template #default>+ <v-card class="formCard">+ <v-toolbar :title="`${$t('base.roleMenu.modalTitle.editMenuAction')}`" color="white"></v-toolbar>+ <v-card-text>+ <!-- <v-form ref="formRef">-->+ <!-- <v-select-->+ <!-- v-model="data.actions"-->+ <!-- :items="currentActionList"-->+ <!-- :menu-props="{ maxHeight: 400 }"-->+ <!-- item-title="label"-->+ <!-- item-value="value"-->+ <!-- :label="$t('base.roleMenu.modalTitle.actionTitle')"-->+ <!-- variant="outlined"-->+ <!-- chips-->+ <!-- multiple-->+ <!-- clearable-->+ <!-- >-->+ <!-- </v-select>-->+ <!-- </v-form>-->+ <vxe-table+ ref="xTable"+ :checkbox-config="{checkRowKeys: data.actions}"+ :data="currentActionList"+ :radio-config="{labelField: 'value'}"+ :row-config="{isHover: true, keyField:'value'}"+ align="center"+ row-id="value"+ max-height="500"+ @checkbox-all="method.selectAllEvent"+ @checkbox-change="method.selectChangeEvent"+ >+ <vxe-column type="checkbox" width="60"></vxe-column>+ <vxe-column :title="$t('base.roleMenu.modalTitle.actionTitle')" field="label"></vxe-column>+ </vxe-table>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.saveSuccess">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="tsx" setup>+import { computed, reactive, ref } from 'vue'+import { actionDict, getActionName } from './actionList'+import { RoleMenuDetailVo } from '@/types/Base/RoleMenu'++const emit = defineEmits(['close', 'saveSuccess'])++const props = defineProps<{+ row: RoleMenuDetailVo+}>()++const currentActionList = computed(() => {+ if (props.row.menu_name && Object.hasOwn(actionDict, props.row.menu_name)) {+ return actionDict[props.row.menu_name].map((item: string) => ({+ label: getActionName(item, props.row.menu_name),+ value: item+ }))+ }+ return []+})++const xTable = ref()++const data = reactive({+ actions: [] as string[],+ showDialog: false as boolean+})++const method = reactive({+ openDialog: (cache: string[]) => {+ data.actions = []+ data.actions = cache+ data.showDialog = true+ },+ closeDialog: () => {+ data.showDialog = false+ },+ saveSuccess: () => {+ emit('saveSuccess', data.actions)+ },+ selectAllEvent: ({ checked }) => {+ checked+ ? data.actions = currentActionList.value.map(item => item.value)+ : data.actions = []+ },+ selectChangeEvent: () => {+ const records = xTable.value.getCheckboxRecords()+ data.actions = records.map(item => item.value)+ }+})++defineExpose({+ openDialog: method.openDialog,+ closeDialog: method.closeDialog+})+</script>++<style lang="less" scoped></style>diff --git a/frontend/src/view/base/roleMenu/roleMenu.vue b/frontend/src/view/base/roleMenu/roleMenu.vuenew file mode 100644index 0000000..caeadc9--- /dev/null+++ b/frontend/src/view/base/roleMenu/roleMenu.vue@@ -0,0 +1,468 @@+<template>+ <div class="container">+ <div>+ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="12" sm="4" class="col">+ <!-- <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.add')" @click="method.add()"></tooltip-btn>+ <tooltip-btn icon="mdi-pencil-outline" :tooltip-text="$t('system.page.edit')" @click="method.editForm()"></tooltip-btn>+ <tooltip-btn icon="mdi-delete-outline" :tooltip-text="$t('system.page.delete')" @click="method.deleteForm()"></tooltip-btn>+ <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh()"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"></tooltip-btn> -->++ <BtnGroup :authority-list="[]" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="12" sm="8">+ <!-- <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="12" sm="4">+ <v-text-field+ v-model="data.searchForm.userName"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('login.userName')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="12" sm="4">+ <v-text-field+ v-model="data.searchForm.userName1"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('login.userName')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="12" sm="4">+ <v-text-field+ v-model="data.searchForm.userName2"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('login.userName')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row> -->+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <v-row :no-gutters="true">+ <v-col :cols="3" class="dataListCol">+ <v-card :height="tableHeight">+ <NavListVue+ :list-data="data.roleList"+ :title="data.navListOptions.title"+ :label-key="data.navListOptions.labelKey"+ :index-key="data.navListOptions.indexKey"+ :index-value="data.navListOptions.indexValue"+ @item-click="method.navListClick"+ />+ </v-card>+ </v-col>+ <v-col :cols="9">+ <vxe-table+ ref="xTable"+ :data="data.activeRoleMenuForm.detailList"+ :tree-config="{ transform: true }"+ :height="tableHeight"+ align="center"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="expand" width="60">+ <template #header>+ <div+ style="height: 100%; display: flex; align-items: center; justify-content: center; cursor: pointer"+ @click="method.expandAllRows()"+ >+ <v-tooltip location="bottom">+ <template #activator="{ props }">+ <div v-bind="props">+ <v-icon v-if="!isExpandAll" size="large">mdi-chevron-right</v-icon>+ <v-icon v-else size="large">mdi-chevron-down</v-icon>+ </div>+ </template>+ <span>{{ $t('base.roleMenu.expandRow') }}</span>+ </v-tooltip>+ </div>+ </template>+ <template #content="{ row }">+ <div v-if="row.menu_actions_authority.length > 0" style="margin: 10px 0; display: flex; align-items: center">+ <div style="white-space: nowrap"> {{ $t('base.roleMenu.operation') }}: </div>+ <div>+ <v-chip v-for="(item, index) of row.menu_actions_authority" :key="index" color="primary" size="small">+ {{ getActionName(item, row.menu_name) }}+ </v-chip>+ </div>+ </div>+ <div v-else style="color: #b9b7b7; margin: 10px 0; display: flex; align-items: center; justify-content: center">+ {{ $t('base.roleMenu.dataEmpty') }}+ </div>+ </template>+ </vxe-column>+ <!-- <vxe-column type="seq" width="60"></vxe-column> -->+ <vxe-column field="menu_name" :title="$t('base.roleMenu.menu_name')">+ <template #default="{ row }">+ <span>{{ $t(`router.sideBar.${row.menu_name}`) }}</span>+ </template>+ </vxe-column>+ <!-- <vxe-column field="menu_name" :title="$t('base.roleMenu.operation')">+ <template #default="{ row }">+ <v-chip v-for="(item, index) of row.menu_actions_authority" :key="index" color="primary" size="small">+ {{ getActionName(item, row.menu_name) }}+ </v-chip>+ </template>+ </vxe-column> -->+ <vxe-column field="operate" :title="$t('system.page.operate')" width="120" :resizable="false" show-overflow>+ <template #default="{ row }">+ <div style="width: 100%; display: flex; justify-content: center">+ <tooltip-btn+ :flat="true"+ icon="mdi-pencil-outline"+ :tooltip-text="$t('system.page.edit') + $t('base.roleMenu.operation')"+ @click="method.handleEditAction(row)"+ ></tooltip-btn>+ </div>+ </template>+ </vxe-column>+ </vxe-table>+ </v-col>+ </v-row>+ </div>+ </v-card-text>+ </v-card>+ </div>+ <!-- Add or modify data mode window -->+ <addOrUpdateDialog :show-dialog="data.showDialog" :form="data.dialogForm" @close="method.closeDialog" @saveSuccess="method.saveSuccess" />+ <!-- Edit menu permissions -->+ <edit-menu-action ref="editMenuActionRef" :row="data.editMenuDialogCurrentRow" @saveSuccess="method.editMenuSaveSuccess" />+ </div>+</template>++<script lang="ts" setup>+import { computed, reactive, onMounted, ref } from 'vue'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { DataProps, RoleMenuVO, RoleMenuDetailVo } from '@/types/Base/RoleMenu'+import { getRoleMenuAll, getRoleMenuById, deleteRoleMenu, updateRoleMenu } from '@/api/base/roleMenu'+import { hookComponent } from '@/components/system'+import addOrUpdateDialog from './add-or-update-role-menu.vue'+import i18n from '@/languages/i18n'+import NavListVue from '@/components/page/nav-list.vue'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'+import TooltipBtn from '@/components/tooltip-btn.vue'+import EditMenuAction from './edit-menu-action.vue'+import { getActionName } from './actionList'++const xTable = ref()+const editMenuActionRef = ref()++const data: DataProps = reactive({+ navListOptions: {+ title: i18n.global.t('base.roleMenu.role_name'),+ labelKey: 'role_name',+ indexKey: 'userrole_id',+ indexValue: ''+ },+ // Activation id+ activeRoleMenuForm: {+ userrole_id: 0,+ role_name: '',+ detailList: []+ },+ // searchForm: {+ // userName: '',+ // userName1: '',+ // userName2: ''+ // },+ roleList: [],+ // Dialog info+ showDialog: false,+ dialogForm: {+ detailList: []+ },+ // operating button+ btnList: [],+ editMenuDialogCurrentRow: {+ id: -1,+ menu_id: -1,+ menu_name: '',+ menu_actions_authority: []+ }+})++const method = reactive({+ // Editing completed+ editMenuSaveSuccess: async (actions: string[]) => {+ const { data: res } = await updateRoleMenu({+ ...data.activeRoleMenuForm,+ detailList: [{ ...data.editMenuDialogCurrentRow, menu_actions_authority: actions }]+ })+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ editMenuActionRef.value.closeDialog()+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.update') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ },+ // Modify menu operation permissions+ handleEditAction: (row: RoleMenuDetailVo) => {+ data.editMenuDialogCurrentRow = row++ editMenuActionRef.value.openDialog(row.menu_actions_authority)+ },+ sureSearch: () => {+ // console.log(data.searchForm)+ },+ // Find Data by Pagination+ getCompanyList: async () => {+ // Clear detailed data before refreshing+ method.clearDialogForm()+ const { data: res } = await getRoleMenuAll()+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.roleList = res.data+ if (data.roleList.findIndex((item) => item.userrole_id === data.activeRoleMenuForm.userrole_id) > -1 && data.activeRoleMenuForm.userrole_id) {+ method.getRoleMenus(data.activeRoleMenuForm.userrole_id)+ } else if (data.roleList.length > 0) {+ method.navListClick(data.roleList[0])+ } else {+ data.activeRoleMenuForm = {+ userrole_id: 0,+ role_name: '',+ detailList: []+ }+ }+ },+ // Add user+ add: () => {+ method.clearDialogForm()+ data.showDialog = true+ },+ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },+ // after Add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },+ // Refresh data+ refresh: () => {+ method.getCompanyList()+ },+ editForm() {+ if (!data.activeRoleMenuForm.userrole_id) {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('base.roleMenu.beforeUpdateOrDel')+ })+ return+ }+ data.dialogForm = JSON.parse(JSON.stringify(data.activeRoleMenuForm))+ // Delete rowid of existing data+ for (const item of data.dialogForm.detailList) {+ if (item._X_ROW_KEY) {+ delete item._X_ROW_KEY+ }+ }+ data.showDialog = true+ },+ deleteForm() {+ if (!data.activeRoleMenuForm.userrole_id) {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('base.roleMenu.beforeUpdateOrDel')+ })+ return+ }+ const row = data.activeRoleMenuForm+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.userrole_id) {+ const { data: res } = await deleteRoleMenu(row.userrole_id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ // Export table+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.roleMenu'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ // Get detailed data+ getRoleMenus: async (userrole_id: number) => {+ const { data: res } = await getRoleMenuById(userrole_id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.activeRoleMenuForm = res.data+ },+ // Refresh dialog data+ clearDialogForm: () => {+ data.dialogForm = {+ detailList: []+ }+ },+ // Click navList+ navListClick: (item: RoleMenuVO) => {+ if (!item.userrole_id) {+ return+ }+ data.navListOptions.indexValue = String(item.userrole_id)+ method.getRoleMenus(item.userrole_id)+ },+ // Expand All Rows+ expandAllRows: () => {+ const expandRows = xTable.value.getRowExpandRecords()++ if (expandRows.length === data.activeRoleMenuForm.detailList.length) {+ xTable.value.setAllRowExpand(false)+ } else {+ xTable.value.setAllRowExpand(true)+ }+ }+})++onMounted(async () => {+ await method.getCompanyList()++ data.btnList = [+ {+ name: i18n.global.t('system.page.add'),+ icon: 'mdi-plus',+ code: '',+ click: method.add+ },+ {+ name: i18n.global.t('system.page.edit'),+ icon: 'mdi-pencil-outline',+ code: '',+ click: method.editForm+ },+ {+ name: i18n.global.t('system.page.delete'),+ icon: 'mdi-delete-outline',+ code: '',+ click: method.deleteForm+ },+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ }+ ]+})++const isExpandAll = computed(() => {+ const expandRows = xTable.value.getRowExpandRecords()++ if (expandRows.length === data.activeRoleMenuForm.detailList.length) {+ return true+ }+ return false+})++const cardHeight = computed(() => computedCardHeight({ hasTab: false }))++const tableHeight = computed(() => computedTableHeight({ hasTab: false, hasPager: false }))+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+// Adjust the spacing between lists and tables+.dataListCol {+ box-sizing: border-box;+ padding-right: 10px !important;+}+.roleNameCol {+ width: 100%;+ height: 100%;+ cursor: pointer;+ // &:hover: {+ // background-color: #9156fd;+ // }+}+.roleNameCol:hover {+ background-color: #9156fd;+ color: white;+}+.activeRow {+ background-color: #9156fd;+}+.v-chip {+ margin: 3px 5px;+}+</style>diff --git a/frontend/src/view/base/supplier/add-or-update-supplier.vue b/frontend/src/view/base/supplier/add-or-update-supplier.vuenew file mode 100644index 0000000..da9ad91--- /dev/null+++ b/frontend/src/view/base/supplier/add-or-update-supplier.vue@@ -0,0 +1,136 @@+<template>+ <v-dialog v-model="isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('router.sideBar.supplier')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-text-field+ v-model="data.form.supplier_name"+ :label="$t('base.supplier.supplier_name')"+ :rules="data.rules.supplier_name"+ variant="outlined"+ ></v-text-field>+ <v-text-field v-model="data.form.city" :label="$t('base.supplier.city')" :rules="data.rules.city" variant="outlined"></v-text-field>+ <v-text-field v-model="data.form.email" :label="$t('base.supplier.email')" :rules="data.rules.email" variant="outlined"></v-text-field>+ <v-text-field+ v-model="data.form.address"+ :label="$t('base.supplier.address')"+ :rules="data.rules.address"+ variant="outlined"+ ></v-text-field>+ <v-text-field+ v-model="data.form.manager"+ :label="$t('base.supplier.manager')"+ :rules="data.rules.manager"+ variant="outlined"+ ></v-text-field>+ <v-text-field+ v-model="data.form.contact_tel"+ :label="$t('base.supplier.contact_tel')"+ :rules="data.rules.contact_tel"+ variant="outlined"+ ></v-text-field>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { SupplierVO } from '@/types/Base/Supplier'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { addSupplier, updateSupplier } from '@/api/base/supplier'++const formRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])++const props = defineProps<{+ showDialog: boolean+ form: SupplierVO+}>()++const isShow = computed(() => props.showDialog)++const dialogTitle = computed(() => {+ if (props.form.id && props.form.id > 0) {+ return 'update'+ }+ return 'add'+})++const data = reactive({+ form: ref<SupplierVO>({+ id: 0,+ supplier_name: '',+ city: '',+ address: '',+ manager: '',+ email: '',+ contact_tel: '',+ is_valid: true+ }),+ rules: {+ supplier_name: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.supplier.supplier_name') }!`],+ city: [],+ address: [],+ manager: [],+ email: [],+ contact_tel: [],+ is_valid: []+ }+})++const method = reactive({+ closeDialog: () => {+ emit('close')+ },+ submit: async () => {+ const { valid } = await formRef.value.validate()+ if (valid) {+ const { data: res } = dialogTitle.value === 'add' ? await addSupplier(data.form) : await updateSupplier(data.form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ data.form = props.form+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/base/supplier/import-supplier-table.vue b/frontend/src/view/base/supplier/import-supplier-table.vuenew file mode 100644index 0000000..d90cd26--- /dev/null+++ b/frontend/src/view/base/supplier/import-supplier-table.vue@@ -0,0 +1,216 @@+<!-- Supplier Setting Import Dialog -->+<template>+ <v-dialog v-model="isShow" width="70%" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('system.page.import')}`"></v-toolbar>+ <v-card-text>+ <div class="mb-4">+ <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.chooseFile')" size="x-small" @click="method.chooseFile"></tooltip-btn>+ <tooltip-btn+ icon="mdi-export-variant"+ :tooltip-text="$t('system.page.exportTemplate')"+ size="x-small"+ @click="method.exportTemplate"+ ></tooltip-btn>+ <input v-show="false" id="open" ref="uploadExcel" type="file" accept=".xls, .xlsx" @change="method.readExcel" />+ </div>+ <vxe-table+ ref="xTable"+ :column-config="{ minWidth: '100px' }"+ :data="data.importData"+ :height="SYSTEM_HEIGHT.SELECT_TABLE"+ :edit-config="{ trigger: 'click', mode: 'cell' }"+ :edit-rules="data.validRules"+ :export-config="{}"+ align="center"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="operate" width="60" :title="$t('system.page.operate')" :resizable="false">+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="errorColor"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ <vxe-column field="supplier_name" :title="$t('base.supplier.supplier_name')"></vxe-column>+ <vxe-column field="city" :title="$t('base.supplier.city')"></vxe-column>+ <vxe-column field="address" :title="$t('base.supplier.address')"></vxe-column>+ <vxe-column field="manager" :title="$t('base.supplier.manager')"></vxe-column>+ <vxe-column field="email" :title="$t('base.supplier.email')"></vxe-column>+ <vxe-column field="contact_tel" :title="$t('base.supplier.contact_tel')"></vxe-column>+ </vxe-table>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { VxeTablePropTypes } from 'vxe-table'+import * as XLSX from 'xlsx'+import i18n from '@/languages/i18n'+import { excelImport } from '@/api/base/supplier'+import { hookComponent } from '@/components/system/index'+import { SYSTEM_HEIGHT, errorColor } from '@/constant/style'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { SupplierExcelVO } from '@/types/Base/Supplier'+import { exportData } from '@/utils/exportTable'++const emit = defineEmits(['close', 'saveSuccess'])+const uploadExcel = ref()+const xTable = ref()++const props = defineProps<{+ showDialog: boolean+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ importData: ref<Array<SupplierExcelVO>>([]),+ validRules: ref<VxeTablePropTypes.EditRules>({})+})++const method = reactive({+ initForm: () => {+ data.importData = []+ },+ closeDialog: () => {+ emit('close')+ },+ submit: async () => {+ const isValid = method.valid()+ if (!isValid) {+ return+ }++ const $table = xTable.value+ // It must be use 'getTableData()' to get all datas with table because it will delete row sometimes.+ const importData = $table.getTableData().fullData++ const { data: res } = await excelImport(importData)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ },++ valid: () => {+ const $table = xTable.value+ const importData = $table.getTableData().fullData++ if (importData.length <= 0) {+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('system.tips.detailLengthIsZero') }`+ })+ return false+ }+ return true+ },++ chooseFile: async () => {+ uploadExcel.value.value = ''+ uploadExcel.value.click()+ },++ readExcel: async (evnt: any) => {+ const files = evnt.target.files+ if (files.length <= 0) {+ return false+ }++ const file = files[0]+ const fileReader = new FileReader()++ fileReader.onload = (ev: ProgressEvent<FileReader>) => {+ const fileData = ev?.target?.result+ if (fileData) {+ const workbook = XLSX.read(fileData, { type: 'binary' })+ const wsname = workbook.SheetNames[0]++ let ws = XLSX.utils.sheet_to_json(workbook.Sheets[wsname])+ let str = JSON.stringify(ws)+ str = str.replace(/(/g, '(')+ str = str.replace(/)/g, ')')+ ws = JSON.parse(str)++ data.importData = []+ ws.forEach((value: any, index: number, ws: any) => {+ data.importData.push({+ supplier_name: ws[index][i18n.global.t('base.supplier.supplier_name')] ? `${ ws[index][i18n.global.t('base.supplier.supplier_name')] }` : '',+ city: ws[index][i18n.global.t('base.supplier.city')] ? `${ ws[index][i18n.global.t('base.supplier.city')] }` : '',+ address: ws[index][i18n.global.t('base.supplier.address')] ? `${ ws[index][i18n.global.t('base.supplier.address')] }` : '',+ manager: ws[index][i18n.global.t('base.supplier.manager')] ? `${ ws[index][i18n.global.t('base.supplier.manager')] }` : '',+ email: ws[index][i18n.global.t('base.supplier.email')] ? `${ ws[index][i18n.global.t('base.supplier.email')] }` : '',+ contact_tel: ws[index][i18n.global.t('base.supplier.contact_tel')] ? `${ ws[index][i18n.global.t('base.supplier.contact_tel')] }` : ''+ })+ })+ }+ }+ fileReader.readAsBinaryString(file)+ },++ exportTemplate: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.supplier'),+ mode: 'header',+ columnFilterMethod({ column }: any) {+ return !['checkbox', 'seq'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },++ deleteRow: (row: SupplierExcelVO) => {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteDetailMessage'),+ handleConfirm: async () => {+ if (row) {+ const $table = xTable.value+ $table.remove(row)+ }+ }+ })+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.initForm()+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/base/supplier/supplier.vue b/frontend/src/view/base/supplier/supplier.vuenew file mode 100644index 0000000..2183d2f--- /dev/null+++ b/frontend/src/view/base/supplier/supplier.vue@@ -0,0 +1,337 @@+<!-- supplier Setting -->+<template>+ <div class="container">+ <div>+ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <!-- <v-window v-model="data.activeTab">+ <v-window-item> -->+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="12" sm="4" class="col">+ <!-- <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.add')" @click="method.add()"></tooltip-btn>+ <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh()"></tooltip-btn>+ <tooltip-btn icon="mdi-database-import-outline" :tooltip-text="$t('system.page.import')" @click="method.openDialogImport">+ </tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->++ <!-- new version -->+ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="12" sm="8">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="12" sm="4"></v-col>+ <v-col cols="12" sm="4"></v-col>+ <v-col cols="12" sm="4">+ <v-text-field+ v-model="data.searchForm.supplier_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('base.supplier.supplier_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table+ ref="xTable"+ :column-config="{+ minWidth: '100px'+ }"+ :data="data.tableData"+ :height="tableHeight"+ align="center"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="supplier_name" :title="$t('base.supplier.supplier_name')"></vxe-column>+ <vxe-column field="city" :title="$t('base.supplier.city')"></vxe-column>+ <vxe-column field="address" :title="$t('base.supplier.address')"></vxe-column>+ <vxe-column field="manager" :title="$t('base.supplier.manager')"></vxe-column>+ <vxe-column field="email" :title="$t('base.supplier.email')"></vxe-column>+ <vxe-column field="contact_tel" :title="$t('base.supplier.contact_tel')"></vxe-column>+ <vxe-column field="creator" :title="$t('base.supplier.creator')"></vxe-column>+ <vxe-column field="create_time" width="170px" :formatter="['formatDate', 'yyyy-MM-dd HH:mm']" :title="$t('base.supplier.create_time')">+ </vxe-column>+ <vxe-column+ field="last_update_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('base.supplier.last_update_time')"+ >+ </vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="160" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-pencil-outline"+ :tooltip-text="$t('system.page.edit')"+ :disabled="!data.authorityList.includes('save')"+ @click="method.editRow(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="!data.authorityList.includes('delete')?'':errorColor"+ :disabled="!data.authorityList.includes('delete')"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ <!-- </v-window-item>+ </v-window> -->+ </v-card-text>+ </v-card>+ </div>+ </div>+ <addOrUpdateDialog :show-dialog="data.showDialog" :form="data.dialogForm" @close="method.closeDialog" @saveSuccess="method.saveSuccess" />+ <importSupplierTable :show-dialog="data.showDialogImport" @close="method.closeDialogImport" @saveSuccess="method.saveSuccessImport" />+</template>++<script lang="tsx" setup>+import { computed, ref, reactive, onMounted, watch } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight, errorColor } from '@/constant/style'+import { SupplierVO } from '@/types/Base/Supplier'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import tooltipBtn from '@/components/tooltip-btn.vue'+import addOrUpdateDialog from './add-or-update-supplier.vue'+import { hookComponent } from '@/components/system'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { SearchObject, btnGroupItem } from '@/types/System/Form'+import i18n from '@/languages/i18n'+import { getSupplierList, deleteSupplier } from '@/api/base/supplier'+import importSupplierTable from './import-supplier-table.vue'+import customPager from '@/components/custom-pager.vue'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'++const xTable = ref()++const data = reactive({+ searchForm: {+ supplier_name: ''+ },+ tableData: [],+ // activeTab: null,+ showDialog: false,+ showDialogImport: false,+ dialogForm: {+ id: 0,+ supplier_name: '',+ city: '',+ address: '',+ manager: '',+ email: '',+ contact_tel: '',+ is_valid: true+ },+ tablePage: {+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ },+ timer: ref<any>(null),+ btnList: [] as btnGroupItem[],+ authorityList: getMenuAuthorityList() as string[]+})++const method = reactive({+ // Import Dialog+ openDialogImport: () => {+ data.showDialogImport = true+ },+ closeDialogImport: () => {+ data.showDialogImport = false+ },+ saveSuccessImport: () => {+ method.refresh()+ method.closeDialog()+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getData()+ },+ // Add user+ add: () => {+ data.dialogForm = {+ id: 0,+ supplier_name: '',+ city: '',+ address: '',+ manager: '',+ email: '',+ contact_tel: '',+ is_valid: true+ }+ data.showDialog = true+ },+ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },+ // after Add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },+ // Refresh data+ refresh: () => {+ method.getData()+ },+ editRow(row: SupplierVO) {+ data.dialogForm = JSON.parse(JSON.stringify(row))+ data.showDialog = true+ },+ deleteRow(row: SupplierVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await deleteSupplier(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize+ method.getData()+ }),+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.supplier'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ getData: async () => {+ const { data: res } = await getSupplierList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ }+})+onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.add'),+ icon: 'mdi-plus',+ code: 'save',+ click: method.add+ },+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.import'),+ icon: 'mdi-database-import-outline',+ code: 'import',+ click: method.openDialogImport+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'export',+ click: method.exportTable+ }+ ]++ method.getData()+})++const cardHeight = computed(() => computedCardHeight({ hasTab: false }))+const tableHeight = computed(() => computedTableHeight({ hasTab: false }))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/base/userManagement/add-or-update-user.vue b/frontend/src/view/base/userManagement/add-or-update-user.vuenew file mode 100644index 0000000..98d51b1--- /dev/null+++ b/frontend/src/view/base/userManagement/add-or-update-user.vue@@ -0,0 +1,198 @@+<template>+ <v-dialog v-model="isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('router.sideBar.userManagement')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-text-field+ v-model="data.form.user_num"+ :label="$t('base.userManagement.user_num')"+ :rules="data.rules.user_num"+ variant="outlined"+ ></v-text-field>+ <v-text-field+ v-model="data.form.user_name"+ :label="$t('base.userManagement.user_name')"+ :rules="data.rules.user_name"+ variant="outlined"+ ></v-text-field>+ <v-select+ v-model="data.form.user_role"+ :items="data.combobox.user_role"+ :rules="data.rules.user_role"+ :label="$t('base.userManagement.user_role')"+ variant="outlined"+ clearable+ ></v-select>+ <v-select+ v-model="data.form.sex"+ :items="data.combobox.sex"+ item-title="label"+ item-value="value"+ :rules="data.rules.sex"+ :label="$t('base.userManagement.sex')"+ variant="outlined"+ clearable+ ></v-select>+ <v-text-field+ v-model="data.form.contact_tel"+ :label="$t('base.userManagement.contact_tel')"+ :rules="data.rules.contact_tel"+ variant="outlined"+ ></v-text-field>+ <v-switch+ v-model="data.form.is_valid"+ color="primary"+ :label="$t('base.userManagement.is_valid')"+ :rules="data.rules.is_valid"+ ></v-switch>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { UserVO } from '@/types/Base/UserManagement'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { addUser, updateUser, getSelectItem } from '@/api/base/userManagement'+import { StringLength } from '@/utils/dataVerification/formRule'++const formRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])++const props = defineProps<{+ showDialog: boolean+ form: UserVO+}>()++const isShow = computed(() => props.showDialog)++const dialogTitle = computed(() => {+ if (props.form.id && props.form.id > 0) {+ return 'update'+ }+ return 'add'+})++const data = reactive({+ form: ref<UserVO>({+ id: 0,+ user_num: '',+ user_name: '',+ contact_tel: '',+ is_valid: true+ }),+ rules: {+ user_num: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.userManagement.user_num') }!`,+ (val: string) => StringLength(val, 0, 128) === '' || StringLength(val, 0, 128)+ ],+ user_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.userManagement.user_name') }!`,+ (val: string) => StringLength(val, 0, 128) === '' || StringLength(val, 0, 128)+ ],+ user_role: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.userManagement.user_role') }!`],+ sex: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.userManagement.sex') }!`],+ contact_tel: [(val: string) => StringLength(val, 0, 128) === '' || StringLength(val, 0, 64)],+ is_valid: []+ },+ combobox: ref<{+ sex: {+ label: string+ value: string+ }[]+ user_role: string[]+ }>({+ sex: [],+ user_role: []+ })+})++const method = reactive({+ // Get the options required by the drop-down box+ getCombobox: async () => {+ // Static drop-down box+ const sexOptions = ['male', 'female']+ data.combobox.sex = []+ for (const sex of sexOptions) {+ data.combobox.sex.push({+ label: i18n.global.t(`system.combobox.sex.${ sex }`),+ value: sex+ })+ }+ // Dynamic drop-down box+ data.combobox.user_role = []+ const { data: res } = await getSelectItem()+ if (!res.isSuccess) {+ return+ }+ for (const item of res.data) {+ switch (item.code) {+ case 'user_role':+ data.combobox.user_role.push(item.name)+ break+ }+ }+ },+ closeDialog: () => {+ emit('close')+ },+ submit: async () => {+ const { valid } = await formRef.value.validate()+ if (valid) {+ const { data: res } = dialogTitle.value === 'add' ? await addUser(data.form) : await updateUser(data.form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ if (dialogTitle.value === 'add') {+ hookComponent.$dialog({+ content: i18n.global.t('base.userManagement.addSuccessTip') + res.errorMessage,+ handleConfirm: async () => {}+ })+ } else {+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ }+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.getCombobox()+ data.form = props.form+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/base/userManagement/import-table.vue b/frontend/src/view/base/userManagement/import-table.vuenew file mode 100644index 0000000..0b46479--- /dev/null+++ b/frontend/src/view/base/userManagement/import-table.vue@@ -0,0 +1,231 @@+<!-- UserManagement Setting Import Dialog -->+<template>+ <v-dialog v-model="isShow" width="70%" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('system.page.import')}`"></v-toolbar>+ <v-card-text>+ <div class="mb-4">+ <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.chooseFile')" size="x-small" @click="method.chooseFile"></tooltip-btn>+ <tooltip-btn+ icon="mdi-export-variant"+ :tooltip-text="$t('system.page.exportTemplate')"+ size="x-small"+ @click="method.exportTemplate"+ ></tooltip-btn>+ <input v-show="false" id="open" ref="uploadExcel" type="file" accept=".xls, .xlsx" @change="method.readExcel" />+ </div>+ <vxe-table+ ref="xTable"+ :column-config="{ minWidth: '100px' }"+ :data="data.importData"+ :height="SYSTEM_HEIGHT.SELECT_TABLE"+ :edit-config="{ trigger: 'click', mode: 'cell' }"+ :edit-rules="data.validRules"+ :export-config="{}"+ align="center"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="operate" width="60" :title="$t('system.page.operate')" :resizable="false">+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="errorColor"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ <vxe-column field="user_num" :title="$t('base.userManagement.user_num')"></vxe-column>+ <vxe-column field="user_name" :title="$t('base.userManagement.user_name')"></vxe-column>+ <vxe-column field="contact_tel" :title="$t('base.userManagement.contact_tel')"></vxe-column>+ <vxe-column field="user_role" :title="$t('base.userManagement.user_role')"></vxe-column>+ <vxe-column field="sex" :title="$t('base.userManagement.sex')"></vxe-column>+ </vxe-table>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { VxeTablePropTypes } from 'vxe-table'+import * as XLSX from 'xlsx'+import i18n from '@/languages/i18n'+import { excelImport } from '@/api/base/userManagement'+import { hookComponent } from '@/components/system/index'+import { SYSTEM_HEIGHT, errorColor } from '@/constant/style'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { ImportVO } from '@/types/Base/UserManagement'+import { exportData } from '@/utils/exportTable'+import { formatString } from '@/utils/format/formatSystem'++const emit = defineEmits(['close', 'saveSuccess'])+const uploadExcel = ref()+const xTable = ref()++const props = defineProps<{+ showDialog: boolean+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ importData: ref<Array<ImportVO>>([]),+ validRules: ref<VxeTablePropTypes.EditRules>({})+})++const method = reactive({+ initForm: () => {+ data.importData = []+ },+ closeDialog: () => {+ emit('close')+ },+ submit: async () => {+ const isValid = method.valid()+ if (!isValid) {+ return+ }++ const $table = xTable.value+ // It must be use 'getTableData()' to get all datas with table because it will delete row sometimes.+ const importData = JSON.parse(JSON.stringify($table.getTableData().fullData))+ for (const item of importData) {+ let sex = 'male'+ if (['男', '女', 'Male', 'Female'].includes(item.sex)) {+ switch (item.sex) {+ case '男':+ case 'Male':+ sex = 'male'+ break+ case '女':+ case 'Female':+ sex = 'female'+ break+ }+ }+ item.sex = sex+ }+ const { data: res } = await excelImport(importData)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ },++ valid: () => {+ const $table = xTable.value+ const importData = $table.getTableData().fullData++ if (importData.length <= 0) {+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('system.tips.detailLengthIsZero') }`+ })+ return false+ }+ return true+ },++ chooseFile: async () => {+ uploadExcel.value.value = ''+ uploadExcel.value.click()+ },++ readExcel: async (evnt: any) => {+ const files = evnt.target.files+ if (files.length <= 0) {+ return false+ }++ const file = files[0]+ const fileReader = new FileReader()++ fileReader.onload = (ev: ProgressEvent<FileReader>) => {+ const fileData = ev?.target?.result+ if (fileData) {+ const workbook = XLSX.read(fileData, { type: 'binary' })+ const wsname = workbook.SheetNames[0]++ let ws = XLSX.utils.sheet_to_json(workbook.Sheets[wsname])+ let str = JSON.stringify(ws)+ str = str.replace(/(/g, '(')+ str = str.replace(/)/g, ')')+ ws = JSON.parse(str)++ data.importData = []+ ws.forEach((value: any, index: number, ws: any) => {+ data.importData.push({+ user_num: formatString(ws[index][i18n.global.t('base.userManagement.user_num')]),+ user_name: formatString(ws[index][i18n.global.t('base.userManagement.user_name')]),+ contact_tel: formatString(ws[index][i18n.global.t('base.userManagement.contact_tel')]),+ user_role: formatString(ws[index][i18n.global.t('base.userManagement.user_role')]),+ sex: formatString(ws[index][i18n.global.t('base.userManagement.sex')]),+ is_valid: true+ })+ })+ }+ }+ fileReader.readAsBinaryString(file)+ },++ exportTemplate: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.userManagement'),+ mode: 'header',+ columnFilterMethod({ column }: any) {+ return !['checkbox', 'seq'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },++ deleteRow: (row: ImportVO) => {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteDetailMessage'),+ handleConfirm: async () => {+ if (row) {+ const $table = xTable.value+ $table.remove(row)+ }+ }+ })+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.initForm()+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/base/userManagement/userManagement.vue b/frontend/src/view/base/userManagement/userManagement.vuenew file mode 100644index 0000000..8245ae0--- /dev/null+++ b/frontend/src/view/base/userManagement/userManagement.vue@@ -0,0 +1,386 @@+<template>+ <div class="container">+ <div>+ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="12" sm="4" class="col">+ <!-- new version -->+ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="12" sm="8">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.user_num"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('base.userManagement.user_num')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.user_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('base.userManagement.user_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.user_role"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('base.userManagement.user_role')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="user_num" :title="$t('base.userManagement.user_num')"></vxe-column>+ <vxe-column field="user_name" :title="$t('base.userManagement.user_name')"></vxe-column>+ <vxe-column field="user_role" :title="$t('base.userManagement.user_role')"></vxe-column>+ <vxe-column field="sex" :title="$t('base.userManagement.sex')">+ <template #default="{ row }">+ <span>{{ $t(`system.combobox.sex.${row.sex}`) }}</span>+ </template>+ </vxe-column>+ <vxe-column field="contact_tel" :title="$t('base.userManagement.contact_tel')"></vxe-column>+ <vxe-column field="is_valid" :title="$t('base.userManagement.is_valid')">+ <template #default="{ row, column }">+ <span>{{ row[column.property] ? $t('system.combobox.yesOrNo.yes') : $t('system.combobox.yesOrNo.no') }}</span>+ </template>+ </vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="160" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-pencil-outline"+ :tooltip-text="$t('system.page.edit')"+ :disabled="!data.authorityList.includes('save')"+ @click="method.editRow(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="!data.authorityList.includes('delete')?'':errorColor"+ :disabled="!data.authorityList.includes('delete')"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ <!-- <vxe-grid v-bind="data.gridOptions">+ <template #pager>+ <custom-pagerr+ v-model:current-page="data.tablePage.pageIndex"+ v-model:page-size="data.tablePage.pageSize"+ :layouts="['Sizes', 'PrevJump', 'PrevPage', 'Number', 'NextPage', 'NextJump', 'FullJump', 'Total']"+ :total="data.tablePage.total"+ @page-change="handlePageChange"+ >+ </custom-pagerr>+ </template>+ </vxe-grid> -->+ </div>+ </v-card-text>+ </v-card>+ </div>+ <!-- Add or modify data mode window -->+ <addOrUpdateDialog :show-dialog="data.showDialog" :form="data.dialogForm" @close="method.closeDialog" @saveSuccess="method.saveSuccess" />+ <import-table :show-dialog="data.showDialogImport" @close="method.closeDialogImport" @saveSuccess="method.saveSuccessImport" />+ </div>+</template>++<script lang="ts" setup>+import { computed, reactive, onMounted, ref, watch } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight, errorColor } from '@/constant/style'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { DataProps, UserVO } from '@/types/Base/UserManagement'+import { getUserList, deleteUser, resetPassword } from '@/api/base/userManagement'+import { hookComponent } from '@/components/system'+import addOrUpdateDialog from './add-or-update-user.vue'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import i18n from '@/languages/i18n'+import customPager from '@/components/custom-pager.vue'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import importTable from './import-table.vue'+import { exportData } from '@/utils/exportTable'+import { DEBOUNCE_TIME } from '@/constant/system'+import BtnGroup from '@/components/system/btnGroup.vue'++const xTable = ref()++const data: DataProps = reactive({+ showDialogImport: false,+ searchForm: {+ user_num: '',+ user_name: '',+ user_role: ''+ },+ timer: null,+ tableData: [],+ tablePage: {+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE+ },+ // Dialog info+ showDialog: false,+ dialogForm: {+ id: 0,+ user_num: '',+ user_name: '',+ contact_tel: '',+ auth_string: '',+ is_valid: true+ },+ btnList: [],+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ // Import Dialog+ openDialogImport: () => {+ data.showDialogImport = true+ },+ closeDialogImport: () => {+ data.showDialogImport = false+ },+ saveSuccessImport: () => {+ method.refresh()+ method.closeDialogImport()+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getUserList()+ },+ // Find Data by Pagination+ getUserList: async () => {+ const { data: res } = await getUserList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ // Add user+ add: () => {+ data.dialogForm = {+ id: 0,+ user_num: '',+ user_name: '',+ contact_tel: '',+ auth_string: '',+ is_valid: true+ }+ data.showDialog = true+ },+ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },+ // after Add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },+ // Refresh data+ refresh: () => {+ method.getUserList()+ },+ editRow(row: UserVO) {+ data.dialogForm = JSON.parse(JSON.stringify(row))+ data.showDialog = true+ },+ deleteRow(row: UserVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await deleteUser(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ // When change paging+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize+ method.refresh()+ }),+ // Export table+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.userManagement'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ // Reset password+ restPwd: async () => {+ const checkRecord: UserVO[] = xTable.value.getCheckboxRecords(true)+ if (checkRecord.length > 0) {+ hookComponent.$dialog({+ content: i18n.global.t('base.userManagement.beforeResetPwd'),+ handleConfirm: async () => {+ const idList = checkRecord.map((item) => item.id)+ const { data: res } = await resetPassword(idList)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$dialog({+ content: `${ i18n.global.t('base.userManagement.afterResetPwd') } ${ res.data }`+ })+ }+ })+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('base.userManagement.checkboxIsNull')+ })+ }+ }+})++onMounted(async () => {+ await method.getUserList()++ data.btnList = [+ {+ name: i18n.global.t('system.page.add'),+ icon: 'mdi-plus',+ code: 'save',+ click: method.add+ },+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.import'),+ icon: 'mdi-database-import-outline',+ code: 'import',+ click: method.openDialogImport+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'export',+ click: method.exportTable+ },+ {+ name: i18n.global.t('base.userManagement.restPwd'),+ icon: 'mdi-lock-reset',+ code: 'resetPwd',+ click: method.restPwd+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({ hasTab: false }))++const tableHeight = computed(() => computedTableHeight({ hasTab: false }))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/base/userRoleSetting/add-or-update-user-role.vue b/frontend/src/view/base/userRoleSetting/add-or-update-user-role.vuenew file mode 100644index 0000000..3528b71--- /dev/null+++ b/frontend/src/view/base/userRoleSetting/add-or-update-user-role.vue@@ -0,0 +1,116 @@+<template>+ <v-dialog v-model="isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('router.sideBar.userRoleSetting')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-text-field+ v-model="data.form.role_name"+ :label="$t('base.userRoleSetting.role_name')"+ :rules="data.rules.role_name"+ variant="outlined"+ ></v-text-field>+ <v-switch+ v-model="data.form.is_valid"+ color="primary"+ :label="$t('base.userRoleSetting.is_valid')"+ :rules="data.rules.is_valid"+ ></v-switch>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { UserRoleVO } from '@/types/Base/UserRoleSetting'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { addUserRole, updateUserRole } from '@/api/base/userRoleSetting'+import { StringLength } from '@/utils/dataVerification/formRule'++const formRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])++const props = defineProps<{+ showDialog: boolean+ form: UserRoleVO+}>()++const isShow = computed(() => props.showDialog)++const dialogTitle = computed(() => {+ if (props.form.id && props.form.id > 0) {+ return 'update'+ }+ return 'add'+})++const data = reactive({+ form: ref<UserRoleVO>({+ id: 0,+ role_name: '',+ is_valid: true+ }),+ rules: {+ role_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.userRoleSetting.role_name') }!`,+ (val: string) => StringLength(val, 0, 32) === '' || StringLength(val, 0, 32)+ ],+ is_valid: []+ }+})++const method = reactive({+ closeDialog: () => {+ emit('close')+ },+ submit: async () => {+ const { valid } = await formRef.value.validate()+ if (valid) {+ const { data: res } = dialogTitle.value === 'add' ? await addUserRole(data.form) : await updateUserRole(data.form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ data.form = props.form+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/base/userRoleSetting/userRoleSetting.vue b/frontend/src/view/base/userRoleSetting/userRoleSetting.vuenew file mode 100644index 0000000..7b9ae29--- /dev/null+++ b/frontend/src/view/base/userRoleSetting/userRoleSetting.vue@@ -0,0 +1,265 @@+<template>+ <div class="container">+ <div>+ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="12" sm="4" class="col">+ <!-- <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.add')" @click="method.add()"></tooltip-btn>+ <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh()"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"></tooltip-btn> -->++ <!-- new version -->+ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="12" sm="8">+ <!-- <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="12" sm="4">+ <v-text-field+ v-model="data.searchForm.userName"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('login.userName')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="12" sm="4">+ <v-text-field+ v-model="data.searchForm.userName1"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('login.userName')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="12" sm="4">+ <v-text-field+ v-model="data.searchForm.userName2"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('login.userName')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row> -->+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="role_name" :title="$t('base.userRoleSetting.role_name')"></vxe-column>+ <vxe-column field="is_valid" :title="$t('base.userRoleSetting.is_valid')">+ <template #default="{ row, column }">+ <span>{{ row[column.property] ? $t('system.combobox.yesOrNo.yes') : $t('system.combobox.yesOrNo.no') }}</span>+ </template>+ </vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="160" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-pencil-outline"+ :tooltip-text="$t('system.page.edit')"+ :disabled="!data.authorityList.includes('save')"+ @click="method.editRow(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="!data.authorityList.includes('delete')?'':errorColor"+ :disabled="!data.authorityList.includes('delete')"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ </vxe-table>+ </div>+ </v-card-text>+ </v-card>+ </div>+ <!-- Add or modify data mode window -->+ <addOrUpdateDialog :show-dialog="data.showDialog" :form="data.dialogForm" @close="method.closeDialog" @saveSuccess="method.saveSuccess" />+ </div>+</template>++<script lang="ts" setup>+import { computed, reactive, onMounted, ref } from 'vue'+import { computedCardHeight, computedTableHeight, errorColor } from '@/constant/style'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { DataProps, UserRoleVO } from '@/types/Base/UserRoleSetting'+import { getUserRoleAll, deleteUserRole } from '@/api/base/userRoleSetting'+import { hookComponent } from '@/components/system'+import addOrUpdateDialog from './add-or-update-user-role.vue'+import i18n from '@/languages/i18n'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'+import { getMenuAuthorityList } from '@/utils/common'++const xTable = ref()++const data: DataProps = reactive({+ // searchForm: {+ // userName: '',+ // userName1: '',+ // userName2: ''+ // },+ tableData: [],+ // Dialog info+ showDialog: false,+ dialogForm: {+ id: 0,+ role_name: '',+ is_valid: true+ },+ btnList: [],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ sureSearch: () => {+ // console.log(data.searchForm)+ },+ // Find Data by Pagination+ getUserRoleList: async () => {+ const { data: res } = await getUserRoleAll()+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data+ },+ // Add user+ add: () => {+ data.dialogForm = {+ id: 0,+ role_name: '',+ is_valid: true+ }+ data.showDialog = true+ },+ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },+ // after Add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },+ // Refresh data+ refresh: () => {+ method.getUserRoleList()+ },+ editRow(row: UserRoleVO) {+ data.dialogForm = JSON.parse(JSON.stringify(row))+ data.showDialog = true+ },+ deleteRow(row: UserRoleVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await deleteUserRole(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ // Export table+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.userRoleSetting'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ }+})++onMounted(async () => {+ await method.getUserRoleList()++ data.btnList = [+ {+ name: i18n.global.t('system.page.add'),+ icon: 'mdi-plus',+ code: 'save',+ click: method.add+ },+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'export',+ click: method.exportTable+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({ hasTab: false }))++const tableHeight = computed(() => computedTableHeight({ hasTab: false, hasPager: false }))+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/base/warehouseSetting/add-or-update-location.vue b/frontend/src/view/base/warehouseSetting/add-or-update-location.vuenew file mode 100644index 0000000..692cfb1--- /dev/null+++ b/frontend/src/view/base/warehouseSetting/add-or-update-location.vue@@ -0,0 +1,361 @@+<!-- Location Setting Operate Dialog -->+<template>+ <v-dialog v-model="isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('base.warehouseSetting.locationSetting')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-select+ v-model="data.form.warehouse_id"+ :items="data.combobox.warehouse_name"+ item-title="label"+ item-value="value"+ :rules="data.rules.warehouse_name"+ :label="$t('base.warehouseSetting.warehouse_name')"+ variant="outlined"+ clearable+ @update:model-value="method.changeWarehouse"+ ></v-select>+ <v-select+ v-model="data.form.warehouse_area_id"+ :items="data.combobox.warehouse_area_name"+ item-title="label"+ item-value="value"+ :rules="data.rules.warehouse_area_name"+ :label="$t('base.warehouseSetting.area_name')"+ variant="outlined"+ clearable+ @update:model-value="method.changeWarehouseArea"+ ></v-select>+ <v-select+ v-model="data.form.warehouse_area_property"+ :items="data.combobox.area_property"+ item-title="label"+ item-value="value"+ :rules="data.rules.warehouse_area_property"+ :label="$t('base.warehouseSetting.area_property')"+ variant="outlined"+ disabled+ clearable+ ></v-select>+ <v-text-field+ v-model="data.form.location_name"+ :label="$t('base.warehouseSetting.location_name')"+ :rules="data.rules.location_name"+ variant="outlined"+ clearable+ ></v-text-field>+ <v-text-field+ v-model="data.form.location_length"+ :label="$t('base.warehouseSetting.location_length')"+ :rules="data.rules.location_length"+ variant="outlined"+ clearable+ ></v-text-field>+ <v-text-field+ v-model="data.form.location_width"+ :label="$t('base.warehouseSetting.location_width')"+ :rules="data.rules.location_width"+ variant="outlined"+ clearable+ ></v-text-field>+ <v-text-field+ v-model="data.form.location_heigth"+ :label="$t('base.warehouseSetting.location_heigth')"+ :rules="data.rules.location_heigth"+ variant="outlined"+ clearable+ ></v-text-field>+ <v-text-field+ v-model="data.form.location_volume"+ :label="$t('base.warehouseSetting.location_volume')"+ :rules="data.rules.location_volume"+ variant="outlined"+ clearable+ ></v-text-field>+ <v-text-field+ v-model="data.form.location_load"+ :label="$t('base.warehouseSetting.location_load')"+ :rules="data.rules.location_load"+ variant="outlined"+ clearable+ ></v-text-field>+ <v-text-field+ v-model="data.form.roadway_number"+ :label="$t('base.warehouseSetting.roadway_number')"+ :rules="data.rules.roadway_number"+ variant="outlined"+ clearable+ ></v-text-field>+ <v-text-field+ v-model="data.form.shelf_number"+ :label="$t('base.warehouseSetting.shelf_number')"+ :rules="data.rules.shelf_number"+ variant="outlined"+ clearable+ ></v-text-field>+ <v-text-field+ v-model="data.form.layer_number"+ :label="$t('base.warehouseSetting.layer_number')"+ :rules="data.rules.layer_number"+ variant="outlined"+ clearable+ ></v-text-field>+ <v-text-field+ v-model="data.form.tag_number"+ :label="$t('base.warehouseSetting.tag_number')"+ :rules="data.rules.tag_number"+ variant="outlined"+ clearable+ ></v-text-field>+ <v-switch+ v-model="data.form.is_valid"+ color="primary"+ :label="$t('base.warehouseSetting.is_valid')"+ :rules="data.rules.is_valid"+ ></v-switch>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { hookComponent } from '@/components/system/index'+import { addGoodsLocation, updateGoodsLocation, getWarehouseSelect, getWarehouseAreaSelect } from '@/api/base/warehouseSetting'+import { GoodsLocationVO, AreaProperty } from '@/types/Base/Warehouse'+import i18n from '@/languages/i18n'+import { StringLength, IsDecimal } from '@/utils/dataVerification/formRule'++const formRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])++const props = defineProps<{+ showDialog: boolean+ form: GoodsLocationVO+}>()++const isShow = computed(() => props.showDialog)++const dialogTitle = computed(() => {+ if (props.form.id && props.form.id > 0) {+ return 'update'+ }+ return 'add'+})++const data = reactive({+ form: ref<GoodsLocationVO>({+ id: 0,+ warehouse_name: '',+ warehouse_area_name: '',+ location_name: '',+ location_length: 0,+ location_width: 0,+ location_heigth: 0,+ location_volume: 0,+ location_load: 0,+ roadway_number: '',+ shelf_number: '',+ layer_number: '',+ tag_number: '',+ is_valid: true+ }),+ rules: {+ warehouse_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.warehouseSetting.warehouse_name') }!`,+ (val: string) => StringLength(val, 0, 32) === '' || StringLength(val, 0, 32)+ ],+ warehouse_area_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.warehouseSetting.area_name') }!`,+ (val: string) => StringLength(val, 0, 32) === '' || StringLength(val, 0, 32)+ ],+ warehouse_area_property: [],+ location_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.warehouseSetting.location_name') }!`,+ (val: string) => StringLength(val, 0, 64) === '' || StringLength(val, 0, 64)+ ],+ location_length: [(val: number) => IsDecimal(val, 'nonNegative', 5, 2) === '' || IsDecimal(val, 'nonNegative', 5, 2)],+ location_width: [(val: number) => IsDecimal(val, 'nonNegative', 5, 2) === '' || IsDecimal(val, 'nonNegative', 5, 2)],+ location_heigth: [(val: number) => IsDecimal(val, 'nonNegative', 5, 2) === '' || IsDecimal(val, 'nonNegative', 5, 2)],+ location_volume: [(val: number) => IsDecimal(val, 'nonNegative', 12, 2) === '' || IsDecimal(val, 'nonNegative', 12, 2)],+ location_load: [(val: number) => IsDecimal(val, 'nonNegative', 8, 2) === '' || IsDecimal(val, 'nonNegative', 8, 2)],+ roadway_number: [(val: string) => StringLength(val, 0, 10) === '' || StringLength(val, 0, 10)],+ shelf_number: [(val: string) => StringLength(val, 0, 10) === '' || StringLength(val, 0, 10)],+ layer_number: [(val: string) => StringLength(val, 0, 10) === '' || StringLength(val, 0, 10)],+ tag_number: [(val: string) => StringLength(val, 0, 10) === '' || StringLength(val, 0, 10)],+ is_valid: []+ },+ combobox: ref<{+ warehouse_name: {+ label: string+ value: number+ }[]+ warehouse_area_name: {+ label: string+ value: number+ meta: any+ }[]+ area_property: {+ label: string+ value: AreaProperty+ }[]+ }>({+ warehouse_name: [],+ warehouse_area_name: [],+ area_property: [+ {+ label: i18n.global.t('base.warehouseSetting.picking_area'),+ value: AreaProperty.picking_area+ },+ {+ label: i18n.global.t('base.warehouseSetting.stocking_area'),+ value: AreaProperty.stocking_area+ },+ {+ label: i18n.global.t('base.warehouseSetting.receiving_area'),+ value: AreaProperty.receiving_area+ },+ {+ label: i18n.global.t('base.warehouseSetting.return_area'),+ value: AreaProperty.return_area+ },+ {+ label: i18n.global.t('base.warehouseSetting.defective_area'),+ value: AreaProperty.defective_area+ },+ {+ label: i18n.global.t('base.warehouseSetting.inventory_area'),+ value: AreaProperty.inventory_area+ }+ ]+ })+})++const method = reactive({+ changeWarehouse: (warehouseID: any) => {+ data.combobox.warehouse_area_name = []++ if (!warehouseID) {+ method.initWarehouseArea()+ return+ }++ // Find the ID corresponding value+ const warehouse = data.combobox.warehouse_name.find((item) => item.value === warehouseID)+ if (warehouse) {+ data.form.warehouse_name = warehouse.label+ data.form.warehouse_id = warehouseID++ // Clear messages of warehouse area when warehouse changed.+ method.initWarehouseArea()+ method.getWarehouseAreaSelect(warehouseID)+ }+ },+ changeWarehouseArea: (warehouseAreaID: any) => {+ if (!warehouseAreaID) {+ method.initWarehouseArea()+ return+ }++ // Find the ID corresponding value+ const warehouse = data.combobox.warehouse_area_name.find((item) => item.value === warehouseAreaID)+ if (warehouse) {+ data.form.warehouse_area_name = warehouse.label+ data.form.warehouse_area_id = warehouseAreaID+ data.form.warehouse_area_property = warehouse.meta+ }+ },+ // Clear messages of warehouse area when warehouse changed.+ initWarehouseArea() {+ delete data.form.warehouse_area_id+ data.form.warehouse_area_name = ''+ delete data.form.warehouse_area_property+ },+ getWarehouseSelect: async () => {+ data.combobox.warehouse_name = []+ const { data: res } = await getWarehouseSelect()+ if (!res.isSuccess) {+ return+ }+ for (const item of res.data) {+ data.combobox.warehouse_name.push({+ label: item.name,+ // WarehouseID is a numeric type+ value: Number(item.value)+ })+ }+ },+ // Get warehouse area select when warehouse changed.+ getWarehouseAreaSelect: async (warehouseID: number) => {+ data.combobox.warehouse_area_name = []+ const { data: res } = await getWarehouseAreaSelect(warehouseID)+ if (!res.isSuccess) {+ return+ }+ for (const item of res.data) {+ data.combobox.warehouse_area_name.push({+ label: item.area_name,+ // ID: WarehouseAreaID+ value: item.id,+ // Custom Property+ meta: item.area_property+ })+ }+ },+ closeDialog: () => {+ emit('close')+ },+ initForm: () => {+ data.form = props.form+ },+ submit: async () => {+ const { valid } = await formRef.value.validate()+ if (valid) {+ const { data: res } = dialogTitle.value === 'add' ? await addGoodsLocation(data.form) : await updateGoodsLocation(data.form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.initForm()+ method.getWarehouseSelect()+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/base/warehouseSetting/add-or-update-reservoir.vue b/frontend/src/view/base/warehouseSetting/add-or-update-reservoir.vuenew file mode 100644index 0000000..8635238--- /dev/null+++ b/frontend/src/view/base/warehouseSetting/add-or-update-reservoir.vue@@ -0,0 +1,213 @@+<!-- Reservoir Setting Operate Dialog -->+<template>+ <v-dialog v-model="isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('base.warehouseSetting.reservoirSetting')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-select+ v-model="data.form.warehouse_id"+ :items="data.combobox.warehouse_name"+ item-title="label"+ item-value="value"+ :rules="data.rules.warehouse_name"+ :label="$t('base.warehouseSetting.warehouse_name')"+ variant="outlined"+ clearable+ @update:model-value="method.changeWarehouse"+ ></v-select>+ <v-text-field+ v-model="data.form.area_name"+ :label="$t('base.warehouseSetting.area_name')"+ :rules="data.rules.area_name"+ variant="outlined"+ clearable+ ></v-text-field>+ <v-select+ v-model="data.form.area_property"+ :items="data.combobox.area_property"+ item-title="label"+ item-value="value"+ :rules="data.rules.area_property"+ :label="$t('base.warehouseSetting.area_property')"+ variant="outlined"+ clearable+ ></v-select>+ <v-switch+ v-model="data.form.is_valid"+ color="primary"+ :label="$t('base.warehouseSetting.is_valid')"+ :rules="data.rules.is_valid"+ ></v-switch>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { addWarehouseArea, updateWarehouseArea, getWarehouseSelect } from '@/api/base/warehouseSetting'+import { WarehouseAreaVO, AreaProperty } from '@/types/Base/Warehouse'+import { StringLength } from '@/utils/dataVerification/formRule'++const formRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])++const props = defineProps<{+ showDialog: boolean+ form: WarehouseAreaVO+}>()++const isShow = computed(() => props.showDialog)++const dialogTitle = computed(() => {+ if (props.form.id && props.form.id > 0) {+ return 'update'+ }+ return 'add'+})++const data = reactive({+ form: ref<WarehouseAreaVO>({+ id: 0,+ warehouse_id: 0,+ parent_id: 0,+ warehouse_name: '',+ area_name: '',+ area_property: AreaProperty.picking_area,+ is_valid: true+ }),+ rules: {+ warehouse_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.warehouseSetting.warehouse_name') }!`+ ],+ area_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.warehouseSetting.area_name') }!`,+ (val: string) => StringLength(val, 0, 32) === '' || StringLength(val, 0, 32)+ ],+ area_property: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.warehouseSetting.area_property') }!`+ ],+ is_valid: []+ },+ combobox: ref<{+ warehouse_name: {+ label: string+ value: number+ }[]+ area_property: {+ label: string+ value: AreaProperty+ }[]+ }>({+ warehouse_name: [],+ area_property: [+ {+ label: i18n.global.t('base.warehouseSetting.picking_area'),+ value: AreaProperty.picking_area+ },+ {+ label: i18n.global.t('base.warehouseSetting.stocking_area'),+ value: AreaProperty.stocking_area+ },+ {+ label: i18n.global.t('base.warehouseSetting.receiving_area'),+ value: AreaProperty.receiving_area+ },+ {+ label: i18n.global.t('base.warehouseSetting.return_area'),+ value: AreaProperty.return_area+ },+ {+ label: i18n.global.t('base.warehouseSetting.defective_area'),+ value: AreaProperty.defective_area+ },+ {+ label: i18n.global.t('base.warehouseSetting.inventory_area'),+ value: AreaProperty.inventory_area+ }+ ]+ })+})++const method = reactive({+ getCombobox: async () => {+ data.combobox.warehouse_name = []+ const { data: res } = await getWarehouseSelect()+ if (!res.isSuccess) {+ return+ }+ for (const item of res.data) {+ data.combobox.warehouse_name.push({+ label: item.name,+ // WarehouseID is a numberic type+ value: Number(item.value)+ })+ }+ },+ closeDialog: () => {+ emit('close')+ },+ initForm: () => {+ data.form = props.form+ },+ changeWarehouse: (warehouseID: any) => {+ // Find the ID corresponding value+ const warehouse = data.combobox.warehouse_name.find((item) => item.value === warehouseID)+ if (warehouse) {+ data.form.warehouse_name = warehouse.label+ data.form.warehouse_id = warehouseID+ }+ },+ submit: async () => {+ const { valid } = await formRef.value.validate()+ if (valid) {+ const { data: res } = dialogTitle.value === 'add' ? await addWarehouseArea(data.form) : await updateWarehouseArea(data.form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.initForm()+ method.getCombobox()+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/base/warehouseSetting/add-or-update-warehouse.vue b/frontend/src/view/base/warehouseSetting/add-or-update-warehouse.vuenew file mode 100644index 0000000..fa5c25b--- /dev/null+++ b/frontend/src/view/base/warehouseSetting/add-or-update-warehouse.vue@@ -0,0 +1,172 @@+<!-- Warehouse Setting Operate Dialog -->+<template>+ <v-dialog v-model="isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('router.sideBar.warehouseSetting')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-text-field+ v-model="data.form.warehouse_name"+ :label="$t('base.warehouseSetting.warehouse_name')"+ :rules="data.rules.warehouse_name"+ variant="outlined"+ clearable+ ></v-text-field>+ <v-text-field+ v-model="data.form.city"+ :label="$t('base.warehouseSetting.city')"+ :rules="data.rules.city"+ variant="outlined"+ clearable+ ></v-text-field>+ <v-text-field+ v-model="data.form.address"+ :label="$t('base.warehouseSetting.address')"+ :rules="data.rules.address"+ variant="outlined"+ clearable+ ></v-text-field>+ <v-text-field+ v-model="data.form.contact_tel"+ :label="$t('base.warehouseSetting.contact_tel')"+ :rules="data.rules.contact_tel"+ variant="outlined"+ clearable+ ></v-text-field>+ <v-text-field+ v-model="data.form.email"+ :label="$t('base.warehouseSetting.email')"+ :rules="data.rules.email"+ variant="outlined"+ clearable+ ></v-text-field>+ <v-text-field+ v-model="data.form.manager"+ :label="$t('base.warehouseSetting.manager')"+ :rules="data.rules.manager"+ variant="outlined"+ clearable+ ></v-text-field>+ <v-switch+ v-model="data.form.is_valid"+ color="primary"+ :label="$t('base.warehouseSetting.is_valid')"+ :rules="data.rules.is_valid"+ ></v-switch>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { addWarehouse, updateWarehouse } from '@/api/base/warehouseSetting'+import { WarehouseVO } from '@/types/Base/Warehouse'+import { StringLength } from '@/utils/dataVerification/formRule'++const formRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])++const props = defineProps<{+ showDialog: boolean+ form: WarehouseVO+}>()++const isShow = computed(() => props.showDialog)++const dialogTitle = computed(() => {+ if (props.form.id && props.form.id > 0) {+ return 'update'+ }+ return 'add'+})++const data = reactive({+ form: ref<WarehouseVO>({+ id: 0,+ warehouse_name: '',+ city: '',+ address: '',+ contact_tel: '',+ email: '',+ manager: '',+ is_valid: true+ }),+ rules: {+ warehouse_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.warehouseSetting.warehouse_name') }!`,+ (val: string) => StringLength(val, 0, 32) === '' || StringLength(val, 0, 32)+ ],+ city: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.warehouseSetting.city') }!`,+ (val: string) => StringLength(val, 0, 128) === '' || StringLength(val, 0, 128)+ ],+ address: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.warehouseSetting.address') }!`,+ (val: string) => StringLength(val, 0, 256) === '' || StringLength(val, 0, 256)+ ],+ contact_tel: [(val: string) => StringLength(val, 0, 64) === '' || StringLength(val, 0, 64)],+ email: [(val: string) => StringLength(val, 0, 128) === '' || StringLength(val, 0, 128)],+ manager: [(val: string) => StringLength(val, 0, 64) === '' || StringLength(val, 0, 64)],+ is_valid: []+ }+})++const method = reactive({+ closeDialog: () => {+ emit('close')+ },+ initForm: () => {+ data.form = props.form+ },+ submit: async () => {+ const { valid } = await formRef.value.validate()+ if (valid) {+ const { data: res } = dialogTitle.value === 'add' ? await addWarehouse(data.form) : await updateWarehouse(data.form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.initForm()+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/base/warehouseSetting/import-table.vue b/frontend/src/view/base/warehouseSetting/import-table.vuenew file mode 100644index 0000000..ae67cdc--- /dev/null+++ b/frontend/src/view/base/warehouseSetting/import-table.vue@@ -0,0 +1,214 @@+<!-- Warehouse Setting Import Dialog -->+<template>+ <v-dialog v-model="isShow" width="70%" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('system.page.import')}`"></v-toolbar>+ <v-card-text>+ <div class="mb-4">+ <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.chooseFile')" size="x-small" @click="method.chooseFile"></tooltip-btn>+ <tooltip-btn+ icon="mdi-export-variant"+ :tooltip-text="$t('system.page.exportTemplate')"+ size="x-small"+ @click="method.exportTemplate"+ ></tooltip-btn>+ <input v-show="false" id="open" ref="uploadExcel" type="file" accept=".xls, .xlsx" @change="method.readExcel" />+ </div>+ <vxe-table+ ref="xTable"+ :column-config="{ minWidth: '100px' }"+ :data="data.importData"+ :height="SYSTEM_HEIGHT.SELECT_TABLE"+ :edit-config="{ trigger: 'click', mode: 'cell' }"+ :edit-rules="data.validRules"+ :export-config="{}"+ align="center"+ >+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="operate" width="60" :title="$t('system.page.operate')" :resizable="false">+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="errorColor"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ <vxe-column field="warehouse_name" :title="$t('base.warehouseSetting.warehouse_name')"></vxe-column>+ <vxe-column field="city" :title="$t('base.warehouseSetting.city')"></vxe-column>+ <vxe-column field="address" :title="$t('base.warehouseSetting.address')"></vxe-column>+ <vxe-column field="contact_tel" :title="$t('base.warehouseSetting.contact_tel')"></vxe-column>+ <vxe-column field="email" :title="$t('base.warehouseSetting.email')"></vxe-column>+ <vxe-column field="manager" :title="$t('base.warehouseSetting.manager')"></vxe-column>+ </vxe-table>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { VxeTablePropTypes } from 'vxe-table'+import * as XLSX from 'xlsx'+import i18n from '@/languages/i18n'+import { excelImport } from '@/api/base/warehouseSetting'+import { hookComponent } from '@/components/system/index'+import { SYSTEM_HEIGHT, errorColor } from '@/constant/style'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { WarehouseVO } from '@/types/Base/Warehouse'+import { exportData } from '@/utils/exportTable'+import { formatString } from '@/utils/format/formatSystem'++const emit = defineEmits(['close', 'saveSuccess'])+const uploadExcel = ref()+const xTable = ref()++const props = defineProps<{+ showDialog: boolean+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ importData: ref<Array<WarehouseVO>>([]),+ validRules: ref<VxeTablePropTypes.EditRules>({})+})++const method = reactive({+ initForm: () => {+ data.importData = []+ },+ closeDialog: () => {+ emit('close')+ },+ submit: async () => {+ const isValid = method.valid()+ if (!isValid) {+ return+ }++ const $table = xTable.value+ // It must be use 'getTableData()' to get all datas with table because it will delete row sometimes.+ const importData = $table.getTableData().fullData++ const { data: res } = await excelImport(importData)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ },++ valid: () => {+ const $table = xTable.value+ const importData = $table.getTableData().fullData++ if (importData.length <= 0) {+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('system.tips.detailLengthIsZero') }`+ })+ return false+ }+ return true+ },++ chooseFile: async () => {+ uploadExcel.value.value = ''+ uploadExcel.value.click()+ },++ readExcel: async (evnt: any) => {+ const files = evnt.target.files+ if (files.length <= 0) {+ return false+ }++ const file = files[0]+ const fileReader = new FileReader()++ fileReader.onload = (ev: ProgressEvent<FileReader>) => {+ const fileData = ev?.target?.result+ if (fileData) {+ const workbook = XLSX.read(fileData, { type: 'binary' })+ const wsname = workbook.SheetNames[0]++ let ws = XLSX.utils.sheet_to_json(workbook.Sheets[wsname])+ let str = JSON.stringify(ws)+ str = str.replace(/(/g, '(')+ str = str.replace(/)/g, ')')+ ws = JSON.parse(str)++ data.importData = []+ ws.forEach((value: any, index: number, ws: any) => {+ data.importData.push({+ warehouse_name: formatString(ws[index][i18n.global.t('base.warehouseSetting.warehouse_name')]),+ city: formatString(ws[index][i18n.global.t('base.warehouseSetting.city')]),+ address: formatString(ws[index][i18n.global.t('base.warehouseSetting.address')]),+ contact_tel: formatString(ws[index][i18n.global.t('base.warehouseSetting.contact_tel')]),+ email: formatString(ws[index][i18n.global.t('base.warehouseSetting.email')]),+ manager: formatString(ws[index][i18n.global.t('base.warehouseSetting.manager')])+ })+ })+ }+ }+ fileReader.readAsBinaryString(file)+ },++ exportTemplate: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.warehouseSetting'),+ mode: 'header',+ columnFilterMethod({ column }: any) {+ return !['checkbox', 'seq'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },++ deleteRow: (row: WarehouseVO) => {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteDetailMessage'),+ handleConfirm: async () => {+ if (row) {+ const $table = xTable.value+ $table.remove(row)+ }+ }+ })+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.initForm()+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/base/warehouseSetting/tab-location.vue b/frontend/src/view/base/warehouseSetting/tab-location.vuenew file mode 100644index 0000000..c989018--- /dev/null+++ b/frontend/src/view/base/warehouseSetting/tab-location.vue@@ -0,0 +1,414 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.add')" @click="method.add"></tooltip-btn>+ <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->+ <!-- new version -->+ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4"></v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.warehouse_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('base.warehouseSetting.warehouse_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.warehouse_area_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('base.warehouseSetting.area_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table+ ref="xTableGoodsLocation"+ :column-config="{ minWidth: '100px' }"+ :data="data.tableData"+ :height="tableHeight"+ align="center"+ >+ <vxe-column type="checkbox" width="50" fixed="left"></vxe-column>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="warehouse_name" :title="$t('base.warehouseSetting.warehouse_name')"></vxe-column>+ <vxe-column field="warehouse_area_name" :title="$t('base.warehouseSetting.area_name')"></vxe-column>+ <vxe-column field="warehouse_area_property" :title="$t('base.warehouseSetting.area_property')">+ <template #default="{ row, column }">+ <span>{{ formatAreaProperty(row[column.property]) }}</span>+ </template>+ </vxe-column>+ <vxe-column field="location_name" :title="$t('base.warehouseSetting.location_name')"></vxe-column>+ <vxe-column width="150px" field="location_length" :title="$t('base.warehouseSetting.location_length')"></vxe-column>+ <vxe-column width="150px" field="location_width" :title="$t('base.warehouseSetting.location_width')"></vxe-column>+ <vxe-column width="150px" field="location_heigth" :title="$t('base.warehouseSetting.location_heigth')"></vxe-column>+ <vxe-column width="150px" field="location_volume" :title="$t('base.warehouseSetting.location_volume')"></vxe-column>+ <vxe-column width="150px" field="location_load" :title="$t('base.warehouseSetting.location_load')"></vxe-column>+ <vxe-column field="roadway_number" :title="$t('base.warehouseSetting.roadway_number')"></vxe-column>+ <vxe-column field="shelf_number" :title="$t('base.warehouseSetting.shelf_number')"></vxe-column>+ <vxe-column field="layer_number" :title="$t('base.warehouseSetting.layer_number')"></vxe-column>+ <vxe-column field="tag_number" :title="$t('base.warehouseSetting.tag_number')"></vxe-column>+ <vxe-column field="is_valid" :title="$t('base.warehouseSetting.is_valid')">+ <template #default="{ row, column }">+ <span>{{ formatIsValid(row[column.property]) }}</span>+ </template>+ </vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="140px" :resizable="false" show-overflow>+ <template #default="{ row }">+ <!-- <tooltip-btn+ :flat="true"+ icon="mdi-qrcode"+ :tooltip-text="$t('base.commodityManagement.printQrCode')"+ :disabled="!data.authorityList.includes('location-printQrCode')"+ @click="method.printQrCode(row)"+ ></tooltip-btn> -->+ <!-- <tooltip-btn+ :flat="true"+ icon="mdi-barcode"+ :tooltip-text="$t('base.commodityManagement.printBarCode')"+ :disabled="!data.authorityList.includes('location-printBarCode')"+ @click="method.printBarCode(row)"+ ></tooltip-btn> -->+ <tooltip-btn+ :flat="true"+ icon="mdi-pencil-outline"+ :tooltip-text="$t('system.page.edit')"+ :disabled="!data.authorityList.includes('location-save')"+ @click="method.editRow(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="errorColor"+ :disabled="!data.authorityList.includes('location-delete')"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ <add-or-update-dialog :show-dialog="data.showDialog" :form="data.dialogForm" @close="method.closeDialog" @saveSuccess="method.saveSuccess" />++ <!-- Print QR code -->+ <qr-code-dialog ref="qrCodeDialogRef" :menu="'warehouseSetting-location'">+ <template #left="{ slotData }">+ <p>{{ $t('base.warehouseSetting.warehouse_name') }}:{{ slotData.warehouse_name }}</p> + <p>{{ $t('base.warehouseSetting.area_name') }}:{{ slotData.warehouse_area_name }}</p> + <p>{{ $t('base.warehouseSetting.location_name') }}:{{ slotData.location_name }}</p> + </template>+ </qr-code-dialog>+ <!-- Print barcode -->+ <bar-code-dialog ref="barCodeDialogRef" :menu="'warehouseSetting-location'" />+</template>++<script lang="ts" setup>+import { computed, onMounted, reactive, ref, watch } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight, errorColor } from '@/constant/style'+import { GoodsLocationVO } from '@/types/Base/Warehouse'+import { DEFAULT_PAGE_SIZE, PAGE_LAYOUT, PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { deleteGoodsLocation, getGoodsLocationList } from '@/api/base/warehouseSetting'+import i18n from '@/languages/i18n'+import { formatIsValid } from '@/utils/format/formatSystem'+import { formatAreaProperty } from '@/utils/format/formatWarehouse'+import { getMenuAuthorityList, setSearchObject } from '@/utils/common'+import { DEBOUNCE_TIME } from '@/constant/system'+import { btnGroupItem, SearchObject } from '@/types/System/Form'+import { exportData } from '@/utils/exportTable'+import tooltipBtn from '@/components/tooltip-btn.vue'+import addOrUpdateDialog from './add-or-update-location.vue'+import customPager from '@/components/custom-pager.vue'+import BtnGroup from '@/components/system/btnGroup.vue'+import BarCodeDialog from '@/components/codeDialog/barCodeDialog.vue'+import QrCodeDialog from '@/components/codeDialog/qrCodeDialog.vue'++const xTableGoodsLocation = ref()+const qrCodeDialogRef = ref()+const barCodeDialogRef = ref()++const data = reactive({+ showDialog: false,+ dialogForm: ref<GoodsLocationVO>({+ id: 0,+ warehouse_name: '',+ warehouse_area_name: '',+ location_name: '',+ location_length: 0,+ location_width: 0,+ location_heigth: 0,+ location_volume: 0,+ location_load: 0,+ roadway_number: '',+ shelf_number: '',+ layer_number: '',+ tag_number: '',+ is_valid: true+ }),+ searchForm: {+ warehouse_name: '',+ warehouse_area_name: ''+ },+ activeTab: null,+ tableData: ref<GoodsLocationVO[]>([]),+ tablePage: reactive({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ selectRowData: [],+ timer: ref<any>(null),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList() as string[]+})++const method = reactive({+ // Print QR code+ printQrCode: () => {+ const records = xTableGoodsLocation.value.getCheckboxRecords()++ // data.selectRowData.length === 0 ? (data.selectRowData = [row]) : ''+ // const records: any[] = data.selectRowData+ if (records.length > 0) {+ for (const item of records) {+ item.type = 'warehouse'+ }+ qrCodeDialogRef.value.openDialog(records)+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('base.userManagement.checkboxIsNull')+ })+ }+ },+ printBarCode: () => {+ let records = xTableGoodsLocation.value.getCheckboxRecords()+ records = records.filter((item) => item.id)+ // data.selectRowData.length === 0 ? (data.selectRowData = [row]) : ''+ // let records: any[] = data.selectRowData++ if (records.length > 0) {+ barCodeDialogRef.value.openDialog(records)+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('base.userManagement.checkboxIsNull')+ })+ }+ },+ selectAllEvent({ checked }) {+ const records = xTableGoodsLocation.value.getCheckboxRecords()+ checked ? (data.selectRowData = records) : (data.selectRowData = [])+ },+ selectChangeEvent() {+ data.selectRowData = xTableGoodsLocation.value.getCheckboxRecords()+ },+ // Open a dialog to add+ add: () => {+ data.dialogForm = {+ id: 0,+ warehouse_name: '',+ warehouse_area_name: '',+ location_name: '',+ location_length: 0,+ location_width: 0,+ location_heigth: 0,+ location_volume: 0,+ location_load: 0,+ roadway_number: '',+ shelf_number: '',+ layer_number: '',+ tag_number: '',+ is_valid: true+ }+ data.showDialog = true+ },+ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },+ // After add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },+ // Refresh data+ refresh: () => {+ method.getGoodsLocationList()+ },+ getGoodsLocationList: async () => {+ const { data: res } = await getGoodsLocationList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ editRow(row: GoodsLocationVO) {+ data.dialogForm = JSON.parse(JSON.stringify(row))+ data.showDialog = true+ },+ deleteRow(row: GoodsLocationVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await deleteGoodsLocation(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getGoodsLocationList()+ }),+ exportTable: () => {+ const $table = xTableGoodsLocation.value+ exportData({+ table: $table,+ filename: i18n.global.t('base.warehouseSetting.locationSetting'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getGoodsLocationList()+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.add'),+ icon: 'mdi-plus',+ code: 'location-save',+ click: method.add+ },+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'location-export',+ click: method.exportTable+ },+ {+ name: i18n.global.t('base.commodityManagement.printQrCode'),+ icon: 'mdi-qrcode',+ code: 'location-printQrCode',+ click: method.printQrCode+ },+ {+ name: i18n.global.t('base.commodityManagement.printBarCode'),+ icon: 'mdi-barcode',+ code: 'location-printBarCode',+ click: method.printBarCode+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)++defineExpose({+ getGoodsLocationList: method.getGoodsLocationList+})+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/base/warehouseSetting/tab-reservoir.vue b/frontend/src/view/base/warehouseSetting/tab-reservoir.vuenew file mode 100644index 0000000..de8be0f--- /dev/null+++ b/frontend/src/view/base/warehouseSetting/tab-reservoir.vue@@ -0,0 +1,301 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.add')" @click="method.add"></tooltip-btn>+ <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->+ <!-- new version -->+ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4"></v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.warehouse_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('base.warehouseSetting.warehouse_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.area_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('base.warehouseSetting.area_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTableWarehouseArea" :data="data.tableData" :height="tableHeight" align="center">+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="warehouse_name" :title="$t('base.warehouseSetting.warehouse_name')"></vxe-column>+ <vxe-column field="area_name" :title="$t('base.warehouseSetting.area_name')"></vxe-column>+ <vxe-column field="area_property" :title="$t('base.warehouseSetting.area_property')">+ <template #default="{ row, column }">+ <span>{{ formatAreaProperty(row[column.property]) }}</span>+ </template>+ </vxe-column>+ <vxe-column field="is_valid" :title="$t('base.warehouseSetting.is_valid')">+ <template #default="{ row, column }">+ <span>{{ formatIsValid(row[column.property]) }}</span>+ </template>+ </vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="160" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-pencil-outline"+ :tooltip-text="$t('system.page.edit')"+ :disabled="!data.authorityList.includes('area-save')"+ @click="method.editRow(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="!data.authorityList.includes('area-delete')?'':errorColor"+ :disabled="!data.authorityList.includes('area-delete')"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ <add-or-update-dialog :show-dialog="data.showDialog" :form="data.dialogForm" @close="method.closeDialog" @saveSuccess="method.saveSuccess" />+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight, errorColor } from '@/constant/style'+import { WarehouseAreaVO, AreaProperty } from '@/types/Base/Warehouse'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { deleteWarehouseArea, getWarehouseAreaList } from '@/api/base/warehouseSetting'+import tooltipBtn from '@/components/tooltip-btn.vue'+import addOrUpdateDialog from './add-or-update-reservoir.vue'+import i18n from '@/languages/i18n'+import { formatAreaProperty } from '@/utils/format/formatWarehouse'+import { formatIsValid } from '@/utils/format/formatSystem'+import customPager from '@/components/custom-pager.vue'+import { DEBOUNCE_TIME } from '@/constant/system'+import { SearchObject, btnGroupItem } from '@/types/System/Form'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'++const xTableWarehouseArea = ref()++const data = reactive({+ showDialog: false,+ dialogForm: ref<WarehouseAreaVO>({+ id: 0,+ parent_id: 0,+ warehouse_name: '',+ area_name: '',+ area_property: AreaProperty.picking_area,+ is_valid: true+ }),+ searchForm: {+ warehouse_name: '',+ area_name: ''+ },+ activeTab: null,+ tableData: ref<WarehouseAreaVO[]>([]),+ tablePage: reactive({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ timer: ref<any>(null),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList() as string[]+})++const method = reactive({+ // Open a dialog to add+ add: () => {+ data.dialogForm = {+ id: 0,+ parent_id: 0,+ warehouse_name: '',+ area_name: '',+ area_property: AreaProperty.picking_area,+ is_valid: true+ }+ data.showDialog = true+ },+ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },+ // After add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },+ // Refresh data+ refresh: () => {+ method.getWarehouseAreaList()+ },+ getWarehouseAreaList: async () => {+ const { data: res } = await getWarehouseAreaList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },++ editRow(row: WarehouseAreaVO) {+ data.dialogForm = JSON.parse(JSON.stringify(row))+ data.showDialog = true+ },+ deleteRow(row: WarehouseAreaVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await deleteWarehouseArea(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getWarehouseAreaList()+ }),+ exportTable: () => {+ const $table = xTableWarehouseArea.value+ exportData({+ table: $table,+ filename: i18n.global.t('base.warehouseSetting.reservoirSetting'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getWarehouseAreaList()+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.add'),+ icon: 'mdi-plus',+ code: 'area-save',+ click: method.add+ },+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'area-export',+ click: method.exportTable+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)++defineExpose({+ getWarehouseAreaList: method.getWarehouseAreaList+})+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/base/warehouseSetting/tab-warehouse.vue b/frontend/src/view/base/warehouseSetting/tab-warehouse.vuenew file mode 100644index 0000000..b92237a--- /dev/null+++ b/frontend/src/view/base/warehouseSetting/tab-warehouse.vue@@ -0,0 +1,344 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.add')" @click="method.add"></tooltip-btn>+ <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-database-import-outline" :tooltip-text="$t('system.page.import')" @click="method.openDialogImport"> </tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->++ <!-- new version -->+ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.warehouse_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('base.warehouseSetting.warehouse_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.city"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('base.warehouseSetting.city')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.manager"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('base.warehouseSetting.manager')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTableWarehouse" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="warehouse_name" :title="$t('base.warehouseSetting.warehouse_name')"></vxe-column>+ <vxe-column field="city" :title="$t('base.warehouseSetting.city')"></vxe-column>+ <vxe-column field="address" :title="$t('base.warehouseSetting.address')"></vxe-column>+ <vxe-column field="contact_tel" :title="$t('base.warehouseSetting.contact_tel')"></vxe-column>+ <vxe-column field="email" :title="$t('base.warehouseSetting.email')"></vxe-column>+ <vxe-column field="manager" :title="$t('base.warehouseSetting.manager')"></vxe-column>+ <vxe-column field="creator" :title="$t('base.warehouseSetting.creator')"></vxe-column>+ <vxe-column+ field="create_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('base.warehouseSetting.create_time')"+ ></vxe-column>+ <vxe-column field="is_valid" :title="$t('base.warehouseSetting.is_valid')">+ <template #default="{ row, column }">+ <span>{{ formatIsValid(row[column.property]) }}</span>+ </template>+ </vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="160" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-pencil-outline"+ :tooltip-text="$t('system.page.edit')"+ :disabled="!data.authorityList.includes('warehouse-save')"+ @click="method.editRow(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="!data.authorityList.includes('warehouse-delete')?'':errorColor"+ :disabled="!data.authorityList.includes('warehouse-delete')"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ <add-or-update-dialog :show-dialog="data.showDialog" :form="data.dialogForm" @close="method.closeDialog" @saveSuccess="method.saveSuccess" />+ <import-table :show-dialog="data.showDialogImport" @close="method.closeDialogImport" @saveSuccess="method.saveSuccessImport" />+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight, errorColor } from '@/constant/style'+import { WarehouseVO } from '@/types/Base/Warehouse'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { deleteWarehouse, getWarehouseList } from '@/api/base/warehouseSetting'+import tooltipBtn from '@/components/tooltip-btn.vue'+import addOrUpdateDialog from './add-or-update-warehouse.vue'+import i18n from '@/languages/i18n'+import { formatIsValid } from '@/utils/format/formatSystem'+import customPager from '@/components/custom-pager.vue'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { DEBOUNCE_TIME } from '@/constant/system'+import { SearchObject, btnGroupItem } from '@/types/System/Form'+import importTable from './import-table.vue'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'++const xTableWarehouse = ref()++const data = reactive({+ showDialog: false,+ showDialogImport: false,++ dialogForm: {+ id: 0,+ warehouse_name: '',+ city: '',+ address: '',+ contact_tel: '',+ email: '',+ manager: '',+ is_valid: true+ },+ searchForm: {+ warehouse_name: '',+ city: '',+ manager: ''+ },+ activeTab: null,+ tableData: ref<WarehouseVO[]>([]),+ tablePage: reactive({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ timer: ref<any>(null),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList() as string[]+})++const method = reactive({+ // Open a dialog to add+ add: () => {+ data.dialogForm = {+ id: 0,+ warehouse_name: '',+ city: '',+ address: '',+ contact_tel: '',+ email: '',+ manager: '',+ is_valid: true+ }+ data.showDialog = true+ },+ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },+ // After add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },+ // Import Dialog+ openDialogImport: () => {+ data.showDialogImport = true+ },+ closeDialogImport: () => {+ data.showDialogImport = false+ },+ saveSuccessImport: () => {+ method.refresh()+ method.closeDialogImport()+ },+ // Refresh data+ refresh: () => {+ method.getWarehouseList()+ },+ getWarehouseList: async () => {+ const { data: res } = await getWarehouseList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ editRow(row: WarehouseVO) {+ data.dialogForm = JSON.parse(JSON.stringify(row))+ data.showDialog = true+ },+ deleteRow(row: WarehouseVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await deleteWarehouse(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getWarehouseList()+ }),+ exportTable: () => {+ const $table = xTableWarehouse.value+ exportData({+ table: $table,+ filename: i18n.global.t('base.warehouseSetting.warehouseSetting'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getWarehouseList()+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.add'),+ icon: 'mdi-plus',+ code: 'warehouse-save',+ click: method.add+ },+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.import'),+ icon: 'mdi-database-import-outline',+ code: 'warehouse-import',+ click: method.openDialogImport+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'warehouse-export',+ click: method.exportTable+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)++defineExpose({+ getWarehouseList: method.getWarehouseList+})+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/base/warehouseSetting/warehouseSetting.vue b/frontend/src/view/base/warehouseSetting/warehouseSetting.vuenew file mode 100644index 0000000..bd03184--- /dev/null+++ b/frontend/src/view/base/warehouseSetting/warehouseSetting.vue@@ -0,0 +1,110 @@+<!-- Warehouse Setting -->+<template>+ <div class="container">+ <div>+ <v-tabs v-model="data.activeTab" stacked @update:model-value="method.changeTabs">+ <v-tab v-for="(item, index) of tabsConfig" :key="index" :value="item.value">+ <v-icon>{{ item.icon }}</v-icon>+ <p class="tabItemTitle">{{ item.tabName }}</p>+ </v-tab>+ </v-tabs>++ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <v-window v-model="data.activeTab">+ <v-window-item value="tabWarehouse">+ <tab-warehouse ref="tabWarehouseRef" />+ </v-window-item>+ <v-window-item value="tabReservoir">+ <tab-reservoir ref="tabReservoirRef" />+ </v-window-item>+ <v-window-item value="tabLocation">+ <tab-location ref="tabLocationRef" />+ </v-window-item>+ </v-window>+ </v-card-text>+ </v-card>+ </div>+ </div>+</template>++<script lang="ts" setup>+import { ref, reactive, onMounted, nextTick } from 'vue'+import i18n from '@/languages/i18n'+import tabWarehouse from './tab-warehouse.vue'+import tabReservoir from './tab-reservoir.vue'+import tabLocation from './tab-location.vue'++const tabWarehouseRef = ref()+const tabReservoirRef = ref()+const tabLocationRef = ref()++const tabsConfig = [+ {+ value: 'tabWarehouse',+ icon: 'mdi-warehouse',+ tabName: i18n.global.t('base.warehouseSetting.warehouseSetting')+ },+ {+ value: 'tabReservoir',+ icon: 'mdi-texture-box',+ tabName: i18n.global.t('base.warehouseSetting.reservoirSetting')+ },+ {+ value: 'tabLocation',+ icon: 'mdi-library-shelves ',+ tabName: i18n.global.t('base.warehouseSetting.locationSetting')+ }+]++const data = reactive({+ activeTab: '',+ isLoadWarehouseData: false,+ isLoadReservoirData: false,+ isLoadLocationData: false+})++const method = reactive({+ changeTabs: (e: any): void => {+ nextTick(() => {+ switch (e) {+ case 'tabWarehouse':+ // Tips:Must be write the nextTick so that can get DOM!!+ if (tabWarehouseRef?.value?.getWarehouseList) {+ tabWarehouseRef.value.getWarehouseList()+ }+ break+ case 'tabReservoir':+ if (tabReservoirRef?.value?.getWarehouseAreaList) {+ tabReservoirRef.value.getWarehouseAreaList()+ }+ break+ case 'tabLocation':+ if (tabLocationRef?.value?.getGoodsLocationList) {+ tabLocationRef.value.getGoodsLocationList()+ }+ break+ }+ })+ }+})++onMounted(() => {})+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/add-or-update-allocation.vue b/frontend/src/view/deliveryManagement/deliveryManagement/add-or-update-allocation.vuenew file mode 100644index 0000000..b155eb3--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/add-or-update-allocation.vue@@ -0,0 +1,108 @@+<template>+ <v-dialog v-model="isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('router.sideBar.supplier')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-text-field+ v-model="data.form.dateFrom"+ type="date"+ variant="outlined"+ :label="$t('wms.deliveryBatchAllocation.dateFrom')"+ ></v-text-field>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { DeliveryBatchAllocationVO } from '@/types/DeliveryManagement/DeliveryManagement'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'++const formRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])++const props = defineProps<{+ showDialog: boolean+ form: DeliveryBatchAllocationVO+}>()++const isShow = computed(() => props.showDialog)++// const dialogTitle = computed(() => {+// if (props.form.id && props.form.id > 0) {+// return 'update'+// }+// return 'add'+// })++const data = reactive({+ form: ref<DeliveryBatchAllocationVO>({+ id: 0,+ dateFrom: '',+ dateTo: '',+ allocationRule: '',+ is_valid: true+ }),+ rules: {+ dateFrom: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.deliveryBatchAllocation.dateFrom') }!`],+ dateTo: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.deliveryBatchAllocation.dateTo') }!`],+ allocationRule: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.deliveryBatchAllocation.allocationRule') }!`],+ }+})++const method = reactive({+ closeDialog: () => {+ emit('close')+ },+ submit: async () => {+ const { valid } = await formRef.value.validate()+ if (valid) {+ // const { data: res } = dialogTitle.value === 'add' ? await addSupplier(data.form) : await updateSupplier(data.form)+ // if (!res.isSuccess) {+ // hookComponent.$message({+ // type: 'error',+ // content: res.errorMessage+ // })+ // return+ // }+ // hookComponent.$message({+ // type: 'success',+ // content: `${i18n.global.t('system.page.submit')}${i18n.global.t('system.tips.success')}`+ // })+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ data.form = props.form+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/add-or-update-shipment.vue b/frontend/src/view/deliveryManagement/deliveryManagement/add-or-update-shipment.vuenew file mode 100644index 0000000..631d2cb--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/add-or-update-shipment.vue@@ -0,0 +1,351 @@+<template>+ <v-dialog v-model="isShow" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card class="formCard" :width="dialogWidth">+ <v-toolbar color="white" :title="`${$t('router.sideBar.deliveryManagement')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <!-- <v-select+ v-model="data.form.customer_name"+ :items="data.combobox.customer_name"+ item-title="label"+ item-value="label"+ :rules="data.rules.customer_name"+ :label="$t('wms.deliveryManagement.customer_name')"+ variant="outlined"+ clearable+ @update:model-value="method.customerNameChange"+ ></v-select> -->+ <customFilterSelect+ v-model="data.form"+ :items="data.combobox.customer_name"+ item-title="label"+ :rules="data.rules.customer_name"+ :label="$t('wms.deliveryManagement.customer_name')"+ :mapping="[+ {+ in: 'customer_name',+ out: 'label'+ },+ {+ in: 'customer_id',+ out: 'value'+ }+ ]"+ />++ <v-row v-for="(item, index) of data.form.detailList" :key="index" style="margin-top: 5px">+ <!-- <v-select+ v-model="item.sku_id"+ :items="data.combobox.sku_code"+ item-title="label"+ item-value="value"+ :rules="data.rules.sku_id"+ :label="$t('wms.deliveryManagement.sku_code')"+ variant="outlined"+ clearable+ ></v-select> -->+ <v-col :cols="3">+ <v-text-field v-model="item.spu_name" :label="$t('wms.deliveryManagement.spu_name')" variant="outlined" readonly></v-text-field>+ </v-col>+ <v-col :cols="3">+ <v-text-field+ v-model="item.spu_code"+ :label="$t('wms.deliveryManagement.spu_code')"+ :rules="data.rules.spu_code"+ variant="outlined"+ readonly+ ></v-text-field>+ </v-col>+ <v-col :cols="3">+ <v-text-field v-model="item.sku_code" :label="$t('wms.deliveryManagement.sku_code')" variant="outlined" readonly></v-text-field>+ </v-col>+ <v-col :cols="2">+ <v-text-field+ v-model="item.qty"+ :rules="data.rules.qty"+ :label="$t('wms.deliveryManagement.detailQty')"+ variant="outlined"+ clearable+ ></v-text-field>+ </v-col>+ <v-col :cols="1">+ <div class="detailBtnContainer">+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="errorColor"+ @click="method.removeItem(index, item)"+ ></tooltip-btn>+ </div>+ </v-col>+ </v-row>+ <!-- <v-btn style="font-size: 20px; margin-bottom: 15px; margin-top: 10px; float: right" color="primary" :width="40" @click="method.AddDetail">+ ++ </v-btn> -->+ <v-btn+ style="font-size: 20px; margin-bottom: 15px; margin-top: 10px; float: right"+ color="primary"+ :width="40"+ @click="method.openSelect('target')"+ >+ ++ </v-btn>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ <skuSelect :show-dialog="data.showSkuDialogSelect" @close="method.closeDialogSelect('target')" @sureSelect="method.sureSelect" />+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch, nextTick } from 'vue'+import { DeliveryManagementVO, DeliveryManagementDetailListVO, addRequestVO } from '@/types/DeliveryManagement/DeliveryManagement'+import i18n from '@/languages/i18n'+import { errorColor } from '@/constant/style'+import { hookComponent } from '@/components/system/index'+import { addShipment } from '@/api/wms/deliveryManagement'+import { getCustomerAll } from '@/api/base/customer'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { checkDetailRepeatGetBool } from '@/utils/dataVerification/page'+import skuSelect from '@/components/select/sku-select.vue'+import { CommodityDetailJoinMainVO } from '@/types/Base/CommodityManagement'+import { IsInteger } from '@/utils/dataVerification/formRule'+import customFilterSelect from '@/components/custom-filter-select.vue'++const formRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])++const props = defineProps<{+ showDialog: boolean+ form: DeliveryManagementVO+}>()++const isShow = computed(() => props.showDialog)+// eslint-disable-next-line vue/return-in-computed-property+const dialogWidth = computed(() => (data.form.detailList.length === 0 ? '30%' : '70%'))+const data = reactive({+ curSelectType: '',+ showSkuDialogSelect: false,+ dialogTitle: '',+ form: ref<DeliveryManagementVO>({+ id: 0,+ detailList: []+ }),+ removeDetailList: ref<DeliveryManagementDetailListVO[]>([]),+ combobox: ref<{+ customer_name: {+ label: string+ value: number+ }[]+ }>({+ customer_name: []+ }),+ rules: {+ customer_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.deliveryManagement.customer_name') }!`+ ],+ spu_code: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.deliveryManagement.sku_code') }!`],+ qty: [+ (val: number) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.deliveryManagement.detailQty') }!`,+ (val: number) => IsInteger(val, 'greaterThanZero') === '' || IsInteger(val, 'greaterThanZero')+ ]+ }+})++const method = reactive({+ openSelect: (type: string) => {+ data.curSelectType = type++ if (type === 'target') {+ data.showSkuDialogSelect = true+ }+ },+ sureSelect: (selectRecords: CommodityDetailJoinMainVO[]) => {+ if (data.curSelectType === 'target') {+ for (const item of selectRecords) {+ const index = data.form.detailList.findIndex((fi) => fi.sku_id === item.sku_id)+ if (index === -1) {+ data.form.detailList.push({+ id: 0,+ sku_id: item.sku_id,+ spu_code: item.spu_code,+ spu_name: item.spu_name,+ sku_name: item.sku_name,+ sku_code: item.sku_code,+ qty: 0+ })+ }+ }+ }+ },+ closeDialogSelect: (type: string) => {+ if (type === 'target') {+ data.showSkuDialogSelect = false+ }+ },+ clearCommodity: (item: DeliveryManagementDetailListVO) => {+ item.sku_id = 0+ item.sku_code = ''+ item.spu_code = ''+ item.spu_name = ''+ },+ // When customers change+ customerNameChange: (val: string) => {+ if (!val) {+ data.form.customer_id = 0+ } else {+ data.form.customer_id = data.combobox.customer_name.filter((item) => item.label === val)[0].value+ }+ },+ // Add a new detail+ AddDetail: () => {+ data.form.detailList.push({ id: 0, qty: 0 })+ // Let the scroll bar go to the bottom, Improve user experience+ const carText = document.querySelector('.formCard')+ if (carText && carText.scrollHeight > carText.clientHeight) {+ nextTick(() => {+ // Set scroll bar to the bottom+ carText.scrollTop = carText.scrollHeight+ })+ }+ },+ // Get dialog type, add or update+ getDialogType: () => {+ // This is special because this document is not actually a table,+ // but the data associated with another table.+ // so directly use the details to determine whether it is a new document+ if (props.form.detailList.length > 0) {+ data.dialogTitle = 'update'+ } else {+ data.dialogTitle = 'add'+ }+ },+ // Get the options required by the drop-down box+ getCombobox: async () => {+ data.combobox.customer_name = []+ const { data: supplierRes } = await getCustomerAll()+ if (!supplierRes.isSuccess) {+ return+ }+ for (const item of supplierRes.data) {+ if (item.is_valid) {+ data.combobox.customer_name.push({+ label: item.customer_name,+ value: item.id+ })+ }+ }+ },+ closeDialog: () => {+ emit('close')+ },+ // Details verification before document submission+ beforeSubmit: (): boolean => {+ let flag = true+ if (data.form.detailList.length === 0) {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.tips.detailLengthIsZero')+ })+ flag = false+ } else if (checkDetailRepeatGetBool(data.form.detailList, ['sku_id'])) {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.tips.detailHasItemRepeat')+ })+ flag = false+ }+ return flag+ },+ submit: async () => {+ const beforeSubmitFlag = method.beforeSubmit()+ if (!beforeSubmitFlag) {+ return+ }+ const { valid } = await formRef.value.validate()+ if (valid) {+ const reqList: addRequestVO[] = []+ for (const item of data.form.detailList) {+ reqList.push({+ customer_id: data.form.customer_id ? data.form.customer_id : 0,+ customer_name: data.form.customer_name ? data.form.customer_name : '',+ qty: item.qty,+ sku_id: item.sku_id ? item.sku_id : 0+ })+ }+ const { data: res } = await addShipment(reqList)+ // const { data: res } = data.dialogTitle === 'add'+ // : await updateRoleMenu({ ...data.form, detailList: [...data.form.detailList, ...data.removeDetailList] }) // Merge the deleted list and the original list+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ },+ // remove detail+ removeItem: (index: number, item: DeliveryManagementDetailListVO) => {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteDetailMessage'),+ handleConfirm: async () => {+ if (item.id > 0) {+ item.id = -item.id+ data.removeDetailList.push(item) // Cache remove row+ }+ data.form.detailList.splice(index, 1) // Remove row in detailList+ }+ })+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.getDialogType()+ method.getCombobox()+ data.form = props.form+ }+ }+)+</script>++<style scoped lang="less">+// .v-form {+// div {+// margin-bottom: 7px;+// }+// }+.detailBtnContainer {+ height: 56px;+ display: flex;+ justify-content: center;+ align-items: center;+}+// .v-col {+// padding: 0 !important;+// }+.v-card {+ margin: 0 auto;+ transition: width 0.3s;+}+</style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/confirm-order.vue b/frontend/src/view/deliveryManagement/deliveryManagement/confirm-order.vuenew file mode 100644index 0000000..cee9dae--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/confirm-order.vue@@ -0,0 +1,268 @@+<template>+ <v-dialog v-model="isShow" :width="'80%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card class="formCard">+ <v-toolbar color="white" :title="`${$t('wms.deliveryManagement.confirmOrder')}`"></v-toolbar>+ <v-card-text>+ <v-row>+ <v-col :cols="5">+ <vxe-table+ ref="xTable"+ keep-source+ :column-config="{ minWidth: '100px' }"+ :data="data.treeData"+ :height="'600px'"+ align="center"+ :cell-style="method.cellStyle"+ @cell-click="method.cellClick"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="40"></vxe-column>+ <vxe-column width="40">+ <template #default="{ row }">+ <div style="height: 100%; display: flex; align-items: center; justify-content: center">+ <!-- <input v-model="row.confirm" class="checkboxClass" type="checkbox" /> -->+ <CustomCheckbox v-model:value="row.confirm" />+ </div>+ </template>+ </vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.deliveryManagement.spu_name')"> </vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.deliveryManagement.spu_code')"> </vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.deliveryManagement.sku_code')">+ <template #default="{ row }">+ <span :style="data.validList.includes(row.sku_code) ? 'color: red' : ''">{{ row.sku_code }}</span>+ </template>+ </vxe-column>+ <vxe-column field="qty" :title="$t('wms.deliveryManagement.qty')"> </vxe-column>+ </vxe-table>+ <!-- <v-card :height="tableHeight"> -->+ <!-- <NavListVue+ :list-data="data.treeData"+ :title="data.navListOptions.title"+ :label-key="data.navListOptions.labelKey"+ :index-key="data.navListOptions.indexKey"+ :index-value="data.navListOptions.indexValue"+ @item-click="method.navListClick"+ /> -->+ <!-- </v-card> -->+ </v-col>+ <v-col :cols="7">+ <vxe-table+ ref="detailXTable"+ keep-source+ :column-config="{ minWidth: '100px' }"+ :data="data.tableData"+ :height="'600px'"+ align="center"+ :edit-config="{ trigger: 'click', mode: 'cell' }"+ :edit-rules="data.validRules"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="warehouse_name" :title="$t('wms.stock.warehouse')"> </vxe-column>+ <vxe-column field="location_name" :title="$t('wms.stock.location_name')"> </vxe-column>+ <vxe-column field="goods_owner_name" :title="$t('base.ownerOfCargo.goods_owner_name')"> </vxe-column>+ <vxe-column field="qty_available" :title="$t('wms.deliveryManagement.qty_available')"></vxe-column>+ <vxe-column field="series_number" :title="$t('wms.stockLocation.series_number')"></vxe-column>+ <vxe-column field="pick_qty" :title="$t('wms.deliveryManagement.detailQty')" :edit-render="{}">+ <template #edit="{ row }">+ <vxe-input v-model="row.pick_qty" type="text"></vxe-input>+ </template>+ </vxe-column>+ </vxe-table>+ </v-col>+ </v-row>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { ConfirmOrderVO, ConfirmOrderPickListVO } from '@/types/DeliveryManagement/DeliveryManagement'+import i18n from '@/languages/i18n'+import { getConfirmOrderInfoAndStock, confirmOrder } from '@/api/wms/deliveryManagement'+import { hookComponent } from '@/components/system/index'+import { isInteger } from '@/utils/dataVerification/tableRule'+import CustomCheckbox from '@/components/custom-checkbox.vue'+import { httpCodeJudge } from '@/utils/http/httpCodeJudge'++const xTable = ref()+const detailXTable = ref()++const emit = defineEmits(['close', 'saveSuccess'])++const props = defineProps<{+ showDialog: boolean+ confirmOrderNo: string+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ navListOptions: {+ title: i18n.global.t('wms.deliveryManagement.orderDetail'),+ labelKey: 'sku_code',+ indexKey: 'sku_code',+ indexValue: ''+ },+ treeData: ref<ConfirmOrderVO[]>([]),+ tableData: ref<ConfirmOrderPickListVO[]>([]),+ // List of verification results for each commodity+ validList: ref<string[]>([]),+ validRules: ref<any>({+ pick_qty: [+ {+ validator: isInteger,+ validNumerical: 'nonNegative',+ trigger: 'change'+ }+ ]+ })+})++const method = reactive({+ closeDialog: () => {+ emit('close')+ },+ beforeSubmit: (): boolean => {+ // let flag = true+ data.validList = []+ const msgList: string[] = []+ let orderCount = 0+ if (data.treeData.filter((fl) => fl.confirm).length <= 0) {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('wms.deliveryManagement.NoItemSelected')+ })+ return false+ }+ for (const item of data.treeData) {+ if (item.confirm) {+ let count = 0+ for (const dItem of item.pick_list) {+ count += Number(dItem.pick_qty)+ }+ orderCount += count+ if (count > item.qty) {+ data.validList.push(item.sku_code)+ msgList.push(`${ item.sku_code } ${ i18n.global.t('wms.deliveryManagement.quantityOverflow') } ${ item.qty }`)+ // flag = false+ }+ if (count === 0) {+ if (!data.validList.includes(item.sku_code)) {+ data.validList.push(item.sku_code)+ }+ msgList.push(`${ item.sku_code } ${ i18n.global.t('wms.deliveryManagement.detailQuantityIsZero') }!`)+ }+ }+ }+ // return flag+ if (msgList.length > 0) {+ hookComponent.$message({+ type: 'error',+ content: msgList.join(';\n')+ })+ return false+ }+ if (orderCount <= 0) {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('wms.deliveryManagement.quantityIsZero')+ })+ return false+ }+ return true+ },+ submit: async () => {+ const $table = detailXTable.value+ const errMap = await $table.validate(true)+ if (errMap) {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ return+ }+ if (method.beforeSubmit()) {+ // console.log(data.treeData)+ const { data: res } = await confirmOrder(data.treeData)+ if (!res.isSuccess) {+ // 2023-12-06 Add automatic refresh of expired data+ if (httpCodeJudge(res.errorMessage, false)) {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.tips.dataExpiration')+ })+ return+ }++ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: i18n.global.t('wms.deliveryManagement.confirmSuccess')+ })+ emit('saveSuccess')+ }+ },+ getInfoByNo: async () => {+ const { data: res } = await getConfirmOrderInfoAndStock(props.confirmOrderNo)+ if (!res.isSuccess) {+ return+ }+ data.treeData = res.data+ data.tableData = []+ if (data.treeData.length > 0) {+ method.cellClick({ row: data.treeData[0] })+ }+ },+ cellClick: ({ row }: { row: ConfirmOrderVO }) => {+ data.navListOptions.indexValue = row.sku_code+ data.tableData = row.pick_list+ },+ // When clicking the left tree+ navListClick: (item: ConfirmOrderVO) => {+ data.navListOptions.indexValue = item.sku_code+ data.tableData = item.pick_list+ },+ cellStyle: ({ row }: { row: ConfirmOrderVO }) => {+ const style: any = { cursor: 'pointer' }+ if (row.sku_code === data.navListOptions.indexValue) {+ style.backgroundColor = '#e6dafd'+ }+ return style+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.getInfoByNo()+ }+ }+)+</script>++<style scoped lang="less">+.detailBtnContainer {+ height: 56px;+ display: flex;+ justify-content: center;+ align-items: center;+}+</style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/deliveryManagement.vue b/frontend/src/view/deliveryManagement/deliveryManagement/deliveryManagement.vuenew file mode 100644index 0000000..1e3dc39--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/deliveryManagement.vue@@ -0,0 +1,257 @@+<template>+ <div class="container">+ <div>+ <v-tabs v-model="data.activeTab" stacked @update:model-value="method.changeTabs">+ <v-tab v-for="(item, index) of tabsConfig" :key="index" :value="item.value">+ <v-icon>{{ item.icon }}</v-icon>+ <p class="tabItemTitle">{{ item.tabName }}</p>+ </v-tab>+ </v-tabs>++ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <v-window v-model="data.activeTab">+ <v-window-item value="tabShipment">+ <tabShipment ref="tabShipmentRef" />+ </v-window-item>+ <v-window-item value="tabPreShipment">+ <tabPreShipment ref="tabPreShipmentRef" />+ </v-window-item>+ <v-window-item value="tabNewShipment">+ <tabNewShipment ref="tabNewShipmentRef" />+ </v-window-item>+ <v-window-item value="tabGoodsToBePicked">+ <tabGoodsToBePicked ref="tabGoodsToBePickedRef" />+ </v-window-item>+ <v-window-item value="tabPicked">+ <tabPicked ref="tabPickedRef" />+ </v-window-item>+ <!-- <v-window-item value="tabToBePackaged">+ <tabToBePackaged ref="tabToBePackagedRef" />+ </v-window-item> -->+ <v-window-item value="tabPackaged">+ <tabPackaged ref="tabPackagedRef" />+ </v-window-item>+ <!-- <v-window-item value="tabToBeWeighed">+ <tabToBeWeighed ref="tabToBeWeighedRef" />+ </v-window-item> -->+ <v-window-item value="tabWeighed">+ <tabWeighed ref="tabWeighedRef" />+ </v-window-item>+ <!-- <v-window-item value="tabToBeDelivered">+ <tabToBeDelivered ref="tabToBeDeliveredRef" />+ </v-window-item> -->+ <v-window-item value="tabDelivered">+ <tabDelivered ref="tabDeliveredRef" />+ </v-window-item>+ <v-window-item value="tabSignIn">+ <tabSignIn ref="tabSignInRef" />+ </v-window-item>+ </v-window>+ </v-card-text>+ </v-card>+ </div>+ </div>+</template>++<script lang="ts" setup>+import { ref, reactive, onMounted, nextTick } from 'vue'+import i18n from '@/languages/i18n'+import tabShipment from './tabShipment.vue'+import tabPreShipment from './tabPreShipment.vue'+import tabNewShipment from './tabNewShipment.vue'+import tabGoodsToBePicked from './tabGoodsToBePicked.vue'+import tabPicked from './tabPicked.vue'+// import tabToBePackaged from './tabToBePackaged.vue'+import tabPackaged from './tabPackaged.vue'+// import tabToBeWeighed from './tabToBeWeighed.vue'+import tabWeighed from './tabWeighed.vue'+// import tabToBeDelivered from './tabToBeDelivered.vue'+import tabDelivered from './tabDelivered.vue'+import tabSignIn from './tabSignIn.vue'++const tabShipmentRef = ref()+const tabPreShipmentRef = ref()+const tabNewShipmentRef = ref()+const tabGoodsToBePickedRef = ref()+const tabPickedRef = ref()+const tabToBePackagedRef = ref()+const tabPackagedRef = ref()+const tabToBeWeighedRef = ref()+const tabWeighedRef = ref()+const tabToBeDeliveredRef = ref()+const tabDeliveredRef = ref()+const tabSignInRef = ref()++const tabsConfig = [+ {+ value: 'tabShipment',+ icon: 'mdi-clipboard-list',+ tabName: i18n.global.t('wms.deliveryManagement.shipment')+ },+ {+ value: 'tabPreShipment',+ icon: 'mdi-list-box-outline',+ tabName: i18n.global.t('wms.deliveryManagement.preShipment')+ },+ {+ value: 'tabNewShipment',+ icon: 'mdi-list-box',+ tabName: i18n.global.t('wms.deliveryManagement.newShipment')+ },+ {+ value: 'tabGoodsToBePicked',+ icon: 'mdi-dolly',+ tabName: i18n.global.t('wms.deliveryManagement.goodsToBePicked')+ },+ {+ value: 'tabPicked',+ icon: 'mdi-human-dolly',+ tabName: i18n.global.t('wms.deliveryManagement.picked')+ },+ // {+ // value: 'tabToBePackaged',+ // icon: 'mdi-package-variant',+ // tabName: i18n.global.t('wms.deliveryManagement.toBePackaged')+ // },+ {+ value: 'tabPackaged',+ icon: 'mdi-package-variant',+ // icon: 'mdi-package-variant-closed-check',+ tabName: i18n.global.t('wms.deliveryManagement.packaged')+ },+ // {+ // value: 'tabToBeWeighed',+ // icon: 'mdi-basket-fill',+ // tabName: i18n.global.t('wms.deliveryManagement.toBeWeighed')+ // },+ {+ value: 'tabWeighed',+ icon: 'mdi-basket-fill',+ // icon: 'mdi-weight',+ tabName: i18n.global.t('wms.deliveryManagement.weighed')+ },+ // {+ // value: 'tabToBeDelivered',+ // icon: 'mdi-send-outline',+ // tabName: i18n.global.t('wms.deliveryManagement.toBeDelivered')+ // },+ {+ value: 'tabDelivered',+ icon: 'mdi-send-outline',+ // icon: 'mdi-send',+ tabName: i18n.global.t('wms.deliveryManagement.outOfWarehouse')+ },+ {+ value: 'tabSignIn',+ icon: 'mdi-check-circle',+ tabName: i18n.global.t('wms.deliveryManagement.signedIn')+ }+]++const data = reactive({+ activeTab: '',+ isLoadstockLocation: false,+ isLoadstock: false+})++const method = reactive({+ changeTabs: (e: any): void => {+ nextTick(() => {+ switch (e) {+ case 'tabShipment':+ // Tips:Must be write the nextTick so that can get DOM!!+ if (tabShipmentRef?.value?.getShipment) {+ tabShipmentRef.value.getShipment()+ }+ break+ case 'tabPreShipment':+ // Tips:Must be write the nextTick so that can get DOM!!+ if (tabPreShipmentRef?.value?.getPreShipment) {+ tabPreShipmentRef.value.getPreShipment()+ }+ break+ case 'tabNewShipment':+ // Tips:Must be write the nextTick so that can get DOM!!+ if (tabNewShipmentRef?.value?.getNewShipment) {+ tabNewShipmentRef.value.getNewShipment()+ }+ break+ case 'tabGoodsToBePicked':+ // Tips:Must be write the nextTick so that can get DOM!!+ if (tabGoodsToBePickedRef?.value?.getGoodsToBePicked) {+ tabGoodsToBePickedRef.value.getGoodsToBePicked()+ }+ break+ case 'tabToBePackaged':+ // Tips:Must be write the nextTick so that can get DOM!!+ if (tabToBePackagedRef?.value?.getToBePackaged) {+ tabToBePackagedRef.value.getToBePackaged()+ }+ break+ case 'tabPackaged':+ // Tips:Must be write the nextTick so that can get DOM!!+ if (tabPackagedRef?.value?.getPackaged) {+ tabPackagedRef.value.getPackaged()+ }+ break+ case 'tabToBeWeighed':+ // Tips:Must be write the nextTick so that can get DOM!!+ if (tabToBeWeighedRef?.value?.getToBeWeighed) {+ tabToBeWeighedRef.value.getToBeWeighed()+ }+ break+ case 'tabWeighed':+ // Tips:Must be write the nextTick so that can get DOM!!+ if (tabWeighedRef?.value?.getWeighed) {+ tabWeighedRef.value.getWeighed()+ }+ break+ case 'tabPicked':+ // Tips:Must be write the nextTick so that can get DOM!!+ if (tabPickedRef?.value?.getPicked) {+ tabPickedRef.value.getPicked()+ }+ break+ case 'tabToBeDelivered':+ // Tips:Must be write the nextTick so that can get DOM!!+ if (tabToBeDeliveredRef?.value?.getToBeDelivery) {+ tabToBeDeliveredRef.value.getToBeDelivery()+ }+ break+ case 'tabDelivered':+ // Tips:Must be write the nextTick so that can get DOM!!+ if (tabDeliveredRef?.value?.getDelivery) {+ tabDeliveredRef.value.getDelivery()+ }+ break+ case 'tabSignIn':+ // Tips:Must be write the nextTick so that can get DOM!!+ if (tabSignInRef?.value?.getSignIn) {+ tabSignInRef.value.getSignIn()+ }+ break+ }+ })+ }+})++onMounted(() => {})+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/package-confirm.vue b/frontend/src/view/deliveryManagement/deliveryManagement/package-confirm.vuenew file mode 100644index 0000000..998ac23--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/package-confirm.vue@@ -0,0 +1,156 @@+<template>+ <v-dialog v-model="data.showDialog" :width="'70%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card class="formCard">+ <v-toolbar color="white" :title="dialogTitle"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-row v-for="(item, index) of data.list" :key="index">+ <v-col :cols="3">+ <v-text-field v-model="item.spu_name" :label="$t('wms.deliveryManagement.spu_name')" variant="outlined" readonly></v-text-field>+ </v-col>+ <v-col :cols="3">+ <v-text-field v-model="item.spu_code" :label="$t('wms.deliveryManagement.spu_code')" variant="outlined" readonly></v-text-field>+ </v-col>+ <v-col :cols="isWeight ? 2 : 3">+ <v-text-field v-model="item.sku_code" :label="$t('wms.deliveryManagement.sku_code')" variant="outlined" readonly></v-text-field>+ </v-col>+ <v-col :cols="isWeight ? 2 : 3">+ <v-text-field+ v-model="item.qty"+ :rules="data.rules.qty"+ :label="isSignIn ? $t('wms.deliveryManagement.damagedQuantity') : $t('wms.deliveryManagement.detailQty')"+ variant="outlined"+ clearable+ ></v-text-field>+ </v-col>+ <v-col v-if="isWeight" :cols="2">+ <v-text-field+ v-model="item.weight"+ :rules="data.rules.weight"+ :label="$t('wms.deliveryManagement.detailWeight') + '(' + item.weight_unit + ')'"+ variant="outlined"+ clearable+ ></v-text-field>+ </v-col>+ </v-row>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { ref, reactive } from 'vue'+import { hookComponent } from '@/components/system/index'+import i18n from '@/languages/i18n'+import { IsInteger, IsDecimal } from '@/utils/dataVerification/formRule'+import { ConfirmItem } from '@/types/DeliveryManagement/DeliveryManagement'++const emit = defineEmits(['close', 'submit'])++const props = defineProps<{+ // showDialog: boolean+ // dataList: ConfirmItem[]+ isWeight: boolean+ isSignIn?: boolean+ dialogTitle: string+}>()++// const isShow = computed(() => props.showDialog)++const data = reactive({+ showDialog: false as boolean,+ list: ref<ConfirmItem[]>([]),+ rules: {+ qty: [],+ weight: [+ (val: number) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.deliveryManagement.detailQty') }!`,+ (val: number) => IsDecimal(val, 'nonNegative', 15, 3) === '' || IsDecimal(val, 'nonNegative', 15, 3)+ ]+ } as any+})++const method = reactive({+ openDialog: (dataList: ConfirmItem[] = []) => {+ data.list = dataList++ if (!props.isSignIn) {+ data.rules.qty = [+ (val: number) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.deliveryManagement.detailQty') }!`,+ (val: number) => IsInteger(val, 'greaterThanZero') === '' || IsInteger(val, 'greaterThanZero')+ ]+ } else {+ data.rules.qty = []+ }++ data.showDialog = true+ },+ closeDialog: () => {+ // emit('close')+ data.showDialog = false+ },+ submit: () => {+ if (props.isSignIn) {+ const verificationFailedList = data.list.filter(+ (item) => IsInteger(item.qty, 'nonNegative') !== '' || Number(item.qty) < 0 || Number(item.qty) > item.maxQty+ )+ if (verificationFailedList.length > 0) {+ const errMsgStrList = verificationFailedList.map(+ (item) => `${ item.sku_code }: ${ i18n.global.t('wms.deliveryManagement.exceedingQuantity') }${ item.maxQty }`+ )+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('wms.deliveryManagement.invalidValue') }; ${ errMsgStrList.join('; ') }`+ })+ } else {+ hookComponent.$dialog({+ content: `${ i18n.global.t('wms.deliveryManagement.irreversible') }, ${ i18n.global.t('wms.deliveryManagement.confirmSignIn') }?`,+ handleConfirm: async () => {+ emit('submit', data.list)+ }+ })+ }+ } else {+ const verificationFailedList = data.list.filter(+ (item) => IsInteger(item.qty, 'greaterThanZero') !== ''+ || Number(item.qty) <= 0+ || Number(item.qty) > item.maxQty+ || (item.weight && IsDecimal(item.weight, 'nonNegative', 15, 3) !== '')+ )+ if (verificationFailedList.length > 0) {+ const errMsgStrList = verificationFailedList.map(+ (item) => `${ item.sku_code }: ${ i18n.global.t('wms.deliveryManagement.exceedingQuantity') }${ item.maxQty }`+ )+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('wms.deliveryManagement.invalidValue') }; ${ errMsgStrList.join('; ') }`+ })+ } else {+ emit('submit', data.list)+ }+ }+ }+})++// watch(+// () => isShow.value,+// (val) => {+// if (val) {+// data.list = props.dataList+// }+// }+// )++defineExpose({+ openDialog: method.openDialog,+ closeDialog: method.closeDialog+})+</script>++<style scoped lang="less"></style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/qrCodeDialog.vue b/frontend/src/view/deliveryManagement/deliveryManagement/qrCodeDialog.vuenew file mode 100644index 0000000..f864708--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/qrCodeDialog.vue@@ -0,0 +1,97 @@+<template>+ <v-dialog v-model="data.showDialog" width="248px" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-card-text>+ <div id="printArea" class="printArea">+ <div class="printTopContainer">+ <div class="printLabel" style="flex: 1">+ <div>+ <span class="labelTitle">{{ $t('wms.deliveryManagement.dispatch_no') }}:</span>{{ data.printData.dispatch_no }}+ </div>+ <vue-qr :key="data.printText" size="140" :margin="0" :auto-color="true" :dot-scale="1" :text="data.printText"></vue-qr>+ </div>+ </div>+ </div>+ </v-card-text>++ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn v-print="'#printArea'" color="primary" variant="text">{{ $t('system.page.print') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script setup lang="tsx">+import { reactive } from 'vue'+import VueQr from 'vue-qr/src/packages/vue-qr.vue'++const data = reactive({+ showDialog: false,+ printData: {+ dispatch_no: ''+ } as any,+ printText: ''+})++const method = reactive({+ openDialog: (row: any) => {+ data.printData = row++ data.printText = JSON.stringify(data.printData)++ data.showDialog = true+ },+ closeDialog: () => {+ data.showDialog = false+ }+})++defineExpose({+ openDialog: method.openDialog,+ closeDialog: method.closeDialog+})+</script>++<style scoped lang="less">+.printArea {+ width: 200px;++ display: flex;+ flex-wrap: wrap;+ align-items: center;+ justify-content: center;++ box-sizing: border-box;+ padding: 10px;++ .printTopContainer {+ display: flex;+ justify-content: space-between;+ }+}+.printLabel {+ font-size: 14px;+ font-weight: bold;++ display: flex;+ flex-wrap: wrap;+ align-items: center;+ justify-content: center;++ box-sizing: border-box;++ .labelTitle {+ opacity: 0.7;+ font-weight: 600;+ }++ div {+ width: 100%;+ text-align: center;+ margin-bottom: 5px;+ }+}+</style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/search-delivered-detail.vue b/frontend/src/view/deliveryManagement/deliveryManagement/search-delivered-detail.vuenew file mode 100644index 0000000..262eba3--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/search-delivered-detail.vue@@ -0,0 +1,88 @@+<template>+ <v-dialog v-model="isShow" :width="'70%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card class="formCard">+ <v-toolbar color="white" :title="`${$t('wms.deliveryManagement.ViewInventoryDetails')}`"></v-toolbar>+ <v-card-text>+ <vxe-table+ ref="detailXTable"+ keep-source+ :column-config="{ minWidth: '100px' }"+ :data="data.tableData"+ :height="'500px'"+ align="center"+ :edit-config="{ trigger: 'click', mode: 'cell' }"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.deliveryManagement.spu_code')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.deliveryManagement.spu_name')"></vxe-column>+ <vxe-column field="spu_description" width="200px" :title="$t('wms.deliveryManagement.spu_description')"></vxe-column>+ <vxe-column field="bar_code" :title="$t('wms.deliveryManagement.bar_code')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.deliveryManagement.sku_code')"></vxe-column>+ <vxe-column field="series_number" :title="$t('wms.stockLocation.series_number')"></vxe-column>+ <vxe-column field="goods_owner_name" :title="$t('base.ownerOfCargo.goods_owner_name')"></vxe-column>+ <vxe-column field="warehouse_name" :title="$t('wms.stockLocation.warehouse_name')"></vxe-column>+ <vxe-column field="warehouse_area_name" :title="$t('base.warehouseSetting.area_name')"></vxe-column>+ <vxe-column field="location_name" :title="$t('base.warehouseSetting.location_name')"></vxe-column>+ <!-- <vxe-column field="pick_qty" :title="$t('wms.deliveryManagement.unpicked_qty')"></vxe-column> -->+ <vxe-column field="picked_qty" :title="$t('wms.deliveryManagement.picked_qty')"></vxe-column>+ </vxe-table>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, watch } from 'vue'+import { hookComponent } from '@/components/system/index'+import { viewInventoryDetails } from '@/api/wms/deliveryManagement'+import i18n from '@/languages/i18n'++const emit = defineEmits(['close', 'submit'])++const props = defineProps<{+ showDialog: boolean+ id: number+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ tableData: []+})++const method = reactive({+ getTableData: async () => {+ const { data: res } = await viewInventoryDetails(props.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data+ },+ closeDialog: () => {+ emit('close')+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.getTableData()+ }+ }+)+</script>++<style scoped lang="less"></style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/search-delivered-main-detail.vue b/frontend/src/view/deliveryManagement/deliveryManagement/search-delivered-main-detail.vuenew file mode 100644index 0000000..c1987b1--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/search-delivered-main-detail.vue@@ -0,0 +1,84 @@+<template>+ <v-dialog v-model="isShow" :width="'70%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card class="formCard">+ <v-toolbar color="white" :title="`${$t('wms.deliveryManagement.ViewInventoryDetails')}`"></v-toolbar>+ <v-card-text>+ <vxe-table+ ref="detailXTable"+ keep-source+ :column-config="{ minWidth: '100px' }"+ :data="data.tableData"+ :height="'500px'"+ align="center"+ :edit-config="{ trigger: 'click', mode: 'cell' }"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.deliveryManagement.spu_code')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.deliveryManagement.spu_name')"></vxe-column>+ <vxe-column field="spu_description" width="200px" :title="$t('wms.deliveryManagement.spu_description')"></vxe-column>+ <vxe-column field="bar_code" :title="$t('wms.deliveryManagement.bar_code')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.deliveryManagement.sku_code')"></vxe-column>+ <vxe-column field="sku_name" :title="$t('wms.deliveryManagement.sku_name')"></vxe-column>+ <vxe-column field="unit" :title="$t('wms.deliveryManagement.unit')"></vxe-column>+ <vxe-column field="qty" :title="$t('wms.deliveryManagement.qty')"></vxe-column>+ </vxe-table>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, watch } from 'vue'+import { hookComponent } from '@/components/system/index'+import { viewDeliveryMainDetail } from '@/api/wms/deliveryManagement'+import i18n from '@/languages/i18n'++const emit = defineEmits(['close', 'submit'])++const props = defineProps<{+ showDialog: boolean+ dispatchNo: string+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ tableData: []+})++const method = reactive({+ getTableData: async () => {+ const { data: res } = await viewDeliveryMainDetail(props.dispatchNo)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data+ },+ closeDialog: () => {+ emit('close')+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.getTableData()+ }+ }+)+</script>++<style scoped lang="less"></style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/shipmentFun.ts b/frontend/src/view/deliveryManagement/deliveryManagement/shipmentFun.tsnew file mode 100644index 0000000..19f98e6--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/shipmentFun.ts@@ -0,0 +1,23 @@+import i18n from '@/languages/i18n'++// Get the status display according to the key value+export function getShipmentState(state: number) {+ switch (state) {+ case 0:+ return i18n.global.t('wms.deliveryManagement.preShipment')+ case 1:+ return i18n.global.t('wms.deliveryManagement.newShipment')+ case 2:+ return i18n.global.t('wms.deliveryManagement.goodsToBePicked')+ case 3:+ return i18n.global.t('wms.deliveryManagement.picked')+ case 4:+ return i18n.global.t('wms.deliveryManagement.packaged')+ case 5:+ return i18n.global.t('wms.deliveryManagement.weighed')+ case 6:+ return i18n.global.t('wms.deliveryManagement.outOfWarehouse')+ case 7:+ return i18n.global.t('wms.deliveryManagement.signedIn')+ }+}\ No newline at end of filediff --git a/frontend/src/view/deliveryManagement/deliveryManagement/tabAllocation.vue b/frontend/src/view/deliveryManagement/deliveryManagement/tabAllocation.vuenew file mode 100644index 0000000..6d804bb--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/tabAllocation.vue@@ -0,0 +1,291 @@+<!-- supplier Setting -->+<template>+ <div class="container">+ <div>+ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <!-- <v-window v-model="data.activeTab">+ <v-window-item> -->+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="12" sm="4" class="col">+ <!-- new version -->+ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="12" sm="8">+ <v-row no-gutters>+ <v-col cols="12" sm="4"></v-col>+ <v-col cols="12" sm="4"></v-col>+ <v-col cols="12" sm="4"> </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table+ ref="xTable"+ :column-config="{+ minWidth: '100px'+ }"+ :data="data.tableData"+ :height="tableHeight"+ align="center"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="dateFrom" :formatter="['formatDate', 'HH:mm:ss']" :title="$t('wms.deliveryBatchAllocation.dateFrom')"></vxe-column>+ <vxe-column field="dateTo" :formatter="['formatDate', 'HH:mm:ss']" :title="$t('wms.deliveryBatchAllocation.dateTo')"></vxe-column>+ <vxe-column field="allocationRule" :title="$t('wms.deliveryBatchAllocation.allocationRule')"></vxe-column>+ <vxe-column field="creator" :title="$t('base.supplier.creator')"></vxe-column>+ <vxe-column field="create_time" width="170px" :formatter="['formatDate', 'yyyy-MM-dd HH:mm']" :title="$t('base.supplier.create_time')">+ </vxe-column>+ <vxe-column+ field="last_update_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('base.supplier.last_update_time')"+ >+ </vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="160" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-pencil-outline"+ :tooltip-text="$t('system.page.edit')"+ :disabled="!data.authorityList.includes('save')"+ @click="method.editRow(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="!data.authorityList.includes('delete') ? '' : errorColor"+ :disabled="!data.authorityList.includes('delete')"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ <!-- </v-window-item>+ </v-window> -->+ </v-card-text>+ </v-card>+ </div>+ </div>+ <!-- <addOrUpdateDialog :show-dialog="data.showDialog" :form="data.dialogForm" @close="method.closeDialog" @saveSuccess="method.saveSuccess" /> -->+</template>++<script lang="tsx" setup>+import { computed, ref, reactive, onMounted, watch } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight, errorColor } from '@/constant/style'+import { SupplierVO } from '@/types/Base/Supplier'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import tooltipBtn from '@/components/tooltip-btn.vue'+// import addOrUpdateDialog from './add-or-update-supplier.vue'+import { hookComponent } from '@/components/system'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { SearchObject, btnGroupItem } from '@/types/System/Form'+import i18n from '@/languages/i18n'+import { getSupplierList, deleteSupplier } from '@/api/base/supplier'+import customPager from '@/components/custom-pager.vue'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'++const xTable = ref()++const data = reactive({+ searchForm: {},+ tableData: [],+ // activeTab: null,+ showDialog: false,+ showDialogImport: false,+ dialogForm: {+ id: 0,+ dateFrom: '',+ dateTo: '',+ allocationRule: '',+ startAllocation: '',+ is_valid: true+ },+ tablePage: {+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ },+ timer: ref<any>(null),+ btnList: [] as btnGroupItem[],+ authorityList: getMenuAuthorityList() as string[]+})++const method = reactive({+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getData()+ },+ // Add user+ add: () => {+ data.dialogForm = {+ id: 0,+ dateFrom: '',+ dateTo: '',+ allocationRule: '',+ startAllocation: '',+ is_valid: true+ }+ data.showDialog = true+ },+ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },+ // after Add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },+ // Refresh data+ refresh: () => {+ method.getData()+ },+ editRow(row: SupplierVO) {+ data.dialogForm = JSON.parse(JSON.stringify(row))+ data.showDialog = true+ },+ deleteRow(row: SupplierVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await deleteSupplier(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize+ method.getData()+ }),+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.supplier'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ getData: async () => {+ const { data: res } = await getSupplierList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ }+})+onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.add'),+ icon: 'mdi-plus',+ code: 'save',+ click: method.add+ },+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'export',+ click: method.exportTable+ }+ ]++ method.getData()+})++const cardHeight = computed(() => computedCardHeight({ hasTab: false }))+const tableHeight = computed(() => computedTableHeight({ hasTab: false }))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/tabDelivered.vue b/frontend/src/view/deliveryManagement/deliveryManagement/tabDelivered.vuenew file mode 100644index 0000000..7b27216--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/tabDelivered.vue@@ -0,0 +1,496 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn>+ <tooltip-btn icon="mdi-car-cog" :tooltip-text="$t('wms.deliveryManagement.setFreight')" @click="method.setFreight"> </tooltip-btn>+ <tooltip-btn icon="mdi-email-check" :tooltip-text="$t('wms.deliveryManagement.signIn')" @click="method.handleSignIn"></tooltip-btn> -->++ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.dispatch_no"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.dispatch_no')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.customer_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.customer_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.spu_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.spu_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column :title="$t('wms.deliveryManagement.state')">+ <template #default="{ row }">+ <span>{{ `${row.is_todo ? $t('wms.deliveryManagement.deliveryTodo') : $t('wms.deliveryManagement.deliveryReady')}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="dispatch_no" :title="$t('wms.deliveryManagement.dispatch_no')"></vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.deliveryManagement.spu_code')"></vxe-column>+ <vxe-column field="spu_description" width="200px" :title="$t('wms.deliveryManagement.spu_description')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.deliveryManagement.spu_name')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.deliveryManagement.sku_code')"></vxe-column>+ <vxe-column field="bar_code" :title="$t('wms.deliveryManagement.bar_code')"></vxe-column>+ <vxe-column field="qty" :title="$t('wms.deliveryManagement.order_qty')"></vxe-column>+ <vxe-column field="weight" :title="$t('wms.deliveryManagement.detailWeight')">+ <template #default="{ row }">+ <span>{{ `${row.weight} ${GetUnit('weight', row.weight_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="volume" :title="$t('wms.deliveryManagement.detailVolume')">+ <template #default="{ row }">+ <span>{{ `${row.volume} ${GetUnit('volume', row.volume_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="package_no" :title="$t('wms.deliveryManagement.package_no')"></vxe-column>+ <vxe-column field="weighing_weight" :title="$t('wms.deliveryManagement.weighing_weight')">+ <template #default="{ row }">+ <span>{{ `${row.weighing_weight} ${GetUnit('weight', row.weight_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="weighing_no" :title="$t('wms.deliveryManagement.weighing_no')"></vxe-column>+ <vxe-column field="customer_name" :title="$t('wms.deliveryManagement.customer_name')"></vxe-column>+ <vxe-column field="creator" :title="$t('wms.deliveryManagement.creator')"></vxe-column>+ <vxe-column+ field="create_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('wms.deliveryManagement.create_time')"+ ></vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="140" :resizable="false" show-overflow>+ <template #default="{ row }">+ <div style="width: 100%; display: flex; justify-content: center">+ <tooltip-btn :flat="true" icon="mdi-eye-outline" :tooltip-text="$t('system.page.view')" @click="method.viewRow(row)"></tooltip-btn>+ <!-- <tooltip-btn+ :flat="true"+ icon="mdi-email-check"+ :tooltip-text="$t('wms.deliveryManagement.signIn')"+ @click="method.handleSignIn(row)"+ ></tooltip-btn> -->+ </div>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ <!-- <ToBeSignInConfirm+ :show-dialog="data.showDialog"+ :dialog-default-qty="data.dialogDefaultQty"+ @close="method.dialogClose"+ @submit="method.dialogSubmit"+ /> -->+ <SignInConfirm+ ref="SignInConfirmRef"+ :dialog-title="$t('wms.deliveryManagement.signIn')"+ :is-weight="false"+ :is-sign-in="true"+ @submit="method.dialogSubmit"+ />+ <SearchDeliveredDetail :id="data.showDeliveredDetailID" :show-dialog="data.showDeliveredDetail" @close="method.closeDeliveredDetail" />+ <ToBeFreightfee :show-dialog="data.showSetFreight" @close="method.freightfeeClose" @submit="method.freightfeeSubmit" />+ </div>+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { DeliveryManagementDetailVO, SetCarrierVO, ConfirmItem } from '@/types/DeliveryManagement/DeliveryManagement'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { getDelivery, handleSignIn, setCarrier, handleDelivery } from '@/api/wms/deliveryManagement'+import tooltipBtn from '@/components/tooltip-btn.vue'+import i18n from '@/languages/i18n'+// import ToBeSignInConfirm from './to-be-sign-in-confirm.vue'+import SignInConfirm from './package-confirm.vue'+import { GetUnit } from '@/constant/commodityManagement'+import ToBeFreightfee from './to-be-freightfee.vue'+import customPager from '@/components/custom-pager.vue'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { TablePage, btnGroupItem } from '@/types/System/Form'+import SearchDeliveredDetail from './search-delivered-detail.vue'+import { exportData } from '@/utils/exportTable'+import { DEBOUNCE_TIME } from '@/constant/system'+import BtnGroup from '@/components/system/btnGroup.vue'+import { httpCodeJudge } from '@/utils/http/httpCodeJudge'++const xTable = ref()+const SignInConfirmRef = ref()++const data = reactive({+ showDeliveredDetailID: 0,+ showDeliveredDetail: false,+ showSetFreight: false,+ dialogDefaultQty: 0,+ packageRow: ref<DeliveryManagementDetailVO>(),+ searchForm: {+ dispatch_no: '',+ customer_name: '',+ spu_name: ''+ },+ timer: ref<any>(null),+ activeTab: null,+ tableData: ref<DeliveryManagementDetailVO[]>([]),+ tablePage: ref<TablePage>({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: []+ }),+ confirmList: ref<ConfirmItem[]>([]),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ closeDeliveredDetail: () => {+ data.showDeliveredDetail = false+ },+ viewRow: (row: DeliveryManagementDetailVO) => {+ data.showDeliveredDetailID = row.id+ data.showDeliveredDetail = true+ },+ setFreight: () => {+ const $table = xTable.value+ if ($table.getCheckboxRecords().length > 0) {+ data.showSetFreight = true+ } else {+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('base.userManagement.checkboxIsNull') }`+ })+ }+ },+ freightfeeClose: () => {+ data.showSetFreight = false+ },+ freightfeeSubmit: async (form: { carrier: string; freightfee_id: number; waybill_no: string }) => {+ const reqList: SetCarrierVO[] = []+ const $table = xTable.value+ for (const item of $table.getCheckboxRecords()) {+ reqList.push({+ id: item.id,+ dispatch_no: item.dispatch_no,+ dispatch_status: item.dispatch_status,+ freightfee_id: form.freightfee_id,+ carrier: form.carrier,+ waybill_no: form.waybill_no+ })+ }+ const { data: res } = await setCarrier(reqList)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: res.data+ })+ method.freightfeeClose()+ method.refresh()+ },+ // Callback after entering packaging value+ dialogSubmit: async (list: ConfirmItem[]) => {+ const SingInList = list.map((item) => ({+ id: item.id,+ dispatch_no: item.dispatch_no,+ dispatch_status: item.dispatch_status,+ damage_qty: item.qty+ }))++ const { data: res } = await handleSignIn(SingInList)+ if (!res.isSuccess) {+ // 2023-12-06 Add automatic refresh of expired data+ if (httpCodeJudge(res.errorMessage)) {+ method.refresh()++ SignInConfirmRef.value.closeDialog()++ return+ }++ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: res.data+ })+ SignInConfirmRef.value.closeDialog()+ method.refresh()+ // if (data.packageRow) {+ // const { data: res } = await handleSignIn([+ // {+ // id: data.packageRow.id,+ // dispatch_no: data.packageRow.dispatch_no,+ // dispatch_status: data.packageRow.dispatch_status,+ // damage_qty: qty+ // }+ // ])+ // if (!res.isSuccess) {+ // hookComponent.$message({+ // type: 'error',+ // content: res.errorMessage+ // })+ // return+ // }+ // hookComponent.$message({+ // type: 'success',+ // content: res.data+ // })+ // method.dialogClose()+ // method.refresh()+ // }+ },+ handleSignIn: async () => {+ const $table = xTable.value+ let checkTableList = $table.getCheckboxRecords()++ checkTableList = checkTableList.filter((item: DeliveryManagementDetailVO) => !item.is_todo)+ const confirmList: ConfirmItem[] = []+ if (checkTableList.length > 0) {+ // Processing the data required by the window+ for (const item of checkTableList) {+ confirmList.push({+ id: item.id,+ spu_name: item.spu_name,+ spu_code: item.spu_code,+ sku_code: item.sku_code,+ maxQty: item.picked_qty,+ qty: 0,+ dispatch_no: item.dispatch_no,+ dispatch_status: item.dispatch_status+ })+ }+ SignInConfirmRef.value.openDialog(confirmList)+ } else {+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('wms.deliveryManagement.opeartionCheckboxIsNull') }`+ })+ }+ // data.packageRow = row+ // data.dialogDefaultQty = row.picked_qty ? row.picked_qty : 0+ // data.showDialog = true+ },+ // Refresh data+ refresh: () => {+ method.getDelivery()+ },+ getDelivery: async () => {+ const { data: res } = await getDelivery(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getDelivery()+ }),+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('wms.deliveryManagement.outOfWarehouse'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getDelivery()+ },+ handleDeliver: async () => {+ const $table = xTable.value+ let checkTableList = $table.getCheckboxRecords()++ checkTableList = checkTableList.filter((item: DeliveryManagementDetailVO) => item.is_todo)++ if (checkTableList.length > 0) {+ const deliveredList = checkTableList.map((row: DeliveryManagementDetailVO) => ({+ id: row.id,+ dispatch_no: row.dispatch_no,+ dispatch_status: row.dispatch_status,+ picked_qty: row.picked_qty+ }))+ hookComponent.$dialog({+ content: `${ i18n.global.t('wms.deliveryManagement.irreversible') }, ${ i18n.global.t('wms.deliveryManagement.confirmDelivery') }?`,+ handleConfirm: async () => {+ const { data: res } = await handleDelivery(deliveredList)+ if (!res.isSuccess) {+ // 2023-12-06 Add automatic refresh of expired data+ if (httpCodeJudge(res.errorMessage)) {+ method.refresh()++ return+ }++ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: res.data+ })+ method.refresh()+ }+ })+ } else {+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('wms.deliveryManagement.opeartionCheckboxIsNull') }`+ })+ }+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'delivered-export',+ click: method.exportTable+ },+ {+ name: i18n.global.t('wms.deliveryManagement.delivery'),+ icon: 'mdi-cube-send',+ code: 'delivered-delivery',+ click: method.handleDeliver+ },+ {+ name: i18n.global.t('wms.deliveryManagement.setFreight'),+ icon: 'mdi-car-cog',+ code: 'delivered-setCarrier',+ click: method.setFreight+ },+ {+ name: i18n.global.t('wms.deliveryManagement.signIn'),+ icon: 'mdi-email-check',+ code: 'delivered-signIn',+ click: method.handleSignIn+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)++defineExpose({+ getDelivery: method.getDelivery+})+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/tabGoodsToBePicked.vue b/frontend/src/view/deliveryManagement/deliveryManagement/tabGoodsToBePicked.vuenew file mode 100644index 0000000..647034a--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/tabGoodsToBePicked.vue@@ -0,0 +1,266 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->++ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.dispatch_no"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.dispatch_no')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.customer_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.customer_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.spu_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.spu_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <!-- <vxe-column type="checkbox" width="50"></vxe-column> -->+ <vxe-column field="dispatch_no" :title="$t('wms.deliveryManagement.dispatch_no')"></vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.deliveryManagement.spu_code')"></vxe-column>+ <vxe-column field="spu_description" width="200px" :title="$t('wms.deliveryManagement.spu_description')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.deliveryManagement.spu_name')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.deliveryManagement.sku_code')"></vxe-column>+ <vxe-column field="bar_code" :title="$t('wms.deliveryManagement.bar_code')"></vxe-column>+ <vxe-column field="qty" :title="$t('wms.deliveryManagement.order_qty')"></vxe-column>+ <vxe-column field="unpicked_qty" :title="$t('wms.deliveryManagement.unpicked_qty')"></vxe-column>+ <vxe-column field="picked_qty" :title="$t('wms.deliveryManagement.picked_qty')"></vxe-column>+ <vxe-column field="weight" :title="$t('wms.deliveryManagement.detailWeight')">+ <template #default="{ row }">+ <span>{{ `${row.weight} ${GetUnit('weight', row.weight_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="volume" :title="$t('wms.deliveryManagement.detailVolume')">+ <template #default="{ row }">+ <span>{{ `${row.volume} ${GetUnit('volume', row.volume_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="customer_name" :title="$t('wms.deliveryManagement.customer_name')"></vxe-column>+ <vxe-column field="creator" :title="$t('wms.deliveryManagement.creator')"></vxe-column>+ <vxe-column+ field="create_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('wms.deliveryManagement.create_time')"+ ></vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="120" :resizable="false" show-overflow>+ <template #default="{ row }">+ <div style="width: 100%; display: flex; justify-content: center">+ <tooltip-btn :flat="true" icon="mdi-eye-outline" :tooltip-text="$t('system.page.view')" @click="method.viewRow(row)"></tooltip-btn>+ </div>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ <SearchDeliveredDetail :id="data.showDeliveredDetailID" :show-dialog="data.showDeliveredDetail" @close="method.closeDeliveredDetail" />+ </div>+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { DeliveryManagementDetailVO } from '@/types/DeliveryManagement/DeliveryManagement'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { getGoodsToBePicked } from '@/api/wms/deliveryManagement'+import tooltipBtn from '@/components/tooltip-btn.vue'+import i18n from '@/languages/i18n'+import { GetUnit } from '@/constant/commodityManagement'+import customPager from '@/components/custom-pager.vue'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { TablePage, btnGroupItem } from '@/types/System/Form'+import SearchDeliveredDetail from './search-delivered-detail.vue'+import { exportData } from '@/utils/exportTable'+import { DEBOUNCE_TIME } from '@/constant/system'+import BtnGroup from '@/components/system/btnGroup.vue'++const xTable = ref()++const data = reactive({+ showDeliveredDetailID: 0,+ showDeliveredDetail: false,+ dialogForm: {+ id: 0+ },+ searchForm: {+ dispatch_no: '',+ customer_name: '',+ spu_name: ''+ },+ timer: ref<any>(null),+ activeTab: null,+ tableData: ref<DeliveryManagementDetailVO[]>([]),+ tablePage: ref<TablePage>({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: []+ }),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ closeDeliveredDetail: () => {+ data.showDeliveredDetail = false+ },+ viewRow: (row: DeliveryManagementDetailVO) => {+ data.showDeliveredDetailID = row.id+ data.showDeliveredDetail = true+ },+ // Refresh data+ refresh: () => {+ method.getGoodsToBePicked()+ },+ getGoodsToBePicked: async () => {+ const { data: res } = await getGoodsToBePicked(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getGoodsToBePicked()+ }),+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('wms.deliveryManagement.goodsToBePicked'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getGoodsToBePicked()+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'picked-export',+ click: method.exportTable+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)++defineExpose({+ getGoodsToBePicked: method.getGoodsToBePicked+})+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/tabNewShipment.vue b/frontend/src/view/deliveryManagement/deliveryManagement/tabNewShipment.vuenew file mode 100644index 0000000..5309b67--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/tabNewShipment.vue@@ -0,0 +1,252 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->++ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4"></v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.dispatch_no"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.dispatch_no')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.customer_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.customer_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <!-- <vxe-column type="checkbox" width="50"></vxe-column> -->+ <vxe-column field="dispatch_no" :title="$t('wms.deliveryManagement.dispatch_no')"></vxe-column>+ <!-- <vxe-column field="dispatch_status" :title="$t('wms.deliveryManagement.dispatch_status')"></vxe-column> -->+ <vxe-column field="qty" :title="$t('wms.deliveryManagement.qty')"></vxe-column>+ <vxe-column field="weight" :title="$t('wms.deliveryManagement.weight')">+ <template #default="{ row }">+ <span>{{ `${row.weight} ${GetUnit('weight', 2)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="volume" :title="$t('wms.deliveryManagement.volume')">+ <template #default="{ row }">+ <span>{{ `${row.volume} ${GetUnit('volume', 1)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="customer_name" :title="$t('wms.deliveryManagement.customer_name')"></vxe-column>+ <vxe-column field="creator" :title="$t('wms.deliveryManagement.creator')"></vxe-column>+ <!-- <vxe-column+ field="create_time"+ width="170px"+ :title="$t('wms.deliveryManagement.create_time')"+ ></vxe-column> -->+ <vxe-column field="operate" :title="$t('system.page.operate')" width="60" :resizable="false" show-overflow>+ <template #default="{ row }">+ <div style="width: 100%; display: flex; justify-content: center">+ <tooltip-btn :flat="true" icon="mdi-eye-outline" :tooltip-text="$t('system.page.view')" @click="method.viewRow(row)"></tooltip-btn>+ </div>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ <!-- View order details -->+ <SearchDeliveredMainDetail+ :dispatch-no="data.showDeliveredMainDetailNo"+ :show-dialog="data.showDeliveredMainDetail"+ @close="method.closeDeliveredDetail"+ />+ </div>+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { DeliveryManagementVO } from '@/types/DeliveryManagement/DeliveryManagement'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { getNewShipment } from '@/api/wms/deliveryManagement'+import tooltipBtn from '@/components/tooltip-btn.vue'+import i18n from '@/languages/i18n'+import { GetUnit } from '@/constant/commodityManagement'+import customPager from '@/components/custom-pager.vue'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { TablePage, btnGroupItem } from '@/types/System/Form'+import { exportData } from '@/utils/exportTable'+import { DEBOUNCE_TIME } from '@/constant/system'+import SearchDeliveredMainDetail from './search-delivered-main-detail.vue'+import BtnGroup from '@/components/system/btnGroup.vue'++const xTable = ref()++const data = reactive({+ showDeliveredMainDetailNo: '',+ showDeliveredMainDetail: false,+ showDialog: false,+ searchForm: {+ dispatch_no: '',+ customer_name: ''+ },+ timer: ref<any>(null),+ activeTab: null,+ tableData: ref<DeliveryManagementVO[]>([]),+ tablePage: ref<TablePage>({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: []+ }),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ viewRow: (row: DeliveryManagementVO) => {+ if (row.dispatch_no) {+ data.showDeliveredMainDetailNo = row.dispatch_no+ data.showDeliveredMainDetail = true+ }+ },+ closeDeliveredDetail: () => {+ data.showDeliveredMainDetail = false+ },+ // Refresh data+ refresh: () => {+ method.getNewShipment()+ },+ getNewShipment: async () => {+ const { data: res } = await getNewShipment(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getNewShipment()+ }),+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('wms.deliveryManagement.newShipment'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getNewShipment()+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'invoice-export',+ click: method.exportTable+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)++defineExpose({+ getNewShipment: method.getNewShipment+})+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/tabPackaged.vue b/frontend/src/view/deliveryManagement/deliveryManagement/tabPackaged.vuenew file mode 100644index 0000000..291fe7a--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/tabPackaged.vue@@ -0,0 +1,390 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->++ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.dispatch_no"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.dispatch_no')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.customer_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.customer_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.spu_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.spu_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table+ ref="xTable"+ :checkbox-config="{+ checkMethod: method.getCheckBoxDisableState,+ visibleMethod: method.getCheckBoxDisableState+ }"+ :column-config="{ minWidth: '100px' }"+ :data="data.tableData"+ :height="tableHeight"+ align="center"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column :title="$t('wms.deliveryManagement.state')">+ <template #default="{ row }">+ <span>{{ `${row.is_todo ? $t('wms.deliveryManagement.packageTodo') : $t('wms.deliveryManagement.packageReady')}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="dispatch_no" :title="$t('wms.deliveryManagement.dispatch_no')"></vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.deliveryManagement.spu_code')"></vxe-column>+ <vxe-column field="spu_description" width="200px" :title="$t('wms.deliveryManagement.spu_description')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.deliveryManagement.spu_name')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.deliveryManagement.sku_code')"></vxe-column>+ <vxe-column field="bar_code" :title="$t('wms.deliveryManagement.bar_code')"></vxe-column>+ <vxe-column field="qty" :title="$t('wms.deliveryManagement.order_qty')"></vxe-column>+ <vxe-column field="unpackage_qty" :title="$t('wms.deliveryManagement.unpackage_qty')"></vxe-column>+ <vxe-column field="package_qty" :title="$t('wms.deliveryManagement.package_qty')"></vxe-column>+ <vxe-column field="weight" :title="$t('wms.deliveryManagement.detailWeight')">+ <template #default="{ row }">+ <span>{{ `${row.weight} ${GetUnit('weight', row.weight_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="volume" :title="$t('wms.deliveryManagement.detailVolume')">+ <template #default="{ row }">+ <span>{{ `${row.volume} ${GetUnit('volume', row.volume_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="package_person" :title="$t('wms.deliveryManagement.package_person')"></vxe-column>+ <vxe-column+ field="package_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('wms.deliveryManagement.package_time')"+ ></vxe-column>+ <vxe-column field="customer_name" :title="$t('wms.deliveryManagement.customer_name')"></vxe-column>+ <vxe-column field="creator" :title="$t('wms.deliveryManagement.creator')"></vxe-column>+ <vxe-column+ field="create_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('wms.deliveryManagement.create_time')"+ ></vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="140" :resizable="false" show-overflow>+ <template #default="{ row }">+ <div style="width: 100%; display: flex; justify-content: center">+ <tooltip-btn :flat="true" icon="mdi-eye-outline" :tooltip-text="$t('system.page.view')" @click="method.viewRow(row)"></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-arrow-u-left-top"+ :tooltip-text="$t('wms.deliveryManagement.backToThePreviousStep')"+ :disabled="!data.authorityList.includes('packaged-revoke')"+ @click="method.backToThePreviousStep(row)"+ ></tooltip-btn>+ </div>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ <SearchDeliveredDetail :id="data.showDeliveredDetailID" :show-dialog="data.showDeliveredDetail" @close="method.closeDeliveredDetail" />++ <PackageConfirm ref="PackageConfirmRef" :dialog-title="$t('wms.deliveryManagement.package')" :is-weight="false" @submit="method.dialogSubmit" />+ </div>+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { DeliveryManagementDetailVO, ConfirmItem } from '@/types/DeliveryManagement/DeliveryManagement'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { getPackaged, cancelOrderByDetail, handlePackage } from '@/api/wms/deliveryManagement'+import tooltipBtn from '@/components/tooltip-btn.vue'+import i18n from '@/languages/i18n'+import { GetUnit } from '@/constant/commodityManagement'+import customPager from '@/components/custom-pager.vue'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { TablePage, btnGroupItem } from '@/types/System/Form'+import SearchDeliveredDetail from './search-delivered-detail.vue'+import { exportData } from '@/utils/exportTable'+import { DEBOUNCE_TIME } from '@/constant/system'+import BtnGroup from '@/components/system/btnGroup.vue'+import PackageConfirm from './package-confirm.vue'+import { httpCodeJudge } from '@/utils/http/httpCodeJudge'++const xTable = ref()+const PackageConfirmRef = ref()++const data = reactive({+ showDeliveredDetailID: 0,+ showDeliveredDetail: false,+ dialogForm: {+ id: 0+ },+ searchForm: {+ dispatch_no: '',+ customer_name: '',+ spu_name: ''+ },+ timer: ref<any>(null),+ activeTab: null,+ tableData: ref<DeliveryManagementDetailVO[]>([]),+ tablePage: ref<TablePage>({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: []+ }),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ closeDeliveredDetail: () => {+ data.showDeliveredDetail = false+ },+ viewRow: (row: DeliveryManagementDetailVO) => {+ data.showDeliveredDetailID = row.id+ data.showDeliveredDetail = true+ },+ // Back to the previous step+ backToThePreviousStep(row: DeliveryManagementDetailVO) {+ hookComponent.$dialog({+ content: `${ i18n.global.t('wms.deliveryManagement.confirmBack') }?`,+ handleConfirm: async () => {+ const { data: res } = await cancelOrderByDetail(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: res.data+ })+ method.refresh()+ }+ })+ },+ // Refresh data+ refresh: () => {+ method.getPackaged()+ },+ getPackaged: async () => {+ const { data: res } = await getPackaged(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getPackaged()+ }),+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('wms.deliveryManagement.packaged'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getPackaged()+ },+ handlePackage: async () => {+ const $table = xTable.value+ const checkTableList = $table.getCheckboxRecords()+ const confirmList: ConfirmItem[] = []+ if (checkTableList.length > 0) {+ // Processing the data required by the window+ for (const item of checkTableList) {+ confirmList.push({+ id: item.id,+ spu_name: item.spu_name,+ spu_code: item.spu_code,+ sku_code: item.sku_code,+ maxQty: item.unpackage_qty,+ qty: item.unpackage_qty,+ dispatch_no: item.dispatch_no,+ dispatch_status: item.dispatch_status,+ picked_qty: item.picked_qty+ })+ }++ PackageConfirmRef.value.openDialog(confirmList)+ } else {+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('base.userManagement.checkboxIsNull') }`+ })+ }+ },+ // Callback after entering packaging value+ dialogSubmit: async (list: ConfirmItem[]) => {+ const packList = list.map((item) => ({+ id: item.id,+ dispatch_no: item.dispatch_no,+ dispatch_status: item.dispatch_status,+ package_qty: item.qty,+ picked_qty: item.picked_qty+ }))+ const { data: res } = await handlePackage(packList)+ if (!res.isSuccess) {+ // 2023-12-06 Add automatic refresh of expired data+ if (httpCodeJudge(res.errorMessage)) {+ method.refresh()++ PackageConfirmRef.value.closeDialog()++ return+ }++ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: res.data+ })+ PackageConfirmRef.value.closeDialog()+ method.refresh()+ },+ // Check if the checkbox can be checked+ getCheckBoxDisableState: ({ row }: { row: DeliveryManagementDetailVO }): boolean => row.is_todo+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'packaged-export',+ click: method.exportTable+ },+ {+ name: i18n.global.t('wms.deliveryManagement.package'),+ icon: 'mdi-package-down',+ code: 'packaged-package',+ click: method.handlePackage+ }+ ]+})++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++defineExpose({+ getPackaged: method.getPackaged+})+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/tabPicked.vue b/frontend/src/view/deliveryManagement/deliveryManagement/tabPicked.vuenew file mode 100644index 0000000..21bd0af--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/tabPicked.vue@@ -0,0 +1,266 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->++ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.dispatch_no"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.dispatch_no')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.customer_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.customer_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.spu_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.spu_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <!-- <vxe-column type="checkbox" width="50"></vxe-column> -->+ <vxe-column field="dispatch_no" :title="$t('wms.deliveryManagement.dispatch_no')"></vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.deliveryManagement.spu_code')"></vxe-column>+ <vxe-column field="spu_description" width="200px" :title="$t('wms.deliveryManagement.spu_description')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.deliveryManagement.spu_name')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.deliveryManagement.sku_code')"></vxe-column>+ <vxe-column field="bar_code" :title="$t('wms.deliveryManagement.bar_code')"></vxe-column>+ <vxe-column field="qty" :title="$t('wms.deliveryManagement.order_qty')"></vxe-column>+ <vxe-column field="unpicked_qty" :title="$t('wms.deliveryManagement.unpicked_qty')"></vxe-column>+ <vxe-column field="picked_qty" :title="$t('wms.deliveryManagement.picked_qty')"></vxe-column>+ <vxe-column field="weight" :title="$t('wms.deliveryManagement.detailWeight')">+ <template #default="{ row }">+ <span>{{ `${row.volume} ${GetUnit('weight', row.volume_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="volume" :title="$t('wms.deliveryManagement.detailVolume')">+ <template #default="{ row }">+ <span>{{ `${row.volume} ${GetUnit('volume', row.volume_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="customer_name" :title="$t('wms.deliveryManagement.customer_name')"></vxe-column>+ <vxe-column field="creator" :title="$t('wms.deliveryManagement.creator')"></vxe-column>+ <vxe-column+ field="create_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('wms.deliveryManagement.create_time')"+ ></vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="120" :resizable="false" show-overflow>+ <template #default="{ row }">+ <div style="width: 100%; display: flex; justify-content: center">+ <tooltip-btn :flat="true" icon="mdi-eye-outline" :tooltip-text="$t('system.page.view')" @click="method.viewRow(row)"></tooltip-btn>+ </div>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ <SearchDeliveredDetail :id="data.showDeliveredDetailID" :show-dialog="data.showDeliveredDetail" @close="method.closeDeliveredDetail" />+ </div>+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { DeliveryManagementDetailVO } from '@/types/DeliveryManagement/DeliveryManagement'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { getPicked } from '@/api/wms/deliveryManagement'+import tooltipBtn from '@/components/tooltip-btn.vue'+import i18n from '@/languages/i18n'+import { GetUnit } from '@/constant/commodityManagement'+import customPager from '@/components/custom-pager.vue'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { TablePage, btnGroupItem } from '@/types/System/Form'+import SearchDeliveredDetail from './search-delivered-detail.vue'+import { exportData } from '@/utils/exportTable'+import { DEBOUNCE_TIME } from '@/constant/system'+import BtnGroup from '@/components/system/btnGroup.vue'++const xTable = ref()++const data = reactive({+ showDeliveredDetailID: 0,+ showDeliveredDetail: false,+ dialogForm: {+ id: 0+ },+ searchForm: {+ dispatch_no: '',+ customer_name: '',+ spu_name: ''+ },+ timer: ref<any>(null),+ activeTab: null,+ tableData: ref<DeliveryManagementDetailVO[]>([]),+ tablePage: ref<TablePage>({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: []+ }),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ closeDeliveredDetail: () => {+ data.showDeliveredDetail = false+ },+ viewRow: (row: DeliveryManagementDetailVO) => {+ data.showDeliveredDetailID = row.id+ data.showDeliveredDetail = true+ },+ // Refresh data+ refresh: () => {+ method.getPicked()+ },+ getPicked: async () => {+ const { data: res } = await getPicked(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getPicked()+ }),+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('wms.deliveryManagement.picked'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getPicked()+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'picked-export',+ click: method.exportTable+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)++defineExpose({+ getPicked: method.getPicked+})+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/tabPreShipment.vue b/frontend/src/view/deliveryManagement/deliveryManagement/tabPreShipment.vuenew file mode 100644index 0000000..3e8f5ce--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/tabPreShipment.vue@@ -0,0 +1,255 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->++ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4"></v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.dispatch_no"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.dispatch_no')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.customer_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.customer_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <!-- <vxe-column type="checkbox" width="50"></vxe-column> -->+ <vxe-column field="dispatch_no" :title="$t('wms.deliveryManagement.dispatch_no')"></vxe-column>+ <!-- <vxe-column field="dispatch_status" :title="$t('wms.deliveryManagement.dispatch_status')"></vxe-column> -->+ <vxe-column field="qty" :title="$t('wms.deliveryManagement.qty')"></vxe-column>+ <vxe-column field="weight" :title="$t('wms.deliveryManagement.weight')">+ <template #default="{ row }">+ <span>{{ `${row.weight} ${GetUnit('weight', 2)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="volume" :title="$t('wms.deliveryManagement.volume')">+ <template #default="{ row }">+ <span>{{ `${row.volume} ${GetUnit('volume', 1)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="customer_name" :title="$t('wms.deliveryManagement.customer_name')"></vxe-column>+ <vxe-column field="creator" :title="$t('wms.deliveryManagement.creator')"></vxe-column>+ <!-- <vxe-column+ field="create_time"+ width="170px"+ :title="$t('wms.deliveryManagement.create_time')"+ ></vxe-column> -->+ <vxe-column field="operate" :title="$t('system.page.operate')" width="70" :resizable="false" show-overflow>+ <template #default="{ row }">+ <div style="width: 100%; display: flex; justify-content: center">+ <tooltip-btn :flat="true" icon="mdi-eye-outline" :tooltip-text="$t('system.page.view')" @click="method.viewRow(row)"></tooltip-btn>+ </div>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ <!-- View order details -->+ <SearchDeliveredMainDetail+ :dispatch-no="data.showDeliveredMainDetailNo"+ :show-dialog="data.showDeliveredMainDetail"+ @close="method.closeDeliveredDetail"+ />+ </div>+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { DeliveryManagementVO } from '@/types/DeliveryManagement/DeliveryManagement'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { getPreShipment } from '@/api/wms/deliveryManagement'+import tooltipBtn from '@/components/tooltip-btn.vue'+import i18n from '@/languages/i18n'+import { GetUnit } from '@/constant/commodityManagement'+import customPager from '@/components/custom-pager.vue'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { TablePage, btnGroupItem } from '@/types/System/Form'+import { exportData } from '@/utils/exportTable'+import { DEBOUNCE_TIME } from '@/constant/system'+import SearchDeliveredMainDetail from './search-delivered-main-detail.vue'+import BtnGroup from '@/components/system/btnGroup.vue'++const xTable = ref()++const data = reactive({+ showDeliveredMainDetailNo: '',+ showDeliveredMainDetail: false,+ showDialog: false,+ dialogForm: {+ id: 0+ },+ searchForm: {+ dispatch_no: '',+ customer_name: ''+ },+ timer: ref<any>(null),+ activeTab: null,+ tableData: ref<DeliveryManagementVO[]>([]),+ tablePage: ref<TablePage>({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: []+ }),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ viewRow: (row: DeliveryManagementVO) => {+ if (row.dispatch_no) {+ data.showDeliveredMainDetailNo = row.dispatch_no+ data.showDeliveredMainDetail = true+ }+ },+ closeDeliveredDetail: () => {+ data.showDeliveredMainDetail = false+ },+ // Refresh data+ refresh: () => {+ method.getPreShipment()+ },+ getPreShipment: async () => {+ const { data: res } = await getPreShipment(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getPreShipment()+ }),+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('wms.deliveryManagement.preShipment'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getPreShipment()+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'invoice-export',+ click: method.exportTable+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)++defineExpose({+ getPreShipment: method.getPreShipment+})+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/tabShipment.vue b/frontend/src/view/deliveryManagement/deliveryManagement/tabShipment.vuenew file mode 100644index 0000000..ab0d787--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/tabShipment.vue@@ -0,0 +1,548 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.add')" @click="method.add()"></tooltip-btn>+ <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->++ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.dispatch_no"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.dispatch_no')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-select+ v-model="data.searchForm.dispatch_status"+ :items="data.combobox.dispatch_status"+ item-title="label"+ item-value="value"+ :label="$t('wms.deliveryManagement.dispatch_status')"+ variant="solo"+ density="comfortable"+ class="searchInput ml-5 mt-1"+ clearable+ hide-details+ ></v-select>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.customer_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.customer_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="checkbox" width="50" fixed="left"></vxe-column>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="dispatch_no" width="120" :title="$t('wms.deliveryManagement.dispatch_no')"></vxe-column>+ <vxe-column field="dispatch_status" :title="$t('wms.deliveryManagement.dispatch_status')">+ <template #default="{ row }">+ <span>{{ getShipmentState(row.dispatch_status) }}</span>+ </template>+ </vxe-column>+ <vxe-column field="qty" :title="$t('wms.deliveryManagement.qty')"></vxe-column>+ <vxe-column field="weight" :title="$t('wms.deliveryManagement.weight')">+ <template #default="{ row }">+ <span>{{ `${row.weight} ${GetUnit('weight', 2)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="volume" :title="$t('wms.deliveryManagement.volume')">+ <template #default="{ row }">+ <span>{{ `${row.volume} ${GetUnit('volume', 1)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="customer_name" :title="$t('wms.deliveryManagement.customer_name')"></vxe-column>+ <vxe-column field="creator" :title="$t('wms.deliveryManagement.creator')"></vxe-column>+ <!-- <vxe-column+ field="create_time"+ width="120px"+ :formatter="['formatDate', 'yyyy-MM-dd']"+ :title="$t('wms.deliveryManagement.create_time')"+ ></vxe-column> -->+ <vxe-column field="operate" :title="$t('system.page.operate')" width="300px" :resizable="false" show-overflow>+ <template #default="{ row }">+ <div style="width: 100%; display: flex; justify-content: center">+ <tooltip-btn :flat="true" icon="mdi-eye-outline" :tooltip-text="$t('system.page.view')" @click="method.viewRow(row)"></tooltip-btn>+ <tooltip-btn+ :disabled="!data.authorityList.includes('invoice-confirm') || (row.dispatch_status !== 0 && row.dispatch_status !== 1)"+ :flat="true"+ icon="mdi-clipboard-check-outline"+ :tooltip-text="$t('wms.deliveryManagement.confirmOrder')"+ @click="method.confirmOrder(row)"+ ></tooltip-btn>+ <tooltip-btn+ :disabled="!data.authorityList.includes('picked-confirm') || row.dispatch_status !== 2"+ :flat="true"+ icon="mdi-cart-arrow-down"+ :tooltip-text="$t('wms.deliveryManagement.confirmPicking')"+ @click="method.confirmPicking(row)"+ ></tooltip-btn>+ <tooltip-btn+ :disabled="+ (row.dispatch_status === 2 && !data.authorityList.includes('invoice-revoke')) ||+ (row.dispatch_status === 3 && !data.authorityList.includes('picked-revoke')) ||+ (row.dispatch_status !== 2 && row.dispatch_status !== 3)+ "+ :flat="true"+ icon="mdi-arrow-u-left-top"+ :tooltip-text="$t('wms.deliveryManagement.backToThePreviousStep')"+ @click="method.backToThePreviousStep(row)"+ ></tooltip-btn>+ <tooltip-btn+ :disabled="!data.authorityList.includes('invoice-delete') || (row.dispatch_status !== 0 && row.dispatch_status !== 1)"+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="+ !data.authorityList.includes('invoice-delete') || (row.dispatch_status !== 0 && row.dispatch_status !== 1) ? '' : errorColor+ "+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </div>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ <!-- Add or modify data mode window -->+ <addOrUpdateShipment :show-dialog="data.showDialog" :form="data.dialogForm" @close="method.closeDialog" @saveSuccess="method.saveSuccess" />+ <!-- Confirm Order -->+ <ConfirmOrder+ :confirm-order-no="data.confirmOrderNo"+ :show-dialog="data.showConfirmOrder"+ @close="method.closeConfirmOrder"+ @save-success="method.confirmSuccess"+ />+ <!-- View order details -->+ <SearchDeliveredMainDetail+ :dispatch-no="data.showDeliveredMainDetailNo"+ :show-dialog="data.showDeliveredMainDetail"+ @close="method.closeDeliveredDetail"+ />++ <!-- Print QR code -->++ <qr-code-dialog ref="qrCodeDialogRef" :menu="'deliveryManagement-shipment'">+ <template #left="{ slotData }">+ <p>{{ $t('wms.deliveryManagement.dispatch_no') }}:{{ slotData.dispatch_no }}</p> + </template>+ </qr-code-dialog>+ </div>+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight, errorColor } from '@/constant/style'+import { DeliveryManagementVO } from '@/types/DeliveryManagement/DeliveryManagement'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { getShipment, delShipment, cancelOrderByDispatch, confirmPicking } from '@/api/wms/deliveryManagement'+import tooltipBtn from '@/components/tooltip-btn.vue'+import i18n from '@/languages/i18n'+import addOrUpdateShipment from './add-or-update-shipment.vue'+import { getShipmentState } from './shipmentFun'+import ConfirmOrder from './confirm-order.vue'+import { GetUnit } from '@/constant/commodityManagement'+import customPager from '@/components/custom-pager.vue'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { TablePage, btnGroupItem } from '@/types/System/Form'+import { exportData } from '@/utils/exportTable'+import { DEBOUNCE_TIME } from '@/constant/system'+import SearchDeliveredMainDetail from './search-delivered-main-detail.vue'+import BtnGroup from '@/components/system/btnGroup.vue'+import QrCodeDialog from '@/components/codeDialog/qrCodeDialog.vue'+import { httpCodeJudge } from '@/utils/http/httpCodeJudge'++const xTable = ref()+const qrCodeDialogRef = ref()++const data = reactive({+ showDeliveredMainDetailNo: '',+ showDeliveredMainDetail: false,+ showDialog: false,+ dialogForm: {+ id: 0,+ detailList: []+ },+ searchForm: ref<{+ dispatch_no: string+ customer_name: string+ dispatch_status?: string+ }>({+ dispatch_no: '',+ customer_name: ''+ }),+ timer: ref<any>(null),+ activeTab: null,+ tableData: ref<DeliveryManagementVO[]>([]),+ tablePage: ref<TablePage>({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: []+ }),+ showConfirmOrder: false,+ confirmOrderNo: '',+ combobox: {+ dispatch_status: [+ {+ label: i18n.global.t('wms.deliveryManagement.preShipment'),+ value: '0'+ },+ {+ label: i18n.global.t('wms.deliveryManagement.newShipment'),+ value: '1'+ },+ {+ label: i18n.global.t('wms.deliveryManagement.goodsToBePicked'),+ value: '2'+ },+ {+ label: i18n.global.t('wms.deliveryManagement.picked'),+ value: '3'+ },+ {+ label: i18n.global.t('wms.deliveryManagement.packaged'),+ value: '4'+ },+ {+ label: i18n.global.t('wms.deliveryManagement.weighed'),+ value: '5'+ },+ {+ label: i18n.global.t('wms.deliveryManagement.outOfWarehouse'),+ value: '6'+ },+ {+ label: i18n.global.t('wms.deliveryManagement.signedIn'),+ value: '7'+ }+ ]+ },+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList(),+ selectRowData: []+})++const method = reactive({+ // Print QR code+ printQrCode: () => {+ const records = xTable.value.getCheckboxRecords()++ // data.selectRowData.length === 0 ? data.selectRowData = [row] : ''+ // const records:any[] = data.selectRowData+ if (records.length > 0) {+ for (const item of records) {+ item.id = item.dispatch_no+ item.type = 'delivery'+ }+ qrCodeDialogRef.value.openDialog(records)+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('base.userManagement.checkboxIsNull')+ })+ }+ },+ selectAllEvent({ checked }) {+ const records = xTable.value.getCheckboxRecords()+ checked ? (data.selectRowData = records) : (data.selectRowData = [])+ },+ selectChangeEvent() {+ data.selectRowData = xTable.value.getCheckboxRecords()+ },+ viewRow: (row: DeliveryManagementVO) => {+ if (row.dispatch_no) {+ data.showDeliveredMainDetailNo = row.dispatch_no+ data.showDeliveredMainDetail = true+ }+ },+ closeDeliveredDetail: () => {+ data.showDeliveredMainDetail = false+ },+ // Confirm picking+ confirmPicking: async (row: DeliveryManagementVO) => {+ hookComponent.$dialog({+ content: `${ i18n.global.t('wms.deliveryManagement.confirmPicking') }?`,+ handleConfirm: async () => {+ if (row.dispatch_no) {+ const { data: res } = await confirmPicking(row.dispatch_no)+ if (!res.isSuccess) {+ // 2023-12-06 Add automatic refresh of expired data+ if (httpCodeJudge(res.errorMessage)) {+ method.refresh()++ return+ }++ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: res.data+ })+ method.refresh()+ }+ }+ })+ },+ // Back to the previous step+ backToThePreviousStep(row: DeliveryManagementVO) {+ hookComponent.$dialog({+ content: `${ i18n.global.t('wms.deliveryManagement.confirmBack') }?`,+ handleConfirm: async () => {+ const { data: res } = await cancelOrderByDispatch({+ dispatch_no: row.dispatch_no,+ dispatch_status: row.dispatch_status+ })+ if (!res.isSuccess) {+ // 2023-12-06 Add automatic refresh of expired data+ if (httpCodeJudge(res.errorMessage)) {+ method.refresh()++ return+ }++ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: res.data+ })+ method.refresh()+ }+ })+ },+ // Close the order confirmation window+ closeConfirmOrder: () => {+ data.showConfirmOrder = false+ },+ // After confirming the shipment document+ confirmSuccess: () => {+ method.refresh()+ method.closeConfirmOrder()+ },+ // after Add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },+ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },+ // Refresh dialog data+ clearDialogForm: () => {+ data.dialogForm = {+ id: 0,+ detailList: []+ }+ },+ add: () => {+ method.clearDialogForm()+ data.showDialog = true+ },+ confirmOrder: (row: DeliveryManagementVO) => {+ if (row.dispatch_status === undefined || ![0, 1].includes(row.dispatch_status)) {+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('wms.deliveryManagement.incorrectStatusMsg') }${ getShipmentState(0) }${ i18n.global.t(+ 'wms.deliveryManagement.or'+ ) }${ getShipmentState(1) }`+ })+ return+ }+ if (row.dispatch_no) {+ data.confirmOrderNo = row.dispatch_no+ data.showConfirmOrder = true+ }+ },+ deleteRow: (row: DeliveryManagementVO) => {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.dispatch_no) {+ const { data: res } = await delShipment(row.dispatch_no)+ if (!res.isSuccess) {+ // 2023-12-06 Add automatic refresh of expired data+ if (httpCodeJudge(res.errorMessage)) {+ method.refresh()++ return+ }++ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ // Refresh data+ refresh: () => {+ method.getShipment()+ },+ getShipment: async () => {+ const { data: res } = await getShipment(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getShipment()+ }),+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('wms.deliveryManagement.shipment'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm, ['dispatch_status'])+ method.getShipment()+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.add'),+ icon: 'mdi-plus',+ code: 'invoice-save',+ click: method.add+ },+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'invoice-export',+ click: method.exportTable+ },+ {+ name: i18n.global.t('base.commodityManagement.printQrCode'),+ icon: 'mdi-qrcode',+ code: 'invoice-printQrCode',+ click: method.printQrCode+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)++defineExpose({+ getShipment: method.getShipment+})+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/tabSignIn.vue b/frontend/src/view/deliveryManagement/deliveryManagement/tabSignIn.vuenew file mode 100644index 0000000..6e75d5a--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/tabSignIn.vue@@ -0,0 +1,280 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->++ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.dispatch_no"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.dispatch_no')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.customer_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.customer_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.spu_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.spu_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="dispatch_no" :title="$t('wms.deliveryManagement.dispatch_no')"></vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.deliveryManagement.spu_code')"></vxe-column>+ <vxe-column field="spu_description" width="200px" :title="$t('wms.deliveryManagement.spu_description')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.deliveryManagement.spu_name')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.deliveryManagement.sku_code')"></vxe-column>+ <vxe-column field="bar_code" :title="$t('wms.deliveryManagement.bar_code')"></vxe-column>+ <vxe-column field="qty" :title="$t('wms.deliveryManagement.order_qty')"></vxe-column>+ <vxe-column field="weight" :title="$t('wms.deliveryManagement.detailWeight')">+ <template #default="{ row }">+ <span>{{ `${row.weight} ${GetUnit('weight', row.weight_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="volume" :title="$t('wms.deliveryManagement.detailVolume')">+ <template #default="{ row }">+ <span>{{ `${row.volume} ${GetUnit('volume', row.volume_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="weighing_weight" :title="$t('wms.deliveryManagement.weighing_weight')">+ <template #default="{ row }">+ <span>{{ `${row.weighing_weight} ${GetUnit('weight', row.weight_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="package_person" :title="$t('wms.deliveryManagement.package_person')"></vxe-column>+ <vxe-column field="weighing_person" :title="$t('wms.deliveryManagement.weighing_person')"></vxe-column>+ <vxe-column field="waybill_no" :title="$t('wms.deliveryManagement.waybill_no')"></vxe-column>+ <vxe-column field="carrier" :title="$t('wms.deliveryManagement.carrier')"></vxe-column>+ <vxe-column field="damagedQuantity" :title="$t('wms.deliveryManagement.damagedQuantity')">+ <template #default="{ row }">+ <span>{{ `${XEUtils.subtract(Number(row.qty), Number(row.sign_qty))}` }}</span>+ </template>+ </vxe-column>++ <vxe-column field="weighing_no" :title="$t('wms.deliveryManagement.weighing_no')"></vxe-column>+ <vxe-column field="customer_name" :title="$t('wms.deliveryManagement.customer_name')"></vxe-column>+ <vxe-column field="creator" :title="$t('wms.deliveryManagement.creator')"></vxe-column>+ <vxe-column+ field="create_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('wms.deliveryManagement.create_time')"+ ></vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="120" :resizable="false" show-overflow>+ <template #default="{ row }">+ <div style="width: 100%; display: flex; justify-content: center">+ <tooltip-btn :flat="true" icon="mdi-eye-outline" :tooltip-text="$t('system.page.view')" @click="method.viewRow(row)"></tooltip-btn>+ </div>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ <SearchDeliveredDetail :id="data.showDeliveredDetailID" :show-dialog="data.showDeliveredDetail" @close="method.closeDeliveredDetail" />+ </div>+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import XEUtils from 'xe-utils'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { DeliveryManagementDetailVO } from '@/types/DeliveryManagement/DeliveryManagement'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { getSignIn } from '@/api/wms/deliveryManagement'+import tooltipBtn from '@/components/tooltip-btn.vue'+import i18n from '@/languages/i18n'+import { GetUnit } from '@/constant/commodityManagement'+import customPager from '@/components/custom-pager.vue'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { TablePage, btnGroupItem } from '@/types/System/Form'+import SearchDeliveredDetail from './search-delivered-detail.vue'+import { exportData } from '@/utils/exportTable'+import { DEBOUNCE_TIME } from '@/constant/system'+import BtnGroup from '@/components/system/btnGroup.vue'++const xTable = ref()++const data = reactive({+ showDeliveredDetailID: 0,+ showDeliveredDetail: false,+ dialogForm: {+ id: 0+ },+ searchForm: {+ dispatch_no: '',+ customer_name: '',+ spu_name: ''+ },+ timer: ref<any>(null),+ activeTab: null,+ tableData: ref<DeliveryManagementDetailVO[]>([]),+ tablePage: ref<TablePage>({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: []+ }),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ closeDeliveredDetail: () => {+ data.showDeliveredDetail = false+ },+ viewRow: (row: DeliveryManagementDetailVO) => {+ data.showDeliveredDetailID = row.id+ data.showDeliveredDetail = true+ },+ // Refresh data+ refresh: () => {+ method.getSignIn()+ },+ getSignIn: async () => {+ const { data: res } = await getSignIn(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getSignIn()+ }),+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('wms.deliveryManagement.signedIn'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getSignIn()+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'signedIn-export',+ click: method.exportTable+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)++defineExpose({+ getSignIn: method.getSignIn+})+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/tabToBeDelivered.vue b/frontend/src/view/deliveryManagement/deliveryManagement/tabToBeDelivered.vuenew file mode 100644index 0000000..30d6a01--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/tabToBeDelivered.vue@@ -0,0 +1,314 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn>+ <tooltip-btn icon="mdi-cube-send" :tooltip-text="$t('wms.deliveryManagement.delivery')" @click="method.handleDeliver"> </tooltip-btn> -->++ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.dispatch_no"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.dispatch_no')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.customer_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.customer_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.spu_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.spu_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="dispatch_no" :title="$t('wms.deliveryManagement.dispatch_no')"></vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.deliveryManagement.spu_code')"></vxe-column>+ <vxe-column field="spu_description" width="200px" :title="$t('wms.deliveryManagement.spu_description')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.deliveryManagement.spu_name')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.deliveryManagement.sku_code')"></vxe-column>+ <vxe-column field="bar_code" :title="$t('wms.deliveryManagement.bar_code')"></vxe-column>+ <vxe-column field="qty" :title="$t('wms.deliveryManagement.order_qty')"></vxe-column>+ <vxe-column field="weight" :title="$t('wms.deliveryManagement.detailWeight')">+ <template #default="{ row }">+ <span>{{ `${row.weight} ${GetUnit('weight', row.weight_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="volume" :title="$t('wms.deliveryManagement.detailVolume')">+ <template #default="{ row }">+ <span>{{ `${row.volume} ${GetUnit('volume', row.volume_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="package_no" :title="$t('wms.deliveryManagement.package_no')"></vxe-column>+ <vxe-column field="weighing_weight" :title="$t('wms.deliveryManagement.weighing_weight')">+ <template #default="{ row }">+ <span>{{ `${row.weighing_weight} ${GetUnit('weight', row.weight_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="weighing_no" :title="$t('wms.deliveryManagement.weighing_no')"></vxe-column>+ <vxe-column field="customer_name" :title="$t('wms.deliveryManagement.customer_name')"></vxe-column>+ <vxe-column field="creator" :title="$t('wms.deliveryManagement.creator')"></vxe-column>+ <vxe-column field="create_time" width="170px" :title="$t('wms.deliveryManagement.create_time')"></vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="140" :resizable="false" show-overflow>+ <template #default="{ row }">+ <div style="width: 100%; display: flex; justify-content: center">+ <tooltip-btn :flat="true" icon="mdi-eye-outline" :tooltip-text="$t('system.page.view')" @click="method.viewRow(row)"></tooltip-btn>+ <!-- <tooltip-btn+ :flat="true"+ icon="mdi-cube-send"+ :tooltip-text="$t('wms.deliveryManagement.delivery')"+ @click="method.handleDeliver(row)"+ ></tooltip-btn> -->+ </div>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ <SearchDeliveredDetail :id="data.showDeliveredDetailID" :show-dialog="data.showDeliveredDetail" @close="method.closeDeliveredDetail" />+ </div>+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { DeliveryManagementDetailVO } from '@/types/DeliveryManagement/DeliveryManagement'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { getToBeDelivery, handleDelivery } from '@/api/wms/deliveryManagement'+import tooltipBtn from '@/components/tooltip-btn.vue'+import i18n from '@/languages/i18n'+import { GetUnit } from '@/constant/commodityManagement'+import customPager from '@/components/custom-pager.vue'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { TablePage, btnGroupItem } from '@/types/System/Form'+import SearchDeliveredDetail from './search-delivered-detail.vue'+import { exportData } from '@/utils/exportTable'+import { DEBOUNCE_TIME } from '@/constant/system'+import BtnGroup from '@/components/system/btnGroup.vue'++const xTable = ref()++const data = reactive({+ showDeliveredDetailID: 0,+ showDeliveredDetail: false,+ dialogForm: {+ id: 0+ },+ searchForm: {+ dispatch_no: '',+ customer_name: '',+ spu_name: ''+ },+ timer: ref<any>(null),+ activeTab: null,+ tableData: ref<DeliveryManagementDetailVO[]>([]),+ tablePage: ref<TablePage>({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: []+ }),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ closeDeliveredDetail: () => {+ data.showDeliveredDetail = false+ },+ viewRow: (row: DeliveryManagementDetailVO) => {+ data.showDeliveredDetailID = row.id+ data.showDeliveredDetail = true+ },+ handleDeliver: async () => {+ const $table = xTable.value+ const checkTableList = $table.getCheckboxRecords()+ if (checkTableList.length > 0) {+ const deliveredList = checkTableList.map((row: DeliveryManagementDetailVO) => ({+ id: row.id,+ dispatch_no: row.dispatch_no,+ dispatch_status: row.dispatch_status,+ picked_qty: row.picked_qty+ }))+ hookComponent.$dialog({+ content: `${ i18n.global.t('wms.deliveryManagement.irreversible') }, ${ i18n.global.t('wms.deliveryManagement.confirmDelivery') }?`,+ handleConfirm: async () => {+ const { data: res } = await handleDelivery(deliveredList)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: res.data+ })+ method.refresh()+ }+ })+ } else {+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('base.userManagement.checkboxIsNull') }`+ })+ }+ },+ // Refresh data+ refresh: () => {+ method.getToBeDelivery()+ },+ getToBeDelivery: async () => {+ const { data: res } = await getToBeDelivery(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getToBeDelivery()+ }),+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('wms.deliveryManagement.toBeDelivered'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getToBeDelivery()+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'delivered-export',+ click: method.exportTable+ },+ {+ name: i18n.global.t('wms.deliveryManagement.delivery'),+ icon: 'mdi-cube-send',+ code: 'delivered-delivery',+ click: method.handleDeliver+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)++defineExpose({+ getToBeDelivery: method.getToBeDelivery+})+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/tabToBePackaged.vue b/frontend/src/view/deliveryManagement/deliveryManagement/tabToBePackaged.vuenew file mode 100644index 0000000..26ba51f--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/tabToBePackaged.vue@@ -0,0 +1,351 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn>+ <tooltip-btn icon="mdi-package-down" :tooltip-text="$t('wms.deliveryManagement.package')" @click="method.handlePackage"> </tooltip-btn> -->++ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.dispatch_no"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.dispatch_no')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.customer_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.customer_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.spu_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.spu_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="dispatch_no" :title="$t('wms.deliveryManagement.dispatch_no')"></vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.deliveryManagement.spu_code')"></vxe-column>+ <vxe-column field="spu_description" width="200px" :title="$t('wms.deliveryManagement.spu_description')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.deliveryManagement.spu_name')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.deliveryManagement.sku_code')"></vxe-column>+ <vxe-column field="bar_code" :title="$t('wms.deliveryManagement.bar_code')"></vxe-column>+ <vxe-column field="qty" :title="$t('wms.deliveryManagement.order_qty')"></vxe-column>+ <vxe-column field="unpackage_qty" :title="$t('wms.deliveryManagement.unpackage_qty')"></vxe-column>+ <vxe-column field="package_qty" :title="$t('wms.deliveryManagement.package_qty')"></vxe-column>+ <vxe-column field="weight" :title="$t('wms.deliveryManagement.detailWeight')">+ <template #default="{ row }">+ <span>{{ `${row.weight} ${GetUnit('weight', row.weight_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="volume" :title="$t('wms.deliveryManagement.detailVolume')">+ <template #default="{ row }">+ <span>{{ `${row.volume} ${GetUnit('volume', row.volume_unit)}` }}</span>+ </template>+ </vxe-column>+ <!-- <vxe-column field="package_person" :title="$t('wms.deliveryManagement.package_person')"></vxe-column>+ <vxe-column field="package_time" width="170px" :title="$t('wms.deliveryManagement.package_time')"></vxe-column> -->+ <vxe-column field="customer_name" :title="$t('wms.deliveryManagement.customer_name')"></vxe-column>+ <vxe-column field="creator" :title="$t('wms.deliveryManagement.creator')"></vxe-column>+ <vxe-column field="create_time" width="170px" :title="$t('wms.deliveryManagement.create_time')"></vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="140" :resizable="false" show-overflow>+ <template #default="{ row }">+ <div style="width: 100%; display: flex; justify-content: center">+ <tooltip-btn :flat="true" icon="mdi-eye-outline" :tooltip-text="$t('system.page.view')" @click="method.viewRow(row)"></tooltip-btn>+ <!-- <tooltip-btn+ :flat="true"+ icon="mdi-package-down"+ :tooltip-text="$t('wms.deliveryManagement.package')"+ @click="method.handlePackage(row)"+ ></tooltip-btn> -->+ </div>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ <SearchDeliveredDetail :id="data.showDeliveredDetailID" :show-dialog="data.showDeliveredDetail" @close="method.closeDeliveredDetail" />+ <!-- <ToBePackageConfirm :show-dialog="data.showDialog" :max-qty="data.dialogMaxQty" @close="method.dialogClose" @submit="method.dialogSubmit" /> -->+ <PackageConfirm+ :dialog-title="$t('wms.deliveryManagement.package')"+ :show-dialog="data.showDialog"+ :is-weight="false"+ :data-list="data.confirmList"+ @close="method.dialogClose"+ @submit="method.dialogSubmit"+ />+ </div>+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { DeliveryManagementDetailVO, ConfirmItem } from '@/types/DeliveryManagement/DeliveryManagement'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { getToBePackaged, handlePackage } from '@/api/wms/deliveryManagement'+import tooltipBtn from '@/components/tooltip-btn.vue'+import i18n from '@/languages/i18n'+// import ToBePackageConfirm from './to-be-package-confirm.vue'+import PackageConfirm from './package-confirm.vue'+import { GetUnit } from '@/constant/commodityManagement'+import customPager from '@/components/custom-pager.vue'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { TablePage, btnGroupItem } from '@/types/System/Form'+import SearchDeliveredDetail from './search-delivered-detail.vue'+import { exportData } from '@/utils/exportTable'+import { DEBOUNCE_TIME } from '@/constant/system'+import BtnGroup from '@/components/system/btnGroup.vue'++const xTable = ref()++const data = reactive({+ showDeliveredDetailID: 0,+ showDeliveredDetail: false,+ showDialog: false,+ confirmList: ref<ConfirmItem[]>([]),+ dialogMaxQty: 0,+ packageRow: ref<DeliveryManagementDetailVO>(),+ dialogForm: {+ id: 0+ },+ searchForm: {+ dispatch_no: '',+ customer_name: '',+ spu_name: ''+ },+ timer: ref<any>(null),+ activeTab: null,+ tableData: ref<DeliveryManagementDetailVO[]>([]),+ tablePage: ref<TablePage>({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: []+ }),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ closeDeliveredDetail: () => {+ data.showDeliveredDetail = false+ },+ viewRow: (row: DeliveryManagementDetailVO) => {+ data.showDeliveredDetailID = row.id+ data.showDeliveredDetail = true+ },+ dialogClose: () => {+ data.showDialog = false+ },+ // Callback after entering packaging value+ dialogSubmit: async (list: ConfirmItem[]) => {+ const packList = list.map((item) => ({+ id: item.id,+ dispatch_no: item.dispatch_no,+ dispatch_status: item.dispatch_status,+ package_qty: item.qty,+ picked_qty: item.picked_qty+ }))+ const { data: res } = await handlePackage(packList)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: res.data+ })+ method.dialogClose()+ method.refresh()+ },+ // handlePackage: async (row: DeliveryManagementDetailVO) => {+ // data.packageRow = row+ // data.dialogMaxQty = row.unpackage_qty ? row.unpackage_qty : 0+ // data.showDialog = true+ // },+ handlePackage: async () => {+ const $table = xTable.value+ const checkTableList = $table.getCheckboxRecords()+ const confirmList: ConfirmItem[] = []+ if (checkTableList.length > 0) {+ // Processing the data required by the window+ for (const item of checkTableList) {+ confirmList.push({+ id: item.id,+ spu_name: item.spu_name,+ spu_code: item.spu_code,+ sku_code: item.sku_code,+ maxQty: item.unpackage_qty,+ qty: item.unpackage_qty,+ dispatch_no: item.dispatch_no,+ dispatch_status: item.dispatch_status,+ picked_qty: item.picked_qty+ })+ }+ data.confirmList = confirmList+ data.showDialog = true+ } else {+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('base.userManagement.checkboxIsNull') }`+ })+ }+ },+ // Refresh data+ refresh: () => {+ method.getToBePackaged()+ },+ getToBePackaged: async () => {+ const { data: res } = await getToBePackaged(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getToBePackaged()+ }),+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('wms.deliveryManagement.toBePackaged'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getToBePackaged()+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'packaged-export',+ click: method.exportTable+ },+ {+ name: i18n.global.t('wms.deliveryManagement.package'),+ icon: 'mdi-package-down',+ code: 'packaged-package',+ click: method.handlePackage+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)++defineExpose({+ getToBePackaged: method.getToBePackaged+})+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/tabToBeWeighed.vue b/frontend/src/view/deliveryManagement/deliveryManagement/tabToBeWeighed.vuenew file mode 100644index 0000000..8b88ede--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/tabToBeWeighed.vue@@ -0,0 +1,366 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn>+ <tooltip-btn icon="mdi-weight" :tooltip-text="$t('wms.deliveryManagement.weigh')" @click="method.handleWeigh"> </tooltip-btn> -->++ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.dispatch_no"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.dispatch_no')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.customer_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.customer_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.spu_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.spu_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <!-- <vxe-column field="weighing_no" :title="$t('wms.deliveryManagement.weighing_no')"></vxe-column> -->+ <vxe-column field="dispatch_no" :title="$t('wms.deliveryManagement.dispatch_no')"></vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.deliveryManagement.spu_code')"></vxe-column>+ <vxe-column field="spu_description" width="200px" :title="$t('wms.deliveryManagement.spu_description')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.deliveryManagement.spu_name')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.deliveryManagement.sku_code')"></vxe-column>+ <vxe-column field="bar_code" :title="$t('wms.deliveryManagement.bar_code')"></vxe-column>+ <vxe-column field="qty" :title="$t('wms.deliveryManagement.order_qty')"></vxe-column>+ <vxe-column field="weight" :title="$t('wms.deliveryManagement.detailWeight')">+ <template #default="{ row }">+ <span>{{ `${row.weight} ${GetUnit('weight', row.weight_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="volume" :title="$t('wms.deliveryManagement.detailVolume')">+ <template #default="{ row }">+ <span>{{ `${row.volume} ${GetUnit('volume', row.volume_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="package_person" :title="$t('wms.deliveryManagement.package_person')"></vxe-column>+ <vxe-column field="package_no" :title="$t('wms.deliveryManagement.package_no')"></vxe-column>+ <!-- <vxe-column field="weighing_person" :title="$t('wms.deliveryManagement.weighing_person')"></vxe-column>+ <vxe-column field="weighing_weight" :title="$t('wms.deliveryManagement.weighing_weight')">+ <template #default="{ row }">+ <span>{{ `${row.weighing_weight} ${GetUnit('weight', row.weight_unit)}` }}</span>+ </template>+ </vxe-column> -->+ <vxe-column field="customer_name" :title="$t('wms.deliveryManagement.customer_name')"></vxe-column>+ <vxe-column field="creator" :title="$t('wms.deliveryManagement.creator')"></vxe-column>+ <vxe-column field="create_time" width="170px" :title="$t('wms.deliveryManagement.create_time')"></vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="140" :resizable="false" show-overflow>+ <template #default="{ row }">+ <div style="width: 100%; display: flex; justify-content: center">+ <tooltip-btn :flat="true" icon="mdi-eye-outline" :tooltip-text="$t('system.page.view')" @click="method.viewRow(row)"></tooltip-btn>+ <!-- <tooltip-btn+ :flat="true"+ icon="mdi-weight"+ :tooltip-text="$t('wms.deliveryManagement.weigh')"+ @click="method.handleWeigh(row)"+ ></tooltip-btn> -->+ </div>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ <!-- <ToBeWeighedConfirm+ :show-dialog="data.showDialog"+ :default-weight="data.defaultWeight"+ :max-qty="data.dialogMaxQty"+ :weight-unit="data.dialogWeightUnit"+ @close="method.dialogClose"+ @submit="method.dialogSubmit"+ /> -->+ <SearchDeliveredDetail :id="data.showDeliveredDetailID" :show-dialog="data.showDeliveredDetail" @close="method.closeDeliveredDetail" />+ <WeightConfirm+ :show-dialog="data.showDialog"+ :dialog-title="$t('wms.deliveryManagement.weigh')"+ :is-weight="true"+ :data-list="data.confirmList"+ @close="method.dialogClose"+ @submit="method.dialogSubmit"+ />+ </div>+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { DeliveryManagementDetailVO, ConfirmItem } from '@/types/DeliveryManagement/DeliveryManagement'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { getToBeWeighed, handleWeigh } from '@/api/wms/deliveryManagement'+import tooltipBtn from '@/components/tooltip-btn.vue'+import i18n from '@/languages/i18n'+import { GetUnit } from '@/constant/commodityManagement'+import customPager from '@/components/custom-pager.vue'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { TablePage, btnGroupItem } from '@/types/System/Form'+import SearchDeliveredDetail from './search-delivered-detail.vue'+import { exportData } from '@/utils/exportTable'+import { DEBOUNCE_TIME } from '@/constant/system'+import WeightConfirm from './package-confirm.vue'+import BtnGroup from '@/components/system/btnGroup.vue'++const xTable = ref()++const data = reactive({+ showDeliveredDetailID: 0,+ showDeliveredDetail: false,+ showDialog: false,+ confirmList: ref<ConfirmItem[]>([]),+ dialogMaxQty: 0,+ dialogWeightUnit: '',+ defaultWeight: 0,+ weighedRow: ref<DeliveryManagementDetailVO>(),+ searchForm: {+ dispatch_no: '',+ customer_name: '',+ spu_name: ''+ },+ timer: ref<any>(null),+ activeTab: null,+ tableData: ref<DeliveryManagementDetailVO[]>([]),+ tablePage: ref<TablePage>({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: []+ }),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ closeDeliveredDetail: () => {+ data.showDeliveredDetail = false+ },+ viewRow: (row: DeliveryManagementDetailVO) => {+ data.showDeliveredDetailID = row.id+ data.showDeliveredDetail = true+ },+ dialogClose: () => {+ data.showDialog = false+ },+ // Callback after entering packaging value+ dialogSubmit: async (list: ConfirmItem[]) => {+ const packList = list.map((item) => ({+ id: item.id,+ dispatch_no: item.dispatch_no,+ dispatch_status: item.dispatch_status,+ weighing_qty: item.qty,+ weighing_weight: item.weight,+ picked_qty: item.picked_qty+ }))+ // if (data.weighedRow) {+ const { data: res } = await handleWeigh(packList)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: res.data+ })+ method.dialogClose()+ method.refresh()+ // }+ },+ handleWeigh: async () => {+ const $table = xTable.value+ const checkTableList = $table.getCheckboxRecords()+ const confirmList: ConfirmItem[] = []+ if (checkTableList.length > 0) {+ // Processing the data required by the window+ for (const item of checkTableList) {+ confirmList.push({+ id: item.id,+ spu_name: item.spu_name,+ spu_code: item.spu_code,+ sku_code: item.sku_code,+ maxQty: item.unweighing_qty,+ qty: item.unweighing_qty,+ weight: item.weight,+ weight_unit: GetUnit('weight', item.weight_unit),+ dispatch_no: item.dispatch_no,+ dispatch_status: item.dispatch_status,+ picked_qty: item.picked_qty+ })+ }+ data.confirmList = confirmList+ data.showDialog = true+ } else {+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('base.userManagement.checkboxIsNull') }`+ })+ }+ // data.weighedRow = row+ // data.dialogWeightUnit = row.weight_unit !== undefined ? GetUnit('weight', row.weight_unit) : ''+ // data.dialogMaxQty = row.unweighing_qty ? row.unweighing_qty : 0+ // data.defaultWeight = row.weight ? row.weight : 0+ // data.showDialog = true+ },+ // Refresh data+ refresh: () => {+ method.getToBeWeighed()+ },+ getToBeWeighed: async () => {+ const { data: res } = await getToBeWeighed(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getToBeWeighed()+ }),+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('wms.deliveryManagement.toBeWeighed'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getToBeWeighed()+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'weighed-export',+ click: method.exportTable+ },+ {+ name: i18n.global.t('wms.deliveryManagement.weigh'),+ icon: 'mdi-weight',+ code: 'weighed-weigh',+ click: method.handleWeigh+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)++defineExpose({+ getToBeWeighed: method.getToBeWeighed+})+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/tabWeighed.vue b/frontend/src/view/deliveryManagement/deliveryManagement/tabWeighed.vuenew file mode 100644index 0000000..5147070--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/tabWeighed.vue@@ -0,0 +1,404 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->++ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.dispatch_no"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.dispatch_no')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.customer_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.customer_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.spu_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.deliveryManagement.spu_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table+ ref="xTable"+ :column-config="{ minWidth: '100px' }"+ :checkbox-config="{+ checkMethod: method.getCheckBoxDisableState,+ visibleMethod: method.getCheckBoxDisableState+ }"+ :data="data.tableData"+ :height="tableHeight"+ align="center"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column :title="$t('wms.deliveryManagement.state')">+ <template #default="{ row }">+ <span>{{ `${row.is_todo ? $t('wms.deliveryManagement.weighTodo') : $t('wms.deliveryManagement.weighReady')}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="weighing_no" :title="$t('wms.deliveryManagement.weighing_no')"></vxe-column>+ <vxe-column field="dispatch_no" :title="$t('wms.deliveryManagement.dispatch_no')"></vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.deliveryManagement.spu_code')"></vxe-column>+ <vxe-column field="spu_description" width="200px" :title="$t('wms.deliveryManagement.spu_description')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.deliveryManagement.spu_name')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.deliveryManagement.sku_code')"></vxe-column>+ <vxe-column field="bar_code" :title="$t('wms.deliveryManagement.bar_code')"></vxe-column>+ <vxe-column field="qty" :title="$t('wms.deliveryManagement.order_qty')"></vxe-column>+ <vxe-column field="weight" :title="$t('wms.deliveryManagement.detailWeight')">+ <template #default="{ row }">+ <span>{{ `${row.weight} ${GetUnit('weight', row.weight_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="volume" :title="$t('wms.deliveryManagement.detailVolume')">+ <template #default="{ row }">+ <span>{{ `${row.volume} ${GetUnit('volume', row.volume_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="package_person" :title="$t('wms.deliveryManagement.package_person')"></vxe-column>+ <vxe-column field="package_no" :title="$t('wms.deliveryManagement.package_no')"></vxe-column>+ <vxe-column field="weighing_person" :title="$t('wms.deliveryManagement.weighing_person')"></vxe-column>+ <vxe-column field="weighing_weight" :title="$t('wms.deliveryManagement.weighing_weight')">+ <template #default="{ row }">+ <span>{{ `${row.weighing_weight} ${GetUnit('weight', row.weight_unit)}` }}</span>+ </template>+ </vxe-column>+ <vxe-column field="customer_name" :title="$t('wms.deliveryManagement.customer_name')"></vxe-column>+ <vxe-column field="creator" :title="$t('wms.deliveryManagement.creator')"></vxe-column>+ <vxe-column+ field="create_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('wms.deliveryManagement.create_time')"+ ></vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="140" :resizable="false" show-overflow>+ <template #default="{ row }">+ <div style="width: 100%; display: flex; justify-content: center">+ <tooltip-btn :flat="true" icon="mdi-eye-outline" :tooltip-text="$t('system.page.view')" @click="method.viewRow(row)"></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-arrow-u-left-top"+ :tooltip-text="$t('wms.deliveryManagement.backToThePreviousStep')"+ :disabled="!data.authorityList.includes('weighed-revoke')"+ @click="method.backToThePreviousStep(row)"+ ></tooltip-btn>+ </div>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ <SearchDeliveredDetail :id="data.showDeliveredDetailID" :show-dialog="data.showDeliveredDetail" @close="method.closeDeliveredDetail" />+ <WeightConfirm ref="WeightConfirmRef" :dialog-title="$t('wms.deliveryManagement.weigh')" :is-weight="true" @submit="method.dialogSubmit" />+ </div>+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { DeliveryManagementDetailVO, ConfirmItem } from '@/types/DeliveryManagement/DeliveryManagement'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { getWeighed, cancelOrderByDetail, handleWeigh } from '@/api/wms/deliveryManagement'+import tooltipBtn from '@/components/tooltip-btn.vue'+import i18n from '@/languages/i18n'+import { GetUnit } from '@/constant/commodityManagement'+import customPager from '@/components/custom-pager.vue'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { TablePage, btnGroupItem } from '@/types/System/Form'+import SearchDeliveredDetail from './search-delivered-detail.vue'+import { exportData } from '@/utils/exportTable'+import { DEBOUNCE_TIME } from '@/constant/system'+import BtnGroup from '@/components/system/btnGroup.vue'+import WeightConfirm from './package-confirm.vue'+import { httpCodeJudge } from '@/utils/http/httpCodeJudge'++const xTable = ref()+const WeightConfirmRef = ref()++const data = reactive({+ showDeliveredDetailID: 0,+ showDeliveredDetail: false,+ showDialog: false,+ dialogForm: {+ id: 0+ },+ searchForm: {+ dispatch_no: '',+ customer_name: '',+ spu_name: ''+ },+ timer: ref<any>(null),+ activeTab: null,+ tableData: ref<DeliveryManagementDetailVO[]>([]),+ tablePage: ref<TablePage>({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: []+ }),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ closeDeliveredDetail: () => {+ data.showDeliveredDetail = false+ },+ viewRow: (row: DeliveryManagementDetailVO) => {+ data.showDeliveredDetailID = row.id+ data.showDeliveredDetail = true+ },+ // Back to the previous step+ backToThePreviousStep(row: DeliveryManagementDetailVO) {+ hookComponent.$dialog({+ content: `${ i18n.global.t('wms.deliveryManagement.confirmBack') }?`,+ handleConfirm: async () => {+ const { data: res } = await cancelOrderByDetail(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: res.data+ })+ method.refresh()+ }+ })+ },+ // Refresh data+ refresh: () => {+ method.getWeighed()+ },+ getWeighed: async () => {+ const { data: res } = await getWeighed(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getWeighed()+ }),+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('wms.deliveryManagement.weighed'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getWeighed()+ },+ handleWeigh: async () => {+ const $table = xTable.value+ const checkTableList = $table.getCheckboxRecords()+ const confirmList: ConfirmItem[] = []+ if (checkTableList.length > 0) {+ // Processing the data required by the window+ for (const item of checkTableList) {+ confirmList.push({+ id: item.id,+ spu_name: item.spu_name,+ spu_code: item.spu_code,+ sku_code: item.sku_code,+ maxQty: item.unweighing_qty,+ qty: item.unweighing_qty,+ weight: item.weight,+ weight_unit: GetUnit('weight', item.weight_unit),+ dispatch_no: item.dispatch_no,+ dispatch_status: item.dispatch_status,+ picked_qty: item.picked_qty+ })+ }+ // data.confirmList = confirmList+ // data.showDialog = true++ WeightConfirmRef.value.openDialog(confirmList)+ } else {+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('base.userManagement.checkboxIsNull') }`+ })+ }+ // data.weighedRow = row+ // data.dialogWeightUnit = row.weight_unit !== undefined ? GetUnit('weight', row.weight_unit) : ''+ // data.dialogMaxQty = row.unweighing_qty ? row.unweighing_qty : 0+ // data.defaultWeight = row.weight ? row.weight : 0+ // data.showDialog = true+ },+ // Callback after entering packaging value+ dialogSubmit: async (list: ConfirmItem[]) => {+ const packList = list.map((item) => ({+ id: item.id,+ dispatch_no: item.dispatch_no,+ dispatch_status: item.dispatch_status,+ weighing_qty: item.qty,+ weighing_weight: item.weight,+ picked_qty: item.picked_qty+ }))+ // if (data.weighedRow) {+ const { data: res } = await handleWeigh(packList)+ if (!res.isSuccess) {+ // 2023-12-06 Add automatic refresh of expired data+ if (httpCodeJudge(res.errorMessage)) {+ method.refresh()++ WeightConfirmRef.value.closeDialog()++ return+ }++ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: res.data+ })+ // method.dialogClose()+ WeightConfirmRef.value.closeDialog()++ method.refresh()+ // }+ },+ // Check if the checkbox can be checked+ getCheckBoxDisableState: ({ row }: { row: DeliveryManagementDetailVO }): boolean => row.is_todo+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'weighed-export',+ click: method.exportTable+ },+ {+ name: i18n.global.t('wms.deliveryManagement.weigh'),+ icon: 'mdi-weight',+ code: 'weighed-weigh',+ click: method.handleWeigh+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)++defineExpose({+ getWeighed: method.getWeighed+})+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/to-be-freightfee.vue b/frontend/src/view/deliveryManagement/deliveryManagement/to-be-freightfee.vuenew file mode 100644index 0000000..622a986--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/to-be-freightfee.vue@@ -0,0 +1,120 @@+<template>+ <v-dialog v-model="isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card class="formCard">+ <v-toolbar color="white" :title="`${$t('wms.deliveryManagement.setFreight')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-text-field+ v-model="data.form.waybill_no"+ :rules="data.rules.waybill_no"+ :label="$t('wms.deliveryManagement.waybill_no')"+ variant="outlined"+ clearable+ ></v-text-field>+ <v-text-field+ v-model="data.form.carrier"+ :label="$t('wms.deliveryManagement.carrier')"+ variant="outlined"+ readonly+ clearable+ @click="method.openSelect()"+ @click:clear="method.valClearable"+ ></v-text-field>+ <v-text-field+ v-model="data.form.departure_city"+ :label="$t('wms.deliveryManagement.departure_city')"+ variant="outlined"+ readonly+ ></v-text-field>+ <v-text-field+ v-model="data.form.arrival_city"+ :label="$t('wms.deliveryManagement.arrival_city')"+ variant="outlined"+ readonly+ ></v-text-field>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ <freight-select :show-dialog="data.dialogSelect" @close="method.closeDialogSelect()" @sureSelect="method.sureSelect" />+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, watch } from 'vue'+import { hookComponent } from '@/components/system/index'+import i18n from '@/languages/i18n'+import freightSelect from '@/components/select/freight-select.vue'+import { FreightVO } from '@/types/Base/Freight'+import { StringLength } from '@/utils/dataVerification/formRule'++const emit = defineEmits(['close', 'submit'])++const props = defineProps<{+ showDialog: boolean+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ dialogSelect: false,+ form: { carrier: '', freightfee_id: 0, departure_city: '', arrival_city: '', waybill_no: '' },+ combobox: {+ freightfee_id: []+ },+ rules: {+ waybill_no: [+ (val: string) => StringLength(val, 0, 64) === '' || StringLength(val, 0, 64)+ ]+ }+})++const method = reactive({+ openSelect: () => {+ data.dialogSelect = true+ },+ closeDialogSelect: () => {+ data.dialogSelect = false+ },+ sureSelect: (selectRecords: FreightVO[]) => {+ if (selectRecords.length > 0) {+ data.form.carrier = selectRecords[0].carrier+ data.form.freightfee_id = selectRecords[0].id ? selectRecords[0].id : 0+ data.form.departure_city = selectRecords[0].departure_city+ data.form.arrival_city = selectRecords[0].arrival_city+ }+ },+ valClearable: () => {+ data.form = { carrier: '', freightfee_id: 0, departure_city: '', arrival_city: '', waybill_no: data.form.waybill_no }+ },+ closeDialog: () => {+ emit('close')+ },+ submit: () => {+ if (data.form.carrier) {+ emit('submit', data.form)+ } else {+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('system.checkText.mustSelect') }${ i18n.global.t('wms.deliveryManagement.carrier') }!`+ })+ }+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ data.form = { carrier: '', freightfee_id: 0, departure_city: '', arrival_city: '', waybill_no: '' }+ }+ }+)+</script>++<style scoped lang="less"></style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/to-be-package-confirm.vue b/frontend/src/view/deliveryManagement/deliveryManagement/to-be-package-confirm.vuenew file mode 100644index 0000000..0975ce3--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/to-be-package-confirm.vue@@ -0,0 +1,77 @@+<template>+ <v-dialog v-model="isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card class="formCard">+ <v-toolbar color="white" :title="`${$t('wms.deliveryManagement.package')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-text-field+ v-model="data.form.qty"+ :rules="data.rules.qty"+ :label="$t('wms.deliveryManagement.detailQty')"+ variant="outlined"+ clearable+ ></v-text-field>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, watch } from 'vue'+import { hookComponent } from '@/components/system/index'+import i18n from '@/languages/i18n'+import { IsInteger } from '@/utils/dataVerification/formRule'++const emit = defineEmits(['close', 'submit'])++const props = defineProps<{+ showDialog: boolean+ maxQty: number+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ form: { qty: 0 },+ rules: {+ qty: [+ (val: number) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.deliveryManagement.detailQty') }!`,+ (val: number) => IsInteger(val, 'greaterThanZero') === '' || IsInteger(val, 'greaterThanZero')+ ]+ }+})++const method = reactive({+ closeDialog: () => {+ emit('close')+ },+ submit: () => {+ if (IsInteger(data.form.qty, 'greaterThanZero') === '' && Number(data.form.qty) > 0 && Number(data.form.qty) <= props.maxQty) {+ emit('submit', data.form.qty)+ } else {+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('wms.deliveryManagement.validQtyMsgPackage') }${ props.maxQty }!`+ })+ }+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ data.form.qty = props.maxQty+ }+ }+)+</script>++<style scoped lang="less"></style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/to-be-sign-in-confirm.vue b/frontend/src/view/deliveryManagement/deliveryManagement/to-be-sign-in-confirm.vuenew file mode 100644index 0000000..9bc9197--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/to-be-sign-in-confirm.vue@@ -0,0 +1,82 @@+<template>+ <v-dialog v-model="isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card class="formCard">+ <v-toolbar color="white" :title="`${$t('wms.deliveryManagement.signIn')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-text-field+ v-model="data.form.qty"+ :rules="data.rules.qty"+ :label="$t('wms.deliveryManagement.damagedQuantity')"+ variant="outlined"+ clearable+ ></v-text-field>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, watch } from 'vue'+import { hookComponent } from '@/components/system/index'+import i18n from '@/languages/i18n'+import { IsInteger } from '@/utils/dataVerification/formRule'++const emit = defineEmits(['close', 'submit'])++const props = defineProps<{+ showDialog: boolean+ dialogDefaultQty: number+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ form: { qty: 0 },+ rules: {+ qty: [+ (val: number) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.deliveryManagement.detailQty') }!`,+ (val: number) => IsInteger(val, 'nonNegative') === '' || IsInteger(val, 'nonNegative')+ ]+ }+})++const method = reactive({+ closeDialog: () => {+ emit('close')+ },+ submit: () => {+ if (IsInteger(data.form.qty, 'nonNegative') === '' && Number(data.form.qty) >= 0 && Number(data.form.qty) <= props.dialogDefaultQty) {+ hookComponent.$dialog({+ content: `${ i18n.global.t('wms.deliveryManagement.irreversible') }, ${ i18n.global.t('wms.deliveryManagement.confirmSignIn') }?`,+ handleConfirm: async () => {+ emit('submit', data.form.qty)+ }+ })+ } else {+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('wms.deliveryManagement.validQtyMsgSignIn') }${ props.dialogDefaultQty }!`+ })+ }+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ data.form.qty = 0+ }+ }+)+</script>++<style scoped lang="less"></style>diff --git a/frontend/src/view/deliveryManagement/deliveryManagement/to-be-weighed-confirm.vue b/frontend/src/view/deliveryManagement/deliveryManagement/to-be-weighed-confirm.vuenew file mode 100644index 0000000..a2b12be--- /dev/null+++ b/frontend/src/view/deliveryManagement/deliveryManagement/to-be-weighed-confirm.vue@@ -0,0 +1,98 @@+<template>+ <v-dialog v-model="isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card class="formCard">+ <v-toolbar color="white" :title="`${$t('wms.deliveryManagement.weigh')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-text-field+ v-model="data.form.qty"+ style="margin-bottom: 5px"+ :rules="data.rules.qty"+ :label="$t('wms.deliveryManagement.detailQty')"+ variant="outlined"+ clearable+ ></v-text-field>+ <v-text-field+ v-model="data.form.weight"+ :label="$t('wms.deliveryManagement.detailWeight') + '(' + weightUnit + ')'"+ :rules="data.rules.weight"+ variant="outlined"+ clearable+ ></v-text-field>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, watch } from 'vue'+import { hookComponent } from '@/components/system/index'+import i18n from '@/languages/i18n'+import { IsInteger, IsDecimal } from '@/utils/dataVerification/formRule'++const emit = defineEmits(['close', 'submit'])++const props = defineProps<{+ showDialog: boolean+ maxQty: number+ defaultWeight: number+ weightUnit: string+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ form: { qty: 0, weight: 0 },+ rules: {+ qty: [+ (val: number) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.deliveryManagement.detailQty') }!`,+ (val: number) => IsInteger(val, 'greaterThanZero') === '' || IsInteger(val, 'greaterThanZero')+ ],+ weight: [+ (val: number) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.deliveryManagement.detailQty') }!`,+ (val: number) => IsDecimal(val, 'nonNegative', 15, 3) === '' || IsDecimal(val, 'nonNegative', 15, 3)+ ]+ }+})++const method = reactive({+ closeDialog: () => {+ emit('close')+ },+ submit: () => {+ if (+ IsInteger(data.form.qty, 'greaterThanZero') === ''+ && IsDecimal(data.form.weight, 'nonNegative', 15, 3) === ''+ && Number(data.form.qty) > 0+ && Number(data.form.qty) <= props.maxQty+ && Number(data.form.weight) > 0+ ) {+ emit('submit', { weighing_qty: data.form.qty, weighing_weight: data.form.weight })+ } else {+ hookComponent.$message({+ type: 'error',+ content: `${ i18n.global.t('wms.deliveryManagement.validQtyMsgPackage') }${ props.maxQty }!`+ })+ }+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ data.form.qty = props.maxQty+ data.form.weight = props.defaultWeight+ }+ }+)+</script>++<style scoped lang="less"></style>diff --git a/frontend/src/view/home/home.vue b/frontend/src/view/home/home.vuenew file mode 100644index 0000000..7a11ce2--- /dev/null+++ b/frontend/src/view/home/home.vue@@ -0,0 +1,47 @@+<template>+ <div class="HomeContainer">+ <HomeSideBar />+ <div class="homeRight">+ <HomeHeader />+ <div class="homeRouterContainer pt-2">+ <RouterView v-slot="{ Component }">+ <keep-alive :include="openedMenus">+ <component :is="Component"></component>+ </keep-alive>+ </RouterView>+ </div>+ </div>+ </div>+</template>++<script lang="ts" setup>+import { computed } from 'vue'+import { store } from '@/store'+import HomeHeader from './homeHeader.vue'+import HomeSideBar from './homeSideBar.vue'++const openedMenus = computed(() => store.getters['system/openedMenus'])+</script>++<style scoped lang="less">+@headerHeight: 60px;+@sideBarWidth: 300px;+@sideBarTitleHeight: 80px;++.HomeContainer {+ width: 100vw;+ height: 100vh;+ display: flex;+ flex-wrap: wrap;++ .homeRight {+ width: calc(100% - @sideBarWidth);+ padding: 0 5%;++ .homeRouterContainer {+ height: calc(100% - @headerHeight);+ box-sizing: border-box;+ }+ }+}+</style>diff --git a/frontend/src/view/home/homeHeader.vue b/frontend/src/view/home/homeHeader.vuenew file mode 100644index 0000000..971e3f6--- /dev/null+++ b/frontend/src/view/home/homeHeader.vue@@ -0,0 +1,248 @@+<template>+ <div class="homeHeader">+ <div class="menuTitle">+ <v-breadcrumbs :items="data.breadcrumbItems">+ <template #prepend>+ <v-icon :color="lightGrey" size="small" icon="mdi-form-select"></v-icon>+ </template>+ </v-breadcrumbs>+ </div>+ <div class="toolsBar">+ <div class="gitSrc mr-4">+ <img src="@/assets/img/gitee.png" alt="Gitee" @click="method.toGit('gitee')" />+ </div>+ <div class="gitSrc mr-4">+ <img src="@/assets/img/github.png" alt="Gitee" @click="method.toGit('github')" />+ </div>+ <div class="gitSrc mr-4">+ <img src="@/assets/img/apifox.png" alt="API" @click="method.toGit('apifox')" />+ </div>+ <LanguagesSwitch />+ <v-menu>+ <template #activator="{ props }">+ <div class="toolItems headPortrait ml-4" v-bind="props">+ <p class="firstName">{{ firstName }}</p>+ <div class="alive"></div>+ </div>+ </template>+ <v-list>+ <v-list-item v-for="(item, index) in data.userOperationMenu" :key="index" :value="index" @click="method.operation(item.value)">+ <v-list-item-title :title="item.title">{{ item.title }}</v-list-item-title>+ </v-list-item>+ </v-list>+ </v-menu>+ </div>+ <ChangePwd ref="ChangePwdRef" />++ <ViewLogDialog ref="ViewLogDialogRef" />+ </div>+</template>++<script lang="ts" setup>+import { reactive, watch, computed, ref } from 'vue'+import { useRouter } from 'vue-router'+import LanguagesSwitch from '@/components/system/languages.vue'+import { lightGrey } from '@/constant/style'+import i18n from '@/languages/i18n'+import { router } from '@/router'+import { store } from '@/store'+import { DataProps } from '@/types/Home/HomeHeader'+import ChangePwd from '@/components/system/change-pwd.vue'+import ViewLogDialog from '@/components/system/view-log-dialog.vue'++const routerInfo = useRouter()+const ChangePwdRef = ref()+const ViewLogDialogRef = ref()++const data: DataProps = reactive({+ breadcrumbItems: [],+ // User Action List+ userOperationMenu: [+ {+ title: i18n.global.t('system.homeHeader.changePwd'),+ value: 'changePwd'+ },+ {+ title: i18n.global.t('system.homeHeader.log'),+ value: 'viewLog'+ },+ {+ title: i18n.global.t('system.homeHeader.logout'),+ value: 'logout'+ }+ ]+})++// Get current page route info+watch(+ () => routerInfo,+ (newValue) => {+ const MODULE = i18n.global.t(`router.sideBar.${ newValue.currentRoute.value.meta.menuModule }`)+ const PATH = i18n.global.t(`router.sideBar.${ newValue.currentRoute.value.meta.menuPath }`)++ data.breadcrumbItems = [+ {+ title: PATH,+ disabled: true+ }+ ]++ if (newValue.currentRoute.value.meta.menuModule) {+ data.breadcrumbItems.unshift({+ title: MODULE,+ disabled: true+ })+ }+ },+ { immediate: true, deep: true }+)++const method = reactive({+ // User operation method+ operation: (value: string) => {+ if (value === 'logout') {+ store.commit('system/clearOpenedMenu')+ store.commit('system/setCurrentRouterPath', '')++ router.push('/login')+ } else if (value === 'changePwd') {+ ChangePwdRef.value.open()+ } else if (value === 'viewLog') {+ ViewLogDialogRef.value.openDialog()+ }+ },+ toGit: (type: string) => {+ if (type === 'gitee') {+ window.open('https://gitee.com/modernwms/ModernWMS', '_blank')+ } else if (type === 'github') {+ window.open('https://github.com/fjykTec/ModernWMS', '_blank')+ } else if (type === 'apifox') {+ window.open('https://apifox.com/apidoc/shared-c34f3f10-1982-4d24-8214-a8c2490fd02e', '_blank')+ }+ }+})++const firstName = computed(() => {+ const userInfo = store.getters['user/userInfo']+ return userInfo?.user_name?.charAt(0) || ''+})+</script>++<style scoped lang="less">+@headerHeight: 60px;++.homeHeader {+ width: 100%;+ height: @headerHeight;+ position: relative;+ display: flex;+ justify-content: space-between;+ align-items: center;+ padding: 0 20px;+ box-sizing: border-box;+ border-radius: 0 0 10px 10px;+ transition: all 0.5s;++ box-shadow: 0 3px 3px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)),+ 0 3px 4px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0 1px 8px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12));+ background-color: rgba(255, 255, 255, 0.5);++ .menuTitle {+ display: flex;++ .v-icon {+ margin-right: 10px;+ }++ span {+ color: #b9b8bc;+ }+ }++ .gitSrc {+ display: flex;+ align-items: center;+ justify-content: flex-end;++ > img {+ width: 24px;+ height: 24px;+ opacity: 0.5;+ }++ :hover {+ cursor: pointer;+ opacity: 1;+ scale: 1.1;+ transition: all ease-in-out 0.2s;+ }+ }+ .toolsBar {+ display: flex;+ align-items: center;+ justify-content: flex-end;++ .toolItems {+ height: 40px;+ width: 40px;+ font-size: 16px;+ display: flex;+ justify-content: center;+ align-items: center;+ transition: all 0.5s;+ border-radius: 40px;+ margin-right: 10px;+ cursor: pointer;++ &:hover {+ background-color: #e4e5ea;+ }++ &:active {+ background-color: #cdced3;+ }+ }++ .bell {+ position: relative;++ .hasNotify {+ margin: 0;+ width: 11px;+ height: 11px;+ border-radius: 11px;+ background-color: #ff4c51;+ border: 1px solid #fff;+ position: absolute;+ top: 5px;+ right: 7px;+ }+ }++ .headPortrait {+ border-radius: 40px;+ width: 40px;+ height: 40px;+ background-color: #e8e2fb;+ position: relative;++ .alive {+ margin: 0;+ width: 11px;+ height: 11px;+ border-radius: 11px;+ background-color: #56ca00;+ border: 1px solid #fff;+ position: absolute;+ bottom: 1px;+ right: 1px;+ }+ }+ }+}++.firstName {+ font-weight: 600;+ color: #9c27b0;+}+</style>diff --git a/frontend/src/view/home/homeSideBar.vue b/frontend/src/view/home/homeSideBar.vuenew file mode 100644index 0000000..537e32c--- /dev/null+++ b/frontend/src/view/home/homeSideBar.vue@@ -0,0 +1,179 @@+<template>+ <div style="height: 100%">+ <div class="homeSidebar">+ <div class="sideBarTitle">+ <Logo :height="50" :top="15" :left="5" />+ </div>+ <div class="sideBarMenus">+ <div v-for="(item, index) in data.menuList" :key="index">+ <div class="menuItems" :class="method.getItemClass(item)" @click="method.openMenu(item)">+ <div style="display: flex; align-items: center; height: 100%">+ <div class="menuIcon">+ <v-icon+ :icon="item.icon ? 'mdi-' + item.icon : 'mdi-checkbox-blank-circle-outline'"+ :size="18"+ :color="currentRouterPath === item.routerPath ? '#fff' : '#524e59'"+ ></v-icon>+ </div>+ <div class="menuLabel">{{ item.lable }}</div>+ </div>+ <div v-if="item.children && item.children.length > 0" :class="item.showDetail && 'rotate90'">+ <v-icon icon="mdi-chevron-right" color="#524e59" :size="22"></v-icon>+ </div>+ </div>+ <!-- <Transition name="menu"> -->+ <v-expand-transition>+ <div v-show="item.showDetail">+ <div+ v-for="(detailItem, detailIndex) in item.children"+ :key="detailIndex"+ class="menuItems padding-l"+ :class="method.getItemClass(detailItem)"+ @click="method.openMenu(detailItem)"+ >+ <div style="display: flex; align-items: center; height: 100%">+ <div class="menuIcon">+ <v-icon+ :icon="detailItem.icon ? `mdi-${detailItem.icon}` : 'mdi-checkbox-blank-circle-outline'"+ :size="14"+ :color="currentRouterPath === detailItem.routerPath ? '#fff' : '#524e59'"+ ></v-icon>+ </div>+ <div class="menuLabel">{{ detailItem.lable }}</div>+ </div>+ </div>+ </div>+ </v-expand-transition>+ <!-- </Transition> -->+ </div>+ </div>+ </div>+ </div>+</template>++<script lang="ts" setup>+import { reactive, onMounted, computed } from 'vue'+import Logo from '@/components/system/logo.vue'+import { SideBarMenu, SideBarDataProps } from '@/types/Home/Home'+import { menusToSideBar } from '@/utils/router'+import { store } from '@/store'+import { router } from '@/router'++const data: SideBarDataProps = reactive({+ menuList: []+})++const method = reactive({+ // Open menu+ openMenu: (item: SideBarMenu) => {+ if (item.children && item.children.length > 0) {+ item.showDetail = !item.showDetail+ } else if (item.routerPath && currentRouterPath.value !== item.routerPath) {+ // If the selected menu is skipped, no action will be taken+ store.commit('system/setCurrentRouterPath', item.routerPath)+ store.commit('system/addOpenedMenu', item.routerPath)+ router.push(item.routerPath)+ }+ // if (menuName === 'login') {+ // store.commit('system/clearOpenedMenu', menuName)+ // } else {+ // store.commit('system/addOpenedMenu', menuName)+ // }+ // router.push(menuName)+ },+ // Get item class+ getItemClass: (item: SideBarMenu) => {+ if (item.children && item.children.length > 0 && item.showDetail) {+ return 'openedMenuItems'+ }+ if (currentRouterPath.value === item.routerPath) {+ return 'activeMenuItems'+ }+ return ''+ }+})++// Currently selected menu+const currentRouterPath = computed(() => store.getters['system/currentRouterPath'])++onMounted(() => {+ data.menuList = menusToSideBar()+})+</script>++<style scoped lang="less">+@headerHeight: 60px;+@sideBarWidth: 300px;+@sideBarTitleHeight: 70px;+.homeSidebar {+ width: @sideBarWidth;+ box-shadow: 5px 5px 5px #dbdce2;+ height: 100%;+ .sideBarTitle {+ height: @sideBarTitleHeight;+ position: relative;+ }+ .sideBarMenus {+ height: calc(100% - @sideBarTitleHeight);+ overflow: auto;+ .menuItems {+ // height: 42px;+ width: calc(100% - 20px);+ box-sizing: border-box;+ padding: 10px 0;+ padding-left: 22px;+ padding-right: 8px;+ border-radius: 0 50px 50px 0;+ margin-bottom: 7px;+ display: flex;+ justify-content: space-between;+ align-items: center;+ color: #696671;+ cursor: pointer;+ .menuIcon {+ height: 100%;+ width: 20px;+ margin-right: 10px;+ display: flex;+ justify-content: center;+ align-items: center;+ .v-icon {+ width: 10px;+ height: 10px;+ }+ }+ &:hover {+ background-color: #edeef3;+ }+ }++ .openedMenuItems {+ background-color: #e8e9ed;+ }+ .activeMenuItems {+ background: linear-gradient(to right, #af85fc, #9155fd);+ color: #fff;+ &:hover {+ background: linear-gradient(to right, #af85fc, #9155fd);+ }+ }++ &::-webkit-scrollbar {+ width: 7px;+ }++ &::-webkit-scrollbar-thumb {+ border-radius: 20px;+ background-color: #e5e5e9;+ }+ }+}++.rotate90 {+ transform: rotate(90deg);+}++.padding-l{+ padding-left: 44px !important;+}+</style>diff --git a/frontend/src/view/home/homepage/homepage.vue b/frontend/src/view/home/homepage/homepage.vuenew file mode 100644index 0000000..6a3418f--- /dev/null+++ b/frontend/src/view/home/homepage/homepage.vue@@ -0,0 +1,76 @@+<template>+ <div class="container">+ <div class="textBox">+ <div class="mainTitle">ModernWMS</div>+ <div class="subTitle">{{ i18n.global.t('homepage.subTitle') }}</div>+ </div>+ <div class="content">+ <div class="lottieBox">+ <lottie :src="dataJson"></lottie>+ </div>+ </div>+ </div>+</template>++<script lang="ts" setup>+import lottie from '@/components/lottie.vue'+import dataJson from '@/assets/warehouse.json'+import i18n from '@/languages/i18n'+</script>++<style scoped lang="less">+.container {+ width: 100%;+ height: 100%;+ display: flex;+ justify-content: center;+ position: relative;+ align-items: center;+}+.VWMS{+ position: absolute;+ top: 0;+ display: flex;+ align-items: center;+ width: 40%;+ z-index: 999999999;+}++.content {+ width: 60%;+}++.textBox {+ width: 100%;+ position: absolute;+ left: 50%;+ top: 5%;+ transform: translate(-50%, 0);+ letter-spacing: 5px;+ z-index: 999;+ font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;+}++.mainTitle {+ display: flex;+ justify-content: center;+ width: 100%;+ color: #9c27b0;+ font-weight: bold;+ font-size: 120px;+}++.subTitle {+ display: flex;+ justify-content: center;+ width: 100%;+ font-size: 30px;+ letter-spacing: 5px;+ color: #c9a7cf;+}++.lottieBox {+ min-width: 100%;+ max-width: 100%;+}+</style>diff --git a/frontend/src/view/login/login.vue b/frontend/src/view/login/login.vuenew file mode 100644index 0000000..3683a69--- /dev/null+++ b/frontend/src/view/login/login.vue@@ -0,0 +1,91 @@+<template>+ <div class="loginContainer">+ <Logo />+ <div class="loginLeft">+ <img src="../../assets/img/loginLeft.png" style="width: 80%" />+ </div>+ <div class="loginRight">+ <div class="LanguagesSwitchContainer">+ <LanguagesSwitch />+ </div>+ <LoginForm />+ </div>++ <div class="copyRight">+ <a href="https://modernwms.ikeyly.com" target="_blank">CopyRight © 2023 ModernWMS All Rights Reserve</a>+ </div>+ <div class="ICP" @click="method.toICP"> 闽ICP备2021008548号 </div>+ </div>+</template>++<script lang="ts" setup>+import { reactive, onMounted } from 'vue'+import LoginForm from '@/components/login/login-form.vue'+import LanguagesSwitch from '@/components/system/languages.vue'+import Logo from '@/components/system/logo.vue'+import { emitter } from '@/utils/bus'++const method = reactive({+ toICP: () => {+ window.open('https://beian.miit.gov.cn/', '_blank')+ }+})++// Return to the login interface to clear the status+onMounted(() => {+ emitter.emit('closeLoading')+})+</script>++<style scoped lang="less">+.LanguagesSwitchContainer {+ position: absolute;+ right: 10px;+ top: 10px;+}+.loginContainer {+ width: 100%;+ height: 100%;+ display: flex;+ background-color: #fff;+ // position: relative;+ .loginLeft {+ width: 70%;+ display: flex;+ align-items: center;+ justify-content: center;+ }+ .loginRight {+ width: 30%;+ background-color: #fafafa;+ display: flex;+ align-items: center;+ }+}++.copyRight {+ width: 100%;+ color: #bbb;+ display: flex;+ justify-content: center;+ font-size: 12px;+ position: absolute;+ bottom: 30px;+ left: 50%;+ transform: translate(-50%, -50%);+}++.ICP {+ color: #999;+ font-size: 12px;+ position: absolute;+ bottom: 10px;+ left: 50%;+ transform: translate(-50%, -50%);++ &:hover {+ cursor: pointer;+ color: #aaa;+ }+}+</style>diff --git a/frontend/src/view/pageTemplate/PageTemplate.vue b/frontend/src/view/pageTemplate/PageTemplate.vuenew file mode 100644index 0000000..ed2dd70--- /dev/null+++ b/frontend/src/view/pageTemplate/PageTemplate.vue@@ -0,0 +1,245 @@+<template>+ <div class="container">+ <div>+ <!-- According to your own need to decide whether to the tab, if you don't need that you can delete <v-tabs> -->+ <v-tabs v-model="data.activeTab" stacked>+ <v-tab v-for="(item, index) of tabsConfig" :key="index" :value="item.value">+ <v-icon>{{ item.icon }}</v-icon>+ <p class="tabItemTitle">{{ item.tabName }}</p>+ </v-tab>+ </v-tabs>++ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <v-window v-model="data.activeTab">+ <!-- If you have more than one tab, you should write more <v-window-item> and give it 'value' -->+ <v-window-item value="tabOne">+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.add')"></tooltip-btn>+ <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"></tooltip-btn>+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <!--+ Don't delete v-col whether you don't need.+ If you only need one query, you should write:++ <v-col cols="4"></v-col>+ <v-col cols="4"></v-col>+ <v-col cols="4">Some Thing</v-col>+ -->+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.userName"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('login.userName')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.userName1"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('login.userName')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.userName2"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('login.userName')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="160" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-pencil-outline"+ :tooltip-text="$t('system.page.edit')"+ @click="method.editRow(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="errorColor"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ </v-window-item>+ </v-window>+ </v-card-text>+ </v-card>+ </div>+ </div>+</template>++<script lang="ts" setup>+import { computed, ref, reactive, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight, errorColor } from '@/constant/style'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import tooltipBtn from '@/components/tooltip-btn.vue'+import i18n from '@/languages/i18n'+import customPager from '@/components/custom-pager.vue'+import { exportData } from '@/utils/exportTable'++const xTable = ref()++/**+ * Table Model, this just a example+ * You should put it on the 'types' folder+ */+interface UserVO {+ id: number+ name: string+ role: string+ sex: string+ age: number+ address: string+}++const tabsConfig = [+ {+ value: 'tabOne',+ icon: 'mdi-phone',+ tabName: 'tabOne'+ }+]++const data = reactive({+ // TODO Adjust the search prop what you want+ searchForm: {+ userName: '',+ userName1: '',+ userName2: ''+ },+ activeTab: null,+ tableData: ref<UserVO[]>([+ { id: 10001, name: 'Test1', role: 'Develop', sex: 'Man', age: 28, address: 'test abc' },+ { id: 10002, name: 'Test2', role: 'Test', sex: 'Women', age: 22, address: 'Guangzhou' },+ { id: 10003, name: 'Test3', role: 'PM', sex: 'Man', age: 32, address: 'Shanghai' },+ { id: 10004, name: 'Test4', role: 'Designer', sex: 'Women', age: 24, address: 'Shanghai' }+ ]),+ tablePage: reactive({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE+ })+})++const method = reactive({+ editRow(row: any) {+ console.log(row)+ },+ deleteRow(row: any) {+ console.log(row)+ },+ sureSearch: () => {+ console.log(data.searchForm)+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize+ // TODO Get datas what you want+ }),+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ // TODO Write filename according to your file.+ filename: i18n.global.t('base.warehouseSetting.locationSetting'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ }+})++onMounted(() => {+ // TODO Get datas what you want+})++/**+ * computedCardHeight({ hasTab, hasOperate })+ * Must enter the params if you don't need tab or operate area+ * Defaultly, the 'hasTab' and 'hasOperate' are true+ */+const cardHeight = computed(() => computedCardHeight({}))++/**+ * computedTableHeight({ hasPager, hasTab, hasOperate })+ * Must enter the params if you don't need pager or tab or operate area+ * Defaultly, the 'hasPager' and 'hasTab' and 'hasOperate' are true+ */+const tableHeight = computed(() => computedTableHeight({}))+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/statisticAnalysis/asnStatistic/asnStatistic.vue b/frontend/src/view/statisticAnalysis/asnStatistic/asnStatistic.vuenew file mode 100644index 0000000..3eee8c6--- /dev/null+++ b/frontend/src/view/statisticAnalysis/asnStatistic/asnStatistic.vue@@ -0,0 +1,333 @@+<!-- Warehouse Freeze -->+<template>+ <div class="container">+ <div>+ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <v-window v-model="data.activeTab">+ <v-window-item>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <BtnGroup :authority-list="data.authorityList" :btn-list="btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <search-group+ ref="searchGroupRef"+ v-model="data.searchForm"+ :menu-name="data.menu_name"+ i18n-prefix="wms.stockAsnInfo"+ @sure-search="method.sureSearch"+ />+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ v-if="data.currentRender === 'table'"+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table+ ref="xTableStockLocation"+ :column-config="{ minWidth: '100px' }"+ :data="data.tableData"+ :height="tableHeight"+ align="center"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <!-- <vxe-column type="checkbox" width="50"></vxe-column> -->+ <vxe-column field="asn_no" :title="$t('wms.stockAsnInfo.asn_no')"></vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.stockAsnInfo.spu_code')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.stockAsnInfo.spu_name')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.stockAsnInfo.sku_code')">+ <template #default="{ row }">+ <div :class="'text-decoration-none'" @click="method.showSkuInfo(row)"> {{ row.sku_code }}</div>+ </template>+ </vxe-column>+ <vxe-column field="sku_name" :title="$t('wms.stockAsnInfo.sku_name')"></vxe-column>+ <vxe-column field="goods_owner_name" :title="$t('wms.stockAsnInfo.goods_owner_name')"></vxe-column>+ <vxe-column field="supplier_name" :title="$t('wms.stockAsnInfo.supplier_name')"></vxe-column>+ <vxe-column field="asn_qty" :title="$t('wms.stockAsnInfo.asn_qty')"></vxe-column>+ <vxe-column field="weight" :title="$t('wms.stockAsnInfo.weight')"></vxe-column>+ <vxe-column field="volume" :title="$t('wms.stockAsnInfo.volume')"></vxe-column>+ <vxe-column field="actual_qty" :title="$t('wms.stockAsnInfo.actual_qty')"></vxe-column>+ <vxe-column field="sorted_qty" :title="$t('wms.stockAsnInfo.sorted_qty')"></vxe-column>+ <vxe-column field="shortage_qty" :title="$t('wms.stockAsnInfo.shortage_qty')"></vxe-column>+ <vxe-column field="more_qty" :title="$t('wms.stockAsnInfo.more_qty')"></vxe-column>+ <vxe-column field="damage_qty" :title="$t('wms.stockAsnInfo.damage_qty')"></vxe-column>+ <!-- <vxe-column field="operate" :title="$t('system.page.operate')" width="160" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-eye-outline"+ :tooltip-text="$t('system.page.view')"+ @click="method.viewRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column> -->+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ <div+ v-else+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <Chart type="asn" :chart-data="data.tableData" />+ </div>++ <skuInfo :show-dialog="data.showDialogShowInfo" :form="data.dialogForm" @close="method.closeDialogShowInfo" />+ </v-window-item>+ </v-window>+ </v-card-text>+ </v-card>+ </div>+ </div>++ <view-detail-dialog ref="ViewDetailDialogRef" />+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { DEBOUNCE_TIME } from '@/constant/system'+import { getMenuAuthorityList, setSearchObject } from '@/utils/common'+import { SearchObject, btnGroupItem } from '@/types/System/Form'+import i18n from '@/languages/i18n'+import customPager from '@/components/custom-pager.vue'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'+import { hookComponent } from '@/components/system'+import skuInfo from '@/view/wms/stockAsn/sku-info.vue'+import { StockAsnVO } from '@/types/WMS/StockAsn'+import { getStockAsnList } from '@/api/wms/stockAsn'+import ViewDetailDialog from '@/view/wms/stockAsn/view-detail-dialog.vue'+import SearchGroup from '@/components/system/search-group.vue'+import Chart from '../components/Chart.vue'++const xTableStockLocation = ref()+const ViewDetailDialogRef = ref()+const searchGroupRef = ref()++const data = reactive({+ showDialog: false,+ showDialogShowInfo: false,+ searchForm: {+ supplier_name: '',+ sku_name: '',+ spu_code: '',+ spu_name: '',+ sku_code: '',+ goods_owner_name: ''+ },+ activeTab: null,+ tableData: ref<StockAsnVO[]>([]),+ dialogForm: ref<StockAsnVO>({+ id: 0,+ asn_no: '',+ asn_batch: '',+ estimated_arrival_time: '',+ // asn_status: 0,+ // weight: 0,+ // volume: 0,+ // goods_owner_id: 0,+ // goods_owner_name: '',+ // creator: '',+ // create_time: '',+ // last_update_time: '',+ detailList: []+ }),+ tablePage: reactive({+ total: 0,+ sqlTitle: 'asn_status:4',+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ timer: ref<any>(null),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList(),+ // Local search criteria settings+ menu_name: 'asnStatistic',+ currentRender: 'table'+})++const method = reactive({+ // Switch Chart Mode+ switchRenderMode: () => {+ if (data.currentRender === 'chart') {+ data.currentRender = 'table'+ } else {+ data.currentRender = 'chart'+ }+ },+ // Set Search+ handleSetSearch: () => {+ searchGroupRef.value.openDialog()+ },+ // View Rows+ // viewRow: (row: StockAsnVO) => {+ // ViewDetailDialogRef.value.openDialog(row.id)+ // },+ closeDialogShowInfo: () => {+ data.showDialogShowInfo = false+ },+ showSkuInfo(row: StockAsnVO) {+ data.dialogForm = JSON.parse(JSON.stringify(row))+ data.showDialogShowInfo = true+ },+ // Refresh data+ refresh: () => {+ method.getStockAsnList()+ },+ getStockAsnList: async () => {+ const { data: res } = await getStockAsnList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getStockAsnList()+ }),+ exportTable: () => {+ const $table = xTableStockLocation.value+ exportData({+ table: $table,+ filename: i18n.global.t('wms.stockAsn.tabReceiptDetails'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getStockAsnList()+ }+})++onMounted(() => {+ // data.btnList = [+ // {+ // name: i18n.global.t('system.page.refresh'),+ // icon: 'mdi-refresh',+ // code: '',+ // click: method.refresh+ // },+ // {+ // name: i18n.global.t('system.page.export'),+ // icon: 'mdi-export-variant',+ // code: 'export',+ // click: method.exportTable+ // },+ // {+ // name: i18n.global.t('system.page.setSearch'),+ // icon: 'mdi-cog',+ // code: '',+ // click: method.handleSetSearch+ // },+ // {+ // name: i18n.global.t('system.page.chart'),+ // icon: 'mdi-chart-bar',+ // code: '',+ // click: method.switchRenderMode+ // }+ // ]+ // method.refresh()+})++const cardHeight = computed(() => computedCardHeight({ hasTab: false }))+const tableHeight = computed(() => computedTableHeight({ hasTab: false }))+const btnList = computed(() => [+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'export',+ click: method.exportTable+ },+ {+ name: i18n.global.t('system.page.setSearch'),+ icon: 'mdi-cog',+ code: '',+ click: method.handleSetSearch+ },+ {+ name: data.currentRender !== 'chart' ? i18n.global.t('system.page.chart') : i18n.global.t('system.page.table'),+ icon: data.currentRender !== 'chart' ? 'mdi-chart-bar' : 'mdi-table',+ code: '',+ click: method.switchRenderMode+ }+])++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/statisticAnalysis/components/Chart.vue b/frontend/src/view/statisticAnalysis/components/Chart.vuenew file mode 100644index 0000000..ae04225--- /dev/null+++ b/frontend/src/view/statisticAnalysis/components/Chart.vue@@ -0,0 +1,187 @@+<!--+ @name : Chart.vue+ @Description :+ @author : linxingmin+ @date : 2023/10/26+-->+<template>+ <div class="chat-container">+ <v-select+ v-model="selectType"+ :items="selectList"+ :label="$t('base.printSolution.vue_path')"+ class="select"+ item-title="label"+ item-value="value"+ variant="outlined"+ >+ </v-select>+ <div ref="chatRef" class="chat" />+ </div>+</template>++<script lang="ts" setup>+import { onMounted, ref, watch } from 'vue'+import * as echarts from 'echarts'+import { EChartsOption, EChartsType } from 'echarts'+import _ from 'lodash'+import { StockAsnVO } from '@/types/WMS/StockAsn'+import { DeliveryStatisticVo } from '@/types/WMS/DeliveryStatistic'+import i18n from '@/languages/i18n'++const props = defineProps<{+ chartData: StockAsnVO[] | DeliveryStatisticVo[],+ type: string+}>()++onMounted(() => {+ handleSelectChange()+ initCharts()+})+const selectList = [{+ label: i18n.global.t('wms.deliveryStatistic.goods_owner_name'),+ value: 'goodsOwnerName'+},+ {+ label: i18n.global.t('wms.deliveryStatistic.category_name'),+ value: 'categoryName'+ }]+const chatRef = ref()+const selectType = ref('goodsOwnerName')++let chat: EChartsType+const initCharts = () => {+ if (chat) chat.dispose()+ chat = echarts.init(chatRef.value)+ // chat.on('legendselectchanged', (params:any) => {+ // const legendName = params.name+ // const yAxisName = legendName === '数量' ? '数量' : '金额(元)'+ // chat.setOption({+ // yAxis: {+ // name: yAxisName+ // }+ // })+ // })+ const option: EChartsOption = {+ tooltip: {+ trigger: 'axis',+ axisPointer: {+ type: 'shadow',+ label: {+ show: true+ }+ }+ },+ toolbox: {+ show: true,+ feature: {+ mark: { show: true },+ dataView: {+ show: true,+ readOnly: false+ },+ magicType: {+ show: true,+ type: ['line', 'bar']+ },+ restore: { show: true },+ saveAsImage: { show: true }+ }+ },+ calculable: true,+ legend: {+ data: [i18n.global.t('wms.deliveryStatistic.amount'), i18n.global.t('wms.deliveryStatistic.amount_money')],+ itemGap: 5,+ selectedMode: 'single'+ },+ xAxis: [+ {+ type: 'category',+ data: xAxisData.value+ }+ ],+ yAxis: [+ {+ type: 'value',+ // name: '数量',+ axisLabel: {+ formatter(a) {+ return a.toLocaleString()+ }+ }+ }+ ],+ dataZoom: [+ {+ show: true,+ start: 0,+ end: 100+ }+ ],+ series: [+ {+ name: i18n.global.t('wms.deliveryStatistic.amount'),+ type: 'bar',+ data: sumAmountData.value+ },+ {+ name: i18n.global.t('wms.deliveryStatistic.amount_money'),+ type: 'bar',+ data: sumAmountMoneyData.value+ }+ ]+ }+ chat.setOption(option)+}++const xAxisData = ref<string[]>([])+const sumAmountData = ref<number[]>([])+const sumAmountMoneyData = ref<number[]>([])+const handleSelectChange = () => {+ xAxisData.value = []+ sumAmountData.value = []+ sumAmountMoneyData.value = []+ if (props.type === 'delivery') {+ const filterCondition = selectType.value === 'goodsOwnerName' ? 'goods_owner_name' : 'sku_name'+ const groupedData = _.groupBy(props.chartData, filterCondition)+ _.forEach(groupedData, (group, key) => {+ const sumAmount = _.sumBy(group, 'delivery_qty')+ const sumAmountMoney = _.sumBy(group, 'delivery_amount')+ xAxisData.value.push(key)+ sumAmountData.value.push(sumAmount)+ sumAmountMoneyData.value.push(sumAmountMoney)+ })+ } else {+ const filterCondition = selectType.value === 'goodsOwnerName' ? 'goods_owner_name' : 'sku_name'+ const groupedData = _.groupBy(props.chartData, filterCondition)+ _.forEach(groupedData, (group, key) => {+ const sumAmount = _.sumBy(group, 'actual_qty')+ xAxisData.value.push(key)+ sumAmountData.value.push(sumAmount)+ sumAmountMoneyData.value = []+ })+ }+ initCharts()+}+watch(selectType, handleSelectChange)+watch(() => props.chartData, handleSelectChange)++</script>++<style lang="less" scoped>+.chat-container {+ width: 100%;+ height: 100%;+ display: grid;+ grid-template-rows: 60px 1fr;++ .select {+ width: 240px;+ }+}++.chat {+ width: 100%;+ height: 100%;+}+</style>\ No newline at end of filediff --git a/frontend/src/view/statisticAnalysis/deliveryStatistic/deliveryStatistic.vue b/frontend/src/view/statisticAnalysis/deliveryStatistic/deliveryStatistic.vuenew file mode 100644index 0000000..aa3ac59--- /dev/null+++ b/frontend/src/view/statisticAnalysis/deliveryStatistic/deliveryStatistic.vue@@ -0,0 +1,295 @@+<!-- Warehouse Freeze -->+<template>+ <div class="container">+ <div>+ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <v-window v-model="data.activeTab">+ <v-window-item>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <BtnGroup :authority-list="data.authorityList" :btn-list="btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <search-group+ ref="searchGroupRef"+ v-model="data.searchForm"+ :menu-name="data.menu_name"+ i18n-prefix="wms.deliveryStatistic"+ @sure-search="method.sureSearch"+ />+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ v-if="data.currentRender === 'table'"+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :column-config="{ minWidth: '120px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="dispatch_no" :title="$t('wms.deliveryStatistic.dispatch_no')"></vxe-column>+ <vxe-column field="warehouse_name" :title="$t('wms.deliveryStatistic.warehouse_name')"></vxe-column>+ <vxe-column field="location_name" :title="$t('wms.deliveryStatistic.location_name')"></vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.deliveryStatistic.spu_code')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.deliveryStatistic.spu_name')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.deliveryStatistic.sku_code')"></vxe-column>+ <vxe-column field="sku_name" :title="$t('wms.deliveryStatistic.sku_name')"></vxe-column>+ <vxe-column field="customer_name" :title="$t('wms.deliveryStatistic.customer_name')"></vxe-column>+ <vxe-column field="series_number" :title="$t('wms.deliveryStatistic.series_number')"></vxe-column>+ <vxe-column field="delivery_qty" :title="$t('wms.deliveryStatistic.delivery_qty')"></vxe-column>+ <vxe-column+ field="delivery_date"+ :title="$t('wms.deliveryStatistic.delivery_date')"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ ></vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>++ <div+ v-else+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <Chart type="delivery" :chart-data="data.tableData" />+ </div>+ </v-window-item>+ </v-window>+ </v-card-text>+ </v-card>+ </div>+ </div>+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { DEBOUNCE_TIME } from '@/constant/system'+import { getMenuAuthorityList } from '@/utils/common'+import { SearchObject, btnGroupItem } from '@/types/System/Form'+import i18n from '@/languages/i18n'+import customPager from '@/components/custom-pager.vue'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'+import { list as getDeliveryStatisticList } from '@/api/wms/deliveryStatistic'+import { hookComponent } from '@/components/system'+import { DeliveryStatisticVo } from '@/types/WMS/DeliveryStatistic'+import SearchGroup from '@/components/system/search-group.vue'+import Chart from '../components/Chart.vue'++const xTable = ref()+const searchGroupRef = ref()++const data = reactive({+ showDialog: false,+ timer: ref<any>(null),+ activeTab: null,+ searchForm: {+ spu_code: '',+ spu_name: '',+ sku_code: '',+ sku_name: '',+ warehouse_name: '',+ customer_name: '',+ delivery_date_from: '',+ delivery_date_to: ''+ },+ tableData: ref<DeliveryStatisticVo[]>([]),+ tablePage: reactive({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList(),+ // Local search criteria settings+ menu_name: 'deliveryStatistic',+ currentRender: 'table'+})++const method = reactive({+ // Switch Chart Mode+ switchRenderMode: () => {+ if (data.currentRender === 'chart') {+ data.currentRender = 'table'+ } else {+ data.currentRender = 'chart'+ }+ },+ // get data+ list: async () => {+ const searchForm = {}++ for (const item of Object.keys(data.searchForm)) {+ if (data.searchForm[item]) {+ searchForm[item] = data.searchForm[item]+ }+ }++ const { data: res } = await getDeliveryStatisticList({ ...data.tablePage, ...searchForm })+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },++ // Refresh data+ refresh: () => {+ method.list()+ },++ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },++ // Pagination function+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize+ method.refresh()+ }),++ // Export Table+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.deliveryStatistic'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },++ sureSearch: () => {+ // data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.refresh()+ },++ // Set Search+ handleSetSearch: () => {+ searchGroupRef.value.openDialog()+ }+})++onMounted(() => {+ // data.btnList = [+ // {+ // name: i18n.global.t('system.page.refresh'),+ // icon: 'mdi-refresh',+ // code: '',+ // click: method.refresh+ // },+ // {+ // name: i18n.global.t('system.page.export'),+ // icon: 'mdi-export-variant',+ // code: 'export',+ // click: method.exportTable+ // },+ // {+ // name: i18n.global.t('system.page.setSearch'),+ // icon: 'mdi-cog',+ // code: '',+ // click: method.handleSetSearch+ // }+ // ]+ // method.refresh()+})++const cardHeight = computed(() => computedCardHeight({ hasTab: false }))+const tableHeight = computed(() => computedTableHeight({ hasTab: false }))+const btnList = computed(() => [+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'export',+ click: method.exportTable+ },+ {+ name: i18n.global.t('system.page.setSearch'),+ icon: 'mdi-cog',+ code: '',+ click: method.handleSetSearch+ },+ {+ name: data.currentRender !== 'chart' ? i18n.global.t('system.page.chart') : i18n.global.t('system.page.table'),+ icon: data.currentRender !== 'chart' ? 'mdi-chart-bar' : 'mdi-table',+ code: '',+ click: method.switchRenderMode+ }+])++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/statisticAnalysis/saftyStock/saftyStock.vue b/frontend/src/view/statisticAnalysis/saftyStock/saftyStock.vuenew file mode 100644index 0000000..a3866db--- /dev/null+++ b/frontend/src/view/statisticAnalysis/saftyStock/saftyStock.vue@@ -0,0 +1,225 @@+<!-- Warehouse Freeze -->+<template>+ <div class="container">+ <div>+ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <v-window v-model="data.activeTab">+ <v-window-item>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4"></v-col>+ <v-col cols="4"></v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.spu_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.stockList.spu_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :column-config="{ minWidth: '120px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="warehouse_name" :title="$t('wms.saftyStock.warehouse_name')"></vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.saftyStock.spu_code')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.saftyStock.spu_name')"></vxe-column>+ <vxe-column field="sku_id" :title="$t('wms.saftyStock.sku_id')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.saftyStock.sku_code')"></vxe-column>+ <vxe-column field="sku_name" :title="$t('wms.saftyStock.sku_name')"></vxe-column>+ <vxe-column field="qty" :title="$t('wms.saftyStock.qty')"></vxe-column>+ <vxe-column field="qty_available" :title="$t('wms.saftyStock.qty_available')"></vxe-column>+ <vxe-column field="qty_locked" :title="$t('wms.saftyStock.qty_locked')"></vxe-column>+ <vxe-column field="qty_frozen" :title="$t('wms.saftyStock.qty_frozen')"></vxe-column>+ <vxe-column field="safety_stock_qty" :title="$t('wms.saftyStock.safety_stock_qty')"></vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ </v-window-item>+ </v-window>+ </v-card-text>+ </v-card>+ </div>+ </div>+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { FREEZE_JOB_FREEZE } from '@/constant/warehouseWorking'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { SearchObject, btnGroupItem } from '@/types/System/Form'+import i18n from '@/languages/i18n'+import customPager from '@/components/custom-pager.vue'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'+import { list as getSafetyStockList } from '@/api/wms/saftyStock'+import { hookComponent } from '@/components/system'+import { SafetyStockVo } from '@/types/WMS/SafetyStock'++const xTable = ref()++const data = reactive({+ showDialog: false,+ freezeType: FREEZE_JOB_FREEZE,+ timer: ref<any>(null),+ activeTab: null,+ searchForm: {+ spu_name: ''+ },+ tableData: ref<SafetyStockVo[]>([]),+ tablePage: reactive({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ // get data+ list: async () => {+ const { data: res } = await getSafetyStockList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },++ // Refresh data+ refresh: () => {+ method.list()+ },++ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },++ // Pagination function+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize+ method.refresh()+ }),++ // Export Table+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.saftyStock'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },++ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.refresh()+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'export',+ click: method.exportTable+ }+ ]++ method.refresh()+})++const cardHeight = computed(() => computedCardHeight({ hasTab: false }))+const tableHeight = computed(() => computedTableHeight({ hasTab: false }))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/vwms/Detail.vue b/frontend/src/view/vwms/Detail.vuenew file mode 100644index 0000000..1b12c82--- /dev/null+++ b/frontend/src/view/vwms/Detail.vue@@ -0,0 +1,185 @@+<!--+ @name : Detail.vue+ @Description :+ @author : saal+ @date : 2023/10/9+-->+<template>+ <div class="warehouse-info VWms-card">+ <Transition name="slide-fade">+ <div v-if="props.presentData?.type === 'warehouse'">+ <div class="header">+ <p class="main-title">{{ props.presentData?.warehouse_name }}</p>+ <p class="sub-title">{{ props.presentData?.address }}</p>+ </div>+ <div class="text-grid">+ <p>负责人:</p>+ <p>{{ props.presentData?.manager }}</p>+ <p>联系电话:</p>+ <p>{{ props.presentData?.contact_tel }}</p>+ <p>Email:</p>+ <p>{{ props.presentData?.email }}</p>+ </div>+ <v-divider></v-divider>+ <div class="data-grid">+ <div class="column-center data-container">+ <p class="data-label">库区数</p>+ <p class="data-number">{{ props.presentData?.factory_number }}</p>+ </div>+ <div class="column-center data-container">+ <p class="data-label">库存量</p>+ <p class="data-number">{{ props.presentData?.warehouse_product_number }}</p>+ </div>+ </div>+ </div>+ </Transition>+ <Transition name="slide-fade">+ <div v-show="props.presentData?.type === 'factory'">+ <div class="header">+ <p class="main-title">{{ props.presentData?.area_name }}</p>+ <p class="sub-title">{{ formatAreaProperty(props.presentData?.area_property) }}</p>+ </div>+ <v-divider></v-divider>+ <div class="data-grid">+ <div class="column-center data-container">+ <p class="data-label">总货架数</p>+ <p class="data-number">{{ props.presentData?.shelf_number }}</p>+ </div>+ <div class="column-center data-container">+ <p class="data-label">总库位数</p>+ <p class="data-number">{{ props.presentData?.shelf_item_number }}</p>+ </div>+ <div class="column-center data-container">+ <p class="data-label">剩余库位</p>+ <p class="data-number">{{ props.presentData?.surplus_number }}</p>+ </div>+ <div class="column-center data-container">+ <p class="data-label">总货物数</p>+ <p class="data-number">{{ props.presentData?.factory_product_number }}</p>+ </div>+ </div>+ </div>+ </Transition>+ <Transition name="slide-fade">+ <div v-show="props.presentData?.type === 'shelf'">+ <div class="flex-center-between">+ <div class="header">+ <p class="main-title">{{ props.presentData?.shelf_name }}</p>+ </div>+ <p><span class="em">货架规格: </span>{{ props.presentData?.layer }} * {{ props.presentData?.column }}</p>+ </div>+ <v-divider></v-divider>+ <div class="data-grid">+ <div class="column-center data-container">+ <p class="data-label">闲置库位</p>+ <p class="data-number">{{ props.presentData?.surplus_number }}</p>+ </div>+ <div class="column-center data-container">+ <p class="data-label">总货物数</p>+ <p class="data-number">{{ props.presentData?.shelf_product_number }}</p>+ </div>+ </div>+ </div>+ </Transition>+ <Transition name="slide-fade">+ <div v-show="props.presentData?.type === 'shelfItem'">+ <div class="header">+ <p class="main-title">{{ props.presentData?.tag_number }}号库位</p>+ </div>+ <div class="text-grid">+ <p>层号:</p>+ <p>{{ props.presentData?.layer_number }}</p>+ <p>货架编码:</p>+ <p>{{ props.presentData?.location_name }}</p>+ </div>+ <v-divider></v-divider>+ <div>+ <div v-if="props.presentData?.product?.length === 0">空库位</div>+ <div v-else class="product-info-container">+ <vxe-table+ align="center"+ :data="props.presentData?.product"+ border+ height="160"+ :row-config="{isHover: true}"+ >+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="spu_name" title="货物名称"></vxe-column>+ <vxe-column field="sku_name" title="规格名称"></vxe-column>+ <vxe-column field="qty" title="数量"></vxe-column>+ </vxe-table>+ </div>+ </div>+ </div>+ </Transition>+ </div>+</template>++<script setup lang="ts">+import { formatAreaProperty } from '@/utils/format/formatWarehouse'++const props = defineProps(['presentData'])+</script>++<style scoped lang="less">+.column-center {+ display: flex;+ flex-direction: column;+ align-items: center;++}+.warehouse-info {+ height: 300px;+ .header {+ .main-title {+ font-weight: 700;+ font-size: 18px;+ margin-bottom: 5px;+ }+ .sub-title {+ font-size: 14px;+ color: #64676b;+ }+ }+ .text-grid {+ display: grid;+ grid-template-columns: 80px 1fr;+ grid-gap: 5px;+ margin-top: 5px;+ }+ .data-grid {+ display: grid;+ margin: 0 20px;+ grid-template-columns: repeat(2, 1fr);+ grid-gap: 15px;+ justify-content: center;+ align-items: center;+ .data-container {+ background-color: white;+ border-radius: 5px;+ padding: 5px;+ }+ .data-label{+ color: #606060;+ }+ .data-number {+ font-size: 18px;+ font-weight: 600;+ color: #2a2a2a;+ }+ }+ .product-info-container {+ margin: 10px 0;+ background-color: #FFFFFF;+ border-radius: 5px;+ text-align: center;+ }+}+.slide-fade-enter-active {+ transition: all 0.4s ease-out;+}+.slide-fade-enter-from{+ transform: translateX(300px);+ opacity: 0;+}+</style>\ No newline at end of filediff --git a/frontend/src/view/vwms/LoadingPage.vue b/frontend/src/view/vwms/LoadingPage.vuenew file mode 100644index 0000000..6329e5b--- /dev/null+++ b/frontend/src/view/vwms/LoadingPage.vue@@ -0,0 +1,58 @@+<!--+ @name : loading.vue+ @Description :+ @author : saal+ @date : 2023/5/17+-->+<template>+ <div class="mask">+ <div class="loading-title">+ <div>ModernWMS</div>+ </div>+ <div class="loading-progress-bar">+ <v-progress-linear+ :model-value="props.progress"+ color="indigo"+ height="25"+ striped+ >+ <strong>{{ props.progress }}%</strong>+ </v-progress-linear>+ </div>+ </div>+</template>++<script setup>+const props = defineProps({+ progress: {+ type: Number,+ required: true,+ default: 0+ }+})+</script>++<style scoped>+.mask {+ position: absolute;+ width: 100%;+ height: 100%;+ z-index: 1000;+ background-color: white;+ display: flex;+ align-items: center;+ flex-direction: column;+ justify-content: center;+}++.loading-progress-bar {+ width: 400px;+}++.loading-title {+ color: #9c27b0;+ font-weight: bold;+ font-size: 60px;+ margin-bottom: 20px;+}+</style>\ No newline at end of filediff --git a/frontend/src/view/vwms/ShelfGrid.vue b/frontend/src/view/vwms/ShelfGrid.vuenew file mode 100644index 0000000..1f5d1f5--- /dev/null+++ b/frontend/src/view/vwms/ShelfGrid.vue@@ -0,0 +1,100 @@+<!--+ @name : grid.vue+ @Description :+ @author : saal+ @date : 2023/10/10+-->+<template>+ <div class="shelf-container">+ <div> {{ props.shelfGridData?.shelf_name }}</div>+ <div class="info">货架规格:{{ props.shelfGridData?.layer }} * {{ props.shelfGridData?.column }}</div>+ <div :style="styleObject" class="shelf-grid" @click="selectProduct">+ <div+ v-for="(index) in formatIndex"+ :key="index"+ :class="{'have':props.shelfGridData?.products.includes(index), 'selected':index === selectIndex}"+ :data-index="index"+ class="product-grid"+ ></div>+ </div>+ </div>+</template>++<script setup>+import { computed } from 'vue'++const props = defineProps({+ shelfGridData: {+ type: Object+ },+ selectIndex: {+ type: Number+ }+})+const emit = defineEmits(['selectShelfItem'])+const styleObject = computed(() => ({+ gridTemplateColumns: `repeat(${ props.shelfGridData.column }, 1fr)`,+ gridTemplateRows: `repeat(${ props.shelfGridData.layer }, 1fr)`+}))++const formatIndex = computed(() => {+ const arr = Array.from({ length: props.shelfGridData.layer * props.shelfGridData.column }, (_, index) => index + 1)+ .reverse()+ const result = []+ for (let i = 0; i < arr.length; i += props.shelfGridData.column) {+ result.push(arr.slice(i, i + props.shelfGridData.column)+ .reverse())+ }+ return result.flat()+})++const selectProduct = (e) => {+ const index = parseInt(e.target.dataset.index)+ emit('selectShelfItem', index)+}+</script>++<style lang="less" scoped>++.shelf-container {+ position: absolute;+ left: 10px;+ top: 90px;+ padding: 15px;+ background-color: white;+ transition: all .5s ease-out;+ overflow: hidden;++ .header {+ display: flex;+ align-items: center;+ justify-content: space-between;+ }++ .shelf-grid {+ display: grid;+ margin: 10px 0;+ grid-gap: 2px;++ .product-grid {+ width: 40px;+ height: 40px;+ background-color: #d7d7d7;+ cursor: pointer;++ &:hover {+ box-shadow: rgba(50, 50, 93, 0.25) 0 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;+ }+ }+ }+}++.have {+ background-color: #54a432 !important;+}++.selected {+ border: 3px solid #56a0ff;+}++</style>\ No newline at end of filediff --git a/frontend/src/view/vwms/VWms.vue b/frontend/src/view/vwms/VWms.vuenew file mode 100644index 0000000..54f38f1--- /dev/null+++ b/frontend/src/view/vwms/VWms.vue@@ -0,0 +1,522 @@+<!--+ @name : VWms.vue+ @Description :+ @author : saal+ @date : 2023/10/6+-->+<template>+ <div id="vwms" class="VWms-container">+ <Transition name="fade">+ <loading-page v-show="loading" :progress="loadingProgress" />+ </Transition>++ <div class="VWms-header">+ <div class="tooltip">+ <v-btn icon variant="text" @click="handleShowRightContainer">+ <v-tooltip activator="parent" location="bottom">{{ showRightContainer ? '收起' : '展开' }}右栏</v-tooltip>+ <v-icon :icon="`mdi-arrow-expand-${showRightContainer?'right':'left'}`"></v-icon>+ </v-btn>++ <v-btn icon variant="text" @click="toggleFullScreen">+ <v-tooltip activator="parent" location="bottom">全屏</v-tooltip>+ <v-icon :icon="`mdi-arrow-${fullScreen?'collapse':'expand'}`"></v-icon>+ </v-btn>++ <v-btn icon variant="text" @click="handleBreak">+ <v-tooltip activator="parent" location="bottom">回退</v-tooltip>+ <v-icon icon="mdi-reply"></v-icon>+ </v-btn>+ <v-btn v-if="presentData?.type === 'shelf' || presentData?.type === 'shelfItem'" @click="handleShelfGrid">+ {{ showShelfGrid ? '关闭' : '打开' }}货架二维视图+ </v-btn>+ </div>+ </div>+ <div class="VWMSIframe">+ <iframe+ ref="VWmsIframe"+ height="100%"+ src="/unity/index.html"+ width="100%"+ />+ </div>+ <div>+ <transition name="slide-fade-grid">+ <shelf-grid+ v-if="presentData?.type === 'shelf' && showShelfGrid || presentData?.type === 'shelfItem' && showShelfGrid"+ :select-index="selectShelfItemTagNumber"+ :shelf-grid-data="shelfGridData"+ @selectShelfItem="handleShelfGridSelect"+ ></shelf-grid>+ </transition>+ </div>+ <transition name="slide-fade-right">+ <div v-if="showRightContainer" class="right-container">+ <Detail :present-data="presentData"></Detail>+ <Bar :bar-data="barData"></Bar>+ <Pie :pie-data="pieData"></Pie>+ </div>+ </transition>+ </div>+</template>++<script lang="ts" setup>+import { useRoute } from 'vue-router'+import { onMounted, reactive, ref, watch } from 'vue'+import _ from 'lodash'+import screenfull from 'screenfull'+import LoadingPage from '@/view/vwms/LoadingPage.vue'+import { getGroupsData, handlePostJson } from '@/view/vwms/types/handleData'+import {+ factoryDataType,+ factoryInfoType,+ factoryShowDataType,+ formatDataType,+ productDataType,+ productInfoType,+ shelfDataType,+ shelfGridDataType,+ shelfItemDataType,+ shelfItemInfoType,+ shelfItemShowDataType,+ shelfShowDataType,+ warehouseInfoType,+ warehouseShowDataType+} from '@/view/vwms/types/types'+import Detail from '@/view/vwms/Detail.vue'+import Bar from '@/view/vwms/chat/Bar.vue'+import Pie from '@/view/vwms/chat/Pie.vue'+import ShelfGrid from '@/view/vwms/ShelfGrid.vue'+import { factoryData, productData, shelfItemData, warehouseData } from '@/view/vwms/data/data'++const VWmsIframe = ref()+const route = useRoute()+const loading = ref(true)+const warehouseId = parseInt(route.query.warehouseId as string)++onMounted(async () => {+ window.addEventListener('message', unityWatch)+})+const showRightContainer = ref(false)+const handleShowRightContainer = () => {+ showRightContainer.value = !showRightContainer.value+}+const showShelfGrid = ref(true)+const handleShelfGrid = () => {+ showShelfGrid.value = !showShelfGrid.value+}+const fullScreen = ref(false)+const toggleFullScreen = () => {+ if (screenfull.isEnabled) {+ const vwms = document.getElementById('vwms')+ screenfull.toggle(vwms!)+ fullScreen.value = !fullScreen.value+ }+}+const handleBreak = () => {+ VWmsIframe.value.contentWindow.parent.postMessage({+ guid: '',+ event: 'returnToUpper'+ }, '*')+}++const handleShelfGridSelect = (index) => {+ selectObjectList.push({+ itemName: 'shelfItem',+ itemId: index+ })+ VWmsIframe.value.contentWindow.parent.postMessage({+ guid: `shelfItem-${ index }`,+ event: 'selectShelfItem'+ }, '*')+}++const unityWatch = ({ data }) => {+ const {+ event,+ guid+ } = data+ const allowEvent = ['loadSuccess', 'select', 'selectBreak', 'loadingProgress']+ const unityEventHandleMap = {+ loadSuccess: handleLoadSuccess,+ select: handleSelect,+ selectBreak: handleSelectBreak,+ loadingProgress: handleLoadingProgress+ }+ if (allowEvent.includes(event)) {+ unityEventHandleMap[event](guid)+ }+}+const handleLoadSuccess = async () => {+ await initData()+ startPostJson()+ setTimeout(() => {+ loading.value = false+ showRightContainer.value = true+ }, 2500)+}++interface selectObjectType {+ itemName: string,+ itemId: number+}++const selectObjectList = reactive<selectObjectType[]>([])+const presentData = ref<warehouseShowDataType | factoryShowDataType | shelfShowDataType | shelfItemShowDataType>()++const handleSelect = (guid: string) => {+ const itemName = guid.split('-')[0]+ const itemId = parseInt(guid.split('-')[1])+ const allowSelectItemName = ['factory', 'shelf', 'shelfItem']+ if (allowSelectItemName.includes(itemName)) {+ selectObjectList.push({+ itemName,+ itemId+ })+ }+}++const handleSelectBreak = () => {+ if (selectObjectList.length > 1) {+ if (selectObjectList.length > 4) {+ selectObjectList.splice(2, selectObjectList.length - 2)+ } else {+ selectObjectList.pop()+ }+ }+}+const loadingProgress = ref()+const handleLoadingProgress = (progress) => {+ loadingProgress.value = Math.ceil(progress * 100)+}++const warehouseInfo = ref<warehouseInfoType>(warehouseData)+const factoryInfo = ref<factoryInfoType[]>(factoryData)+const shelfItemInfo = ref<shelfItemInfoType[]>(shelfItemData)+const productInfo = ref<productInfoType[]>(productData)+const formatData = ref<factoryDataType[]>([])+const selectFactoryData = ref<factoryDataType>()+const selectShelfName = ref()+const selectShelfItemTagNumber = ref()+const barData = ref()+const pieData = ref()++// 仓库 名称 地址 负责人 联系电话 email 库区数 总货物数+// 饼 存货类别占比(商品的类别) 柱 仓库库存大小+const getWarehouseData = (): warehouseShowDataType => {+ getWarehouseChatData()+ return {+ ...warehouseInfo.value!,+ factory_number: factoryInfo.value.length,+ warehouse_product_number: _.sumBy(productInfo.value, 'qty'),+ type: 'warehouse'+ }+}+// 仓库的图形数据+const getWarehouseChatData = () => {+ const barGroupsData = getGroupsData(productInfo.value, 'spu_name', 'qty')+ .slice(0, 6)+ const barTitle = '库存商品量'+ barData.value = {+ barTitle,+ barGroupsData+ }++ const pieGroupsData = _.map(formatData.value, (obj) => {+ const totalQty = _.sumBy(obj.shelves, (shelf) => _.sumBy(shelf.shelfItems, (item) => _.sumBy(item.product, 'qty')))+ return {+ name: obj.area_name,+ value: totalQty+ }+ })++ const xData = _.map(pieGroupsData, 'name')+ const yData = _.map(pieGroupsData, 'value')+ const pieTitle = '库区容量'+ pieData.value = {+ pieTitle,+ xData,+ yData+ }+}++// 库区 名称 类型 货架数 库位数 剩余库位 已用空间+// 饼 存货类别占比 柱 货架库存大小+const getFactoryData = (id: number): factoryShowDataType => {+ const factory = _.filter(formatData.value, { id })[0]+ selectFactoryData.value = factory+ const factoryShelf = factory.shelves+ const factoryShelfItemNumber = _.sumBy(factoryShelf, shelf => shelf.layer * shelf.column)+ const usedFactoryShelfItem = _.flatMap(factoryShelf, shelf => _.flatMap(shelf.shelfItems, shelfItem => shelfItem.product))+ getFactoryChatData(usedFactoryShelfItem, factoryShelf)+ return {+ area_name: factory.area_name,+ area_property: factory.area_property,+ shelf_number: factoryShelf.length,+ shelf_item_number: factoryShelfItemNumber,+ surplus_number: factoryShelfItemNumber - usedFactoryShelfItem.length,+ factory_product_number: _.sumBy(usedFactoryShelfItem, 'qty'),+ type: 'factory'+ }+}++// 库区的图形数据+const getFactoryChatData = (usedFactoryShelfItem, factoryShelf) => {+ const barGroupsData = getGroupsData(usedFactoryShelfItem, 'spu_name', 'qty')+ .slice(0, 6)+ const barTitle = '库区库存商品量'+ barData.value = {+ barTitle,+ barGroupsData+ }+ const pieGroupsData = _.map(factoryShelf, obj => {+ const totalQty = _.sumBy(obj.shelfItems, (item: shelfItemDataType) => _.sumBy(item.product, 'qty'))+ return {+ name: obj.shelf_name,+ value: totalQty+ }+ })++ const xData = _.map(pieGroupsData, 'name')+ const yData = _.map(pieGroupsData, 'value')+ const pieTitle = '货架容量'+ pieData.value = {+ pieTitle,+ xData,+ yData+ }+}++const shelfGridData = ref<shelfGridDataType>()+// 货架 名称 规格 闲置位 总货物数+// 饼 存货类别占比 柱 库位存量大小+const getShelfData = (id: number): shelfShowDataType => {+ const shelf: shelfDataType = selectFactoryData.value?.shelves.filter(shelf => shelf.shelf_name === `${ id }`)[0] as shelfDataType+ const shelfProduct: productDataType[] = _.flatMap(shelf.shelfItems, shelfItem => shelfItem.product)+ selectShelfName.value = shelf.shelf_name+ getShelfChatData(shelfProduct, shelf)+ // 货架二维图数据+ shelfGridData.value = {+ shelf_name: `${ shelf.shelf_name }号货架`,+ layer: shelf.layer,+ column: shelf.column,+ products: shelf.shelfItems.map(shelfItem => {+ if (shelfItem.product.length > 0) return parseInt(shelfItem.tag_number)+ return 0+ })+ }++ return {+ shelf_name: `${ shelf.shelf_name }号货架`,+ layer: shelf.layer,+ column: shelf.column,+ surplus_number: shelf.layer * shelf.column - _.sumBy(shelf.shelfItems, shelfItem => shelfItem.product.length),+ shelf_product_number: _.sumBy(shelfProduct, 'qty'),+ type: 'shelf'+ }+}++// 货架的图形数据+const getShelfChatData = (shelfProduct, shelf) => {+ const barGroupsData = getGroupsData(shelfProduct, 'sku_name', 'qty')+ const barTitle = '货架商品规格量'+ barData.value = {+ barTitle,+ barGroupsData+ }+ const pieGroupsData = _.map(shelf.shelfItems, (item) => {+ const totalQty = _.sumBy(item.product, 'qty')+ return {+ name: item.location_name,+ value: totalQty+ }+ })++ const xData = _.map(pieGroupsData, 'name')+ const yData = _.map(pieGroupsData, 'value')+ const pieTitle = '库位容量'+ pieData.value = {+ pieTitle,+ xData,+ yData+ }+}++// 货物 层号 库位号 库位编码+// 列表 商品名称 规格名称 数量 可用数量 货主+const getShelfItemData = (id: number): shelfItemShowDataType | any => {+ const shelf = _.filter(selectFactoryData.value?.shelves, { shelf_name: selectShelfName.value })[0]+ const shelfItem = _.filter(shelf.shelfItems, { tag_number: `${ id }` })[0]+ selectShelfItemTagNumber.value = id+ if (shelfItem) {+ return {+ ...shelfItem,+ type: 'shelfItem'+ }+ }+ return {+ tag_number: id,+ location_name: '无',+ layer_number: Math.ceil(id / shelf.column),+ product: [],+ type: 'shelfItem'+ }+}++watch(selectObjectList, () => {+ const targetData = selectObjectList[selectObjectList.length - 1]+ const handleMap = {+ playground: getWarehouseData,+ factory: getFactoryData,+ shelf: getShelfData,+ shelfItem: getShelfItemData+ }+ console.log(targetData)+ presentData.value = handleMap[targetData.itemName](targetData.itemId)+})++const initData = async () => {+ // try {+ // const promises = [+ // await getWarehouse(warehouseId),+ // await getWarehouseAreaSelect(warehouseId),+ // await getGoodsLocation(),+ // await getWarehouseProduct({ warehouse_id: warehouseId })+ // ]+ // const responses: any = await Promise.all(promises)+ // warehouseInfo.value = responses[0].data.data+ // factoryInfo.value = responses[1].data.data+ // shelfItemInfo.value = responses[2].data.data+ // productInfo.value = responses[3].data.data+ // } catch (error) {+ // loading.value = true+ // }+ selectObjectList.push({+ itemName: 'playground',+ itemId: warehouseId+ })+ const data: formatDataType = handlePostJson(factoryInfo.value, shelfItemInfo.value, productInfo.value)+ formatData.value = data.area+}++const startPostJson = () => {+ const data: formatDataType = handlePostJson(factoryInfo.value, shelfItemInfo.value, productInfo.value)+ try {+ VWmsIframe.value.contentWindow.parent.postMessage({+ guid: JSON.stringify(data),+ event: 'sendData'+ }, '*')+ } catch (error) {+ console.log(error)+ }+}++</script>++<style lang="less" scoped>+* {+ box-sizing: border-box;+}++.VWms-container {+ letter-spacing: 1px;+ width: 100%;+ height: 100%;+ overflow: hidden;+ position: relative;+ display: flex;+ align-items: center;+ justify-content: center;+ background-color: #317972;+}++:deep(.v-divider) {+ margin: 10px 0;+}++.VWms-header {+ position: absolute;+ top: 10px;+ left: 10px;+ z-index: 10;+ display: flex;+ align-items: center;+ background-color: rgba(255, 255, 255, 0.9);+ padding: 5px;+ border-radius: 4px;+}++.VWMSIframe {+ width: 100%;+ height: 100%;+ border: none;+ position: absolute;+}++.right-container {+ display: grid;+ grid-template-columns: 400px;+ grid-gap: 15px;+ position: absolute;+ right: 0;+ height: 100%;+ overflow: auto;+ padding: 10px;+ justify-content: center++}++.flex-center {+ display: flex;+ align-items: center;+ justify-content: space-between;+}++::-webkit-scrollbar {+ display: none+}++.VWms-card {+ border-radius: 5px;+ padding: 15px;+ width: 100%;+ background-color: rgba(255, 255, 255, 0.9);+}++.fade-enter-active,+.fade-leave-active {+ transition: opacity 0.3s ease;+}++.fade-enter-from,+.fade-leave-to {+ opacity: 0;+}++.slide-fade-grid-enter-active {+ transition: all 0.3s ease-out;+}++.slide-fade-grid-leave-active {+ transition: all 0.5s ease-out;+}++.slide-fade-grid-enter-from,+.slide-fade-grid-leave-to {+ transform: translateX(-200px);+ opacity: 0;+}++.slide-fade-right-enter-active {+ transition: all 0.3s ease-out;+}++.slide-fade-right-leave-active {+ transition: all 0.5s ease-out;+}++.slide-fade-right-enter-from,+.slide-fade-right-leave-to {+ transform: translateX(200px);+ opacity: 0;+}+</style>\ No newline at end of filediff --git a/frontend/src/view/vwms/chat/Bar.vue b/frontend/src/view/vwms/chat/Bar.vuenew file mode 100644index 0000000..40e651b--- /dev/null+++ b/frontend/src/view/vwms/chat/Bar.vue@@ -0,0 +1,70 @@+<!--+ @name : Bar.vue+ @Description :+ @author : saal+ @date : 2023/10/9+-->+<template>+ <div class="VWms-card">+ <div>{{ props.barData?.barTitle }}</div>+ <v-divider></v-divider>+ <div ref="chatRef" class="chat"></div>+ </div>+</template>++<script lang="ts" setup>+import { onMounted, ref, watch } from 'vue'+import * as echarts from 'echarts'++const props = defineProps({+ barData: Object,+})++onMounted(() => {+ initCharts()+})+const chatRef = ref()+let chat:any+const initCharts = () => {+ if (chat) {+ chat.dispose()+ }+ chat = echarts.init(chatRef.value)+ chat.setOption({+ tooltip: {+ trigger: 'item'+ },+ series: [+ {+ name: '个数',+ type: 'pie',+ radius: '50%',+ data: props.barData?.barGroupsData,+ emphasis: {+ itemStyle: {+ shadowBlur: 10,+ shadowOffsetX: 0,+ shadowColor: 'rgba(0, 0, 0, 0.5)'+ }+ },+ label: {+ show: true,+ position: 'outside',+ formatter: '{b} : {d}%'+ },+ },+ ]+ })+}+watch(() => props.barData, initCharts)+</script>++<style lang="less" scoped>+.chat{+ display: flex;+ align-items: center;+ justify-content: center;+ width:100%;+ height: 250px;+}+</style>\ No newline at end of filediff --git a/frontend/src/view/vwms/chat/Pie.vue b/frontend/src/view/vwms/chat/Pie.vuenew file mode 100644index 0000000..83ac438--- /dev/null+++ b/frontend/src/view/vwms/chat/Pie.vue@@ -0,0 +1,77 @@+<!--+ @name : Pie.vue+ @Description :+ @author : saal+ @date : 2023/10/9+-->+<template>+ <div class="VWms-card">+ <div>{{ props.pieData?.pieTitle }}</div>+ <v-divider></v-divider>+ <div ref="chatRef" class="chat"></div>+ </div>+</template>++<script lang="ts" setup>+import { onMounted, ref, watch } from 'vue'+import * as echarts from 'echarts'++const props = defineProps({+ pieData: Object,+})+onMounted(() => {+ initCharts()+})+const chatRef = ref()+let chat:any+const initCharts = () => {+ if (chat) {+ chat.dispose()+ }+ chat = echarts.init(chatRef.value)+ chat.setOption({+ xAxis: {+ type: 'category',+ data: props.pieData?.xData,+ },+ yAxis: {+ type: 'value'+ },+ tooltip: {+ trigger: 'axis',+ axisPointer: {+ type: 'shadow'+ }+ },+ series: [+ {+ data: props.pieData?.yData,+ type: 'bar',+ showBackground: true,+ backgroundStyle: {+ color: 'rgba(180, 180, 180, 0.2)'+ },+ tooltip: {+ valueFormatter(value) {+ return `存货数量:${ value }`+ }+ },+ markLine: {+ data: [{ type: 'average', name: 'Avg' }]+ },+ }+ ]+ })+}+watch(() => props.pieData, initCharts)+</script>++<style lang="less" scoped>+.chat{+ display: flex;+ align-items: center;+ justify-content: center;+ width: 100%;+ height: 300px;+}+</style>\ No newline at end of filediff --git a/frontend/src/view/vwms/data/data.ts b/frontend/src/view/vwms/data/data.tsnew file mode 100644index 0000000..cbcbe88--- /dev/null+++ b/frontend/src/view/vwms/data/data.ts@@ -0,0 +1,479 @@+import { factoryInfoType, productInfoType, shelfItemInfoType, warehouseInfoType } from '@/view/vwms/types/types'++const factoryData: factoryInfoType[] = [+ {+ id: 573,+ warehouse_id: 1688,+ warehouse_name: '',+ area_name: '猛牛一号仓存货区',+ parent_id: 0,+ create_time: '2023-10-07 09:05:15',+ last_update_time: '2023-10-07 09:05:15',+ is_valid: true,+ tenant_id: 2757,+ area_property: 6+ },+ {+ id: 574,+ warehouse_id: 1688,+ warehouse_name: '',+ area_name: '猛牛一号仓拣货区',+ parent_id: 0,+ create_time: '2023-10-07 09:05:29',+ last_update_time: '2023-10-07 09:05:29',+ is_valid: true,+ tenant_id: 2757,+ area_property: 1+ },+ {+ id: 575,+ warehouse_id: 1688,+ warehouse_name: '',+ area_name: '猛牛一号仓备货区',+ parent_id: 0,+ create_time: '2023-10-07 09:05:44',+ last_update_time: '2023-10-07 09:05:44',+ is_valid: true,+ tenant_id: 2757,+ area_property: 2+ },+ {+ id: 576,+ warehouse_id: 1688,+ warehouse_name: '',+ area_name: '猛牛一号仓收货区',+ parent_id: 0,+ create_time: '2023-10-07 09:05:59',+ last_update_time: '2023-10-07 09:05:59',+ is_valid: true,+ tenant_id: 2757,+ area_property: 3+ }+]+const shelfItemData:shelfItemInfoType[] = [+ {+ id: 441,+ warehouse_id: 1688,+ warehouse_name: '猛牛一号仓库',+ warehouse_area_name: '猛牛一号仓存货区',+ warehouse_area_property: 6,+ location_name: 'mn-1-1-5-45',+ location_length: 5.00,+ location_width: 5.00,+ location_heigth: 5.00,+ location_volume: 5.00,+ location_load: 5.00,+ roadway_number: '5',+ shelf_number: '1',+ layer_number: '5',+ tag_number: '45',+ create_time: '2023-10-07 09:08:29',+ last_update_time: '2023-10-07 14:22:15',+ is_valid: true,+ tenant_id: 2757,+ warehouse_area_id: 573+ },+ {+ id: 441,+ warehouse_id: 1688,+ warehouse_name: '猛牛一号仓库',+ warehouse_area_name: '猛牛一号仓存货区',+ warehouse_area_property: 6,+ location_name: 'mn-1-1-2-11',+ location_length: 5.00,+ location_width: 5.00,+ location_heigth: 5.00,+ location_volume: 5.00,+ location_load: 5.00,+ roadway_number: '5',+ shelf_number: '1',+ layer_number: '2',+ tag_number: '11',+ create_time: '2023-10-07 09:08:29',+ last_update_time: '2023-10-07 14:22:15',+ is_valid: true,+ tenant_id: 2757,+ warehouse_area_id: 573+ },+ {+ id: 442,+ warehouse_id: 1688,+ warehouse_name: '猛牛一号仓库',+ warehouse_area_name: '猛牛一号仓存货区',+ warehouse_area_property: 6,+ location_name: 'mn-1-1-2-18',+ location_length: 5.00,+ location_width: 5.00,+ location_heigth: 5.00,+ location_volume: 5.00,+ location_load: 5.00,+ roadway_number: '5',+ shelf_number: '1',+ layer_number: '2',+ tag_number: '18',+ create_time: '2023-10-07 09:09:02',+ last_update_time: '2023-10-07 10:29:25',+ is_valid: true,+ tenant_id: 2757,+ warehouse_area_id: 573+ },+ {+ id: 443,+ warehouse_id: 1688,+ warehouse_name: '猛牛一号仓库',+ warehouse_area_name: '猛牛一号仓存货区',+ warehouse_area_property: 6,+ location_name: 'mn-1-1-2-17',+ location_length: 5.00,+ location_width: 5.00,+ location_heigth: 5.00,+ location_volume: 5.00,+ location_load: 5.00,+ roadway_number: '5',+ shelf_number: '1',+ layer_number: '2',+ tag_number: '17',+ create_time: '2023-10-07 09:10:00',+ last_update_time: '2023-10-07 10:29:01',+ is_valid: true,+ tenant_id: 2757,+ warehouse_area_id: 573+ },+ {+ id: 444,+ warehouse_id: 1688,+ warehouse_name: '猛牛一号仓库',+ warehouse_area_name: '猛牛一号仓存货区',+ warehouse_area_property: 6,+ location_name: 'mn-1-1-5-41',+ location_length: 5.00,+ location_width: 5.00,+ location_heigth: 5.00,+ location_volume: 5.00,+ location_load: 5.00,+ roadway_number: '5',+ shelf_number: '1',+ layer_number: '5',+ tag_number: '41',+ create_time: '2023-10-07 09:10:00',+ last_update_time: '2023-10-07 10:29:01',+ is_valid: true,+ tenant_id: 2757,+ warehouse_area_id: 573+ },+ {+ id: 444,+ warehouse_id: 1688,+ warehouse_name: '猛牛一号仓库',+ warehouse_area_name: '猛牛一号仓存货区',+ warehouse_area_property: 6,+ location_name: 'mn-1-2-4-2',+ location_length: 5.00,+ location_width: 5.00,+ location_heigth: 5.00,+ location_volume: 5.00,+ location_load: 5.00,+ roadway_number: '3',+ shelf_number: '2',+ layer_number: '4',+ tag_number: '11',+ create_time: '2023-10-07 09:10:31',+ last_update_time: '2023-10-07 14:23:00',+ is_valid: true,+ tenant_id: 2757,+ warehouse_area_id: 573+ },+ {+ id: 445,+ warehouse_id: 1688,+ warehouse_name: '猛牛一号仓库',+ warehouse_area_name: '猛牛一号仓存货区',+ warehouse_area_property: 6,+ location_name: 'mn-1-3-2-6',+ location_length: 5.00,+ location_width: 5.00,+ location_heigth: 5.00,+ location_volume: 5.00,+ location_load: 5.00,+ roadway_number: '2',+ shelf_number: '3',+ layer_number: '2',+ tag_number: '6',+ create_time: '2023-10-07 09:10:54',+ last_update_time: '2023-10-07 09:11:35',+ is_valid: true,+ tenant_id: 2757,+ warehouse_area_id: 573+ },+ {+ id: 446,+ warehouse_id: 1688,+ warehouse_name: '猛牛一号仓库',+ warehouse_area_name: '猛牛一号仓存货区',+ warehouse_area_property: 6,+ location_name: 'mn-1-4-3-6',+ location_length: 5.00,+ location_width: 5.00,+ location_heigth: 5.00,+ location_volume: 5.00,+ location_load: 5.00,+ roadway_number: '1',+ shelf_number: '4',+ layer_number: '3',+ tag_number: '14',+ create_time: '2023-10-07 09:11:19',+ last_update_time: '2023-10-07 14:24:29',+ is_valid: true,+ tenant_id: 2757,+ warehouse_area_id: 573+ },+ {+ id: 447,+ warehouse_id: 1689,+ warehouse_name: '猛牛二号仓库',+ warehouse_area_name: '猛牛二号仓存货区',+ warehouse_area_property: 6,+ location_name: 'mn-2-1-5-5',+ location_length: 5.00,+ location_width: 5.00,+ location_heigth: 5.00,+ location_volume: 5.00,+ location_load: 5.00,+ roadway_number: '5',+ shelf_number: '1',+ layer_number: '5',+ tag_number: '15',+ create_time: '2023-10-07 09:12:26',+ last_update_time: '2023-10-07 14:24:36',+ is_valid: true,+ tenant_id: 2757,+ warehouse_area_id: 577+ },+ {+ id: 448,+ warehouse_id: 1688,+ warehouse_name: '猛牛一号仓库',+ warehouse_area_name: '猛牛一号仓拣货区',+ warehouse_area_property: 1,+ location_name: 'mn-1-1-3-10',+ location_length: 0.00,+ location_width: 0.00,+ location_heigth: 0.00,+ location_volume: 0.00,+ location_load: 0.00,+ roadway_number: '5',+ shelf_number: '1',+ layer_number: '3',+ tag_number: '10',+ create_time: '2023-10-11 14:50:48',+ last_update_time: '2023-10-11 14:50:59',+ is_valid: true,+ tenant_id: 2757,+ warehouse_area_id: 574+ },+ {+ id: 449,+ warehouse_id: 1688,+ warehouse_name: '猛牛一号仓库',+ warehouse_area_name: '猛牛一号仓存货区',+ warehouse_area_property: 6,+ location_name: 'mn-1-1-3-14',+ location_length: 0.00,+ location_width: 0.00,+ location_heigth: 0.00,+ location_volume: 0.00,+ location_load: 0.00,+ roadway_number: '5',+ shelf_number: '1',+ layer_number: '3',+ tag_number: '14',+ create_time: '2023-10-11 14:53:24',+ last_update_time: '2023-10-11 14:53:24',+ is_valid: true,+ tenant_id: 2757,+ warehouse_area_id: 573+ }+]+const productData:productInfoType[] = [+ {+ warehouse_name: '猛牛一号仓库',+ location_name: 'mn-1-1-3-10',+ spu_code: 'candy',+ spu_name: '猛牛奶糖',+ sku_id: 767,+ sku_code: 'candy2',+ sku_name: '打包奶糖',+ qty: 200,+ qty_available: 200,+ qty_locked: 0,+ qty_frozen: 0,+ goods_owner_name: '空',+ series_number: '',+ goods_location_id: 448+ },+ {+ warehouse_name: '猛牛一号仓库',+ location_name: 'mn-1-1-5-6',+ spu_code: 'mnmilk',+ spu_name: '猛牛牛奶',+ sku_id: 766,+ sku_code: 'mnmilk1',+ sku_name: '猛牛小瓶牛奶',+ qty: 50,+ qty_available: 0,+ qty_locked: 50,+ qty_frozen: 0,+ goods_owner_name: '空',+ series_number: '',+ goods_location_id: 441+ },+ {+ warehouse_name: '猛牛一号仓库',+ location_name: 'mn-1-1-2-8',+ spu_code: 'mnmilk',+ spu_name: '猛牛牛奶',+ sku_id: 766,+ sku_code: 'mnmilk1',+ sku_name: '猛牛小瓶牛奶',+ qty: 100,+ qty_available: 0,+ qty_locked: 100,+ qty_frozen: 0,+ goods_owner_name: '空',+ series_number: '',+ goods_location_id: 442+ },+ {+ warehouse_name: '猛牛一号仓库',+ location_name: 'mn-1-1-2-7',+ spu_code: 'mnmilk',+ spu_name: '猛牛牛奶',+ sku_id: 766,+ sku_code: 'mnmilk1',+ sku_name: '猛牛小瓶牛奶',+ qty: 150,+ qty_available: 0,+ qty_locked: 150,+ qty_frozen: 0,+ goods_owner_name: '空',+ series_number: '',+ goods_location_id: 443+ },+ {+ warehouse_name: '猛牛一号仓库',+ location_name: 'mn-1-2-4-2',+ spu_code: 'mnmilk',+ spu_name: '猛牛牛奶',+ sku_id: 766,+ sku_code: 'mnmilk1',+ sku_name: '猛牛小瓶牛奶',+ qty: 200,+ qty_available: 0,+ qty_locked: 200,+ qty_frozen: 0,+ goods_owner_name: '空',+ series_number: '',+ goods_location_id: 444+ },+ {+ warehouse_name: '猛牛一号仓库',+ location_name: 'mn-1-3-2-6',+ spu_code: 'mnmilk',+ spu_name: '猛牛牛奶',+ sku_id: 766,+ sku_code: 'mnmilk1',+ sku_name: '猛牛小瓶牛奶',+ qty: 50,+ qty_available: 10,+ qty_locked: 40,+ qty_frozen: 0,+ goods_owner_name: '空',+ series_number: '',+ goods_location_id: 445+ },+ {+ warehouse_name: '猛牛一号仓库',+ location_name: 'mn-1-4-3-6',+ spu_code: 'mnmilk',+ spu_name: '猛牛牛奶',+ sku_id: 766,+ sku_code: 'mnmilk1',+ sku_name: '猛牛小瓶牛奶',+ qty: 50,+ qty_available: 50,+ qty_locked: 0,+ qty_frozen: 0,+ goods_owner_name: '空',+ series_number: '',+ goods_location_id: 446+ },+ {+ warehouse_name: '猛牛一号仓库',+ location_name: 'mn-1-1-3-14',+ spu_code: 'mnmilk',+ spu_name: '猛牛牛奶',+ sku_id: 765,+ sku_code: 'mnmilk2',+ sku_name: '猛牛大瓶牛奶',+ qty: 300,+ qty_available: 300,+ qty_locked: 0,+ qty_frozen: 0,+ goods_owner_name: '空',+ series_number: '',+ goods_location_id: 449+ },+ {+ warehouse_name: '猛牛一号仓库',+ location_name: 'mn-1-1-2-8',+ spu_code: 'ssa',+ spu_name: '酸奶',+ sku_id: 770,+ sku_code: 'ssa1',+ sku_name: '小盒酸奶',+ qty: 100,+ qty_available: 100,+ qty_locked: 0,+ qty_frozen: 0,+ goods_owner_name: '空',+ series_number: '',+ goods_location_id: 442+ },+ {+ warehouse_name: '猛牛一号仓库',+ location_name: 'mn-1-1-2-8',+ spu_code: 'ssa',+ spu_name: '酸奶',+ sku_id: 769,+ sku_code: 'ssa2',+ sku_name: '大盒酸奶',+ qty: 600,+ qty_available: 600,+ qty_locked: 0,+ qty_frozen: 0,+ goods_owner_name: '空',+ series_number: '',+ goods_location_id: 442+ }+]+const warehouseData:warehouseInfoType = {+ id: 1688,+ warehouse_name: '猛牛一号仓库',+ city: '福州',+ address: '福州市仓山区',+ email: '[email protected]',+ manager: '空',+ contact_tel: '15359879255',+ creator: 'saals',+ create_time: '2023-10-07 09:03:20',+ last_update_time: '2023-10-12 10:35:16',+ is_valid: true,+ tenant_id: 2757+}++export {+ factoryData,+ shelfItemData,+ productData,+ warehouseData+}\ No newline at end of filediff --git a/frontend/src/view/vwms/types/handleData.ts b/frontend/src/view/vwms/types/handleData.tsnew file mode 100644index 0000000..7ea466b--- /dev/null+++ b/frontend/src/view/vwms/types/handleData.ts@@ -0,0 +1,65 @@+import _ from 'lodash'+import {+ factoryDataType,+ factoryInfoType,+ formatDataType,+ productInfoType,+ shelfDataType,+ shelfItemInfoType+} from '@/view/vwms/types/types'++export const handlePostJson = (warehouseAreaInfo: factoryInfoType[], goodsLocationInfo: shelfItemInfoType[], productInfo: productInfoType[]) => {+ const data: formatDataType = {+ area: [],+ }+ warehouseAreaInfo.forEach(areaItem => {+ const warehouseProduct = goodsLocationInfo.filter(item => item.warehouse_area_id == areaItem.id)+ const shelfList = Object.values(_.groupBy(warehouseProduct, 'shelf_number'))+ const shelves: shelfDataType[] = []+ shelfList.forEach(item => {+ const { layer, column } = getShelfSpec(item)+ const shelf:shelfDataType = {+ shelf_name: item[0].shelf_number,+ layer,+ column,+ shelfItems: getShelfProduct(item, productInfo)+ }+ shelves.push(shelf)+ })+ const areaItemInfo:factoryDataType = {+ ...areaItem,+ shelves+ }+ data.area.push(areaItemInfo)+ })+ return data+}++export const getShelfSpec = (shelfItemList) => {+ const maxLayerObj: any = _.maxBy(shelfItemList, 'layer_number')+ const maxTagNumber = parseInt(maxLayerObj.tag_number)+ let layer = parseInt(maxLayerObj.layer_number)+ let column = Math.ceil(maxTagNumber / layer)+ if (layer < 3 && column < 3) {+ layer = 3+ column = 3+ }+ return { layer, column }+}++const getShelfProduct = (shelfItemList, productInfo) => _.flatMap(shelfItemList, (shelfItem) => {+ const product = _.filter(productInfo, { goods_location_id: shelfItem.id })+ return { ...shelfItem, product: [...product] }+})++interface groupsDataType{+ name:string,+ value:number+}+export const getGroupsData = (data:any, attr:string, val:string):groupsDataType[] => {+ const groups = _.groupBy(data, attr)+ return _.map(groups, (items, spu_name) => {+ const total_price = _.sumBy(items, val)+ return { value: total_price, name: spu_name }+ })+}diff --git a/frontend/src/view/vwms/types/types.ts b/frontend/src/view/vwms/types/types.tsnew file mode 100644index 0000000..27d3b25--- /dev/null+++ b/frontend/src/view/vwms/types/types.ts@@ -0,0 +1,123 @@+export interface warehouseInfoType {+ address:string,+ city:string,+ contact_tel:string,+ create_time:string,+ creator:string,+ email:string | null,+ id:number,+ manager:string,+ is_valid:boolean,+ last_update_time:string,+ tenant_id:number,+ warehouse_name:string+}+export interface factoryInfoType {+ area_name:string,+ area_property:number,+ create_time:string,+ id:number,+ is_valid:boolean,+ last_update_time:string,+ warehouse_id:number,+ warehouse_name:string,+ parent_id:number,+ tenant_id:number,+}+export interface shelfItemInfoType {+ id:number,+ warehouse_name:string,+ warehouse_area_property:number,+ layer_number:string,+ location_heigth:number,+ location_length:number,+ location_load:number,+ location_name:string,+ location_volume:number,+ location_width:number,+ roadway_number:string,+ shelf_number:string,+ tag_number:string,+ warehouse_area_id:number,+ warehouse_area_name:string,+ warehouse_id:number,+ create_time:string,+ last_update_time:string,+ is_valid:boolean,+ tenant_id:number+}+export interface productInfoType {+ goods_location_id:number,+ goods_owner_name:string,+ location_name:string,+ qty:number,+ qty_available:number,+ qty_frozen:number,+ qty_locked:number,+ series_number:string | null,+ sku_code:string,+ sku_id:number,+ sku_name:string,+ spu_code:string,+ spu_name:string,+ warehouse_name:string+}++// 整理传递给unity的数据+export type productDataType = productInfoType+export interface shelfItemDataType extends shelfItemInfoType {+ product:productDataType[]+}+export interface shelfDataType {+ shelf_name:string,+ layer:number,+ column:number,+ shelfItems:shelfItemDataType[],+}+export interface factoryDataType extends factoryInfoType {+ shelves:shelfDataType[]+}+export interface formatDataType {+ area:factoryDataType[]+}++// 展示数据+export interface warehouseShowDataType extends warehouseInfoType{+ factory_number:number,+ warehouse_product_number:number,+ type:string+}++export interface factoryShowDataType {+ area_name:string,+ area_property:number,+ shelf_number:number,+ shelf_item_number:number,+ // 剩余库位数量+ surplus_number:number,+ // 已存货物数+ factory_product_number:number,+ type:string+}++export interface shelfGridDataType {+ shelf_name:string,+ layer:number,+ column:number,+ products:number[]+}+export interface shelfShowDataType {+ shelf_name:string,+ layer:number,+ column:number,+ // 闲置数+ surplus_number:number,+ // 已存商品数+ shelf_product_number:number,+ type:string+}++export interface shelfItemShowDataType extends shelfItemInfoType{+ product:productInfoType[],+ type:string+}\ No newline at end of filediff --git a/frontend/src/view/warehouseWorking/warehouseAdjust/add-or-update-adjust.vue b/frontend/src/view/warehouseWorking/warehouseAdjust/add-or-update-adjust.vuenew file mode 100644index 0000000..fe33591--- /dev/null+++ b/frontend/src/view/warehouseWorking/warehouseAdjust/add-or-update-adjust.vue@@ -0,0 +1,282 @@+<!-- Warehouse Adjust Operate Dialog -->+<template>+ <v-dialog v-model="isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar class="" color="white" :title="`${$t('router.sideBar.warehouseAdjust')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-select+ v-model="data.form.job_type"+ :items="data.combobox.job_type"+ item-title="label"+ item-value="value"+ :rules="data.rules.job_type"+ :label="$t('wms.warehouseWorking.warehouseAdjust.job_type')"+ variant="outlined"+ clearable+ :disabled="isAssociatedJobType"+ @update:model-value="method.changeJobType"+ ></v-select>+ <v-text-field+ v-model="data.form.spu_code"+ :label="$t('base.commodityManagement.spu_code')"+ :rules="data.rules.spu_code"+ variant="outlined"+ readonly+ clearable+ :disabled="isAssociatedJobType"+ @click="method.openCommoditySelect"+ @click:clear="method.clearCommodity"+ ></v-text-field>+ <v-text-field+ v-model="data.form.spu_name"+ :label="$t('base.commodityManagement.spu_name')"+ :rules="data.rules.spu_name"+ variant="outlined"+ disabled+ ></v-text-field>+ <v-text-field+ v-model="data.form.sku_code"+ :label="$t('base.commodityManagement.sku_code')"+ :rules="data.rules.sku_code"+ variant="outlined"+ disabled+ ></v-text-field>+ <v-text-field+ v-model="data.form.warehouse_name"+ :label="$t('wms.warehouseWorking.warehouseAdjust.warehouse')"+ :rules="data.rules.warehouse_name"+ variant="outlined"+ disabled+ ></v-text-field>+ <v-text-field+ v-model="data.form.location_name"+ :label="$t('wms.warehouseWorking.warehouseAdjust.location_name')"+ :rules="data.rules.location_name"+ variant="outlined"+ disabled+ ></v-text-field>+ <v-text-field+ v-model="data.form.qty"+ :label="$t('wms.warehouseWorking.warehouseAdjust.qty')"+ :rules="data.rules.qty"+ variant="outlined"+ ></v-text-field>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" :disabled="operateDisabled" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>++ <commodity-select+ :show-dialog="data.showCommodityDialogSelect"+ @close="method.closeCommodityDialogSelect"+ @sureSelect="method.sureSelectCommodity"+ />+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { addStockAdjust } from '@/api/wms/warehouseAdjust'+import { WarehouseAdjustVO, AdjustJobType } from '@/types/WarehouseWorking/WarehouseAdjust'+import { removeObjectNull } from '@/utils/common'+import commoditySelect from '@/components/select/commodity-select.vue'+import { IsInteger } from '@/utils/dataVerification/formRule'++const formRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])+const isUpdate = computed(() => props.form.id && props.form.id > 0)+const operateDisabled = computed(() => !!isUpdate.value)++const props = defineProps<{+ showDialog: boolean+ form: WarehouseAdjustVO+ // If 'associatedJobType' has value, the 'job_type' and 'sku' should be disabled.+ associatedJobType?: AdjustJobType+}>()++const isShow = computed(() => props.showDialog)+const isAssociatedJobType = computed(() => !!(props.associatedJobType && props.associatedJobType > 0))++const data = reactive({+ showCommodityDialogSelect: false,+ showLocationDialogSelect: false,++ form: ref<WarehouseAdjustVO>({+ id: 0,+ // job_type: AdjustJobType.UNKNOW,+ job_code: '',+ sku_id: 0,+ goods_owner_id: 0,+ goods_location_id: 0,+ qty: 0,+ is_update_stock: false,+ source_table_id: 0,+ spu_code: '',+ spu_name: '',+ sku_code: '',+ warehouse_name: '',+ location_name: '',+ creator: '',+ create_time: ''+ }),+ rules: {+ job_type: [],+ qty: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.warehouseWorking.warehouseAdjust.qty') }!`,+ (val: number) => IsInteger(val, 'greaterThanZero') === '' || IsInteger(val, 'greaterThanZero')+ ],+ warehouse_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.warehouseWorking.warehouseAdjust.warehouse') }!`+ ],+ location_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.warehouseWorking.warehouseAdjust.location_name') }!`+ ],+ spu_code: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.spu_code') }!`],+ spu_name: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.spu_name') }!`],+ sku_code: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.sku_code') }!`],+ sku_name: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.sku_name') }!`]+ },+ combobox: ref<{+ job_type: {+ label: string+ value: AdjustJobType+ }[]+ }>({+ job_type: [+ {+ label: i18n.global.t('wms.warehouseWorking.warehouseAdjust.warehouseTake'),+ value: AdjustJobType.TAKE+ },+ {+ label: i18n.global.t('wms.warehouseWorking.warehouseAdjust.processCombine'),+ value: AdjustJobType.PROCESS_COMBINE+ },+ {+ label: i18n.global.t('wms.warehouseWorking.warehouseAdjust.processSplit'),+ value: AdjustJobType.PROCESS_SPLIT+ },+ {+ label: i18n.global.t('wms.warehouseWorking.warehouseAdjust.warehouseMove'),+ value: AdjustJobType.MOVE+ }+ ]+ })+})++const method = reactive({+ closeDialog: () => {+ emit('close')+ },++ initForm: () => {+ data.form = props.form++ if (isAssociatedJobType.value) {+ data.form.job_type = props.associatedJobType+ }+ },++ changeJobType: (value: any) => {+ // Find the ID corresponding value+ const jobType = data.combobox.job_type.find((item) => item.value === value)+ if (jobType) {+ data.form.job_type = jobType.value+ }+ },++ openCommoditySelect: () => {+ // Open select modal after UI rendered.+ setTimeout(() => {+ data.showCommodityDialogSelect = true+ }, 100)+ },++ closeCommodityDialogSelect: () => {+ data.showCommodityDialogSelect = false+ },++ sureSelectCommodity: (selectRecords: any) => {+ try {+ data.form.sku_id = selectRecords[0].sku_id+ data.form.goods_owner_id = selectRecords[0].goods_owner_id+ data.form.goods_location_id = selectRecords[0].goods_location_id+ data.form.warehouse_name = selectRecords[0].warehouse+ data.form.location_name = selectRecords[0].location_name+ data.form.spu_code = selectRecords[0].spu_code+ data.form.spu_name = selectRecords[0].spu_name+ data.form.sku_code = selectRecords[0].sku_code+ } catch (error) {+ // console.error(error)+ }+ },++ clearCommodity: () => {+ data.form.sku_id = 0+ data.form.goods_location_id = 0+ data.form.warehouse_name = ''+ data.form.location_name = ''+ data.form.spu_code = ''+ data.form.spu_name = ''+ data.form.sku_code = ''+ },++ submit: async () => {+ const { valid } = await formRef.value.validate()++ const form = method.constructFormBody()++ if (valid) {+ const { data: res } = await addStockAdjust(form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ },++ constructFormBody: () => {+ let form = { ...data.form }+ form = removeObjectNull(form)++ return form+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.initForm()+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/warehouseWorking/warehouseAdjust/warehouseAdjust.vue b/frontend/src/view/warehouseWorking/warehouseAdjust/warehouseAdjust.vuenew file mode 100644index 0000000..a85237f--- /dev/null+++ b/frontend/src/view/warehouseWorking/warehouseAdjust/warehouseAdjust.vue@@ -0,0 +1,392 @@+<!-- Warehouse Adjust -->+<template>+ <div class="container">+ <div>+ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <v-window v-model="data.activeTab">+ <v-window-item>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.add')" @click="method.add()"></tooltip-btn> -->+ <!-- <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->++ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4"></v-col>+ <v-col cols="4"></v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.job_code"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.warehouseWorking.warehouseAdjust.job_code')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="job_code" width="150px" :title="$t('wms.warehouseWorking.warehouseAdjust.job_code')"></vxe-column>+ <vxe-column field="job_type" width="150px" :title="$t('wms.warehouseWorking.warehouseAdjust.job_type')">+ <template #default="{ row, column }">+ <span>{{ formatAdjustJobType(row[column.property]) }}</span>+ </template>+ </vxe-column>+ <vxe-column field="spu_code" width="150px" :title="$t('base.commodityManagement.spu_code')"></vxe-column>+ <vxe-column field="spu_name" width="150px" :title="$t('base.commodityManagement.spu_name')"></vxe-column>+ <vxe-column field="sku_code" width="150px" :title="$t('base.commodityManagement.sku_code')"></vxe-column>+ <vxe-column field="qty" width="150px" :title="$t('wms.warehouseWorking.warehouseAdjust.qty')"></vxe-column>+ <vxe-column field="warehouse_name" width="150px" :title="$t('wms.warehouseWorking.warehouseAdjust.warehouse')"></vxe-column>+ <vxe-column field="location_name" width="150px" :title="$t('wms.warehouseWorking.warehouseAdjust.location_name')"></vxe-column>+ <!-- <vxe-column field="handler" width="150px" :title="$t('wms.warehouseWorking.warehouseAdjust.handler')"></vxe-column>+ <vxe-column+ field="handle_time"+ width="170px"+ :title="$t('wms.warehouseWorking.warehouseAdjust.handle_time')"+ ></vxe-column> -->+ <vxe-column field="creator" :title="$t('wms.warehouseWorking.warehouseAdjust.creator')"></vxe-column>+ <vxe-column+ field="create_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('wms.warehouseWorking.warehouseAdjust.create_time')"+ ></vxe-column>+ <!-- <vxe-column field="operate" :title="$t('system.page.operate')" width="200" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-eye-outline"+ :tooltip-text="$t('system.page.view')"+ @click="method.viewRow(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-book-open-outline"+ :tooltip-text="$t('wms.warehouseWorking.warehouseAdjust.confirmAdjust')"+ :disabled="method.confirmAdjustBtnDisabled(row)"+ @click="method.confirmAdjust(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="errorColor"+ :disabled="method.confirmAdjustBtnDisabled(row)"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column> -->+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ </v-window-item>+ </v-window>+ </v-card-text>+ </v-card>+ <addOrUpdateDialog+ :show-dialog="data.showDialog"+ :form="data.dialogForm"+ :process-type="data.processType"+ @close="method.closeDialog"+ @saveSuccess="method.saveSuccess"+ />+ </div>+ </div>+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, nextTick, onActivated, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { WarehouseAdjustVO } from '@/types/WarehouseWorking/WarehouseAdjust'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { deleteStockAdjust, getStockAdjustList, getStockAdjustOne, confirmStockAdjust } from '@/api/wms/warehouseAdjust'+import { PROCESS_JOB_COMBINE } from '@/constant/warehouseWorking'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { SearchObject, btnGroupItem } from '@/types/System/Form'+import { formatAdjustJobType } from '@/utils/format/formatWarehouseWorking'+import addOrUpdateDialog from './add-or-update-adjust.vue'+import i18n from '@/languages/i18n'+import customPager from '@/components/custom-pager.vue'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'++const xTable = ref()++const data = reactive({+ showDialog: false,+ processType: PROCESS_JOB_COMBINE,+ timer: ref<any>(null),+ activeTab: null,+ searchForm: {+ job_code: ''+ },+ tableData: ref<WarehouseAdjustVO[]>([]),+ dialogForm: {+ id: 0,+ // job_type: AdjustJobType.TAKE,+ job_code: '',+ sku_id: 0,+ goods_owner_id: 0,+ goods_location_id: 0,+ qty: 0,+ is_update_stock: false,+ source_table_id: 0,+ spu_code: '',+ spu_name: '',+ sku_code: '',+ warehouse_name: '',+ location_name: ''+ },+ tablePage: reactive({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ // Open a dialog to add+ add: () => {+ data.dialogForm = {+ id: 0,+ // job_type: AdjustJobType.TAKE,+ job_code: '',+ sku_id: 0,+ goods_owner_id: 0,+ goods_location_id: 0,+ qty: 0,+ is_update_stock: false,+ source_table_id: 0,+ spu_code: '',+ spu_name: '',+ sku_code: '',+ warehouse_name: '',+ location_name: ''+ }+ nextTick(() => {+ data.showDialog = true+ })+ },++ // After add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },++ // Refresh data+ refresh: () => {+ method.getStockProcessList()+ },++ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },++ getStockProcessList: async () => {+ const { data: res } = await getStockAdjustList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },++ viewRow: async (row: WarehouseAdjustVO) => {+ await method.getOne(row.id)+ nextTick(() => {+ data.showDialog = true+ })+ },++ getOne: async (id: number) => {+ const { data: res } = await getStockAdjustOne(id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }++ data.dialogForm = res.data+ },++ deleteRow(row: WarehouseAdjustVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await deleteStockAdjust(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }++ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },++ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize+ method.refresh()+ }),++ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.warehouseAdjust'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },++ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.refresh()+ },++ // The btn will become disabled when the 'process_status' is false+ // confirmAdjustBtnDisabled: (row: WarehouseAdjustVO) => row.is_update_stock === true,++ confirmAdjust: async (row: WarehouseAdjustVO) => {+ hookComponent.$dialog({+ content: i18n.global.t('wms.warehouseWorking.warehouseAdjust.beforeConfirmAdjust'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await confirmStockAdjust(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('wms.warehouseWorking.warehouseAdjust.confirmAdjust') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ }+})++onActivated(() => {+ method.refresh()+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'export',+ click: method.exportTable+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({ hasTab: false }))+const tableHeight = computed(() => computedTableHeight({ hasTab: false }))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/warehouseWorking/warehouseFreeze/add-or-update-freeze.vue b/frontend/src/view/warehouseWorking/warehouseFreeze/add-or-update-freeze.vuenew file mode 100644index 0000000..1b45b2c--- /dev/null+++ b/frontend/src/view/warehouseWorking/warehouseFreeze/add-or-update-freeze.vue@@ -0,0 +1,240 @@+<!-- Warehouse Freeze Operate Dialog -->+<template>+ <v-dialog v-model="isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar class="" color="white" :title="`${jobTypeComp}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-text-field+ v-model="data.form.spu_code"+ :label="$t('base.commodityManagement.spu_code')"+ :rules="data.rules.spu_code"+ variant="outlined"+ readonly+ clearable+ @click="method.openCommoditySelect"+ @click:clear="method.clearCommodity"+ ></v-text-field>+ <v-text-field+ v-model="data.form.spu_name"+ :label="$t('base.commodityManagement.spu_name')"+ :rules="data.rules.spu_name"+ variant="outlined"+ disabled+ ></v-text-field>+ <v-text-field+ v-model="data.form.sku_code"+ :label="$t('base.commodityManagement.sku_code')"+ :rules="data.rules.sku_code"+ variant="outlined"+ disabled+ ></v-text-field>+ <v-text-field v-model="data.form.series_number" :label="$t('wms.stockLocation.series_number')" variant="outlined" disabled></v-text-field>+ <v-text-field+ v-model="data.form.location_name"+ :label="$t('wms.warehouseWorking.warehouseFreeze.location_name')"+ :rules="data.rules.location_name"+ variant="outlined"+ disabled+ ></v-text-field>+ <v-text-field+ v-model="data.form.warehouse_name"+ :label="$t('wms.warehouseWorking.warehouseFreeze.warehouse')"+ :rules="data.rules.warehouse_name"+ variant="outlined"+ disabled+ ></v-text-field>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" :disabled="operateDisabled" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>++ <commodity-select+ :show-dialog="data.showCommodityDialogSelect"+ :sql-title="commoditySqlTitle"+ @close="method.closeCommodityDialogSelect"+ @sureSelect="method.sureSelectCommodity"+ />+ <!-- <location-select :show-dialog="data.showLocationDialogSelect" @close="method.closeLocationDialogSelect" @sureSelect="method.sureSelectLocation" /> -->+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { FREEZE_JOB_FREEZE, FREEZE_JOB_UNFREEZE } from '@/constant/warehouseWorking'+import { hookComponent } from '@/components/system/index'+import { addStockFreeze } from '@/api/wms/warehouseFreeze'+import { WarehouseFreezeVO } from '@/types/WarehouseWorking/WarehouseFreeze'+import { removeObjectNull } from '@/utils/common'+import commoditySelect from '@/components/select/commodity-select.vue'+import i18n from '@/languages/i18n'++const formRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])+const isUpdate = computed(() => props.form.id && props.form.id > 0)+const operateDisabled = computed(() => !!isUpdate.value)++const props = defineProps<{+ showDialog: boolean+ form: WarehouseFreezeVO+ freezeType: boolean+}>()++const isShow = computed(() => props.showDialog)+const jobTypeComp = computed(() => (data.form.job_type === FREEZE_JOB_FREEZE+ ? i18n.global.t('base.roleMenu.operationTitle.stock') + i18n.global.t('wms.warehouseWorking.warehouseFreeze.freeze')+ : i18n.global.t('base.roleMenu.operationTitle.stock') + i18n.global.t('wms.warehouseWorking.warehouseFreeze.unfreeze')))++// Unfreeze should be filter freezed.+const commoditySqlTitle = computed(() => (data.form.job_type === FREEZE_JOB_UNFREEZE ? 'frozen' : ''))++const data = reactive({+ showCommodityDialogSelect: false,+ showLocationDialogSelect: false,++ form: ref<WarehouseFreezeVO>({+ id: 0,+ job_code: '',+ job_type: FREEZE_JOB_FREEZE,+ sku_id: 0,+ goods_owner_id: 0,+ goods_location_id: 0,+ handler: '',+ handle_time: '',+ last_update_time: '',+ tenant_id: 0,+ warehouse_name: '',+ location_name: '',+ spu_code: '',+ spu_name: '',+ sku_code: '',+ series_number: '',+ creator: '',+ create_time: ''+ }),+ rules: {+ warehouse_name: [],+ location_name: [],+ spu_code: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.spu_code') }!`],+ spu_name: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.spu_name') }!`],+ sku_code: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.sku_code') }!`]+ }+})++const method = reactive({+ closeDialog: () => {+ emit('close')+ },+ initForm: () => {+ data.form = props.form+ data.form.job_type = props.freezeType+ },++ openCommoditySelect: () => {+ // Open select modal after UI rendered.+ setTimeout(() => {+ data.showCommodityDialogSelect = true+ }, 100)+ },++ closeCommodityDialogSelect: () => {+ data.showCommodityDialogSelect = false+ },++ openLocationSelect: () => {+ setTimeout(() => {+ data.showLocationDialogSelect = true+ }, 100)+ },++ closeLocationDialogSelect: () => {+ data.showLocationDialogSelect = false+ },++ sureSelectCommodity: (selectRecords: any) => {+ try {+ data.form.sku_id = selectRecords[0].sku_id+ data.form.spu_code = selectRecords[0].spu_code+ data.form.spu_name = selectRecords[0].spu_name+ data.form.sku_code = selectRecords[0].sku_code+ data.form.series_number = selectRecords[0].series_number++ data.form.goods_owner_id = selectRecords[0].goods_owner_id+ data.form.goods_location_id = selectRecords[0].goods_location_id+ data.form.warehouse_name = selectRecords[0].warehouse_name+ data.form.location_name = selectRecords[0].location_name+ } catch (error) {+ console.error(error)+ }+ },++ clearCommodity: () => {+ data.form.sku_id = 0+ data.form.spu_code = ''+ data.form.spu_name = ''+ data.form.sku_code = ''+ },++ clearLocation: () => {+ data.form.goods_location_id = 0+ data.form.warehouse_name = ''+ data.form.location_name = ''+ },++ submit: async () => {+ const { valid } = await formRef.value.validate()++ const form = method.constructFormBody()++ if (valid) {+ const { data: res } = await addStockFreeze(form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ },++ constructFormBody: () => {+ let form = { ...data.form }+ form = removeObjectNull(form)++ return form+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.initForm()+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/warehouseWorking/warehouseFreeze/warehouseFreeze.vue b/frontend/src/view/warehouseWorking/warehouseFreeze/warehouseFreeze.vuenew file mode 100644index 0000000..503b4f2--- /dev/null+++ b/frontend/src/view/warehouseWorking/warehouseFreeze/warehouseFreeze.vue@@ -0,0 +1,400 @@+<!-- Warehouse Freeze -->+<template>+ <div class="container">+ <div>+ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <v-window v-model="data.activeTab">+ <v-window-item>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn+ icon="mdi-lock-open-outline"+ :tooltip-text="$t('wms.warehouseWorking.warehouseFreeze.freeze')"+ @click="method.add(FREEZE_JOB_FREEZE)"+ ></tooltip-btn>+ <tooltip-btn+ icon="mdi-lock-open-variant-outline"+ :tooltip-text="$t('wms.warehouseWorking.warehouseFreeze.unfreeze')"+ @click="method.add(FREEZE_JOB_UNFREEZE)"+ ></tooltip-btn>+ <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->++ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4"></v-col>+ <v-col cols="4"></v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.job_code"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.warehouseWorking.warehouseFreeze.job_code')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="job_code" width="150px" :title="$t('wms.warehouseWorking.warehouseFreeze.job_code')"></vxe-column>+ <vxe-column field="job_type" width="150px" :title="$t('wms.warehouseWorking.warehouseFreeze.job_type')">+ <template #default="{ row, column }">+ <span>{{ formatFreezeJobType(row[column.property]) }}</span>+ </template>+ </vxe-column>+ <vxe-column field="warehouse_name" width="150px" :title="$t('wms.warehouseWorking.warehouseFreeze.warehouse')"></vxe-column>+ <vxe-column field="location_name" width="150px" :title="$t('wms.warehouseWorking.warehouseFreeze.location_name')"></vxe-column>+ <vxe-column field="spu_code" width="150px" :title="$t('base.commodityManagement.spu_code')"></vxe-column>+ <vxe-column field="spu_name" width="150px" :title="$t('base.commodityManagement.spu_name')"></vxe-column>+ <vxe-column field="sku_code" width="150px" :title="$t('base.commodityManagement.sku_code')"></vxe-column>+ <vxe-column field="series_number" width="150px" :title="$t('wms.stockLocation.series_number')"></vxe-column>+ <vxe-column field="handler" width="150px" :title="$t('wms.warehouseWorking.warehouseFreeze.handler')"></vxe-column>+ <vxe-column+ field="handle_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('wms.warehouseWorking.warehouseFreeze.handle_time')"+ >+ </vxe-column>+ <!-- <vxe-column field="creator" :title="$t('wms.warehouseWorking.warehouseFreeze.creator')"></vxe-column>+ <vxe-column+ field="create_time"+ width="170px"+ :title="$t('wms.warehouseWorking.warehouseFreeze.create_time')"+ ></vxe-column> -->+ <vxe-column field="operate" :title="$t('system.page.operate')" width="100" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-eye-outline"+ :tooltip-text="$t('system.page.view')"+ @click="method.viewRow(row)"+ ></tooltip-btn>+ <!-- <tooltip-btn+ :flat="true"+ icon="mdi-book-open-outline"+ :tooltip-text="$t('wms.warehouseWorking.warehouseMove.confirmMove')"+ @click="method.confirmMove(row)"+ ></tooltip-btn> -->+ <!-- <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="errorColor"+ @click="method.deleteRow(row)"+ ></tooltip-btn> -->+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ </v-window-item>+ </v-window>+ </v-card-text>+ </v-card>+ <addOrUpdateDialog+ :show-dialog="data.showDialog"+ :form="data.dialogForm"+ :freeze-type="data.freezeType"+ @close="method.closeDialog"+ @saveSuccess="method.saveSuccess"+ />+ </div>+ </div>+</template>++<script lang="ts" setup>+import { computed, ref, reactive, onActivated, watch, nextTick, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { WarehouseFreezeVO } from '@/types/WarehouseWorking/WarehouseFreeze'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { FREEZE_JOB_FREEZE, FREEZE_JOB_UNFREEZE } from '@/constant/warehouseWorking'+import { hookComponent } from '@/components/system'+import { formatFreezeJobType } from '@/utils/format/formatWarehouseWorking'+import { getStockFreezeList, getStockFreezeOne } from '@/api/wms/warehouseFreeze'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { SearchObject, btnGroupItem } from '@/types/System/Form'+import tooltipBtn from '@/components/tooltip-btn.vue'+import addOrUpdateDialog from './add-or-update-freeze.vue'+import i18n from '@/languages/i18n'+import customPager from '@/components/custom-pager.vue'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'++const xTable = ref()++const data = reactive({+ showDialog: false,+ freezeType: FREEZE_JOB_FREEZE,+ timer: ref<any>(null),+ activeTab: null,+ searchForm: {+ job_code: ''+ },+ tableData: ref<WarehouseFreezeVO[]>([]),+ dialogForm: {+ id: 0,+ job_code: '',+ job_type: FREEZE_JOB_FREEZE,+ sku_id: 0,+ goods_owner_id: 0,+ goods_location_id: 0,+ handler: '',+ handle_time: '',+ last_update_time: '',+ tenant_id: 0,+ warehouse_name: '',+ location_name: '',+ spu_code: '',+ spu_name: '',+ sku_code: '',+ series_number: '',+ creator: '',+ create_time: ''+ },+ tablePage: reactive({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ // Open a dialog to add+ add: (jobType: boolean) => {+ data.freezeType = jobType+ data.dialogForm = {+ id: 0,+ job_code: '',+ job_type: FREEZE_JOB_FREEZE,+ sku_id: 0,+ goods_owner_id: 0,+ goods_location_id: 0,+ handler: '',+ handle_time: '',+ last_update_time: '',+ tenant_id: 0,+ warehouse_name: '',+ location_name: '',+ spu_code: '',+ spu_name: '',+ sku_code: '',+ series_number: '',+ creator: '',+ create_time: ''+ }+ nextTick(() => {+ data.showDialog = true+ })+ },++ // After add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },++ // Refresh data+ refresh: () => {+ method.getStockProcessList()+ },++ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },++ getStockProcessList: async () => {+ const { data: res } = await getStockFreezeList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },++ viewRow: async (row: WarehouseFreezeVO) => {+ await method.getOne(row.id)+ nextTick(() => {+ data.showDialog = true+ })+ },++ getOne: async (id: number) => {+ const { data: res } = await getStockFreezeOne(id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }++ data.dialogForm = res.data+ },++ // deleteRow(row: WarehouseFreezeVO) {+ // hookComponent.$dialog({+ // content: i18n.global.t('system.tips.beforeDeleteMessage'),+ // handleConfirm: async () => {+ // if (row.id) {+ // const { data: res } = await deleteStockFreeze(row.id)+ // if (!res.isSuccess) {+ // hookComponent.$message({+ // type: 'error',+ // content: res.errorMessage+ // })+ // return+ // }++ // hookComponent.$message({+ // type: 'success',+ // content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ // })+ // method.refresh()+ // }+ // }+ // })+ // },++ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize+ method.refresh()+ }),++ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.warehouseFreeze'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },++ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.refresh()+ }+})++onActivated(() => {+ method.refresh()+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('wms.warehouseWorking.warehouseFreeze.freeze'),+ icon: 'mdi-lock-open-outline',+ code: 'freeze',+ click: () => {+ method.add(FREEZE_JOB_FREEZE)+ }+ },+ {+ name: i18n.global.t('wms.warehouseWorking.warehouseFreeze.unfreeze'),+ icon: 'mdi-lock-open-variant-outline',+ code: 'unfreeze',+ click: () => {+ method.add(FREEZE_JOB_UNFREEZE)+ }+ },+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'export',+ click: method.exportTable+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({ hasTab: false }))+const tableHeight = computed(() => computedTableHeight({ hasTab: false }))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/warehouseWorking/warehouseMove/add-or-update-move.vue b/frontend/src/view/warehouseWorking/warehouseMove/add-or-update-move.vuenew file mode 100644index 0000000..23d580c--- /dev/null+++ b/frontend/src/view/warehouseWorking/warehouseMove/add-or-update-move.vue@@ -0,0 +1,346 @@+<!-- Warehouse Move Operate Dialog -->+<template>+ <v-dialog v-model="isShow" :width="'60%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('router.sideBar.warehouseMove')}`">+ <custom-qrcode :value="qrCodeValue" />+ </v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-row>+ <v-col :cols="6">+ <v-text-field+ v-model="data.form.spu_code"+ :label="$t('base.commodityManagement.spu_code')"+ :rules="data.rules.spu_code"+ variant="outlined"+ readonly+ clearable+ @click="method.openCommoditySelect"+ @click:clear="method.clearCommodity"+ ></v-text-field>+ </v-col>+ <v-col :cols="6">+ <v-text-field+ v-model="data.form.spu_name"+ :label="$t('base.commodityManagement.spu_name')"+ :rules="data.rules.spu_name"+ variant="outlined"+ disabled+ ></v-text-field>+ </v-col>+ </v-row>++ <v-row>+ <v-col :cols="6">+ <v-text-field+ v-model="data.form.sku_code"+ :label="$t('base.commodityManagement.sku_code')"+ :rules="data.rules.sku_code"+ variant="outlined"+ disabled+ ></v-text-field>+ </v-col>+ <v-col :cols="6">+ <v-text-field+ v-model="data.form.series_number"+ :label="$t('wms.stockLocation.series_number')"+ variant="outlined"+ disabled+ ></v-text-field>+ </v-col>+ </v-row>++ <v-row>+ <v-col :cols="6">+ <v-text-field+ v-model="data.form.orig_goods_warehouse"+ :label="$t('wms.warehouseWorking.warehouseMove.orig_goods_warehouse')"+ :rules="data.rules.orig_goods_warehouse"+ variant="outlined"+ disabled+ ></v-text-field>+ </v-col>+ <v-col :cols="6">+ <v-text-field+ v-model="data.form.orig_goods_location_name"+ :label="$t('wms.warehouseWorking.warehouseMove.orig_goods_location_name')"+ :rules="data.rules.orig_goods_location_name"+ variant="outlined"+ disabled+ ></v-text-field>+ </v-col>+ </v-row>++ <v-row>+ <v-col :cols="6">+ <v-text-field+ v-model="data.form.dest_googs_warehouse"+ :label="$t('wms.warehouseWorking.warehouseMove.dest_googs_warehouse')"+ :rules="data.rules.dest_googs_warehouse"+ variant="outlined"+ disabled+ ></v-text-field>+ </v-col>+ <v-col :cols="6">+ <v-text-field+ v-model="data.form.dest_googs_location_name"+ :label="$t('wms.warehouseWorking.warehouseMove.dest_googs_location_name')"+ :rules="data.rules.dest_googs_location_name"+ variant="outlined"+ readonly+ clearable+ @click="method.openLocationSelect"+ @click:clear="method.clearLocation"+ ></v-text-field>+ </v-col>+ </v-row>++ <v-row>+ <v-col :cols="12">+ <v-text-field+ v-model="data.form.qty"+ :label="$t('wms.warehouseWorking.warehouseMove.qty')"+ :rules="data.rules.qty"+ variant="outlined"+ ></v-text-field>+ </v-col>+ </v-row>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" :disabled="operateDisabled" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>++ <commodity-select+ :show-dialog="data.showCommodityDialogSelect"+ @close="method.closeCommodityDialogSelect"+ @sureSelect="method.sureSelectCommodity"+ />++ <location-select :show-dialog="data.showLocationDialogSelect" @close="method.closeLocationDialogSelect" @sureSelect="method.sureSelectLocation" />+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { addStockMove } from '@/api/wms/warehouseMove'+import { WarehouseMoveVO, MoveStatus } from '@/types/WarehouseWorking/WarehouseMove'+import { removeObjectNull } from '@/utils/common'+import commoditySelect from '@/components/select/commodity-select.vue'+import locationSelect from '@/components/select/location-select.vue'+import customQrcode from '@/components/custom-qrcode.vue'+import { IsInteger } from '@/utils/dataVerification/formRule'++const formRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])+const isUpdate = computed(() => props.form.id && props.form.id > 0)+const operateDisabled = computed(() => !!isUpdate.value)+const qrCodeValue = computed(() => JSON.stringify({+ id: data.form.id.toString(),+ type: 'warehouseMove'+ }))++const props = defineProps<{+ showDialog: boolean+ form: WarehouseMoveVO+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ showCommodityDialogSelect: false,+ showLocationDialogSelect: false,++ // Available Qty+ curAvailableQty: 0,++ form: ref<WarehouseMoveVO>({+ id: 0,+ job_code: '',+ move_status: MoveStatus.UNADJUST,+ sku_id: 0,+ orig_goods_location_id: 0,+ dest_googs_location_id: 0,+ qty: 0,+ goods_owner_id: 0,+ handler: '',+ handle_time: '',+ orig_goods_warehouse: '',+ orig_goods_location_name: '',+ dest_googs_warehouse: '',+ dest_googs_location_name: '',+ spu_code: '',+ spu_name: '',+ sku_code: '',+ sku_name: '',+ series_number: '',+ creator: '',+ create_time: ''+ }),+ rules: {+ qty: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.warehouseWorking.warehouseMove.qty') }!`,+ (val: number) => IsInteger(val, 'greaterThanZero') === '' || IsInteger(val, 'greaterThanZero'),+ (val: string) => method.validQty(val)+ ],+ orig_goods_warehouse: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.warehouseWorking.warehouseMove.orig_goods_warehouse') }!`+ ],+ orig_goods_location_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.warehouseWorking.warehouseMove.orig_goods_location_name') }!`+ ],+ dest_googs_warehouse: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.warehouseWorking.warehouseMove.dest_googs_warehouse') }!`+ ],+ dest_googs_location_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.warehouseWorking.warehouseMove.dest_googs_location_name') }!`+ ],+ spu_code: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.spu_code') }!`],+ spu_name: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.spu_name') }!`],+ sku_code: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.sku_code') }!`],+ sku_name: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.sku_name') }!`]+ }+})++const method = reactive({+ // The 'qty' can't more than 'qty_available'+ validQty: (value: string): boolean | string => {+ let inputQty = Number(value)+ if (Number.isNaN(inputQty)) {+ inputQty = 0+ }++ if (inputQty > data.curAvailableQty) {+ return `${ i18n.global.t('wms.warehouseWorking.warehouseProcessing.qtyMoreThanAvailable') }${ data.curAvailableQty }`+ }+ return true+ },+ closeDialog: () => {+ emit('close')+ },+ initForm: () => {+ data.form = props.form+ },++ openCommoditySelect: () => {+ // Open select modal after UI rendered.+ setTimeout(() => {+ data.showCommodityDialogSelect = true+ }, 100)+ },++ closeCommodityDialogSelect: () => {+ data.showCommodityDialogSelect = false+ },++ openLocationSelect: () => {+ setTimeout(() => {+ data.showLocationDialogSelect = true+ }, 100)+ },++ closeLocationDialogSelect: () => {+ data.showLocationDialogSelect = false+ },++ sureSelectCommodity: (selectRecords: any) => {+ try {+ data.form.sku_id = selectRecords[0].sku_id+ data.form.orig_goods_location_id = selectRecords[0].goods_location_id+ data.form.orig_goods_warehouse = selectRecords[0].warehouse_name+ data.form.orig_goods_location_name = selectRecords[0].location_name+ data.form.goods_owner_id = selectRecords[0].goods_owner_id+ data.form.spu_code = selectRecords[0].spu_code+ data.form.spu_name = selectRecords[0].spu_name+ data.form.sku_code = selectRecords[0].sku_code+ data.form.sku_name = selectRecords[0].sku_name+ data.form.series_number = selectRecords[0].series_number++ data.curAvailableQty = selectRecords[0].qty_available+ } catch (error) {+ console.error(error)+ }+ },++ sureSelectLocation: (selectRecords: any) => {+ try {+ data.form.dest_googs_location_id = selectRecords[0].id+ data.form.dest_googs_warehouse = selectRecords[0].warehouse_name+ data.form.dest_googs_location_name = selectRecords[0].location_name+ } catch (error) {+ console.error(error)+ }+ },++ clearCommodity: () => {+ data.form.sku_id = 0+ data.form.orig_goods_location_id = 0+ data.form.orig_goods_warehouse = ''+ data.form.orig_goods_location_name = ''+ data.form.spu_code = ''+ data.form.spu_name = ''+ data.form.sku_code = ''+ data.form.sku_name = ''++ data.curAvailableQty = 0+ },++ clearLocation: () => {+ data.form.dest_googs_location_id = 0+ data.form.dest_googs_warehouse = ''+ data.form.dest_googs_location_name = ''+ },++ submit: async () => {+ const { valid } = await formRef.value.validate()++ const form = method.constructFormBody()++ if (valid) {+ const { data: res } = await addStockMove(form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ },++ constructFormBody: () => {+ let form = { ...data.form }+ form = removeObjectNull(form)++ return form+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.initForm()+ }+ }+)+</script>++<style scoped lang="less"></style>diff --git a/frontend/src/view/warehouseWorking/warehouseMove/warehouseMove.vue b/frontend/src/view/warehouseWorking/warehouseMove/warehouseMove.vuenew file mode 100644index 0000000..11c3a58--- /dev/null+++ b/frontend/src/view/warehouseWorking/warehouseMove/warehouseMove.vue@@ -0,0 +1,434 @@+<!-- Warehouse Move -->+<template>+ <div class="container">+ <div>+ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <v-window v-model="data.activeTab">+ <v-window-item>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.add')" @click="method.add()"></tooltip-btn>+ <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->++ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4"></v-col>+ <v-col cols="4"></v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.job_code"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.warehouseWorking.warehouseMove.job_code')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="job_code" width="150px" :title="$t('wms.warehouseWorking.warehouseMove.job_code')"></vxe-column>+ <vxe-column field="move_status" width="150px" :title="$t('wms.warehouseWorking.warehouseMove.move_status')">+ <template #default="{ row, column }">+ <span>{{ formatMoveStatus(row[column.property]) }}</span>+ </template>+ </vxe-column>+ <vxe-column field="spu_code" width="150px" :title="$t('base.commodityManagement.spu_code')"></vxe-column>+ <vxe-column field="spu_name" width="150px" :title="$t('base.commodityManagement.spu_name')"></vxe-column>+ <vxe-column field="sku_code" width="150px" :title="$t('base.commodityManagement.sku_code')"></vxe-column>+ <vxe-column field="sku_name" width="150px" :title="$t('base.commodityManagement.sku_name')"></vxe-column>+ <vxe-column field="qty" width="150px" :title="$t('wms.warehouseWorking.warehouseMove.qty')"></vxe-column>+ <vxe-column+ field="orig_goods_warehouse"+ width="150px"+ :title="$t('wms.warehouseWorking.warehouseMove.orig_goods_warehouse')"+ ></vxe-column>+ <vxe-column+ field="orig_goods_location_name"+ width="150px"+ :title="$t('wms.warehouseWorking.warehouseMove.orig_goods_location_name')"+ ></vxe-column>+ <vxe-column+ field="dest_googs_warehouse"+ width="150px"+ :title="$t('wms.warehouseWorking.warehouseMove.dest_googs_warehouse')"+ ></vxe-column>+ <vxe-column+ field="dest_googs_location_name"+ width="150px"+ :title="$t('wms.warehouseWorking.warehouseMove.dest_googs_location_name')"+ ></vxe-column>+ <vxe-column field="creator" :title="$t('wms.warehouseWorking.warehouseMove.creator')"></vxe-column>+ <vxe-column+ field="create_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('wms.warehouseWorking.warehouseMove.create_time')"+ ></vxe-column>+ <vxe-column field="handler" width="150px" :title="$t('wms.warehouseWorking.warehouseMove.handler')"></vxe-column>+ <vxe-column+ field="handle_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('wms.warehouseWorking.warehouseMove.handle_time')"+ >+ </vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="250" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-eye-outline"+ :tooltip-text="$t('system.page.view')"+ @click="method.viewRow(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-book-open-outline"+ :tooltip-text="$t('wms.warehouseWorking.warehouseMove.confirmMove')"+ :disabled="!data.authorityList.includes('confirm') || method.confirmMoveBtnDisabled(row)"+ @click="method.confirmMove(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="!data.authorityList.includes('delete') || method.confirmMoveBtnDisabled(row)?'':errorColor"+ :disabled="!data.authorityList.includes('delete') || method.confirmMoveBtnDisabled(row)"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ </v-window-item>+ </v-window>+ </v-card-text>+ </v-card>+ <addOrUpdateDialog+ :show-dialog="data.showDialog"+ :form="data.dialogForm"+ :process-type="data.processType"+ @close="method.closeDialog"+ @saveSuccess="method.saveSuccess"+ />+ </div>+ </div>+</template>++<script lang="ts" setup>+import { computed, ref, reactive, onActivated, watch, nextTick, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight, errorColor } from '@/constant/style'+import { WarehouseMoveVO, MoveStatus } from '@/types/WarehouseWorking/WarehouseMove'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { deleteStockMove, getStockMoveList, getStockMoveOne, confirmMove } from '@/api/wms/warehouseMove'+import { PROCESS_JOB_COMBINE } from '@/constant/warehouseWorking'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { SearchObject, btnGroupItem } from '@/types/System/Form'+import { formatMoveStatus } from '@/utils/format/formatWarehouseWorking'+import tooltipBtn from '@/components/tooltip-btn.vue'+import addOrUpdateDialog from './add-or-update-move.vue'+import i18n from '@/languages/i18n'+import customPager from '@/components/custom-pager.vue'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'++const xTable = ref()++const data = reactive({+ showDialog: false,+ processType: PROCESS_JOB_COMBINE,+ timer: ref<any>(null),+ activeTab: null,+ searchForm: {+ job_code: ''+ },+ tableData: ref<WarehouseMoveVO[]>([]),+ dialogForm: {+ id: 0,+ job_code: '',+ move_status: MoveStatus.UNADJUST,+ sku_id: 0,+ orig_goods_location_id: 0,+ dest_googs_location_id: 0,+ qty: 0,+ goods_owner_id: 0,+ handler: '',+ handle_time: '',+ orig_goods_warehouse: '',+ orig_goods_location_name: '',+ dest_googs_warehouse: '',+ dest_googs_location_name: '',+ spu_code: '',+ spu_name: '',+ sku_code: '',+ sku_name: '',+ series_number: '',+ creator: '',+ create_time: ''+ },+ tablePage: reactive({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ // Open a dialog to add+ add: () => {+ data.dialogForm = {+ id: 0,+ job_code: '',+ move_status: MoveStatus.UNADJUST,+ sku_id: 0,+ orig_goods_location_id: 0,+ dest_googs_location_id: 0,+ qty: 0,+ goods_owner_id: 0,+ handler: '',+ handle_time: '',+ orig_goods_warehouse: '',+ orig_goods_location_name: '',+ dest_googs_warehouse: '',+ dest_googs_location_name: '',+ spu_code: '',+ spu_name: '',+ sku_code: '',+ sku_name: '',+ series_number: '',+ creator: '',+ create_time: ''+ }+ nextTick(() => {+ data.showDialog = true+ })+ },++ // After add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },++ // Refresh data+ refresh: () => {+ method.getStockProcessList()+ },++ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },++ getStockProcessList: async () => {+ const { data: res } = await getStockMoveList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },++ viewRow: async (row: WarehouseMoveVO) => {+ await method.getOne(row.id)+ nextTick(() => {+ data.showDialog = true+ })+ },++ getOne: async (id: number) => {+ const { data: res } = await getStockMoveOne(id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }++ data.dialogForm = res.data+ },++ deleteRow(row: WarehouseMoveVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await deleteStockMove(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }++ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },++ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize+ method.refresh()+ }),++ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.warehouseMove'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },++ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.refresh()+ },++ // The btn will become disabled when the 'process_status' is false+ confirmMoveBtnDisabled: (row: WarehouseMoveVO) => row.move_status === MoveStatus.ADJUSTED,++ confirmMove: async (row: WarehouseMoveVO) => {+ hookComponent.$dialog({+ content: i18n.global.t('wms.warehouseWorking.warehouseMove.beforeConfirmMove'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await confirmMove(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('wms.warehouseWorking.warehouseMove.confirmMove') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ }+})++onActivated(() => {+ method.refresh()+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.add'),+ icon: 'mdi-plus',+ code: 'save',+ click: method.add+ },+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'export',+ click: method.exportTable+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({ hasTab: false }))+const tableHeight = computed(() => computedTableHeight({ hasTab: false }))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/warehouseWorking/warehouseProcessing/add-or-update-process.vue b/frontend/src/view/warehouseWorking/warehouseProcessing/add-or-update-process.vuenew file mode 100644index 0000000..334d64a--- /dev/null+++ b/frontend/src/view/warehouseWorking/warehouseProcessing/add-or-update-process.vue@@ -0,0 +1,594 @@+<template>+ <v-dialog v-model="isShow" width="80%" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="jobTypeComp">+ <custom-qrcode :value="qrCodeValue" />+ </v-toolbar>+ <v-card-text>+ <v-row>+ <!-- Source Table -->+ <v-col cols="6">+ <div class="dataTable">+ <div class="toolbar">+ <div class="toolbarTitle">+ <p style="color: #999">{{ $t('wms.warehouseWorking.warehouseProcessing.source') }}</p>+ </div>+ <tooltip-btn+ icon="mdi-plus"+ :tooltip-text="$t('system.page.add')"+ size="x-small"+ :disabled="operateDisabled"+ @click="method.openSelect('source')"+ ></tooltip-btn>+ </div>+ <vxe-table+ ref="xTableSource"+ :column-config="{ minWidth: '100px' }"+ :data="data.form.source_detail_list"+ :height="SYSTEM_HEIGHT.SELECT_TABLE"+ :edit-config="{ trigger: 'click', mode: 'cell' }"+ :edit-rules="data.validRulesSource"+ align="center"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="operate" width="50" :title="$t('system.page.operate')" :resizable="false">+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="errorColor"+ @click="method.deleteRowSource(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.warehouseWorking.warehouseProcessing.spu_code')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.warehouseWorking.warehouseProcessing.spu_name')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.warehouseWorking.warehouseProcessing.sku_code')"></vxe-column>+ <vxe-column field="series_number" :title="$t('wms.stockLocation.series_number')"></vxe-column>+ <vxe-column+ field="qty"+ :title="$t('wms.warehouseWorking.warehouseProcessing.qty')"+ :edit-render="{ autofocus: '.vxe-input--inner' }"+ >+ <template #edit="{ row }">+ <vxe-input v-model="row.qty" type="text"></vxe-input>+ </template>+ </vxe-column>+ <vxe-column field="unit" :title="$t('wms.warehouseWorking.warehouseProcessing.unit')"></vxe-column>+ </vxe-table>+ </div>+ </v-col>++ <!-- Target Table -->+ <v-col cols="6">+ <div class="dataTable">+ <div class="toolbar">+ <div class="toolbarTitle">+ <p style="color: #999">{{ $t('wms.warehouseWorking.warehouseProcessing.target') }}</p>+ </div>+ <tooltip-btn+ icon="mdi-plus"+ :tooltip-text="$t('system.page.add')"+ size="x-small"+ :disabled="operateDisabled"+ @click="method.openSelect('target')"+ ></tooltip-btn>+ </div>+ <vxe-table+ ref="xTableTarget"+ :column-config="{ minWidth: '100px' }"+ :data="data.form.target_detail_list"+ :height="SYSTEM_HEIGHT.SELECT_TABLE"+ :edit-config="{ trigger: 'click', mode: 'cell' }"+ :edit-rules="data.validRulesTarget"+ align="center"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="operate" width="50" :title="$t('system.page.operate')" :resizable="false">+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="errorColor"+ @click="method.deleteRowTarget(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.warehouseWorking.warehouseProcessing.spu_code')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.warehouseWorking.warehouseProcessing.spu_name')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.warehouseWorking.warehouseProcessing.sku_code')"></vxe-column>+ <vxe-column+ field="qty"+ :title="$t('wms.warehouseWorking.warehouseProcessing.qty')"+ :edit-render="{ autofocus: '.vxe-input--inner' }"+ >+ <template #edit="{ row }">+ <vxe-input v-model="row.qty" type="text"></vxe-input>+ </template>+ </vxe-column>+ <vxe-column field="unit" width="60" :title="$t('wms.warehouseWorking.warehouseProcessing.unit')"></vxe-column>+ <vxe-column field="location_name" :title="$t('wms.warehouseWorking.warehouseProcessing.target_location')" :edit-render="{}">+ <template #edit="{ row }">+ <vxe-input v-model="row.location_name" readonly type="search" @search-click="method.openLocationSelect(row)"></vxe-input>+ </template>+ </vxe-column>+ </vxe-table>+ </div>+ </v-col>+ </v-row>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" :disabled="operateDisabled" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>++ <commodity-select :show-dialog="data.showCommodityDialogSelect" @close="method.closeDialogSelect('source')" @sureSelect="method.sureSelect" />+ <sku-select :show-dialog="data.showSkuDialogSelect" @close="method.closeDialogSelect('target')" @sureSelect="method.sureSelect" />+ <location-select :show-dialog="data.showLocationDialogSelect" @close="method.closeLocationDialogSelect" @sureSelect="method.sureSelectLocation" />+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { VxeTablePropTypes } from 'vxe-table'+import { WarehouseProcessingVO, WarehouseProcessingDetailVO } from '@/types/WarehouseWorking/WarehouseProcessing'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { addStockProcess } from '@/api/wms/warehouseProcessing'+import { SYSTEM_HEIGHT, errorColor } from '@/constant/style'+import { removeObjectNull } from '@/utils/common'+import { PROCESS_JOB_COMBINE, PROCESS_JOB_SPLIT } from '@/constant/warehouseWorking'+import commoditySelect from '@/components/select/commodity-select.vue'+import locationSelect from '@/components/select/location-select.vue'+import skuSelect from '@/components/select/sku-select.vue'+import tooltipBtn from '@/components/tooltip-btn.vue'+import customQrcode from '@/components/custom-qrcode.vue'+import { exportData } from '@/utils/exportTable'+import { isInteger } from '@/utils/dataVerification/tableRule'++const emit = defineEmits(['close', 'saveSuccess'])+const xTableSource = ref()+const xTableTarget = ref()++const props = defineProps<{+ showDialog: boolean+ form: WarehouseProcessingVO+ processType: boolean+}>()++const isShow = computed(() => props.showDialog)+const isUpdate = computed(() => props.form.id && props.form.id > 0)+const jobTypeComp = computed(() => (data.form.job_type === PROCESS_JOB_COMBINE+ ? i18n.global.t('wms.warehouseWorking.warehouseProcessing.process_combine')+ : i18n.global.t('wms.warehouseWorking.warehouseProcessing.process_split')))+const operateDisabled = computed(() => !!isUpdate.value)+const qrCodeValue = computed(() => JSON.stringify({+ id: data.form.id.toString(),+ type: 'warehouseProcessing'+ }))++const method = reactive({+ initForm: () => {+ data.form = props.form+ data.form.job_type = props.processType+ },++ closeDialog: () => {+ emit('close')+ },++ openSelect: (type: string) => {+ data.curSelectType = type++ if (type === 'source') {+ data.showCommodityDialogSelect = true+ } else if (type === 'target') {+ // Target should select the data with 'sku-select-modal'+ data.showSkuDialogSelect = true+ }+ },++ closeDialogSelect: (type: string) => {+ if (type === 'source') {+ data.showCommodityDialogSelect = false+ } else if (type === 'target') {+ // Target should select the data with 'sku-select-modal'+ data.showSkuDialogSelect = false+ }+ },++ sureSelect: (selectRecords: any) => {+ if (data.curSelectType === 'source') {+ method.insertSourceData(selectRecords)+ } else if (data.curSelectType === 'target') {+ method.insertTargetData(selectRecords)+ }+ },++ openLocationSelect: (row: WarehouseProcessingDetailVO) => {+ data.curSelectRow = row+ data.showLocationDialogSelect = true+ },++ closeLocationDialogSelect: () => {+ data.showLocationDialogSelect = false+ },++ sureSelectLocation: (selectRecords: any) => {+ if (selectRecords.length > 0) {+ const $table = xTableTarget.value+ const tableData = $table.getTableData().fullData+ tableData.forEach((row: WarehouseProcessingDetailVO) => {+ if (data.curSelectRow.sku_id === row.sku_id) {+ row.goods_location_id = selectRecords[0].id+ row.location_name = selectRecords[0].location_name+ }+ })+ // Tips: Must to reload!+ $table.reloadData(tableData)+ }+ },++ insertSourceData: (selectRecords: any) => {+ const $table = xTableSource.value+ const tableData = $table.getTableData().fullData++ // Combine: That can select more source commodity+ if (data.form.job_type === PROCESS_JOB_COMBINE) {+ for (const record of selectRecords) {+ const isRepeat = tableData.some((data: WarehouseProcessingDetailVO) => data.sku_id === record.sku_id)+ if (isRepeat) {+ continue+ }++ $table.insertAt(+ {+ id: 0,+ stock_process_id: 0,+ sku_id: record.sku_id,+ goods_owner_id: record.goods_owner_id,+ goods_location_id: record.goods_location_id,+ qty: record.qty_available || 0,+ tenant_id: 0,+ is_source: true,+ spu_code: record.spu_code,+ spu_name: record.spu_name,+ sku_code: record.sku_code,+ series_number: record.series_number,+ unit: record.unit,+ is_update_stock: false,+ qty_available: record.qty_available+ },+ -1+ )+ // })+ }+ } else if (data.form.job_type === PROCESS_JOB_SPLIT) {+ // Split: That just can select one source commodity.+ // It should remove all data before insert.+ $table.remove()+ $table.insertAt(+ {+ id: 0,+ stock_process_id: 0,+ sku_id: selectRecords[0].sku_id,+ goods_owner_id: selectRecords[0].goods_owner_id,+ goods_location_id: selectRecords[0].goods_location_id,+ qty: selectRecords[0].qty_available || 0,+ tenant_id: 0,+ is_source: true,+ spu_code: selectRecords[0].spu_code,+ spu_name: selectRecords[0].spu_name,+ sku_code: selectRecords[0].sku_code,+ series_number: selectRecords[0].series_number,+ unit: selectRecords[0].unit,+ is_update_stock: false,+ qty_available: selectRecords[0].qty_available+ },+ -1+ )+ }+ },++ insertTargetData: (selectRecords: any) => {+ const $table = xTableTarget.value+ const tableData = $table.getTableData().fullData++ // Combine: That just can select one target commodity+ if (data.form.job_type === PROCESS_JOB_COMBINE) {+ // It should remove all data before insert.+ $table.remove()+ $table.insertAt(+ {+ id: 0,+ stock_process_id: 0,+ sku_id: selectRecords[0].sku_id,+ goods_owner_id: 0,+ goods_location_id: 0,+ qty: 0,+ tenant_id: 0,+ is_source: false,+ spu_code: selectRecords[0].spu_code,+ spu_name: selectRecords[0].spu_name,+ sku_code: selectRecords[0].sku_code,+ unit: selectRecords[0].unit,+ is_update_stock: false+ },+ -1+ )+ } else if (data.form.job_type === PROCESS_JOB_SPLIT) {+ // Split: That can select more target commodity+ for (const record of selectRecords) {+ const isRepeat = tableData.some((data: WarehouseProcessingDetailVO) => data.sku_id === record.sku_id)+ if (isRepeat) {+ continue+ }+ $table.insertAt(+ {+ id: 0,+ stock_process_id: 0,+ sku_id: record.sku_id,+ goods_owner_id: 0,+ goods_location_id: 0,+ qty: 0,+ tenant_id: 0,+ is_source: false,+ spu_code: record.spu_code,+ spu_name: record.spu_name,+ sku_code: record.sku_code,+ unit: record.unit,+ is_update_stock: false+ },+ -1+ )+ }+ }+ },++ // Export table+ exportTable: (type: string) => {+ const $table = type === 'source' ? xTableSource.value : xTableTarget.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.commodityManagement'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },++ submit: async () => {+ const validSource = await method.validSourceTable()+ const validTarget = await method.validTargetTable()+ if (!validSource || !validTarget) {+ return+ }++ const form = method.constructFormBody()++ const { data: res } = await addStockProcess(form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ },++ constructFormBody: () => {+ const $tableSource = xTableSource.value+ const $tableTarget = xTableTarget.value++ const tableSourceRecords = $tableSource.getTableData().fullData+ const tableTargetRecords = $tableTarget.getTableData().fullData++ // Need combine source and target to server.+ let form = { ...data.form }+ form.detailList = [...tableSourceRecords, ...tableTargetRecords]+ form = removeObjectNull(form)++ delete form.source_detail_list+ delete form.target_detail_list++ return form+ },++ validSourceTable: async () => {+ const $table = xTableSource.value+ const tableData = $table.getTableData().fullData++ // 1.The table must have data.+ if (!tableData.length) {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.tips.detailLengthIsZero')+ })+ return false+ }++ // 2.The properties valid.+ const errMap = await $table.validate()+ if (errMap) {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ return false+ }++ return true+ },++ validTargetTable: async () => {+ const $table = xTableTarget.value+ const tableData = $table.getTableData().fullData++ // 1.The table must have data.+ if (!tableData.length) {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.tips.detailLengthIsZero')+ })+ return false+ }++ // 2.The properties valid.+ const errMap = await $table.validate()+ if (errMap) {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ return false+ }++ return true+ },++ // The 'qty' can't more than 'qty_available'+ validQty: ({ cellValue, row }: any) => {+ const qty = cellValue || 0+ const qtyAvailable = row.qty_available || 0++ if (qty > qtyAvailable) {+ return new Error(`${ i18n.global.t('wms.warehouseWorking.warehouseProcessing.qtyMoreThanAvailable') } ${ qtyAvailable }`)+ }+ },++ deleteRowSource: (row: WarehouseProcessingDetailVO) => {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteDetailMessage'),+ handleConfirm: async () => {+ if (row) {+ const $table = xTableSource.value+ $table.remove(row)+ }+ }+ })+ },++ deleteRowTarget: (row: WarehouseProcessingDetailVO) => {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteDetailMessage'),+ handleConfirm: async () => {+ if (row) {+ const $table = xTableTarget.value+ $table.remove(row)+ }+ }+ })+ }+})++const data = reactive({+ tableData: [],+ // 'source' | 'target'+ curSelectType: '',++ showCommodityDialogSelect: false,+ showSkuDialogSelect: false,+ showLocationDialogSelect: false,++ form: ref<WarehouseProcessingVO>({+ id: 0,+ job_code: '',+ job_type: PROCESS_JOB_COMBINE,+ process_status: false,+ processor: '',+ process_time: '',+ source_detail_list: [],+ target_detail_list: []+ }),+ curSelectRow: ref<WarehouseProcessingDetailVO>({+ id: 0,+ stock_process_id: 0,+ sku_id: 0,+ goods_owner_id: 0,+ goods_location_id: 0,+ qty: 0,+ is_source: true,+ spu_code: '',+ spu_name: '',+ sku_code: '',+ unit: '',+ is_update_stock: false+ }),+ validRulesSource: ref<any>({+ qty: [+ { required: true, message: `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.warehouseWorking.warehouseProcessing.qty') }` },+ {+ validator: method.validQty+ },+ {+ validator: isInteger,+ validNumerical: 'greaterThanZero',+ trigger: 'change'+ }+ ]+ }),+ validRulesTarget: ref<any>({+ qty: [+ { required: true, message: `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.warehouseWorking.warehouseProcessing.qty') }` },+ {+ validator: isInteger,+ validNumerical: 'greaterThanZero',+ trigger: 'change'+ }+ ],+ location_name: [+ {+ required: true,+ message: `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.warehouseWorking.warehouseProcessing.target_location') }`+ }+ ]+ })+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.initForm()+ }+ }+)+</script>++<style scoped lang="less">+.mainForm {+ background-color: #f9f9f9;+ border-radius: 5px;+ padding: 20px;+ box-sizing: border-box;+ overflow: auto;+}++.toolbar {+ height: 40px;+ display: flex;+ justify-content: space-between;+}++.toolbarTitle {+ display: flex;+ // justify-content: center;+ // align-items: center;+}+</style>diff --git a/frontend/src/view/warehouseWorking/warehouseProcessing/warehouseProcessing.vue b/frontend/src/view/warehouseWorking/warehouseProcessing/warehouseProcessing.vuenew file mode 100644index 0000000..6a13073--- /dev/null+++ b/frontend/src/view/warehouseWorking/warehouseProcessing/warehouseProcessing.vue@@ -0,0 +1,450 @@+<!-- Warehouse Processing -->+<template>+ <div class="container">+ <div>+ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <v-window v-model="data.activeTab">+ <v-window-item>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn+ icon="mdi-arrow-split-vertical"+ :tooltip-text="$t('wms.warehouseWorking.warehouseProcessing.process_split')"+ @click="method.add(PROCESS_JOB_SPLIT)"+ ></tooltip-btn>+ <tooltip-btn+ icon="mdi-group"+ :tooltip-text="$t('wms.warehouseWorking.warehouseProcessing.process_combine')"+ @click="method.add(PROCESS_JOB_COMBINE)"+ ></tooltip-btn>+ <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->++ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4"></v-col>+ <v-col cols="4"></v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.job_code"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.warehouseWorking.warehouseProcessing.job_code')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="job_code" width="150px" :title="$t('wms.warehouseWorking.warehouseProcessing.job_code')"></vxe-column>+ <vxe-column field="job_type" :title="$t('wms.warehouseWorking.warehouseProcessing.job_type')">+ <template #default="{ row, column }">+ <span>{{ formatProcessJobType(row[column.property]) }}</span>+ </template>+ </vxe-column>+ <vxe-column field="adjust_status" :title="$t('wms.warehouseWorking.warehouseProcessing.adjust_status')">+ <template #default="{ row, column }">+ <span>{{ formatIsValid(row[column.property]) }}</span>+ </template>+ </vxe-column>+ <vxe-column field="processor" :title="$t('wms.warehouseWorking.warehouseProcessing.processor')"></vxe-column>+ <vxe-column+ field="process_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('wms.warehouseWorking.warehouseProcessing.process_time')"+ >+ </vxe-column>+ <vxe-column field="creator" :title="$t('wms.warehouseWorking.warehouseProcessing.creator')"></vxe-column>+ <vxe-column+ field="create_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('wms.warehouseWorking.warehouseProcessing.create_time')"+ ></vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="250" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-eye-outline"+ :tooltip-text="$t('system.page.view')"+ @click="method.viewRow(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-book-check-outline"+ :tooltip-text="$t('wms.warehouseWorking.warehouseProcessing.confirmProcess')"+ :disabled="!data.authorityList.includes('confirmOpeartion') || method.confirmProcessBtnDisabled(row)"+ @click="method.confirmProcess(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-book-open-outline"+ :tooltip-text="$t('wms.warehouseWorking.warehouseProcessing.confirmAdjust')"+ :disabled="!data.authorityList.includes('confirmAdjust') || method.confirmAdjustBtnDisabled(row)"+ @click="method.confirmAdjust(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="!data.authorityList.includes('delete') || method.confirmProcessBtnDisabled(row)?'':errorColor"+ :disabled="!data.authorityList.includes('delete') || method.confirmProcessBtnDisabled(row)"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ </v-window-item>+ </v-window>+ </v-card-text>+ </v-card>+ <addOrUpdateDialog+ :show-dialog="data.showDialog"+ :form="data.dialogForm"+ :process-type="data.processType"+ @close="method.closeDialog"+ @saveSuccess="method.saveSuccess"+ />+ </div>+ </div>+</template>++<script lang="ts" setup>+import { computed, ref, reactive, onActivated, watch, nextTick, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight, errorColor } from '@/constant/style'+import { WarehouseProcessingVO, WarehouseProcessingDetailVO } from '@/types/WarehouseWorking/WarehouseProcessing'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { deleteStockProcess, getStockProcessList, getStockProcessOne, confirmAdjustment, confirmProcess } from '@/api/wms/warehouseProcessing'+import { PROCESS_JOB_COMBINE, PROCESS_JOB_SPLIT } from '@/constant/warehouseWorking'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { SearchObject, btnGroupItem } from '@/types/System/Form'+import { formatIsValid } from '@/utils/format/formatSystem'+import { formatProcessJobType } from '@/utils/format/formatWarehouseWorking'+import tooltipBtn from '@/components/tooltip-btn.vue'+import addOrUpdateDialog from './add-or-update-process.vue'+import i18n from '@/languages/i18n'+import customPager from '@/components/custom-pager.vue'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'++const xTable = ref()++const data = reactive({+ showDialog: false,+ processType: PROCESS_JOB_COMBINE,+ timer: ref<any>(null),+ activeTab: null,+ searchForm: {+ job_code: ''+ },+ tableData: ref<WarehouseProcessingVO[]>([]),+ dialogForm: {+ id: 0,+ job_code: '',+ job_type: PROCESS_JOB_COMBINE,+ process_status: false,+ processor: '',+ process_time: '',+ source_detail_list: ref<any[]>([]),+ target_detail_list: ref<any[]>([]),+ creator: '',+ create_time: '',+ adjust_status: false+ },+ tablePage: reactive({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ // Open a dialog to add+ add: (jobType: boolean) => {+ data.processType = jobType+ data.dialogForm = {+ id: 0,+ job_code: '',+ job_type: jobType,+ process_status: false,+ processor: '',+ process_time: '',+ source_detail_list: [],+ target_detail_list: [],+ creator: '',+ create_time: '',+ adjust_status: false+ }+ nextTick(() => {+ data.showDialog = true+ })+ },++ // After add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },++ // Refresh data+ refresh: () => {+ method.getStockProcessList()+ },++ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },++ getStockProcessList: async () => {+ const { data: res } = await getStockProcessList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },++ viewRow: async (row: WarehouseProcessingVO) => {+ await method.getOne(row.id)+ nextTick(() => {+ data.showDialog = true+ })+ },++ getOne: async (id: number) => {+ const { data: res } = await getStockProcessOne(id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }++ data.dialogForm = res.data+ data.processType = res.data.job_type+ },++ deleteRow(row: WarehouseProcessingVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await deleteStockProcess(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }++ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },++ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize+ method.refresh()+ }),++ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.warehouseProcessing'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },++ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.refresh()+ },++ // The btn will become disabled when the 'process_status' is false+ confirmProcessBtnDisabled: (row: WarehouseProcessingVO) => !!row.process_status,++ // The btn will become disabled when the 'process_status' is false+ // or the 'adjust_status' is true+ confirmAdjustBtnDisabled: (row: WarehouseProcessingVO) => !row.process_status || !!row.adjust_status,++ confirmProcess: async (row: WarehouseProcessingDetailVO) => {+ hookComponent.$dialog({+ content: i18n.global.t('wms.warehouseWorking.warehouseProcessing.beforeConfirmProcess'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await confirmProcess(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('wms.warehouseWorking.warehouseProcessing.confirmProcess') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },++ confirmAdjust: async (row: WarehouseProcessingDetailVO) => {+ hookComponent.$dialog({+ content: i18n.global.t('wms.warehouseWorking.warehouseProcessing.beforeConfirmAdjust'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await confirmAdjustment(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('wms.warehouseWorking.warehouseProcessing.confirmAdjust') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ }+})++onActivated(() => {+ method.refresh()+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('wms.warehouseWorking.warehouseProcessing.process_split'),+ icon: 'mdi-arrow-split-vertical',+ code: 'split',+ click: () => {+ method.add(PROCESS_JOB_SPLIT)+ }+ },+ {+ name: i18n.global.t('wms.warehouseWorking.warehouseProcessing.process_combine'),+ icon: 'mdi-group',+ code: 'group',+ click: () => {+ method.add(PROCESS_JOB_COMBINE)+ }+ },+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'export',+ click: method.exportTable+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({ hasTab: false }))+const tableHeight = computed(() => computedTableHeight({ hasTab: false }))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/warehouseWorking/warehouseTaking/add-or-update-taking.vue b/frontend/src/view/warehouseWorking/warehouseTaking/add-or-update-taking.vuenew file mode 100644index 0000000..632faf4--- /dev/null+++ b/frontend/src/view/warehouseWorking/warehouseTaking/add-or-update-taking.vue@@ -0,0 +1,332 @@+<!-- Warehouse Taking Operate Dialog -->+<template>+ <v-dialog v-model="isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('router.sideBar.warehouseTaking')}`">+ <custom-qrcode :value="qrCodeValue" />+ </v-toolbar>+ <v-card-text>+ <div class="header">+ <div class="headerBtn">+ <tooltip-btn+ size="x-small"+ icon="mdi-home-plus-outline"+ :tooltip-text="$t('wms.warehouseWorking.warehouseTaking.addFromStock')"+ @click="method.openCommoditySelect()"+ ></tooltip-btn>+ <tooltip-btn+ size="x-small"+ icon="mdi-store-plus-outline"+ :tooltip-text="$t('wms.warehouseWorking.warehouseTaking.addFromCommodity')"+ :disabled="isFromStock"+ @click="method.openSkuSelect()"+ ></tooltip-btn>+ </div>+ <div class="headerTips">+ <v-tooltip :text="$t('wms.warehouseWorking.warehouseTaking.addTips')">+ <template #activator="{ props }">+ <v-btn v-bind="props" size="x-small" variant="text" icon="mdi-help-circle" color="blue-lighten-2"></v-btn>+ </template>+ </v-tooltip>+ </div>+ </div>+ <v-form ref="formRef">+ <v-text-field+ v-model="data.form.spu_code"+ :label="$t('base.commodityManagement.spu_code')"+ :rules="data.rules.spu_code"+ variant="outlined"+ readonly+ clearable+ @click:clear="method.clearCommodity"+ ></v-text-field>+ <v-text-field+ v-model="data.form.spu_name"+ :label="$t('base.commodityManagement.spu_name')"+ :rules="data.rules.spu_name"+ variant="outlined"+ disabled+ ></v-text-field>+ <v-text-field+ v-model="data.form.sku_code"+ :label="$t('base.commodityManagement.sku_code')"+ :rules="data.rules.sku_code"+ variant="outlined"+ disabled+ ></v-text-field>+ <v-text-field v-model="data.form.series_number" :label="$t('wms.stockLocation.series_number')" variant="outlined" disabled></v-text-field>+ <v-text-field+ v-model="data.form.warehouse_name"+ :label="$t('wms.warehouseWorking.warehouseTaking.warehouse')"+ :rules="data.rules.warehouse_name"+ variant="outlined"+ disabled+ ></v-text-field>+ <v-text-field+ v-model="data.form.location_name"+ :label="$t('wms.warehouseWorking.warehouseTaking.location_name')"+ :rules="data.rules.location_name"+ variant="outlined"+ :disabled="isFromStock"+ @click="method.openLocationSelect"+ @click:clear="method.clearLocation"+ ></v-text-field>+ <v-text-field+ v-model="data.form.book_qty"+ :label="$t('wms.warehouseWorking.warehouseTaking.book_qty')"+ :rules="data.rules.book_qty"+ variant="outlined"+ disabled+ ></v-text-field>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" :disabled="operateDisabled" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>++ <commodity-select+ :show-dialog="data.showCommodityDialogSelect"+ @close="method.closeCommodityDialogSelect"+ @sureSelect="method.sureSelectCommodity"+ />+ <sku-select :show-dialog="data.showSkuDialogSelect" @close="method.closeDialogSelectSku" @sureSelect="method.sureSelectSku" />+ <location-select :show-dialog="data.showLocationDialogSelect" @close="method.closeDialogSelectLocation" @sureSelect="method.sureSelectLocation" />+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { hookComponent } from '@/components/system/index'+import { addStockTaking } from '@/api/wms/warehouseTaking'+import { WarehouseTakingVO } from '@/types/WarehouseWorking/WarehouseTaking'+import { removeObjectNull } from '@/utils/common'+import { TAKING_JOB_FINISH } from '@/constant/warehouseWorking'+import i18n from '@/languages/i18n'+import commoditySelect from '@/components/select/commodity-select.vue'+import tooltipBtn from '@/components/tooltip-btn.vue'+import locationSelect from '@/components/select/location-select.vue'+import skuSelect from '@/components/select/sku-select.vue'+import customQrcode from '@/components/custom-qrcode.vue'++const formRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])+const isUpdate = computed(() => props.form.id && props.form.id > 0)+const operateDisabled = computed(() => !!isUpdate.value)+const isFromStock = computed(() => data.curStockID > 0)+const qrCodeValue = computed(() => JSON.stringify({+ id: data.form.id.toString(),+ type: 'warehouseTaking'+ }))++const props = defineProps<{+ showDialog: boolean+ form: WarehouseTakingVO+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ showCommodityDialogSelect: false,+ showLocationDialogSelect: false,+ showSkuDialogSelect: false,++ // There has value when choose from stock.+ curStockID: 0,++ form: ref<WarehouseTakingVO>({+ id: 0,+ job_code: '',+ job_status: TAKING_JOB_FINISH,+ sku_id: 0,+ goods_owner_id: 0,+ goods_location_id: 0,+ book_qty: 0,+ counted_qty: 0,+ difference_qty: 0,+ spu_code: '',+ spu_name: '',+ sku_code: '',+ series_number: '',+ warehouse_name: '',+ location_name: '',+ handler: '',+ handle_time: '',+ adjust_status: false,+ creator: '',+ create_time: ''+ }),+ rules: {+ job_type: [],+ book_qty: [],+ warehouse_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.warehouseWorking.warehouseTaking.warehouse') }!`+ ],+ location_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.warehouseWorking.warehouseTaking.location_name') }!`+ ],+ spu_code: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.spu_code') }!`],+ spu_name: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.spu_name') }!`],+ sku_code: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.sku_code') }!`],+ sku_name: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.commodityManagement.sku_name') }!`]+ }+})++const method = reactive({+ closeDialog: () => {+ emit('close')+ },++ initForm: () => {+ data.form = props.form+ },++ openCommoditySelect: () => {+ data.showCommodityDialogSelect = true+ },++ closeCommodityDialogSelect: () => {+ data.showCommodityDialogSelect = false+ },++ sureSelectCommodity: (selectRecords: any) => {+ try {+ data.curStockID = selectRecords[0].id+ data.form.sku_id = selectRecords[0].sku_id+ data.form.goods_owner_id = selectRecords[0].goods_owner_id+ data.form.goods_location_id = selectRecords[0].goods_location_id+ data.form.warehouse_name = selectRecords[0].warehouse_name+ data.form.location_name = selectRecords[0].location_name+ data.form.spu_code = selectRecords[0].spu_code+ data.form.spu_name = selectRecords[0].spu_name+ data.form.sku_code = selectRecords[0].sku_code+ data.form.series_number = selectRecords[0].series_number+ data.form.book_qty = selectRecords[0].qty_available+ } catch (error) {+ // console.error(error)+ }+ },++ clearCommodity: () => {+ data.curStockID = 0+ data.form.sku_id = 0+ data.form.goods_location_id = 0+ data.form.warehouse_name = ''+ data.form.location_name = ''+ data.form.spu_code = ''+ data.form.spu_name = ''+ data.form.sku_code = ''+ data.form.book_qty = 0+ },++ openSkuSelect: () => {+ data.showSkuDialogSelect = true+ },++ closeDialogSelectSku: () => {+ data.showSkuDialogSelect = false+ },++ sureSelectSku: (selectRecords: any) => {+ if (selectRecords.length > 0) {+ data.form.sku_id = selectRecords[0].sku_id+ data.form.goods_owner_id = selectRecords[0].goods_owner_id+ data.form.goods_location_id = selectRecords[0].goods_location_id+ // The book qty should zero when the data from commodity.+ data.form.book_qty = 0+ data.form.spu_code = selectRecords[0].spu_code+ data.form.spu_name = selectRecords[0].spu_name+ data.form.sku_code = selectRecords[0].sku_code+ }+ },++ openLocationSelect: () => {+ data.showLocationDialogSelect = true+ },++ closeDialogSelectLocation: () => {+ data.showLocationDialogSelect = false+ },++ sureSelectLocation: (selectRecords: any) => {+ if (selectRecords.length > 0) {+ data.form.goods_location_id = selectRecords[0].id+ data.form.warehouse_name = selectRecords[0].warehouse_name+ data.form.location_name = selectRecords[0].location_name+ }+ },++ clearLocation: () => {+ data.form.goods_location_id = 0+ data.form.warehouse_name = ''+ data.form.location_name = ''+ },++ submit: async () => {+ const { valid } = await formRef.value.validate()++ const form = method.constructFormBody()++ if (valid) {+ const { data: res } = await addStockTaking(form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ },++ constructFormBody: () => {+ let form = { ...data.form }+ form = removeObjectNull(form)++ return form+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.initForm()+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}++.header {+ display: flex;+ margin-bottom: 15px;+ justify-content: space-between;+}++.headerBtn {+}+.headerTips {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/warehouseWorking/warehouseTaking/number-input.vue b/frontend/src/view/warehouseWorking/warehouseTaking/number-input.vuenew file mode 100644index 0000000..5fc98c7--- /dev/null+++ b/frontend/src/view/warehouseWorking/warehouseTaking/number-input.vue@@ -0,0 +1,143 @@+<!-- Warehouse Taking Number Input -->+<template>+ <v-dialog v-model="isShow" :width="'20%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('router.sideBar.warehouseTaking')}`"></v-toolbar>+ <v-card-text>+ <p class="mb-4" style="color: #999999">{{ $t('wms.warehouseWorking.warehouseTaking.book_qty') }}:{{ data.form.book_qty }}</p>+ <v-form ref="formRef">+ <v-text-field+ v-model="data.form.counted_qty"+ :label="$t('wms.warehouseWorking.warehouseTaking.counted_qty')"+ :rules="data.rules.counted_qty"+ variant="outlined"+ clearable+ ></v-text-field>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { hookComponent } from '@/components/system/index'+import { confirmStockTaking } from '@/api/wms/warehouseTaking'+import { WarehouseTakingVO } from '@/types/WarehouseWorking/WarehouseTaking'+import { removeObjectNull } from '@/utils/common'+import { TAKING_JOB_FINISH } from '@/constant/warehouseWorking'+import i18n from '@/languages/i18n'+import { IsInteger } from '@/utils/dataVerification/formRule'++const formRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])++const props = defineProps<{+ showDialog: boolean+ form: WarehouseTakingVO+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ showCommodityDialogSelect: false,+ showLocationDialogSelect: false,++ form: ref<WarehouseTakingVO>({+ id: 0,+ job_code: '',+ job_status: TAKING_JOB_FINISH,+ sku_id: 0,+ goods_owner_id: 0,+ goods_location_id: 0,+ book_qty: 0,+ counted_qty: 0,+ difference_qty: 0,+ spu_code: '',+ spu_name: '',+ sku_code: '',+ warehouse_name: '',+ location_name: '',+ adjust_status: false,+ handler: '',+ handle_time: '',+ series_number: ''+ }),+ rules: {+ book_qty: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.warehouseWorking.warehouseTaking.book_qty') }!`+ ],+ counted_qty: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.warehouseWorking.warehouseTaking.counted_qty') }!`,+ (val: number) => IsInteger(val, 'nonNegative') === '' || IsInteger(val, 'nonNegative')+ ]+ }+})++const method = reactive({+ closeDialog: () => {+ emit('close')+ },++ initForm: () => {+ data.form = props.form+ },++ submit: async () => {+ const { valid } = await formRef.value.validate()++ const form = method.constructFormBody()++ if (valid) {+ const { data: res } = await confirmStockTaking(form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ },++ constructFormBody: () => {+ let form = { ...data.form }+ form = removeObjectNull(form)++ return form+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.initForm()+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/warehouseWorking/warehouseTaking/warehouseTaking.vue b/frontend/src/view/warehouseWorking/warehouseTaking/warehouseTaking.vuenew file mode 100644index 0000000..e64eca0--- /dev/null+++ b/frontend/src/view/warehouseWorking/warehouseTaking/warehouseTaking.vue@@ -0,0 +1,445 @@+<!-- Warehouse Taking -->+<template>+ <div class="container">+ <div>+ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <v-window v-model="data.activeTab">+ <v-window-item>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.add')" @click="method.add()"></tooltip-btn>+ <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->++ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4"></v-col>+ <v-col cols="4"></v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.job_code"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.warehouseWorking.warehouseTaking.job_code')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="job_code" width="150px" :title="$t('wms.warehouseWorking.warehouseTaking.job_code')"></vxe-column>+ <vxe-column field="job_status" width="150px" :title="$t('wms.warehouseWorking.warehouseTaking.job_status')">+ <template #default="{ row, column }">+ <span>{{ formatTakingJobStatus(row[column.property]) }}</span>+ </template>+ </vxe-column>+ <vxe-column field="spu_code" width="150px" :title="$t('base.commodityManagement.spu_code')"></vxe-column>+ <vxe-column field="spu_name" width="150px" :title="$t('base.commodityManagement.spu_name')"></vxe-column>+ <vxe-column field="sku_code" width="150px" :title="$t('base.commodityManagement.sku_code')"></vxe-column>+ <vxe-column field="series_number" width="150px" :title="$t('wms.stockLocation.series_number')"></vxe-column>+ <vxe-column field="warehouse_name" width="150px" :title="$t('wms.warehouseWorking.warehouseTaking.warehouse')"></vxe-column>+ <vxe-column field="location_name" width="150px" :title="$t('wms.warehouseWorking.warehouseTaking.location_name')"></vxe-column>+ <vxe-column field="book_qty" width="150px" :title="$t('wms.warehouseWorking.warehouseTaking.book_qty')"></vxe-column>+ <vxe-column field="counted_qty" width="150px" :title="$t('wms.warehouseWorking.warehouseTaking.counted_qty')"></vxe-column>+ <vxe-column field="difference_qty" width="150px" :title="$t('wms.warehouseWorking.warehouseTaking.difference_qty')"></vxe-column>+ <vxe-column field="handler" width="150px" :title="$t('wms.warehouseWorking.warehouseTaking.handler')"></vxe-column>+ <vxe-column+ field="handle_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('wms.warehouseWorking.warehouseTaking.handle_time')"+ >+ </vxe-column>+ <vxe-column field="creator" :title="$t('wms.warehouseWorking.warehouseTaking.creator')"></vxe-column>+ <vxe-column+ field="create_time"+ width="170px"+ :formatter="['formatDate', 'yyyy-MM-dd HH:mm']"+ :title="$t('wms.warehouseWorking.warehouseTaking.create_time')"+ ></vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="250" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-eye-outline"+ :tooltip-text="$t('system.page.view')"+ @click="method.viewRow(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-book-check-outline"+ :tooltip-text="$t('wms.warehouseWorking.warehouseTaking.confirmTaking')"+ :disabled="!data.authorityList.includes('confirmOpeartion') || method.isConfirmTaking(row)"+ @click="method.confirmTaking(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-book-open-outline"+ :tooltip-text="$t('wms.warehouseWorking.warehouseProcessing.confirmAdjust')"+ :disabled="!data.authorityList.includes('confirmAdjust') || method.confirmAdjustBtnDisabled(row)"+ @click="method.confirmAdjust(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="!data.authorityList.includes('delete') || method.isConfirmTaking(row)?'':errorColor"+ :disabled="!data.authorityList.includes('delete') || method.isConfirmTaking(row)"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ </v-window-item>+ </v-window>+ </v-card-text>+ </v-card>+ <addOrUpdateDialog :show-dialog="data.showDialog" :form="data.dialogForm" @close="method.closeDialog" @saveSuccess="method.saveSuccess" />+ <number-input+ :show-dialog="data.showDialogNumberInput"+ :form="data.dialogForm"+ @close="method.closeDialogNumberInput"+ @saveSuccess="method.saveSuccessNumberInput"+ />+ </div>+ </div>+</template>++<script lang="ts" setup>+import { computed, ref, reactive, onActivated, watch, nextTick, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight, errorColor } from '@/constant/style'+import { WarehouseTakingVO } from '@/types/WarehouseWorking/WarehouseTaking'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { TAKING_JOB_FINISH, TAKING_JOB_UNFINISH } from '@/constant/warehouseWorking'+import { deleteStockTaking, getStockTakingList, getStockTakingOne, confirmAdjustment } from '@/api/wms/warehouseTaking'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { SearchObject, btnGroupItem } from '@/types/System/Form'+import { formatTakingJobStatus } from '@/utils/format/formatWarehouseWorking'+import tooltipBtn from '@/components/tooltip-btn.vue'+import addOrUpdateDialog from './add-or-update-taking.vue'+import numberInput from './number-input.vue'+import i18n from '@/languages/i18n'+import customPager from '@/components/custom-pager.vue'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'++const xTable = ref()++const data = reactive({+ showDialog: false,+ showDialogNumberInput: false,+ timer: ref<any>(null),+ activeTab: null,+ tableData: ref<WarehouseTakingVO[]>([]),+ dialogForm: ref<WarehouseTakingVO>({+ id: 0,+ job_code: '',+ job_status: TAKING_JOB_FINISH,+ sku_id: 0,+ goods_owner_id: 0,+ goods_location_id: 0,+ book_qty: 0,+ counted_qty: 0,+ difference_qty: 0,+ spu_code: '',+ spu_name: '',+ sku_code: '',+ series_number: '',+ warehouse_name: '',+ location_name: '',+ handler: '',+ handle_time: '',+ adjust_status: false,+ creator: '',+ create_time: ''+ }),+ searchForm: {+ job_code: ''+ },+ tablePage: reactive({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ // Open a dialog to add+ add: () => {+ data.dialogForm = {+ id: 0,+ job_code: '',+ job_status: TAKING_JOB_FINISH,+ sku_id: 0,+ goods_owner_id: 0,+ goods_location_id: 0,+ book_qty: 0,+ counted_qty: 0,+ difference_qty: 0,+ spu_code: '',+ spu_name: '',+ sku_code: '',+ series_number: '',+ warehouse_name: '',+ location_name: '',+ handler: '',+ handle_time: '',+ adjust_status: false,+ creator: '',+ create_time: ''+ }+ nextTick(() => {+ data.showDialog = true+ })+ },++ // After add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },++ // After confirm taking.+ saveSuccessNumberInput: () => {+ method.refresh()+ method.closeDialogNumberInput()+ },++ // Refresh data+ refresh: () => {+ method.getStockProcessList()+ },++ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },++ // Shut number input dialog+ closeDialogNumberInput: () => {+ data.showDialogNumberInput = false+ },++ getStockProcessList: async () => {+ const { data: res } = await getStockTakingList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },++ viewRow: async (row: WarehouseTakingVO) => {+ await method.getOne(row.id)+ nextTick(() => {+ data.showDialog = true+ })+ },++ getOne: async (id: number) => {+ const { data: res } = await getStockTakingOne(id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }++ data.dialogForm = res.data+ },++ deleteRow(row: WarehouseTakingVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await deleteStockTaking(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }++ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },++ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize+ method.refresh()+ }),++ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('router.sideBar.warehouseTaking'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },++ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.refresh()+ },++ // The btn will become disabled when the 'job_status' is false+ confirmAdjustBtnDisabled: (row: WarehouseTakingVO) => row.job_status === TAKING_JOB_UNFINISH || !!row.adjust_status,++ // The btn will become disabled when the 'job_status' is true+ isConfirmTaking: (row: WarehouseTakingVO) => row.job_status === TAKING_JOB_FINISH,++ confirmTaking: async (row: WarehouseTakingVO) => {+ data.dialogForm = row+ nextTick(() => {+ data.showDialogNumberInput = true+ })+ },++ confirmAdjust: async (row: WarehouseTakingVO) => {+ hookComponent.$dialog({+ content: i18n.global.t('wms.warehouseWorking.warehouseTaking.beforeConfirmAdjust'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await confirmAdjustment(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('wms.warehouseWorking.warehouseTaking.confirmAdjust') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ }+})++onActivated(() => {+ method.refresh()+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.add'),+ icon: 'mdi-plus',+ code: 'save',+ click: method.add+ },+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'export',+ click: method.exportTable+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({ hasTab: false }))+const tableHeight = computed(() => computedTableHeight({ hasTab: false }))++watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/wms/stockAsn/add-or-update-notice.vue b/frontend/src/view/wms/stockAsn/add-or-update-notice.vuenew file mode 100644index 0000000..a90f03b--- /dev/null+++ b/frontend/src/view/wms/stockAsn/add-or-update-notice.vue@@ -0,0 +1,277 @@+<template>+ <v-dialog v-model="isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('wms.stockAsn.tabNotice')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-select+ v-model="data.form.supplier_name"+ :items="data.combobox.supplier_name"+ item-title="label"+ item-value="label"+ :rules="data.rules.supplier_name"+ :label="$t('wms.stockAsnInfo.supplier_name')"+ variant="outlined"+ clearable+ @update:model-value="method.supplierNameChange"+ ></v-select>+ <v-select+ v-model="data.form.goods_owner_name"+ :items="data.combobox.goods_owner_name"+ item-title="label"+ item-value="label"+ :rules="data.rules.goods_owner_name"+ :label="$t('wms.stockAsnInfo.goods_owner_name')"+ variant="outlined"+ clearable+ @update:model-value="method.goodsOwnerNameChange"+ ></v-select>+ <v-text-field+ v-model="data.form.spu_code"+ :label="$t('wms.stockAsnInfo.spu_code')"+ :rules="data.rules.spu_code"+ variant="outlined"+ readonly+ clearable+ @click="method.openSelect('target')"+ @click:clear="method.clearCommodity"+ ></v-text-field>+ <v-text-field+ v-model="data.form.spu_name"+ :label="$t('wms.stockAsnInfo.spu_name')"+ :rules="data.rules.spu_name"+ variant="outlined"+ disabled+ ></v-text-field>+ <v-text-field+ v-model="data.form.sku_code"+ :label="$t('wms.stockAsnInfo.sku_code')"+ :rules="data.rules.sku_code"+ variant="outlined"+ disabled+ ></v-text-field>+ <v-text-field+ v-model="data.form.sku_name"+ :label="$t('wms.stockAsnInfo.sku_name')"+ :rules="data.rules.sku_name"+ variant="outlined"+ disabled+ ></v-text-field>+ <v-text-field+ v-model="data.form.asn_qty"+ :label="$t('wms.stockAsnInfo.asn_qty')"+ :rules="data.rules.asn_qty"+ variant="outlined"+ ></v-text-field>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+ <sku-select+ :show-dialog="data.showSkuDialogSelect"+ @close="method.closeDialogSelect('target')"+ @sureSelect="method.sureSelect"+ />+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { StockAsnVO } from '@/types/WMS/StockAsn'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { addAsn, updateAsn } from '@/api/wms/stockAsn'+import { getSupplierAll } from '@/api/base/supplier'+import { getOwnerOfCargoAll } from '@/api/base/ownerOfCargo'+import skuSelect from '@/components/select/sku-select.vue'++const formRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])++const props = defineProps<{+ showDialog: boolean+ form: StockAsnVO+}>()++const isShow = computed(() => props.showDialog)++const dialogTitle = computed(() => {+ if (props.form.id && props.form.id > 0) {+ return 'update'+ }+ return 'add'+})++const data = reactive({+ form: ref<StockAsnVO>({+ id: 0,+ asn_no: '',+ asn_status: 0,+ spu_id: 0,+ spu_code: '',+ spu_name: '',+ sku_id: 0,+ sku_code: '',+ sku_name: '',+ origin: '',+ asn_qty: 0,+ weight: 0,+ volume: 0,+ supplier_id: 0,+ supplier_name: '',+ goods_owner_id: 0,+ goods_owner_name: '',+ is_valid: true,+ detailList: []+ }),+ rules: {+ supplier_name: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.stockAsnInfo.supplier_name') }!`],+ goods_owner_name: [],+ asn_qty: [],+ spu_code: [],+ spu_name: [],+ sku_code: [],+ sku_name: []+ },+ showSkuDialogSelect: false,+ curSelectType: '',+ combobox: ref<{+ supplier_name: {+ label: string+ value: number+ }[]+ goods_owner_name: {+ label: string+ value: number+ }[]+ }>({+ supplier_name: [],+ goods_owner_name: []+ })+})++const method = reactive({+ supplierNameChange: (val: string) => {+ if (!val) {+ data.form.supplier_id = 0+ } else {+ data.form.supplier_id = data.combobox.supplier_name.filter((item) => item.label === val)[0].value+ }+ },+ goodsOwnerNameChange: (val: string) => {+ if (!val) {+ data.form.goods_owner_id = 0+ } else {+ data.form.goods_owner_id = data.combobox.goods_owner_name.filter((item) => item.label === val)[0].value+ }+ },+ getCombobox: async () => {+ data.combobox.supplier_name = []+ data.combobox.goods_owner_name = []+ const { data: supplierRes } = await getSupplierAll()+ if (!supplierRes.isSuccess) {+ return+ }+ for (const item of supplierRes.data) {+ if (item.is_valid) {+ data.combobox.supplier_name.push({+ label: item.supplier_name,+ value: item.id+ })+ }+ }+ const { data: goodsOwnerRes } = await getOwnerOfCargoAll()+ if (!goodsOwnerRes.isSuccess) {+ return+ }+ for (const item of goodsOwnerRes.data) {+ if (item.is_valid) {+ data.combobox.goods_owner_name.push({+ label: item.goods_owner_name,+ value: item.id+ })+ }+ }+ },+ closeDialog: () => {+ emit('close')+ },+ submit: async () => {+ const { valid } = await formRef.value.validate()+ if (valid) {+ const { data: res } = dialogTitle.value === 'add' ? await addAsn(data.form) : await updateAsn(data.form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ },++ clearCommodity: () => {+ data.form.spu_id = 0+ data.form.spu_code = ''+ data.form.spu_name = ''+ data.form.spu_id = 0+ data.form.sku_code = ''+ data.form.sku_name = ''+ },+ openSelect: (type: string) => {+ data.curSelectType = type++ if (type === 'target') {+ data.showSkuDialogSelect = true+ }+ },+ closeDialogSelect: (type: string) => {+ if (type === 'target') {+ data.showSkuDialogSelect = false+ }+ },+ sureSelect: (selectRecords: any) => {+ if (data.curSelectType === 'target') {+ data.form.spu_id = selectRecords[0].spu_id+ data.form.spu_code = selectRecords[0].spu_code+ data.form.spu_name = selectRecords[0].spu_name+ data.form.sku_id = selectRecords[0].sku_id+ data.form.sku_code = selectRecords[0].sku_code+ data.form.sku_name = selectRecords[0].sku_name+ }+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.getCombobox()+ data.form = props.form+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/wms/stockAsn/add-sorting.vue b/frontend/src/view/wms/stockAsn/add-sorting.vuenew file mode 100644index 0000000..45f9577--- /dev/null+++ b/frontend/src/view/wms/stockAsn/add-sorting.vue@@ -0,0 +1,168 @@+<template>+ <v-dialog v-model="data.showDialog" :width="'50%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('wms.stockAsn.tabNotice')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-text-field+ v-model="data.form.sorted_qty"+ :label="$t('wms.stockAsnInfo.sorted_qty')"+ :rules="data.rules.sorted_qty"+ variant="outlined"+ ></v-text-field>+ <v-row v-for="(snNum, index) of data.SNList" :key="index" style="margin-top: 5px">+ <v-col :cols="10">+ <v-text-field+ v-model="snNum.snNum"+ :label="$t('wms.stockAsnInfo.series_number')"+ :rules="data.rules.series_number"+ variant="outlined"+ ></v-text-field>+ </v-col>+ <!-- <v-col :cols="3">+ <v-text-field v-model="data.staticDetailQty" readonly :label="$t('wms.stockAsnInfo.sorted_qty')" variant="outlined"></v-text-field>+ </v-col> -->+ <v-col :cols="2">+ <div class="detailBtnContainer">+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="errorColor"+ @click="method.removeItem(index)"+ ></tooltip-btn>+ </div>+ </v-col>+ </v-row>+ <v-btn+ style="font-size: 20px; margin-bottom: 15px; margin-top: 10px; float: right"+ color="primary"+ :width="40"+ @click="method.insertSNData()"+ >+ ++ </v-btn>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, ref } from 'vue'+import { SortingVo } from '@/types/WMS/StockAsn'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { IsInteger, StringLength } from '@/utils/dataVerification/formRule'+import { errorColor } from '@/constant/style'+import tooltipBtn from '@/components/tooltip-btn.vue'++const formRef = ref()+const emit = defineEmits(['sure'])++const data = reactive({+ showDialog: false,+ staticDetailQty: 1,+ form: ref<SortingVo>({+ asn_id: 0,+ sorted_qty: 0+ }),+ SNList: [] as { snNum: string }[],+ rules: {+ sorted_qty: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.stockAsnInfo.sorted_qty') }!`,+ (val: number) => IsInteger(val, 'greaterThanZero') === '' || IsInteger(val, 'greaterThanZero')+ ],+ series_number: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.stockAsnInfo.series_number') }!`,+ (val: string) => StringLength(val, 0, 64) === '' || StringLength(val, 0, 64)+ ]+ }+})++const method = reactive({+ // Delete data+ removeItem: (index: number) => {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteDetailMessage'),+ handleConfirm: async () => {+ data.SNList.splice(index, 1)+ }+ })+ },+ insertSNData: () => {+ data.SNList.push({ snNum: '' })+ },+ openDialog: async (id: number) => {+ data.form = {+ asn_id: id,+ sorted_qty: 0+ }++ data.SNList = []++ data.showDialog = true+ },+ closeDialog: () => {+ data.showDialog = false+ },+ submit: async () => {+ if (data.SNList.length > data.form.sorted_qty) {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('wms.stockAsnInfo.exceedingPrompt')+ })+ return+ }+ const { valid } = await formRef.value.validate()+ if (valid) {+ const reqData: any = []++ for (const item of data.SNList) {+ reqData.push({+ asn_id: data.form.asn_id,+ series_number: item.snNum,+ sorted_qty: 1+ })+ }++ // If there is still remaining after removing the SN code, add details without the SN code+ if (data.SNList.length !== data.form.sorted_qty) {+ const margin = data.form.sorted_qty - data.SNList.length+ reqData.push({+ asn_id: data.form.asn_id,+ series_number: '',+ sorted_qty: margin+ })+ }++ emit('sure', reqData)+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ }+})++defineExpose({+ openDialog: method.openDialog,+ closeDialog: method.closeDialog+})+</script>++<style scoped lang="less">+.detailBtnContainer {+ height: 56px;+ display: flex;+ justify-content: center;+ align-items: center;+}+</style>diff --git a/frontend/src/view/wms/stockAsn/confirm-arrival.vue b/frontend/src/view/wms/stockAsn/confirm-arrival.vuenew file mode 100644index 0000000..997a3ea--- /dev/null+++ b/frontend/src/view/wms/stockAsn/confirm-arrival.vue@@ -0,0 +1,58 @@+<template>+ <v-dialog v-model="data.showDialog" :width="'50%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card class="formCard">+ <v-toolbar color="white" :title="`${$t('wms.stockAsnInfo.arrival_time')}`"></v-toolbar>+ <v-card-text>+ <v-text-field v-model="data.arrival_time" type="date" variant="outlined" :label="$t('wms.stockAsnInfo.arrival_time')"></v-text-field>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive } from 'vue'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { formatDate } from '@/utils/format/formatSystem'++const emit = defineEmits(['sure'])++const data = reactive({+ showDialog: false,+ arrival_time: ''+})++const method = reactive({+ openDialog: () => {+ data.arrival_time = formatDate(new Date(), 'yyyy-MM-dd')++ data.showDialog = true+ },+ closeDialog: () => {+ data.showDialog = false+ },+ submit: async () => {+ if (data.arrival_time) {+ emit('sure', data.arrival_time)+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('wms.stockAsnInfo.mustInputErrorMsg')+ })+ }+ }+})++defineExpose({+ openDialog: method.openDialog,+ closeDialog: method.closeDialog+})+</script>++<style scoped lang="less"></style>diff --git a/frontend/src/view/wms/stockAsn/confirm-grouding.vue b/frontend/src/view/wms/stockAsn/confirm-grouding.vuenew file mode 100644index 0000000..056cd22--- /dev/null+++ b/frontend/src/view/wms/stockAsn/confirm-grouding.vue@@ -0,0 +1,203 @@+<template>+ <v-dialog v-model="data.showDialog" :width="'70%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('wms.stockAsnInfo.editGrounding')}`"></v-toolbar>+ <v-card-text>+ <v-row no-gutters>+ <v-col cols="12" class="col">+ <tooltip-btn+ icon="mdi-warehouse"+ :tooltip-text="$t('wms.stockAsnInfo.selectLocation')"+ @click="method.handleSelectLocation()"+ ></tooltip-btn>+ </v-col>+ </v-row>++ <vxe-table+ ref="xTable"+ keep-source+ :column-config="{ minWidth: '100px' }"+ :data="data.tableData"+ :height="SYSTEM_HEIGHT.SELECT_TABLE"+ align="center"+ :edit-rules="data.validRules"+ :edit-config="{ trigger: 'click', mode: 'cell', activeMethod: method.activeMethod }"+ :mouse-config="{ selected: true }"+ :keyboard-config="{ isArrow: true, isDel: true, isEnter: true, isTab: true, isEdit: true, isChecked: true }"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="goods_owner_name" :title="$t('wms.stockAsnInfo.goods_owner_name')"> </vxe-column>+ <vxe-column field="series_number" :title="$t('wms.stockAsnInfo.series_number')"> </vxe-column>+ <vxe-column field="location_name" :title="$t('base.warehouseSetting.location_name')" :edit-render="{ autofocus: '.vxe-input--inner' }">+ </vxe-column>++ <vxe-column field="sorted_qty" :title="$t('wms.stockAsnInfo.can_putaway_qty')"> </vxe-column>+ <vxe-column field="putaway_qty" :title="$t('wms.stockAsnInfo.putaway_qty')" :edit-render="{ autofocus: '.vxe-input--inner' }">+ <template #edit="{ row }">+ <vxe-input v-model="row.putaway_qty" type="text"></vxe-input>+ </template>+ </vxe-column>+ <!-- <vxe-column field="operate" :title="$t('system.page.operate')" width="100" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-warehouse"+ :tooltip-text="$t('base.warehouseSetting.location_name')"+ @click="method.handleSelectLocation(row)"+ ></tooltip-btn>+ </template>+ </vxe-column> -->+ </vxe-table>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>++ <locationSelect :show-dialog="data.showSkuDialogSelect" @close="method.closeDialogSelect()" @sureSelect="method.sureSelect" />+</template>++<script lang="ts" setup>+import { reactive, ref } from 'vue'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { SYSTEM_HEIGHT } from '@/constant/style'+import { getGrouding } from '@/api/wms/stockAsn'+import { isInteger } from '@/utils/dataVerification/tableRule'+import tooltipBtn from '@/components/tooltip-btn.vue'+import locationSelect from '@/components/select/location-select.vue'++const xTable = ref()++const emit = defineEmits(['sure'])++// Verify if it exceeds the available shelving quantity+const validQty = ({ cellValue, row }: { cellValue: number; row: { sorted_qty: number } }) => {+ if (!Number.isNaN(cellValue) && !Number.isNaN(row.sorted_qty) && cellValue > row.sorted_qty) {+ return new Error(i18n.global.t('wms.stockAsnInfo.exceedTip'))+ }+}++// If the number of listings is greater than 0, a storage location code must be selected for verification+const validLocationName = ({ cellValue, row }: { cellValue: string; row: { putaway_qty: number } }) => {+ if (row.putaway_qty && !cellValue) {+ return new Error(i18n.global.t('wms.stockAsnInfo.notLocation'))+ }+}++const data = reactive({+ showDialog: false,+ showSkuDialogSelect: false,+ tableData: [],+ validRules: {+ putaway_qty: [+ { required: true, message: `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.stockAsnInfo.putaway_qty') }` },+ {+ validator: isInteger,+ validNumerical: 'nonNegative',+ trigger: 'change'+ },+ { validator: validQty, trigger: 'change' }+ ],+ series_number: [],+ location_name: [{ validator: validLocationName, trigger: 'change' }]+ } as any+})++const method = reactive({+ // Table activation rules+ activeMethod: ({ column }: any) => {+ if (column.field === 'location_name') {+ return false+ }+ return true+ },+ // Select storage location+ handleSelectLocation: () => {+ const checkRecords = xTable.value.getCheckboxRecords()++ if (checkRecords.length > 0) {+ data.showSkuDialogSelect = true+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('wms.stockAsnInfo.selectOne')+ })+ }+ },+ // Close the location selection box+ closeDialogSelect: () => {+ data.showSkuDialogSelect = false+ },+ // Select inventory location callback+ sureSelect: (selectRecords: any) => {+ if (selectRecords.length > 0) {+ const checkRecords = xTable.value.getCheckboxRecords()++ for (const item of checkRecords) {+ item.goods_location_id = selectRecords[0].id+ item.location_name = selectRecords[0].location_name+ }+ }+ },+ // Initialize window data+ initDialogData: async (id: number) => {+ const { data: res } = await getGrouding(id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ data.showDialog = false+ return+ }+ data.tableData = res.data.map((item: any) => ({+ ...item,+ putaway_qty: item.sorted_qty+ }))+ },++ openDialog: async (id: number) => {+ // Initialized Data+ method.initDialogData(id)++ data.showDialog = true+ },+ closeDialog: () => {+ data.showDialog = false+ },+ submit: async () => {+ const $table = xTable.value+ const errMap = await $table.validate(true)+ if (!errMap) {+ emit('sure', data.tableData)+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ }+})++defineExpose({+ openDialog: method.openDialog,+ closeDialog: method.closeDialog+})+</script>++<style scoped lang="less">+.col {+ display: flex;+ align-items: center;+ margin-bottom: 10px;+}+</style>diff --git a/frontend/src/view/wms/stockAsn/confirm-unload.vue b/frontend/src/view/wms/stockAsn/confirm-unload.vuenew file mode 100644index 0000000..8b6f59d--- /dev/null+++ b/frontend/src/view/wms/stockAsn/confirm-unload.vue@@ -0,0 +1,95 @@+<template>+ <v-dialog v-model="data.showDialog" :width="'50%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card class="formCard">+ <v-toolbar color="white" :title="`${$t('wms.stockAsnInfo.unloadTime')}`"></v-toolbar>+ <v-card-text>+ <v-text-field+ v-model="data.unloadPerson"+ variant="outlined"+ :label="$t('wms.stockAsnInfo.unloadPerson')"+ append-inner-icon="mdi-magnify"+ single-line+ readonly+ @click:append-inner="method.handleSelectPerson"+ ></v-text-field>+ <v-text-field v-model="data.unloadTime" type="date" variant="outlined" :label="$t('wms.stockAsnInfo.unloadTime')"></v-text-field>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>++ <EmployeeSelect ref="EmployeeSelectRef" @sure-select="method.employeeSureBack" />+</template>++<script lang="ts" setup>+import { reactive, ref } from 'vue'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { formatDate } from '@/utils/format/formatSystem'+import EmployeeSelect from '@/components/select/employee-select.vue'+import { UserVO } from '@/types/Base/UserManagement'+import { store } from '@/store'++const emit = defineEmits(['sure'])+const EmployeeSelectRef = ref()++const data = reactive({+ showDialog: false,+ unloadTime: '',+ unloadPerson: '',+ unloadPersonID: 0+})++const method = reactive({+ handleSelectPerson: () => {+ EmployeeSelectRef.value.openDialog()+ },+ employeeSureBack: (list: UserVO[]) => {+ if (list.length > 0) {+ data.unloadPerson = list[0].user_name+ data.unloadPersonID = list[0].id++ EmployeeSelectRef.value.closeDialog()+ }+ },+ openDialog: () => {+ data.unloadTime = formatDate(new Date(), 'yyyy-MM-dd')++ const userInfo = store.getters['user/userInfo']++ data.unloadPerson = userInfo.user_name+ data.unloadPersonID = userInfo.user_id++ data.showDialog = true+ },+ closeDialog: () => {+ data.showDialog = false+ },+ submit: async () => {+ if (data.unloadTime) {+ emit('sure', {+ unloadTime: data.unloadTime,+ unloadPerson: data.unloadPerson,+ unloadPersonID: data.unloadPersonID+ })+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('wms.stockAsnInfo.mustInputErrorMsg')+ })+ }+ }+})++defineExpose({+ openDialog: method.openDialog,+ closeDialog: method.closeDialog+})+</script>++<style scoped lang="less"></style>diff --git a/frontend/src/view/wms/stockAsn/new-add-or-update-notice.vue b/frontend/src/view/wms/stockAsn/new-add-or-update-notice.vuenew file mode 100644index 0000000..24024c0--- /dev/null+++ b/frontend/src/view/wms/stockAsn/new-add-or-update-notice.vue@@ -0,0 +1,426 @@+<template>+ <v-dialog v-model="isShow" :width="'80%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card class="formCard">+ <v-toolbar color="white" :title="`${$t('wms.stockAsn.tabNotice')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <v-row>+ <v-col :cols="4">+ <!-- <v-select+ v-model="data.form.goods_owner_name"+ :items="data.combobox.goods_owner_name"+ item-title="label"+ item-value="label"+ :rules="data.rules.goods_owner_name"+ :label="$t('wms.stockAsnInfo.goods_owner_name')"+ variant="outlined"+ clearable+ filterable+ @update:model-value="method.goodsOwnerNameChange"+ ></v-select> -->+ <customFilterSelect+ v-model="data.form"+ :items="data.combobox.goods_owner_name"+ item-title="label"+ :rules="data.rules.goods_owner_name"+ :label="$t('wms.stockAsnInfo.goods_owner_name')"+ :mapping="[+ {+ in: 'goods_owner_id',+ out: 'value'+ },+ {+ in: 'goods_owner_name',+ out: 'label'+ }+ ]"+ />+ </v-col>+ <v-col :cols="4">+ <v-text-field+ v-model="data.form.asn_batch"+ :label="$t('wms.stockAsnInfo.asn_batch')"+ :rules="data.rules.asn_batch"+ variant="outlined"+ ></v-text-field>+ </v-col>+ <v-col :cols="4">+ <v-text-field+ v-model="data.form.estimated_arrival_time"+ type="date"+ variant="outlined"+ :label="$t('wms.stockAsnInfo.estimated_arrival_time')"+ ></v-text-field>+ </v-col>+ </v-row>++ <v-row v-for="(item, index) of data.form.detailList" :key="index" style="margin-top: 5px">+ <v-col :cols="11">+ <v-row>+ <v-col :cols="3">+ <v-text-field v-model="item.spu_name" :label="$t('wms.stockAsnInfo.spu_name')" variant="outlined" readonly></v-text-field>+ </v-col>+ <v-col :cols="2">+ <v-text-field+ v-model="item.spu_code"+ :label="$t('wms.stockAsnInfo.spu_code')"+ :rules="data.rules.spu_code"+ variant="outlined"+ readonly+ ></v-text-field>+ </v-col>+ <v-col :cols="2">+ <v-text-field v-model="item.sku_code" :label="$t('wms.stockAsnInfo.sku_code')" variant="outlined" readonly></v-text-field>+ </v-col>+ <v-col :cols="3">+ <!-- <v-select+ v-model="item.supplier_name"+ :items="data.combobox.supplier_name"+ item-title="label"+ item-value="label"+ :rules="data.rules.supplier_name"+ :label="$t('wms.stockAsnInfo.supplier_name')"+ variant="outlined"+ clearable+ @update:model-value="method.supplierNameChange(item)"+ ></v-select> -->+ <customFilterSelect+ v-model="data.form.detailList[index]"+ :items="data.combobox.supplier_name"+ item-title="label"+ :rules="data.rules.supplier_name"+ :label="$t('wms.stockAsnInfo.supplier_name')"+ :mapping="[+ {+ in: 'supplier_name',+ out: 'label'+ },+ {+ in: 'supplier_id',+ out: 'value'+ }+ ]"+ />+ </v-col>+ <v-col :cols="2">+ <v-text-field+ v-model="item.asn_qty"+ :rules="data.rules.asn_qty"+ :label="$t('wms.stockAsnInfo.asn_qty')"+ variant="outlined"+ clearable+ ></v-text-field>+ </v-col>+ </v-row>+ </v-col>+ <v-col :cols="1">+ <div class="detailBtnContainer">+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="errorColor"+ @click="method.removeItem(index, item)"+ ></tooltip-btn>+ </div>+ </v-col>+ </v-row>+ <!-- <v-btn style="font-size: 20px; margin-bottom: 15px; margin-top: 10px; float: right" color="primary" :width="40" @click="method.AddDetail">+ ++ </v-btn> -->+ <v-btn+ style="font-size: 20px; margin-bottom: 15px; margin-top: 10px; float: right"+ color="primary"+ :width="40"+ @click="method.openSelect('target')"+ >+ ++ </v-btn>+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ <skuSelect :show-dialog="data.showSkuDialogSelect" @close="method.closeDialogSelect('target')" @sureSelect="method.sureSelect" />+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import i18n from '@/languages/i18n'+import { errorColor } from '@/constant/style'+import { hookComponent } from '@/components/system/index'+import { addAsnNew, updateAsnNew } from '@/api/wms/stockAsn'+import tooltipBtn from '@/components/tooltip-btn.vue'+import skuSelect from '@/components/select/sku-select.vue'+import { CommodityDetailJoinMainVO } from '@/types/Base/CommodityManagement'+import { IsInteger, StringLength } from '@/utils/dataVerification/formRule'+import { StockAsnVO, StockAsnDetailVO } from '@/types/WMS/StockAsn'+import { getSupplierAll } from '@/api/base/supplier'+import { getOwnerOfCargoAll } from '@/api/base/ownerOfCargo'+import { checkDetailRepeatGetBool } from '@/utils/dataVerification/page'+import { formatDate } from '@/utils/format/formatSystem'+import customFilterSelect from '@/components/custom-filter-select.vue'++const formRef = ref()+const emit = defineEmits(['close', 'saveSuccess'])++const props = defineProps<{+ showDialog: boolean+ form: StockAsnVO+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ curSelectType: '',+ showSkuDialogSelect: false,+ dialogTitle: '',+ form: ref<StockAsnVO>({+ id: 0,+ asn_no: '',+ asn_batch: '',+ estimated_arrival_time: '',+ // asn_status: 0,+ // weight: 0,+ // volume: 0,+ // goods_owner_id: 0,+ // goods_owner_name: '',+ // creator: '',+ // create_time: '',+ // last_update_time: '',+ detailList: []+ }),+ removeDetailList: ref<StockAsnDetailVO[]>([]),+ combobox: ref<{+ supplier_name: {+ label: string+ value: number+ }[]+ goods_owner_name: {+ label: string+ value: number+ }[]+ }>({+ supplier_name: [],+ goods_owner_name: []+ }),+ rules: {+ goods_owner_name: [],+ estimated_arrival_time: [],+ supplier_name: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.stockAsnInfo.supplier_name') }!`],+ spu_code: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.deliveryManagement.sku_code') }!`],+ asn_qty: [+ (val: number) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.stockAsnInfo.asn_qty') }!`,+ (val: number) => IsInteger(val, 'greaterThanZero') === '' || IsInteger(val, 'greaterThanZero')+ ],+ asn_batch: [+ // (val: string) => !!val || `${i18n.global.t('system.checkText.mustInput')}${i18n.global.t('wms.stockAsnInfo.asn_batch')}!`,+ (val: string) => StringLength(val, 0, 64) === '' || StringLength(val, 0, 64)+ ]+ }+})++const method = reactive({+ supplierNameChange: (dItem: StockAsnDetailVO) => {+ if (dItem.supplier_name) {+ dItem.supplier_id = data.combobox.supplier_name.filter((item) => item.label === dItem.supplier_name)[0].value+ } else {+ dItem.supplier_id = 0+ }+ },+ goodsOwnerNameChange: (val: string) => {+ if (!val) {+ data.form.goods_owner_id = 0+ data.form.goods_owner_name = ''+ } else {+ data.form.goods_owner_id = data.combobox.goods_owner_name.filter((item) => item.label === val)[0].value+ }+ },+ openSelect: (type: string) => {+ data.curSelectType = type++ if (type === 'target') {+ data.showSkuDialogSelect = true+ }+ },+ sureSelect: (selectRecords: CommodityDetailJoinMainVO[]) => {+ if (data.curSelectType === 'target') {+ // 获取最后一条有供应商的数据, 自动带到后面的数据+ let hasSupplierItem: any = null++ for (const item of data.form.detailList.reverse()) {+ if (item.supplier_id && item.supplier_id > 0) {+ hasSupplierItem = item+ break+ }+ }++ for (const item of selectRecords) {+ // const index = data.form.detailList.findIndex((fi) => fi.sku_id === item.sku_id)+ // if (index === -1) {+ const newItem: any = {+ spu_id: item.spu_id,+ spu_code: item.spu_code,+ spu_name: item.spu_name,+ sku_id: item.sku_id,+ sku_code: item.sku_code,+ sku_name: item.sku_name,+ origin: item.origin,+ // length_unit: '',+ // volume_unit: '',+ // weight_unit: '',+ asn_qty: 0+ // actual_qty: '',+ // weight: '',+ // volume: '',+ // supplier_id: '',+ // supplier_name: ''+ // is_valid: ''+ }++ if (hasSupplierItem) {+ newItem.supplier_id = hasSupplierItem.supplier_id+ newItem.supplier_name = hasSupplierItem.supplier_name+ }++ data.form.detailList.push(newItem)+ // }+ }+ }+ },+ closeDialogSelect: (type: string) => {+ if (type === 'target') {+ data.showSkuDialogSelect = false+ }+ },+ // Get the options required by the drop-down box+ getCombobox: async () => {+ data.combobox.supplier_name = []+ data.combobox.goods_owner_name = []+ const { data: supplierRes } = await getSupplierAll()+ if (!supplierRes.isSuccess) {+ return+ }+ for (const item of supplierRes.data) {+ if (item.is_valid) {+ data.combobox.supplier_name.push({+ label: item.supplier_name,+ value: item.id+ })+ }+ }+ const { data: goodsOwnerRes } = await getOwnerOfCargoAll()+ if (!goodsOwnerRes.isSuccess) {+ return+ }+ for (const item of goodsOwnerRes.data) {+ if (item.is_valid) {+ data.combobox.goods_owner_name.push({+ label: item.goods_owner_name,+ value: item.id+ })+ }+ }+ },+ closeDialog: () => {+ emit('close')+ },+ // Details verification before document submission+ beforeSubmit: (): boolean => {+ let flag = true+ if (data.form.detailList.length === 0) {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.tips.detailLengthIsZero')+ })+ flag = false+ } else if (checkDetailRepeatGetBool(data.form.detailList, ['sku_id', 'supplier_id'])) {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.tips.detailHasItemRepeat')+ })+ flag = false+ }+ return flag+ },+ submit: async () => {+ const beforeSubmitFlag = method.beforeSubmit()+ if (!beforeSubmitFlag) {+ return+ }+ const { valid } = await formRef.value.validate()+ if (valid) {+ const { data: res } = data.form.id && data.form.id > 0+ ? await updateAsnNew({ ...data.form, detailList: [...data.form.detailList, ...data.removeDetailList] })+ : await addAsnNew(data.form)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })+ emit('saveSuccess')+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ },+ // remove detail+ removeItem: (index: number, item: StockAsnDetailVO) => {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteDetailMessage'),+ handleConfirm: async () => {+ if (item.id && item.id > 0) {+ item.id = -item.id+ data.removeDetailList.push(item) // Cache remove row+ }+ data.form.detailList.splice(index, 1) // Remove row in detailList+ }+ })+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ method.getCombobox()+ data.form = props.form++ // Processing time is date+ if (data.form.estimated_arrival_time) {+ data.form.estimated_arrival_time = formatDate(data.form.estimated_arrival_time, 'yyyy-MM-dd')+ }+ }+ }+)+</script>++<style scoped lang="less">+// .v-form {+// div {+// margin-bottom: 7px;+// }+// }+.detailBtnContainer {+ height: 56px;+ display: flex;+ justify-content: center;+ align-items: center;+}+// .v-col {+// padding: 0 !important;+// }+</style>diff --git a/frontend/src/view/wms/stockAsn/qrCodeDialog.vue b/frontend/src/view/wms/stockAsn/qrCodeDialog.vuenew file mode 100644index 0000000..dfea49a--- /dev/null+++ b/frontend/src/view/wms/stockAsn/qrCodeDialog.vue@@ -0,0 +1,104 @@+<template>+ <v-dialog v-model="data.showDialog" width="448px" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-card-text>+ <div id="printArea" class="printArea">+ <div class="printTopContainer">+ <div>+ <vue-qr :key="data.printText" size="140" :margin="0" :auto-color="true" :dot-scale="1" :text="data.printText"></vue-qr>+ </div>++ <div class="printLabel" style="flex: 1">+ <div>+ <span class="labelTitle">{{ $t('wms.stockAsnInfo.num') }}:</span> {{ data.printData.asn_no }}+ </div>+ <div><span class="labelTitle">{{ $t('wms.stockAsnInfo.asn_batch') }}:</span> {{ data.printData.asn_batch }}</div>+ </div>+ </div>+ </div>+ </v-card-text>++ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn v-print="'#printArea'" color="primary" variant="text">{{ $t('system.page.print') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script setup lang="tsx">+import { reactive } from 'vue'+import VueQr from 'vue-qr/src/packages/vue-qr.vue'++const data = reactive({+ showDialog: false,+ printData: {+ asn_id: 0,+ asn_no: '',+ asn_batch: ''+ } as any,+ printText: ''+})++const method = reactive({+ openDialog: (row: any) => {+ data.printData = row++ data.printText = JSON.stringify({+ asn_id: row.asn_id,+ type: row.type+ })++ data.showDialog = true+ },+ closeDialog: () => {+ data.showDialog = false+ }+})++defineExpose({+ openDialog: method.openDialog,+ closeDialog: method.closeDialog+})+</script>++<style scoped lang="less">+.printArea {+ width: 400px;++ display: flex;+ flex-wrap: wrap;+ align-items: center;+ justify-content: center;++ box-sizing: border-box;+ padding: 10px;++ .printTopContainer {+ display: flex;+ justify-content: space-between;+ }+}+.printLabel {+ font-size: 14px;+ font-weight: bold;++ display: flex;+ flex-wrap: wrap;+ align-items: center;++ box-sizing: border-box;+ padding-left: 30px;++ .labelTitle {+ opacity: 0.7;+ font-weight: 600;+ }++ div {+ width: 100%;+ }+}+</style>diff --git a/frontend/src/view/wms/stockAsn/sku-info.vue b/frontend/src/view/wms/stockAsn/sku-info.vuenew file mode 100644index 0000000..2337f73--- /dev/null+++ b/frontend/src/view/wms/stockAsn/sku-info.vue@@ -0,0 +1,138 @@+<template>+ <v-dialog v-model="isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <!-- <v-toolbar color="white" :title="`${$t('wms.stockAsn.tabNotice')}`"></v-toolbar> -->+ <v-card-text>+ <v-list-item two-line>+ <v-list-item-content>+ <v-list-item-title>{{ i18n.global.t('wms.skuInfo.spu_name') + ':' + data.tableData.spu_name }}</v-list-item-title>+ <v-list-item-subtitle>{{ i18n.global.t('wms.skuInfo.sku_code') + ':' + data.tableData.sku_code }}</v-list-item-subtitle>+ <v-list-item-subtitle>{{ i18n.global.t('wms.skuInfo.sku_name') + ':' + data.tableData.sku_name }}</v-list-item-subtitle>+ <v-list-item-subtitle>{{ i18n.global.t('wms.skuInfo.spu_description') + ':' + data.tableData.spu_description }}</v-list-item-subtitle>+ <v-list-item-subtitle>{{ i18n.global.t('wms.skuInfo.category_name') + ':' + data.tableData.category_name }}</v-list-item-subtitle>+ <v-list-item-subtitle>{{ i18n.global.t('wms.skuInfo.brand') + ':' + data.tableData.brand }}</v-list-item-subtitle>+ <v-list-item-subtitle>{{ i18n.global.t('wms.skuInfo.origin') + ':' + data.tableData.origin }}</v-list-item-subtitle>+ <v-list-item-subtitle>{{ i18n.global.t('wms.skuInfo.unit') + ':' + data.tableData.unit }}</v-list-item-subtitle>+ <v-list-item-subtitle>{{ i18n.global.t('wms.skuInfo.cost') + ':' + data.tableData.cost }}</v-list-item-subtitle>+ <v-list-item-subtitle>{{ i18n.global.t('wms.skuInfo.bar_code') + ':' + data.tableData.bar_code }}</v-list-item-subtitle>+ </v-list-item-content>+ </v-list-item>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, watch } from 'vue'+import { StockAsnVO } from '@/types/WMS/StockAsn'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { getSkuInfo } from '@/api/wms/stockAsn'++const emit = defineEmits(['close'])++const props = defineProps<{+ showDialog: boolean+ form: StockAsnVO+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ form: {+ id: 0,+ asn_no: '',+ asn_status: 0,+ spu_id: 0,+ spu_code: '',+ spu_name: '',+ sku_id: 0,+ sku_code: '',+ sku_name: '',+ origin: '',+ length_unit: 0,+ volume_unit: 0,+ weight_unit: 0,+ asn_qty: 0,+ actual_qty: 0,+ sorted_qty: 0,+ shortage_qty: 0,+ more_qty: 0,+ damage_qty: 0,+ weight: 0,+ volume: 0,+ supplier_id: 0,+ supplier_name: '',+ goods_owner_id: 0,+ goods_owner_name: '',+ is_valid: true+ } as any,+ tableData: {+ spu_id: 0,+ spu_code: '',+ spu_name: '',+ category_id: 0,+ category_name: '',+ spu_description: '',+ bar_code: '',+ supplier_id: 0,+ supplier_name: '',+ brand: '',+ origin: '',+ length_unit: 0,+ volume_unit: 0,+ weight_unit: 0,+ sku_id: 0,+ sku_code: '',+ sku_name: '',+ weight: 0,+ lenght: 0,+ width: 0,+ height: 0,+ volume: 0,+ unit: '',+ cost: 0,+ price: 0+ } as any+})++const method = reactive({+ closeDialog: () => {+ emit('close')+ },+ getStockAsnList: async () => {+ const { data: res } = await getSkuInfo(data.form.sku_id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ data.form = props.form+ method.getStockAsnList()+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/wms/stockAsn/stockAsn.vue b/frontend/src/view/wms/stockAsn/stockAsn.vuenew file mode 100644index 0000000..dc2007b--- /dev/null+++ b/frontend/src/view/wms/stockAsn/stockAsn.vue@@ -0,0 +1,158 @@+<!-- Warehouse Setting -->+<template>+ <div class="container">+ <div>+ <v-tabs v-model="data.activeTab" stacked @update:model-value="method.changeTabs">+ <v-tab v-for="(item, index) of tabsConfig" :key="index" :value="item.value">+ <v-icon>{{ item.icon }}</v-icon>+ <p class="tabItemTitle">{{ item.tabName }}</p>+ </v-tab>+ </v-tabs>++ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <v-window v-model="data.activeTab">+ <v-window-item value="tabNotice">+ <tabNotice ref="tabNoticeRef" />+ </v-window-item>+ <v-window-item value="tabToDoArrival">+ <tabToDoArrival ref="tabToDoArrivalRef" />+ </v-window-item>+ <v-window-item value="tabToDoUnload">+ <tabToDoUnload ref="tabToDoUnloadRef" />+ </v-window-item>+ <v-window-item value="tabToDoSorting">+ <tabToDoSorting ref="tabToDoSortingRef" />+ </v-window-item>+ <v-window-item value="tabToDoGrounding">+ <tabToDoGrounding ref="tabToDoGroundingRef" />+ </v-window-item>+ <v-window-item value="tabReceiptDetails">+ <tabReceiptDetails ref="tabReceiptDetailsRef" />+ </v-window-item>+ </v-window>+ </v-card-text>+ </v-card>+ </div>+ </div>+</template>++<script lang="ts" setup>+import { ref, reactive, onMounted, watch, nextTick } from 'vue'+import i18n from '@/languages/i18n'+import tabNotice from './tabNotice.vue'+import tabToDoArrival from './tabToDoArrival.vue'+import tabToDoUnload from './tabToDoUnload.vue'+import tabToDoSorting from './tabToDoSorting.vue'+import tabToDoGrounding from './tabToDoGrounding.vue'+import tabReceiptDetails from './tabReceiptDetails.vue'++const tabNoticeRef = ref()+const tabToDoArrivalRef = ref()+const tabToDoUnloadRef = ref()+const tabToDoSortingRef = ref()+const tabToDoGroundingRef = ref()+const tabReceiptDetailsRef = ref()++const tabsConfig = [+ {+ value: 'tabNotice',+ icon: 'mdi-checkbox-blank-badge',+ tabName: i18n.global.t('wms.stockAsn.tabNotice')+ },+ {+ value: 'tabToDoArrival',+ icon: 'mdi-truck-cargo-container',+ tabName: i18n.global.t('wms.stockAsn.tabToDoArrival')+ },+ {+ value: 'tabToDoUnload',+ icon: 'mdi-truck-outline',+ tabName: i18n.global.t('wms.stockAsn.tabToDoUnload')+ },+ {+ value: 'tabToDoSorting',+ icon: 'mdi-dolly',+ tabName: i18n.global.t('wms.stockAsn.tabToDoSorting')+ },+ {+ value: 'tabToDoGrounding',+ icon: 'mdi-grid',+ tabName: i18n.global.t('wms.stockAsn.tabToDoGrounding')+ },+ {+ value: 'tabReceiptDetails',+ icon: 'mdi-file-cabinet',+ tabName: i18n.global.t('wms.stockAsn.tabReceiptDetails')+ }+]++const data = reactive({+ activeTab: '',+ isLoadNotice: false,+ isLoadToDoArrival: false,+ isLoadToDoUnload: false,+ isLoadToDoSorting: false,+ isLoadToDoGrounding: false,+ isLoadReceiptDetails: false+})++const method = reactive({+ changeTabs: (e: any): void => {+ nextTick(() => {+ switch (e) {+ case 'tabNotice':+ // Tips:Must be write the nextTick so that can get DOM!!+ if (tabNoticeRef?.value?.getStockAsnList) {+ tabNoticeRef.value.getStockAsnList()+ }+ break+ case 'tabToDoArrival':+ if (tabToDoArrivalRef?.value?.getStockAsnList) {+ tabToDoArrivalRef.value.getStockAsnList()+ }+ break+ case 'tabToDoUnload':+ if (tabToDoUnloadRef?.value?.getStockAsnList) {+ tabToDoUnloadRef.value.getStockAsnList()+ }+ break+ case 'tabToDoSorting':+ if (tabToDoSortingRef?.value?.getStockAsnList) {+ tabToDoSortingRef.value.getStockAsnList()+ }+ break+ case 'tabToDoGrounding':+ if (tabToDoGroundingRef?.value?.getStockAsnList) {+ tabToDoGroundingRef.value.getStockAsnList()+ }+ break+ case 'tabReceiptDetails':+ if (tabReceiptDetailsRef?.value?.getStockAsnList) {+ tabReceiptDetailsRef.value.getStockAsnList()+ }+ break+ }+ })+ }+})++onMounted(() => {})+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/wms/stockAsn/tabNotice.vue b/frontend/src/view/wms/stockAsn/tabNotice.vuenew file mode 100644index 0000000..a2a2ce0--- /dev/null+++ b/frontend/src/view/wms/stockAsn/tabNotice.vue@@ -0,0 +1,379 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-plus" :tooltip-text="$t('system.page.add')" @click="method.add"></tooltip-btn>+ <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->++ <!-- new version -->+ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4"></v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.supplier_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.stockAsnInfo.supplier_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.sku_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.stockAsnInfo.sku_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTable" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="checkbox" width="50" fixed="left"></vxe-column>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="asn_no" :title="$t('wms.stockAsnInfo.asn_no')"></vxe-column>+ <vxe-column field="asn_batch" :title="$t('wms.stockAsnInfo.asn_batch')"></vxe-column>+ <vxe-column+ field="estimated_arrival_time"+ :formatter="['formatDate', 'yyyy-MM-dd']"+ :title="$t('wms.stockAsnInfo.estimated_arrival_time')"+ ></vxe-column>+ <vxe-column field="goods_owner_name" :title="$t('wms.stockAsnInfo.goods_owner_name')"></vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="140px" :resizable="false" show-overflow>+ <template #default="{ row }">+ <!-- <tooltip-btn+ :flat="true"+ icon="mdi-qrcode"+ :tooltip-text="$t('base.commodityManagement.printQrCode')"+ :disabled="!data.authorityList.includes('notice-printQrCode')"+ @click="method.printQrCode(row)"+ ></tooltip-btn> -->+ <tooltip-btn+ :flat="true"+ icon="mdi-pencil-outline"+ :tooltip-text="$t('system.page.edit')"+ :disabled="!data.authorityList.includes('notice-save')"+ @click="method.editRow(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="!data.authorityList.includes('notice-delete') ? '' : errorColor"+ :disabled="!data.authorityList.includes('notice-delete')"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ <addOrUpdateNotice :show-dialog="data.showDialog" :form="data.dialogForm" @close="method.closeDialog" @saveSuccess="method.saveSuccess" />+ <skuInfo :show-dialog="data.showDialogShowInfo" :form="data.dialogForm" @close="method.closeDialogShowInfo" />++ <!-- Print QR code -->+ <qr-code-dialog ref="qrCodeDialogRef" :menu="'stockAsnInfo-notice'">+ <template #left="{ slotData }">+ <p>{{ $t('wms.stockAsnInfo.num') }}:{{ slotData.asn_no }}</p> + <p>{{ $t('wms.stockAsnInfo.asn_batch') }}:{{ slotData.asn_batch }}</p> + </template>+ </qr-code-dialog>+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight, errorColor } from '@/constant/style'+import { StockAsnVO } from '@/types/WMS/StockAsn'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { SearchObject, btnGroupItem } from '@/types/System/Form'+import { listNew as getStockAsnList, deleteAsn } from '@/api/wms/stockAsn'+import tooltipBtn from '@/components/tooltip-btn.vue'+import i18n from '@/languages/i18n'+import addOrUpdateNotice from './new-add-or-update-notice.vue'+import customPager from '@/components/custom-pager.vue'+import skuInfo from './sku-info.vue'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'+import QrCodeDialog from '@/components/codeDialog/qrCodeDialog.vue'+import { httpCodeJudge } from '@/utils/http/httpCodeJudge'++const xTable = ref()+const qrCodeDialogRef = ref()++const data = reactive({+ showDialog: false,+ showDialogShowInfo: false,+ searchForm: {+ supplier_name: '',+ sku_name: ''+ },+ dialogForm: ref<StockAsnVO>({+ id: 0,+ asn_no: '',+ asn_batch: '',+ estimated_arrival_time: '',+ // asn_status: 0,+ // weight: 0,+ // volume: 0,+ // goods_owner_id: 0,+ // goods_owner_name: '',+ // creator: '',+ // create_time: '',+ // last_update_time: '',+ detailList: []+ }),+ activeTab: null,+ tableData: ref<StockAsnVO[]>([]),+ tablePage: reactive({+ total: 0,+ sqlTitle: 'asn_status:0',+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ timer: ref<any>(null),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList(),+ selectRowData: []+})++const method = reactive({+ // Print QR code+ printQrCode: () => {+ const records = xTable.value.getCheckboxRecords()++ // data.selectRowData.length === 0 ? data.selectRowData = [row] : ''+ // const records:any[] = data.selectRowData+ if (records.length > 0) {+ for (const item of records) {+ item.type = 'asn'+ }+ qrCodeDialogRef.value.openDialog(records)+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('base.userManagement.checkboxIsNull')+ })+ }+ },+ selectAllEvent({ checked }) {+ const records = xTable.value.getCheckboxRecords()+ checked ? (data.selectRowData = records) : (data.selectRowData = [])+ },+ selectChangeEvent() {+ data.selectRowData = xTable.value.getCheckboxRecords()+ },+ closeDialogShowInfo: () => {+ data.showDialogShowInfo = false+ },+ showSkuInfo(row: StockAsnVO) {+ data.dialogForm = JSON.parse(JSON.stringify(row))+ data.showDialogShowInfo = true+ },+ // Open a dialog to add+ add: () => {+ data.dialogForm = {+ id: 0,+ asn_no: '',+ asn_batch: '',+ estimated_arrival_time: '',+ // asn_status: 0,+ // weight: 0,+ // volume: 0,+ // goods_owner_id: 0,+ // goods_owner_name: '',+ // creator: '',+ // create_time: '',+ // last_update_time: '',+ detailList: []+ }+ data.showDialog = true+ },+ editRow(row: StockAsnVO) {+ data.dialogForm = JSON.parse(JSON.stringify(row))+ data.showDialog = true+ },+ deleteRow(row: StockAsnVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await deleteAsn(row.id)+ if (!res.isSuccess) {+ // 2023-12-06 Add automatic refresh of expired data+ if (httpCodeJudge(res.errorMessage)) {+ method.refresh()++ return+ }++ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },+ // After add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },+ // Refresh data+ refresh: () => {+ method.getStockAsnList()+ },+ getStockAsnList: async () => {+ const { data: res } = await getStockAsnList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getStockAsnList()+ }),+ exportTable: () => {+ const $table = xTable.value+ exportData({+ table: $table,+ filename: i18n.global.t('wms.stockAsn.tabNotice'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getStockAsnList()+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.add'),+ icon: 'mdi-plus',+ code: 'notice-save',+ click: method.add+ },+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'notice-export',+ click: method.exportTable+ },+ {+ name: i18n.global.t('base.commodityManagement.printQrCode'),+ icon: 'mdi-qrcode',+ code: 'notice-printQrCode',+ click: method.printQrCode+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++defineExpose({+ getStockAsnList: method.getStockAsnList+})+watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/wms/stockAsn/tabReceiptDetails.vue b/frontend/src/view/wms/stockAsn/tabReceiptDetails.vuenew file mode 100644index 0000000..c1f418c--- /dev/null+++ b/frontend/src/view/wms/stockAsn/tabReceiptDetails.vue@@ -0,0 +1,264 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->++ <!-- new version -->+ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4"></v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.supplier_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.stockAsnInfo.supplier_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.sku_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.stockAsnInfo.sku_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTableStockLocation" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="asn_no" :title="$t('wms.stockAsnInfo.asn_no')"></vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.stockAsnInfo.spu_code')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.stockAsnInfo.spu_name')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.stockAsnInfo.sku_code')">+ <template #default="{ row }">+ <div :class="'text-decoration-none'" @click="method.showSkuInfo(row)"> {{ row.sku_code }}</div>+ </template>+ </vxe-column>+ <vxe-column field="sku_name" :title="$t('wms.stockAsnInfo.sku_name')"></vxe-column>+ <vxe-column field="goods_owner_name" :title="$t('wms.stockAsnInfo.goods_owner_name')"></vxe-column>+ <vxe-column field="supplier_name" :title="$t('wms.stockAsnInfo.supplier_name')"></vxe-column>+ <vxe-column field="asn_qty" :title="$t('wms.stockAsnInfo.asn_qty')"></vxe-column>+ <vxe-column field="weight" :title="$t('wms.stockAsnInfo.weight')"></vxe-column>+ <vxe-column field="volume" :title="$t('wms.stockAsnInfo.volume')"></vxe-column>+ <vxe-column field="actual_qty" :title="$t('wms.stockAsnInfo.actual_qty')"></vxe-column>+ <vxe-column field="sorted_qty" :title="$t('wms.stockAsnInfo.sorted_qty')"></vxe-column>+ <vxe-column field="shortage_qty" :title="$t('wms.stockAsnInfo.shortage_qty')"></vxe-column>+ <vxe-column field="more_qty" :title="$t('wms.stockAsnInfo.more_qty')"></vxe-column>+ <vxe-column field="damage_qty" :title="$t('wms.stockAsnInfo.damage_qty')"></vxe-column>+ <!-- <vxe-column field="operate" :title="$t('system.page.operate')" width="160" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn :flat="true" icon="mdi-eye-outline" :tooltip-text="$t('system.page.view')" @click="method.viewRow(row)"></tooltip-btn>+ </template>+ </vxe-column> -->+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ <skuInfo :show-dialog="data.showDialogShowInfo" :form="data.dialogForm" @close="method.closeDialogShowInfo" />++ <!-- View Details Box -->+ <view-detail-dialog ref="ViewDetailDialogRef" />+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { StockAsnVO } from '@/types/WMS/StockAsn'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { SearchObject, btnGroupItem } from '@/types/System/Form'+import { getStockAsnList } from '@/api/wms/stockAsn'+import i18n from '@/languages/i18n'+import customPager from '@/components/custom-pager.vue'+import skuInfo from './sku-info.vue'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'+import ViewDetailDialog from './view-detail-dialog.vue'++const xTableStockLocation = ref()+const ViewDetailDialogRef = ref()++const data = reactive({+ showDialog: false,+ showDialogShowInfo: false,+ searchForm: {+ supplier_name: '',+ sku_name: ''+ },+ activeTab: null,+ tableData: ref<StockAsnVO[]>([]),+ dialogForm: ref<StockAsnVO>({+ id: 0,+ asn_no: '',+ asn_batch: '',+ estimated_arrival_time: '',+ // asn_status: 0,+ // weight: 0,+ // volume: 0,+ // goods_owner_id: 0,+ // goods_owner_name: '',+ // creator: '',+ // create_time: '',+ // last_update_time: '',+ detailList: []+ }),+ tablePage: reactive({+ total: 0,+ sqlTitle: 'asn_status:4',+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ timer: ref<any>(null),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ // View Rows+ viewRow: (row: StockAsnVO) => {+ ViewDetailDialogRef.value.openDialog(row.id)+ },+ closeDialogShowInfo: () => {+ data.showDialogShowInfo = false+ },+ showSkuInfo(row: StockAsnVO) {+ data.dialogForm = JSON.parse(JSON.stringify(row))+ data.showDialogShowInfo = true+ },+ // Refresh data+ refresh: () => {+ method.getStockAsnList()+ },+ getStockAsnList: async () => {+ const { data: res } = await getStockAsnList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getStockAsnList()+ }),+ exportTable: () => {+ const $table = xTableStockLocation.value+ exportData({+ table: $table,+ filename: i18n.global.t('wms.stockAsn.tabReceiptDetails'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getStockAsnList()+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'detail-export',+ click: method.exportTable+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++defineExpose({+ getStockAsnList: method.getStockAsnList+})+watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/wms/stockAsn/tabToDoArrival.vue b/frontend/src/view/wms/stockAsn/tabToDoArrival.vuenew file mode 100644index 0000000..75402c3--- /dev/null+++ b/frontend/src/view/wms/stockAsn/tabToDoArrival.vue@@ -0,0 +1,328 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->+ <!-- new version -->+ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4"></v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.supplier_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.stockAsnInfo.supplier_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.sku_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.stockAsnInfo.sku_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTableStockLocation" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="asn_no" :title="$t('wms.stockAsnInfo.asn_no')"></vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.stockAsnInfo.spu_code')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.stockAsnInfo.spu_name')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.stockAsnInfo.sku_code')">+ <template #default="{ row }">+ <div :class="'text-decoration-none'" @click="method.showSkuInfo(row)"> {{ row.sku_code }}</div>+ </template>+ </vxe-column>+ <vxe-column field="sku_name" :title="$t('wms.stockAsnInfo.sku_name')"></vxe-column>+ <vxe-column field="goods_owner_name" :title="$t('wms.stockAsnInfo.goods_owner_name')"></vxe-column>+ <vxe-column field="supplier_name" :title="$t('wms.stockAsnInfo.supplier_name')"></vxe-column>+ <vxe-column field="asn_qty" :title="$t('wms.stockAsnInfo.asn_qty')"></vxe-column>+ <vxe-column field="weight" :title="$t('wms.stockAsnInfo.weight')"></vxe-column>+ <vxe-column field="volume" :title="$t('wms.stockAsnInfo.volume')"></vxe-column>+ <!-- <vxe-column field="operate" :title="$t('system.page.operate')" width="160" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-check"+ :tooltip-text="$t('system.page.confirm')"+ :disabled="!data.authorityList.includes('delivered-confirm')"+ @click="method.editRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column> -->+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ <skuInfo :show-dialog="data.showDialogShowInfo" :form="data.dialogForm" @close="method.closeDialogShowInfo" />+ <!-- Confirm Arrival Box -->+ <confirm-arrival-modal ref="ConfirmArrivalRef" @sure="method.sureBackArrival" />+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { StockAsnVO } from '@/types/WMS/StockAsn'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { SearchObject, btnGroupItem } from '@/types/System/Form'+import { getStockAsnList, confirmAsn, confirmArrival } from '@/api/wms/stockAsn'+import i18n from '@/languages/i18n'+import customPager from '@/components/custom-pager.vue'+import skuInfo from './sku-info.vue'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'+import ConfirmArrivalModal from './confirm-arrival.vue'+import { httpCodeJudge } from '@/utils/http/httpCodeJudge'++const xTableStockLocation = ref()+const ConfirmArrivalRef = ref()++const data = reactive({+ showDialog: false,+ showDialogShowInfo: false,+ searchForm: {+ supplier_name: '',+ sku_name: ''+ },+ activeTab: null,+ tableData: ref<StockAsnVO[]>([]),+ dialogForm: ref<StockAsnVO>({+ id: 0,+ asn_no: '',+ asn_batch: '',+ estimated_arrival_time: '',+ // asn_status: 0,+ // weight: 0,+ // volume: 0,+ // goods_owner_id: 0,+ // goods_owner_name: '',+ // creator: '',+ // create_time: '',+ // last_update_time: '',+ detailList: []+ }),+ tablePage: reactive({+ total: 0,+ sqlTitle: 'asn_status:0',+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ timer: ref<any>(null),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ // Open the confirmation of arrival box+ handleArrival: () => {+ const checkRecords = xTableStockLocation.value.getCheckboxRecords()+ if (checkRecords.length > 0) {+ ConfirmArrivalRef.value.openDialog()+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('wms.stockAsnInfo.selectOne')+ })+ }+ },+ // Confirm arrival+ sureBackArrival: async (dateStr: string) => {+ const checkRecords = xTableStockLocation.value.getCheckboxRecords()+ const reqBody = checkRecords.map((item: StockAsnVO) => ({ id: item.id, arrival_time: dateStr }))++ const { data: res } = await confirmArrival(reqBody)+ if (!res.isSuccess) {+ // 2023-12-06 Add automatic refresh of expired data+ if (httpCodeJudge(res.errorMessage)) {+ method.refresh()+ ConfirmArrivalRef.value.closeDialog()++ return+ }++ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.confirm') }${ i18n.global.t('system.tips.success') }`+ })+ ConfirmArrivalRef.value.closeDialog()+ method.refresh()+ },+ closeDialogShowInfo: () => {+ data.showDialogShowInfo = false+ },+ showSkuInfo(row: StockAsnVO) {+ data.dialogForm = JSON.parse(JSON.stringify(row))+ data.showDialogShowInfo = true+ },+ editRow(row: StockAsnVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeAsnConfirm'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await confirmAsn(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.confirm') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ // Refresh data+ refresh: () => {+ method.getStockAsnList()+ },+ getStockAsnList: async () => {+ const { data: res } = await getStockAsnList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getStockAsnList()+ }),+ exportTable: () => {+ const $table = xTableStockLocation.value+ exportData({+ table: $table,+ filename: i18n.global.t('wms.stockAsn.tabToDoArrival'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getStockAsnList()+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'delivered-export',+ click: method.exportTable+ },+ {+ name: i18n.global.t('wms.stockAsnInfo.confirmArrival'),+ icon: 'mdi-check',+ code: 'delivered-confirm',+ click: method.handleArrival+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++defineExpose({+ getStockAsnList: method.getStockAsnList+})+watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/wms/stockAsn/tabToDoGrounding.vue b/frontend/src/view/wms/stockAsn/tabToDoGrounding.vuenew file mode 100644index 0000000..f8b3280--- /dev/null+++ b/frontend/src/view/wms/stockAsn/tabToDoGrounding.vue@@ -0,0 +1,381 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->++ <!-- new version -->+ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4"></v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.supplier_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.stockAsnInfo.supplier_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.sku_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.stockAsnInfo.sku_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTableStockLocation" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="asn_no" :title="$t('wms.stockAsnInfo.asn_no')"></vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.stockAsnInfo.spu_code')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.stockAsnInfo.spu_name')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.stockAsnInfo.sku_code')">+ <template #default="{ row }">+ <div :class="'text-decoration-none'" @click="method.showSkuInfo(row)"> {{ row.sku_code }}</div>+ </template>+ </vxe-column>+ <vxe-column field="sku_name" :title="$t('wms.stockAsnInfo.sku_name')"></vxe-column>+ <vxe-column field="goods_owner_name" :title="$t('wms.stockAsnInfo.goods_owner_name')"></vxe-column>+ <vxe-column field="supplier_name" :title="$t('wms.stockAsnInfo.supplier_name')"></vxe-column>+ <vxe-column field="asn_qty" :title="$t('wms.stockAsnInfo.asn_qty')"></vxe-column>+ <vxe-column field="weight" :title="$t('wms.stockAsnInfo.weight')"></vxe-column>+ <vxe-column field="volume" :title="$t('wms.stockAsnInfo.volume')"></vxe-column>+ <vxe-column field="sorted_qty" :title="$t('wms.stockAsnInfo.sorted_qty')"></vxe-column>+ <vxe-column field="actual_qty" :title="$t('wms.stockAsnInfo.actual_qty')"></vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="160" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-package-up"+ :tooltip-text="$t('wms.stockAsnInfo.grounding')"+ :disabled="!data.authorityList.includes('putOnTheShelf-editArrival')"+ @click="method.editRow(row)"+ ></tooltip-btn>+ <!-- <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="errorColor"+ :disabled="!data.authorityList.includes('putOnTheShelf-delete')"+ @click="method.deleteRow(row)"+ ></tooltip-btn> -->+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ <updateGrounding :show-dialog="data.showDialog" :form="data.dialogForm" @close="method.closeDialog" @saveSuccess="method.saveSuccess" />++ <!-- Listing operation box -->+ <confirmGroudingDialog ref="confirmGroudingDialogRef" @sure="method.confirmGroudingSure" />+ <skuInfo :show-dialog="data.showDialogShowInfo" :form="data.dialogForm" @close="method.closeDialogShowInfo" />+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { StockAsnVO } from '@/types/WMS/StockAsn'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { SearchObject, btnGroupItem } from '@/types/System/Form'+import { getStockAsnList, sortedAsnCancel, revokeSorting, confirmPutaway } from '@/api/wms/stockAsn'+import tooltipBtn from '@/components/tooltip-btn.vue'+import i18n from '@/languages/i18n'+import updateGrounding from './update-grounding.vue'+import customPager from '@/components/custom-pager.vue'+import skuInfo from './sku-info.vue'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'+import confirmGroudingDialog from './confirm-grouding.vue'+import { httpCodeJudge } from '@/utils/http/httpCodeJudge'++const xTableStockLocation = ref()+const confirmGroudingDialogRef = ref()++const data = reactive({+ showDialog: false,+ showDialogShowInfo: false,+ searchForm: {+ supplier_name: '',+ sku_name: ''+ },+ activeTab: null,+ dialogForm: ref<StockAsnVO>({+ id: 0,+ asn_no: '',+ asn_batch: '',+ estimated_arrival_time: '',+ // asn_status: 0,+ // weight: 0,+ // volume: 0,+ // goods_owner_id: 0,+ // goods_owner_name: '',+ // creator: '',+ // create_time: '',+ // last_update_time: '',+ detailList: []+ }),+ tableData: ref<StockAsnVO[]>([]),+ tablePage: reactive({+ total: 0,+ sqlTitle: 'asn_status:3',+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ timer: ref<any>(null),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ // Confirm listing data+ confirmGroudingSure: async (tableData: any) => {+ const { data: res } = await confirmPutaway(tableData)+ if (!res.isSuccess) {+ // 2023-12-06 Add automatic refresh of expired data+ if (httpCodeJudge(res.errorMessage)) {+ method.refresh()+ confirmGroudingDialogRef.value.closeDialog()++ return+ }++ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })++ confirmGroudingDialogRef.value.closeDialog()+ method.refresh()+ },+ // Withdrawal process+ handleRevoke: () => {+ const checkRecords = xTableStockLocation.value.getCheckboxRecords()+ if (checkRecords.length > 0) {+ const idList = checkRecords.map((item: StockAsnVO) => item.id)+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeOperation'),+ handleConfirm: async () => {+ const { data: res } = await revokeSorting(idList)+ if (!res.isSuccess) {+ // 2023-12-06 Add automatic refresh of expired data+ if (httpCodeJudge(res.errorMessage)) {+ method.refresh()++ return+ }++ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ })+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('wms.stockAsnInfo.selectOne')+ })+ }+ },+ closeDialogShowInfo: () => {+ data.showDialogShowInfo = false+ },+ showSkuInfo(row: StockAsnVO) {+ data.dialogForm = JSON.parse(JSON.stringify(row))+ data.showDialogShowInfo = true+ },+ // Shut add or update dialog+ closeDialog: () => {+ data.showDialog = false+ },+ // After add or update success.+ saveSuccess: () => {+ method.refresh()+ method.closeDialog()+ },+ editRow(row: StockAsnVO) {+ // data.dialogForm = JSON.parse(JSON.stringify(row))+ // data.showDialog = true++ confirmGroudingDialogRef.value.openDialog(row.id)+ },+ deleteRow(row: StockAsnVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await sortedAsnCancel(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.revoke') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ // Refresh data+ refresh: () => {+ method.getStockAsnList()+ },+ getStockAsnList: async () => {+ const { data: res } = await getStockAsnList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getStockAsnList()+ }),+ exportTable: () => {+ const $table = xTableStockLocation.value+ exportData({+ table: $table,+ filename: i18n.global.t('wms.stockAsn.tabToDoGrounding'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getStockAsnList()+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'putOnTheShelf-export',+ click: method.exportTable+ },+ {+ name: i18n.global.t('wms.stockAsnInfo.revoke'),+ icon: 'mdi-arrow-left-top',+ code: 'putOnTheShelf-delete',+ click: method.handleRevoke+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++defineExpose({+ getStockAsnList: method.getStockAsnList+})+watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/wms/stockAsn/tabToDoSorting.vue b/frontend/src/view/wms/stockAsn/tabToDoSorting.vuenew file mode 100644index 0000000..3fd97bb--- /dev/null+++ b/frontend/src/view/wms/stockAsn/tabToDoSorting.vue@@ -0,0 +1,438 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->++ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4"></v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.supplier_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.stockAsnInfo.supplier_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.sku_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.stockAsnInfo.sku_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTableStockLocation" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="asn_no" :title="$t('wms.stockAsnInfo.asn_no')"></vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.stockAsnInfo.spu_code')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.stockAsnInfo.spu_name')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.stockAsnInfo.sku_code')">+ <template #default="{ row }">+ <div :class="'text-decoration-none'" @click="method.showSkuInfo(row)"> {{ row.sku_code }}</div>+ </template>+ </vxe-column>+ <vxe-column field="sku_name" :title="$t('wms.stockAsnInfo.sku_name')"></vxe-column>+ <vxe-column field="goods_owner_name" :title="$t('wms.stockAsnInfo.goods_owner_name')"></vxe-column>+ <vxe-column field="supplier_name" :title="$t('wms.stockAsnInfo.supplier_name')"></vxe-column>+ <vxe-column field="asn_qty" :title="$t('wms.stockAsnInfo.asn_qty')"></vxe-column>+ <vxe-column field="weight" :title="$t('wms.stockAsnInfo.weight')"></vxe-column>+ <vxe-column field="volume" :title="$t('wms.stockAsnInfo.volume')"></vxe-column>+ <vxe-column field="sorted_qty" :title="$t('wms.stockAsnInfo.sorted_qty')"></vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="180" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-plus"+ :tooltip-text="$t('wms.stockAsnInfo.addSorting')"+ :disabled="!data.authorityList.includes('sorted-editCount')"+ @click="method.addSorting(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-pencil-outline"+ :tooltip-text="$t('wms.stockAsnInfo.editSorting')"+ :disabled="!data.authorityList.includes('sorted-editCount')"+ @click="method.editRowEdit(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-check"+ :tooltip-text="$t('system.page.confirm')"+ :disabled="!data.authorityList.includes('sorted-confirm')"+ @click="method.editRow(row)"+ ></tooltip-btn>+ <!-- <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="errorColor"+ :disabled="!data.authorityList.includes('sorted-delete')"+ @click="method.deleteRow(row)"+ ></tooltip-btn> -->+ </template>+ </vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ <addSorting ref="addSortingRef" @sure="method.addSortingSure" />+ <updateSortingDialog ref="updateSortingDialogRef" @sure="method.updateSortingSure" />+ <skuInfo :show-dialog="data.showDialogShowInfo" :form="data.dialogForm" @close="method.closeDialogShowInfo" />+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { StockAsnVO, UpdateSortingVo } from '@/types/WMS/StockAsn'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { SearchObject, btnGroupItem } from '@/types/System/Form'+import { editSorting, getStockAsnList, revokeUnload, confirmSorted, unloadAsnCancel, modifySorting } from '@/api/wms/stockAsn'+import tooltipBtn from '@/components/tooltip-btn.vue'+import i18n from '@/languages/i18n'+import addSorting from './add-sorting.vue'+import customPager from '@/components/custom-pager.vue'+import skuInfo from './sku-info.vue'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'+import updateSortingDialog from './update-sorting.vue'+import { httpCodeJudge } from '@/utils/http/httpCodeJudge'++const xTableStockLocation = ref()+const addSortingRef = ref()+const updateSortingDialogRef = ref()++const data = reactive({+ showDialogShowInfo: false,+ searchForm: {+ supplier_name: '',+ sku_name: ''+ },+ activeTab: null,+ dialogForm: ref<StockAsnVO>({+ id: 0,+ asn_no: '',+ asn_batch: '',+ estimated_arrival_time: '',+ // asn_status: 0,+ // weight: 0,+ // volume: 0,+ // goods_owner_id: 0,+ // goods_owner_name: '',+ // creator: '',+ // create_time: '',+ // last_update_time: '',+ detailList: []+ }),+ tableData: ref<StockAsnVO[]>([]),+ tablePage: reactive({+ total: 0,+ sqlTitle: 'asn_status:2',+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ timer: ref<any>(null),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ // Modify sorting information callback+ updateSortingSure: async (tableData: UpdateSortingVo[]) => {+ const { data: res } = await modifySorting(tableData)+ if (!res.isSuccess) {+ // 2023-12-06 Add automatic refresh of expired data+ if (httpCodeJudge(res.errorMessage)) {+ method.refresh()+ updateSortingDialogRef.value.closeDialog()++ return+ }++ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })++ updateSortingDialogRef.value.closeDialog()+ method.refresh()+ },+ // Withdrawal process+ handleRevoke: () => {+ const checkRecords = xTableStockLocation.value.getCheckboxRecords()+ if (checkRecords.length > 0) {+ const idList = checkRecords.map((item: StockAsnVO) => item.id)+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeOperation'),+ handleConfirm: async () => {+ const { data: res } = await revokeUnload(idList)+ if (!res.isSuccess) {+ // 2023-12-06 Add automatic refresh of expired data+ if (httpCodeJudge(res.errorMessage)) {+ method.refresh()++ return+ }++ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.revoke') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ })+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('wms.stockAsnInfo.selectOne')+ })+ }+ },+ // Callback after modifying sorting information+ addSortingSure: async (reqData: { asn_id: number; series_number: string; sorted_qty: number }[]) => {+ const { data: res } = await editSorting(reqData)+ if (!res.isSuccess) {+ // 2023-12-06 Add automatic refresh of expired data+ if (httpCodeJudge(res.errorMessage)) {+ method.refresh()+ addSortingRef.value.closeDialog()++ return+ }++ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.submit') }${ i18n.global.t('system.tips.success') }`+ })++ addSortingRef.value.closeDialog()+ method.refresh()+ },+ closeDialogShowInfo: () => {+ data.showDialogShowInfo = false+ },+ showSkuInfo(row: StockAsnVO) {+ data.dialogForm = JSON.parse(JSON.stringify(row))+ data.showDialogShowInfo = true+ },+ // Add sorting record+ addSorting: (row: StockAsnVO) => {+ addSortingRef.value.openDialog(row.id)+ },+ editRowEdit(row: StockAsnVO) {+ updateSortingDialogRef.value.openDialog(row.id)+ },+ editRow(row: StockAsnVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeAsnSorted'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await confirmSorted(row.id)+ if (!res.isSuccess) {+ // 2023-12-06 Add automatic refresh of expired data+ if (httpCodeJudge(res.errorMessage)) {+ method.refresh()++ return+ }++ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.confirm') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ deleteRow(row: StockAsnVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await unloadAsnCancel(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ // Refresh data+ refresh: () => {+ method.getStockAsnList()+ },+ getStockAsnList: async () => {+ const { data: res } = await getStockAsnList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getStockAsnList()+ }),+ exportTable: () => {+ const $table = xTableStockLocation.value+ exportData({+ table: $table,+ filename: i18n.global.t('wms.stockAsn.tabToDoSorting'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getStockAsnList()+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'sorted-export',+ click: method.exportTable+ },+ {+ name: i18n.global.t('wms.stockAsnInfo.revoke'),+ icon: 'mdi-arrow-left-top',+ code: 'sorted-delete',+ click: method.handleRevoke+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++defineExpose({+ getStockAsnList: method.getStockAsnList+})+watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/wms/stockAsn/tabToDoUnload.vue b/frontend/src/view/wms/stockAsn/tabToDoUnload.vuenew file mode 100644index 0000000..9694796--- /dev/null+++ b/frontend/src/view/wms/stockAsn/tabToDoUnload.vue@@ -0,0 +1,401 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->++ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4"></v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.supplier_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.stockAsnInfo.supplier_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.sku_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.stockAsnInfo.sku_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTableStockLocation" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="asn_no" :title="$t('wms.stockAsnInfo.asn_no')"></vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.stockAsnInfo.spu_code')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.stockAsnInfo.spu_name')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.stockAsnInfo.sku_code')">+ <template #default="{ row }">+ <div :class="'text-decoration-none'" @click="method.showSkuInfo(row)"> {{ row.sku_code }}</div>+ </template>+ </vxe-column>+ <vxe-column field="sku_name" :title="$t('wms.stockAsnInfo.sku_name')"></vxe-column>+ <vxe-column field="goods_owner_name" :title="$t('wms.stockAsnInfo.goods_owner_name')"></vxe-column>+ <vxe-column field="supplier_name" :title="$t('wms.stockAsnInfo.supplier_name')"></vxe-column>+ <vxe-column field="asn_qty" :title="$t('wms.stockAsnInfo.asn_qty')"></vxe-column>+ <vxe-column field="weight" :title="$t('wms.stockAsnInfo.weight')"></vxe-column>+ <vxe-column field="volume" :title="$t('wms.stockAsnInfo.volume')"></vxe-column>+ <!-- <vxe-column field="operate" :title="$t('system.page.operate')" width="160" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-check"+ :tooltip-text="$t('system.page.confirm')"+ :disabled="!data.authorityList.includes('unloaded-confirm')"+ @click="method.editRow(row)"+ ></tooltip-btn>+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="errorColor"+ :disabled="!data.authorityList.includes('unloaded-delete')"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column> -->+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ <skuInfo :show-dialog="data.showDialogShowInfo" :form="data.dialogForm" @close="method.closeDialogShowInfo" />+ <!-- Pending unloading confirmation box -->+ <ConfirmUnloadModal ref="ConfirmUnloadModalRef" @sure="method.sureBackUnloadConfirm" />+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { StockAsnVO } from '@/types/WMS/StockAsn'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { SearchObject, btnGroupItem } from '@/types/System/Form'+import { getStockAsnList, unloadAsn, confirmAsnCancel, confirmUnload, unconfirmArrival } from '@/api/wms/stockAsn'+import i18n from '@/languages/i18n'+import customPager from '@/components/custom-pager.vue'+import skuInfo from './sku-info.vue'+// import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'+import ConfirmUnloadModal from './confirm-unload.vue'+import { httpCodeJudge } from '@/utils/http/httpCodeJudge'++const xTableStockLocation = ref()+const ConfirmUnloadModalRef = ref()++const data = reactive({+ showDialog: false,+ showDialogShowInfo: false,+ searchForm: {+ supplier_name: '',+ sku_name: ''+ },+ activeTab: null,+ tableData: ref<StockAsnVO[]>([]),+ dialogForm: ref<StockAsnVO>({+ id: 0,+ asn_no: '',+ asn_batch: '',+ estimated_arrival_time: '',+ // asn_status: 0,+ // weight: 0,+ // volume: 0,+ // goods_owner_id: 0,+ // goods_owner_name: '',+ // creator: '',+ // create_time: '',+ // last_update_time: '',+ detailList: []+ }),+ tablePage: reactive({+ total: 0,+ sqlTitle: 'asn_status:1',+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ timer: ref<any>(null),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ // Withdrawal process+ handleRevoke: () => {+ const checkRecords = xTableStockLocation.value.getCheckboxRecords()+ if (checkRecords.length > 0) {+ const idList = checkRecords.map((item: StockAsnVO) => item.id)+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeOperation'),+ handleConfirm: async () => {+ const { data: res } = await unconfirmArrival(idList)+ if (!res.isSuccess) {+ // 2023-12-06 Add automatic refresh of expired data+ if (httpCodeJudge(res.errorMessage)) {+ method.refresh()++ return+ }++ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.revoke') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ })+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('wms.stockAsnInfo.selectOne')+ })+ }+ },+ // Open the arrival confirmation box+ handleConfirm: () => {+ const checkRecords = xTableStockLocation.value.getCheckboxRecords()+ if (checkRecords.length > 0) {+ ConfirmUnloadModalRef.value.openDialog()+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('wms.stockAsnInfo.selectOne')+ })+ }+ },+ // After confirmation+ sureBackUnloadConfirm: async (form: { unloadTime: string; unloadPerson: string; unloadPersonID: number }) => {+ const checkRecords = xTableStockLocation.value.getCheckboxRecords()+ const reqBody = checkRecords.map((item: StockAsnVO) => ({ id: item.id, ...form }))++ const { data: res } = await confirmUnload(reqBody)+ if (!res.isSuccess) {+ // 2023-12-06 Add automatic refresh of expired data+ if (httpCodeJudge(res.errorMessage)) {+ method.refresh()+ ConfirmUnloadModalRef.value.closeDialog()++ return+ }++ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.confirm') }${ i18n.global.t('system.tips.success') }`+ })+ ConfirmUnloadModalRef.value.closeDialog()+ method.refresh()+ },+ closeDialogShowInfo: () => {+ data.showDialogShowInfo = false+ },+ showSkuInfo(row: StockAsnVO) {+ data.dialogForm = JSON.parse(JSON.stringify(row))+ data.showDialogShowInfo = true+ },+ editRow(row: StockAsnVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeAsnUnload'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await unloadAsn(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.confirm') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ deleteRow(row: StockAsnVO) {+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteMessage'),+ handleConfirm: async () => {+ if (row.id) {+ const { data: res } = await confirmAsnCancel(row.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ hookComponent.$message({+ type: 'success',+ content: `${ i18n.global.t('system.page.delete') }${ i18n.global.t('system.tips.success') }`+ })+ method.refresh()+ }+ }+ })+ },+ // Refresh data+ refresh: () => {+ method.getStockAsnList()+ },+ getStockAsnList: async () => {+ const { data: res } = await getStockAsnList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getStockAsnList()+ }),+ exportTable: () => {+ const $table = xTableStockLocation.value+ $table.exportData({+ table: $table,+ filename: i18n.global.t('wms.stockAsn.tabToDoUnload'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getStockAsnList()+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'unloaded-export',+ click: method.exportTable+ },+ {+ name: i18n.global.t('wms.stockAsnInfo.confirmUnload'),+ icon: 'mdi-check',+ code: 'unloaded-confirm',+ click: method.handleConfirm+ },+ {+ name: i18n.global.t('wms.stockAsnInfo.revoke'),+ icon: 'mdi-arrow-left-top',+ code: 'unloaded-delete',+ click: method.handleRevoke+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++defineExpose({+ getStockAsnList: method.getStockAsnList+})+watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/wms/stockAsn/update-grounding.vue b/frontend/src/view/wms/stockAsn/update-grounding.vuenew file mode 100644index 0000000..e76fd9e--- /dev/null+++ b/frontend/src/view/wms/stockAsn/update-grounding.vue@@ -0,0 +1,119 @@+<template>+ <v-dialog v-model="data.showDialog" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('wms.stockAsn.tabNotice')}`"></v-toolbar>+ <v-card-text>+ <v-form ref="formRef">+ <!-- <v-text-field+ v-model="data.formPutaway.location_name"+ :label="$t('base.warehouseSetting.location_name')"+ :rules="data.rules.location_name"+ variant="outlined"+ readonly+ clearable+ @click="method.openSelect(index)"+ @click:clear="method.clearCommodity"+ ></v-text-field>+ <v-text-field+ v-model="data.formPutaway.putaway_qty"+ :label="$t('wms.stockAsnInfo.actual_qty')"+ :rules="data.rules.putaway_qty"+ variant="outlined"+ ></v-text-field> -->+ </v-form>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+ <locationSelect :show-dialog="data.showSkuDialogSelect" @close="method.closeDialogSelect()" @sureSelect="method.sureSelect" />+</template>++<script lang="ts" setup>+import { reactive, ref } from 'vue'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { getSorting } from '@/api/wms/stockAsn'+import locationSelect from '@/components/select/location-select.vue'++const formRef = ref()+// const emit = defineEmits(['sure'])++const data = reactive({+ showDialog: false,+ tableData: [],+ rules: {+ putaway_qty: [(val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.stockAsnInfo.actual_qty') }!`],+ location_name: [+ (val: string) => !!val || `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('base.warehouseSetting.location_name') }!`+ ]+ },+ showSkuDialogSelect: false,+ cacheItemIndex: -1+})++const method = reactive({+ // Initialized Data+ initDialogData: async (id: number) => {+ const { data: res } = await getSorting(id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ method.closeDialog()+ return+ }+ data.tableData = res.data+ },+ openDialog: (id: number) => {+ method.initDialogData(id)++ data.showDialog = true+ },+ closeDialog: () => {+ data.showDialog = false+ },+ submit: async () => {+ const { valid } = await formRef.value.validate()+ if (valid) {+ console.log()+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ },++ clearCommodity: (item: { asn_id: number; location_name: string; goods_location_id: number; putaway_qty: number }) => {+ item.goods_location_id = 0+ item.location_name = ''+ },+ openSelect: (index: number) => {+ data.cacheItemIndex = index++ data.showSkuDialogSelect = true+ },+ closeDialogSelect: () => {+ data.showSkuDialogSelect = false+ },+ sureSelect: (selectRecords: any) => {+ console.log(selectRecords)+ // data.formPutaway.goods_location_id = selectRecords[0].id+ // data.formPutaway.location_name = selectRecords[0].location_name+ }+})+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/wms/stockAsn/update-sorting.vue b/frontend/src/view/wms/stockAsn/update-sorting.vuenew file mode 100644index 0000000..3992455--- /dev/null+++ b/frontend/src/view/wms/stockAsn/update-sorting.vue@@ -0,0 +1,166 @@+<template>+ <v-dialog v-model="data.showDialog" :width="'70%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('wms.stockAsnInfo.editSorting')}`"></v-toolbar>+ <v-card-text>+ <vxe-table+ ref="xTable"+ keep-source+ :column-config="{ minWidth: '100px' }"+ :data="data.tableData"+ :height="SYSTEM_HEIGHT.SELECT_TABLE"+ align="center"+ :edit-rules="data.validRules"+ :edit-config="{ trigger: 'click', mode: 'cell', activeMethod: method.activeMethod }"+ :mouse-config="{ selected: true }"+ :keyboard-config="{ isArrow: true, isDel: true, isEnter: true, isTab: true, isEdit: true, isChecked: true }"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="series_number" :title="$t('wms.stockAsnInfo.series_number')" :edit-render="{ autofocus: '.vxe-input--inner' }">+ <template #edit="{ row }">+ <vxe-input v-model="row.series_number" type="text"></vxe-input>+ </template>+ </vxe-column>+ <vxe-column field="sorted_qty" :title="$t('wms.stockAsnInfo.sorted_qty')" :edit-render="{ autofocus: '.vxe-input--inner' }">+ <template #edit="{ row }">+ <vxe-input v-model="row.sorted_qty" type="text"></vxe-input>+ </template>+ </vxe-column>+ <vxe-column field="creator" :title="$t('wms.deliveryManagement.creator')"> </vxe-column>+ <vxe-column field="create_time" :formatter="['formatDate', 'yyyy-MM-dd']" :title="$t('wms.deliveryManagement.create_time')"> </vxe-column>+ <vxe-column field="operate" :title="$t('system.page.operate')" width="100" :resizable="false" show-overflow>+ <template #default="{ row }">+ <tooltip-btn+ :flat="true"+ icon="mdi-delete-outline"+ :tooltip-text="$t('system.page.delete')"+ :icon-color="errorColor"+ @click="method.deleteRow(row)"+ ></tooltip-btn>+ </template>+ </vxe-column>+ </vxe-table>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ <v-btn color="primary" variant="text" @click="method.submit">{{ $t('system.page.submit') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, ref } from 'vue'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { errorColor, SYSTEM_HEIGHT } from '@/constant/style'+import { getSorting } from '@/api/wms/stockAsn'+import { UpdateSortingVo } from '@/types/WMS/StockAsn'+import tooltipBtn from '@/components/tooltip-btn.vue'+import { isInteger } from '@/utils/dataVerification/tableRule'++const xTable = ref()++const emit = defineEmits(['sure'])++const data = reactive({+ showDialog: false,+ tableData: [],+ validRules: {+ sorted_qty: [+ { required: true, message: `${ i18n.global.t('system.checkText.mustInput') }${ i18n.global.t('wms.stockAsnInfo.sorted_qty') }` },+ {+ validator: isInteger,+ validNumerical: 'nonNegative',+ trigger: 'change'+ }+ ],+ series_number: [+ {+ type: 'string',+ min: 0,+ max: 64,+ message: `${ i18n.global.t('system.checkText.lengthValid') }${ 0 }-${ 64 }`,+ trigger: 'change'+ }+ ]+ } as any+})++const method = reactive({+ activeMethod({ row, column }: any) {+ if (!row.series_number && column.field === 'series_number') {+ return false+ }+ return true+ },+ // delete row+ deleteRow: (row: UpdateSortingVo) => {+ const $table = xTable.value+ hookComponent.$dialog({+ content: i18n.global.t('system.tips.beforeDeleteDetailMessage'),+ handleConfirm: async () => {+ $table.remove(row)+ }+ })+ },+ // Initialize window data+ initDialogData: async (id: number) => {+ const { data: res } = await getSorting(id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ data.showDialog = false+ return+ }+ data.tableData = res.data+ },++ openDialog: async (id: number) => {+ // Initialized Data+ method.initDialogData(id)++ data.showDialog = true+ },+ closeDialog: () => {+ data.showDialog = false+ },+ submit: async () => {+ const $table = xTable.value+ const errMap = await $table.validate(true)+ if (!errMap) {+ // Find the deleted data, assign a negative id to represent deletion+ const removeTableData = xTable.value.getRemoveRecords()++ // Traversing and modifying the original data, as the data is a shallow copy, there is no need to assign a value+ if (removeTableData) {+ for (const item of removeTableData) {+ item.id = 0 - item.id+ }+ }++ const tableData: any = data.tableData+ emit('sure', tableData)+ } else {+ hookComponent.$message({+ type: 'error',+ content: i18n.global.t('system.checkText.checkFormFail')+ })+ }+ }+})++defineExpose({+ openDialog: method.openDialog,+ closeDialog: method.closeDialog+})+</script>++<style scoped lang="less"></style>diff --git a/frontend/src/view/wms/stockAsn/view-detail-dialog.vue b/frontend/src/view/wms/stockAsn/view-detail-dialog.vuenew file mode 100644index 0000000..c6369fe--- /dev/null+++ b/frontend/src/view/wms/stockAsn/view-detail-dialog.vue@@ -0,0 +1,85 @@+<template>+ <v-dialog v-model="data.showDialog" :width="'70%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <v-toolbar color="white" :title="`${$t('wms.stockAsnInfo.viewDetail')}`"></v-toolbar>+ <v-card-text>+ <vxe-table+ ref="xTable"+ keep-source+ :column-config="{ minWidth: '100px' }"+ :data="data.tableData"+ :height="SYSTEM_HEIGHT.SELECT_TABLE"+ align="center"+ :mouse-config="{ selected: true }"+ :keyboard-config="{ isArrow: true, isDel: true, isEnter: true, isTab: true, isEdit: true, isChecked: true }"+ >+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column field="goods_owner_name" :title="$t('wms.stockAsnInfo.goods_owner_name')"> </vxe-column>+ <vxe-column field="series_number" :title="$t('wms.stockAsnInfo.series_number')"> </vxe-column>+ </vxe-table>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, ref } from 'vue'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { SYSTEM_HEIGHT } from '@/constant/style'+import { getGrouding } from '@/api/wms/stockAsn'++const xTable = ref()++const data = reactive({+ showDialog: false,+ tableData: []+})++const method = reactive({+ // Initialize window data+ initDialogData: async (id: number) => {+ const { data: res } = await getGrouding(id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ data.showDialog = false+ return+ }+ data.tableData = res.data+ },++ openDialog: async (id: number) => {+ // Initialized Data+ method.initDialogData(id)++ data.showDialog = true+ },+ closeDialog: () => {+ data.showDialog = false+ }+})++defineExpose({+ openDialog: method.openDialog,+ closeDialog: method.closeDialog+})+</script>++<style scoped lang="less">+.col {+ display: flex;+ align-items: center;+ margin-bottom: 10px;+}+</style>diff --git a/frontend/src/view/wms/stockManagement/sku-info.vue b/frontend/src/view/wms/stockManagement/sku-info.vuenew file mode 100644index 0000000..abaa0a8--- /dev/null+++ b/frontend/src/view/wms/stockManagement/sku-info.vue@@ -0,0 +1,112 @@+<template>+ <v-dialog v-model="isShow" :width="'30%'" transition="dialog-top-transition" :persistent="true">+ <template #default>+ <v-card>+ <!-- <v-toolbar color="white" :title="`${$t('wms.stockAsn.tabNotice')}`"></v-toolbar> -->+ <v-card-text>+ <v-list-item two-line>+ <v-list-item-content>+ <v-list-item-title>{{ i18n.global.t('wms.skuInfo.spu_name') + ':' + data.tableData.spu_name }}</v-list-item-title>+ <v-list-item-subtitle>{{ i18n.global.t('wms.skuInfo.sku_code') + ':' + data.tableData.sku_code }}</v-list-item-subtitle>+ <v-list-item-subtitle>{{ i18n.global.t('wms.skuInfo.sku_name') + ':' + data.tableData.sku_name }}</v-list-item-subtitle>+ <v-list-item-subtitle>{{ i18n.global.t('wms.skuInfo.spu_description') + ':' + data.tableData.spu_description }}</v-list-item-subtitle>+ <v-list-item-subtitle>{{ i18n.global.t('wms.skuInfo.category_name') + ':' + data.tableData.category_name }}</v-list-item-subtitle>+ <v-list-item-subtitle>{{ i18n.global.t('wms.skuInfo.brand') + ':' + data.tableData.brand }}</v-list-item-subtitle>+ <v-list-item-subtitle>{{ i18n.global.t('wms.skuInfo.origin') + ':' + data.tableData.origin }}</v-list-item-subtitle>+ <v-list-item-subtitle>{{ i18n.global.t('wms.skuInfo.unit') + ':' + data.tableData.unit }}</v-list-item-subtitle>+ <v-list-item-subtitle>{{ i18n.global.t('wms.skuInfo.cost') + ':' + data.tableData.cost }}</v-list-item-subtitle>+ <v-list-item-subtitle>{{ i18n.global.t('wms.skuInfo.bar_code') + ':' + data.tableData.bar_code }}</v-list-item-subtitle>+ </v-list-item-content>+ </v-list-item>+ </v-card-text>+ <v-card-actions class="justify-end">+ <v-btn variant="text" @click="method.closeDialog">{{ $t('system.page.close') }}</v-btn>+ </v-card-actions>+ </v-card>+ </template>+ </v-dialog>+</template>++<script lang="ts" setup>+import { reactive, computed, ref, watch } from 'vue'+import { SkuInfoVo } from '@/types/WMS/StockAsn'+import i18n from '@/languages/i18n'+import { hookComponent } from '@/components/system/index'+import { getSkuInfo } from '@/api/wms/stockAsn'++const formRef = ref()+const emit = defineEmits(['close'])++const props = defineProps<{+ showDialog: boolean+ sku_id: number+}>()++const isShow = computed(() => props.showDialog)++const data = reactive({+ id: 0,+ tableData: ref<SkuInfoVo>({+ spu_id: 0,+ spu_code: '',+ spu_name: '',+ category_id: 0,+ category_name: '',+ spu_description: '',+ bar_code: '',+ supplier_id: 0,+ supplier_name: '',+ brand: '',+ origin: '',+ length_unit: 0,+ volume_unit: 0,+ weight_unit: 0,+ sku_id: 0,+ sku_code: '',+ sku_name: '',+ weight: 0,+ lenght: 0,+ width: 0,+ height: 0,+ volume: 0,+ unit: '',+ cost: 0,+ price: 0+ })+})++const method = reactive({+ closeDialog: () => {+ emit('close')+ },+ getStockAsnList: async () => {+ const { data: res } = await getSkuInfo(data.id)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data+ }+})++watch(+ () => isShow.value,+ (val) => {+ if (val) {+ data.id = props.sku_id+ method.getStockAsnList()+ }+ }+)+</script>++<style scoped lang="less">+.v-form {+ div {+ margin-bottom: 7px;+ }+}+</style>diff --git a/frontend/src/view/wms/stockManagement/stockManagement.vue b/frontend/src/view/wms/stockManagement/stockManagement.vuenew file mode 100644index 0000000..150d85c--- /dev/null+++ b/frontend/src/view/wms/stockManagement/stockManagement.vue@@ -0,0 +1,94 @@+<!-- Warehouse Setting -->+<template>+ <div class="container">+ <div>+ <v-tabs v-model="data.activeTab" stacked @update:model-value="method.changeTabs">+ <v-tab v-for="(item, index) of tabsConfig" :key="index" :value="item.value">+ <v-icon>{{ item.icon }}</v-icon>+ <p class="tabItemTitle">{{ item.tabName }}</p>+ </v-tab>+ </v-tabs>++ <!-- Main Content -->+ <v-card class="mt-5">+ <v-card-text>+ <v-window v-model="data.activeTab">+ <v-window-item value="tabStockLocation">+ <tabStockLocation ref="tabStockLocationRef" />+ </v-window-item>+ <v-window-item value="tabStock">+ <tabStock ref="tabStockRef" />+ </v-window-item>+ </v-window>+ </v-card-text>+ </v-card>+ </div>+ </div>+</template>++<script lang="ts" setup>+import { ref, reactive, onMounted, watch, nextTick } from 'vue'+import i18n from '@/languages/i18n'+import tabStockLocation from './tabStockLocation.vue'+import tabStock from './tabStock.vue'++const tabStockLocationRef = ref()+const tabStockRef = ref()++const tabsConfig = [+ {+ value: 'tabStockLocation',+ icon: 'mdi-database',+ tabName: i18n.global.t('wms.stockManagement.stockLocation')+ },+ {+ value: 'tabStock',+ icon: 'mdi-warehouse',+ tabName: i18n.global.t('wms.stockManagement.stock')+ }+]++const data = reactive({+ activeTab: '',+ isLoadstockLocation: false,+ isLoadstock: false+})++const method = reactive({+ changeTabs: (e: any): void => {+ nextTick(() => {+ switch (e) {+ case 'tabStockLocation':+ // Tips:Must be write the nextTick so that can get DOM!!+ if (tabStockLocationRef?.value?.getStockLocationList) {+ tabStockLocationRef.value.getStockLocationList()+ }+ break+ case 'tabStock':+ if (tabStockRef?.value?.getStockList) {+ tabStockRef.value.getStockList()+ }+ break+ }+ })+ }+})++onMounted(() => { })+</script>++<style scoped lang="less">+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/wms/stockManagement/tabStock.vue b/frontend/src/view/wms/stockManagement/tabStock.vuenew file mode 100644index 0000000..29f6a80--- /dev/null+++ b/frontend/src/view/wms/stockManagement/tabStock.vue@@ -0,0 +1,237 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->+ <!-- new version -->+ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4"></v-col>+ <v-col cols="4"></v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.spu_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.stockList.spu_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTableWarehouse" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.stockList.spu_code')"></vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.stockList.spu_name')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.stockList.sku_code')">+ <template #default="{ row }">+ <div :class="'text-decoration-none'" @click="method.showSkuInfo(row)"> {{ row.sku_code }}</div>+ </template>+ </vxe-column>+ <vxe-column field="qty" :title="$t('wms.stockList.qty')"></vxe-column>+ <vxe-column field="qty_available" :title="$t('wms.stockList.qty_available')"></vxe-column>+ <vxe-column field="qty_locked" :title="$t('wms.stockList.qty_locked')"></vxe-column>+ <vxe-column field="qty_frozen" :title="$t('wms.stockList.qty_frozen')"></vxe-column>+ <vxe-column field="qty_asn" :title="$t('wms.stockList.qty_asn')"></vxe-column>+ <vxe-column field="qty_to_unload" :title="$t('wms.stockList.qty_to_unload')"></vxe-column>+ <vxe-column field="qty_to_sort" :title="$t('wms.stockList.qty_to_sort')"></vxe-column>+ <vxe-column field="qty_sorted" :title="$t('wms.stockList.qty_sorted')"></vxe-column>+ <vxe-column field="shortage_qty" :title="$t('wms.stockList.shortage_qty')"></vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ <skuInfo :show-dialog="data.showDialogShowInfo" :sku_id="data.sku_id" @close="method.closeDialogShowInfo" />+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { StockVO } from '@/types/WMS/StockManagement'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { SearchObject, btnGroupItem } from '@/types/System/Form'+import { getStockList } from '@/api/wms/stockManagement'+import i18n from '@/languages/i18n'+import customPager from '@/components/custom-pager.vue'+import skuInfo from './sku-info.vue'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'++const xTableWarehouse = ref()++const data = reactive({+ sku_id: 0,+ showDialog: false,+ showDialogShowInfo: false,+ searchForm: {+ spu_name: ''+ },+ activeTab: null,+ tableData: ref<StockVO[]>([]),+ tablePage: reactive({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ timer: ref<any>(null),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ closeDialogShowInfo: () => {+ data.showDialogShowInfo = false+ },+ showSkuInfo(row: StockVO) {+ data.sku_id = row.sku_id+ data.showDialogShowInfo = true+ },+ sumNum: (list: any[], field: string) => {+ let count = 0+ list.forEach((item) => {+ count += Number(item[field])+ })+ return count+ },+ // footerMethod:ref<VxeTablePropTypes.FooterMethod>({ columns, data }) => {+ // columns.map((column, columnIndex) => {+ // if (columnIndex === 0) {+ // return '合计'+ // }+ // if (['qty', 'qty_available'].includes(column.field)) {+ // return method.sumNum(data, column.field)+ // }+ // return null+ // })+ // },+ // Refresh data+ refresh: () => {+ method.getStockList()+ },+ getStockList: async () => {+ const { data: res } = await getStockList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getStockList()+ }),+ exportTable: () => {+ const $table = xTableWarehouse.value+ exportData({+ table: $table,+ filename: i18n.global.t('wms.stockManagement.stock'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getStockList()+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'area-export',+ click: method.exportTable+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++defineExpose({+ getStockList: method.getStockList+})+watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/view/wms/stockManagement/tabStockLocation.vue b/frontend/src/view/wms/stockManagement/tabStockLocation.vuenew file mode 100644index 0000000..f531766--- /dev/null+++ b/frontend/src/view/wms/stockManagement/tabStockLocation.vue@@ -0,0 +1,217 @@+<template>+ <div class="operateArea">+ <v-row no-gutters>+ <!-- Operate Btn -->+ <v-col cols="3" class="col">+ <!-- <tooltip-btn icon="mdi-refresh" :tooltip-text="$t('system.page.refresh')" @click="method.refresh"></tooltip-btn>+ <tooltip-btn icon="mdi-export-variant" :tooltip-text="$t('system.page.export')" @click="method.exportTable"> </tooltip-btn> -->+ <BtnGroup :authority-list="data.authorityList" :btn-list="data.btnList" />+ </v-col>++ <!-- Search Input -->+ <v-col cols="9">+ <v-row no-gutters @keyup.enter="method.sureSearch">+ <v-col cols="4"></v-col>+ <v-col cols="4"></v-col>+ <v-col cols="4">+ <v-text-field+ v-model="data.searchForm.location_name"+ clearable+ hide-details+ density="comfortable"+ class="searchInput ml-5 mt-1"+ :label="$t('wms.stockLocation.location_name')"+ variant="solo"+ >+ </v-text-field>+ </v-col>+ </v-row>+ </v-col>+ </v-row>+ </div>++ <!-- Table -->+ <div+ class="mt-5"+ :style="{+ height: cardHeight+ }"+ >+ <vxe-table ref="xTableStockLocation" :column-config="{ minWidth: '100px' }" :data="data.tableData" :height="tableHeight" align="center">+ <template #empty>+ {{ i18n.global.t('system.page.noData') }}+ </template>+ <vxe-column type="seq" width="60"></vxe-column>+ <vxe-column type="checkbox" width="50"></vxe-column>+ <vxe-column field="warehouse_name" :title="$t('wms.stockLocation.warehouse_name')"></vxe-column>+ <vxe-column field="location_name" :title="$t('wms.stockLocation.location_name')"></vxe-column>+ <vxe-column field="spu_code" :title="$t('wms.stockLocation.spu_code')">+ <template #default="{ row }">+ <div :class="'text-decoration-none'" @click="method.showSkuInfo(row)"> {{ row.sku_code }}</div>+ </template>+ </vxe-column>+ <vxe-column field="spu_name" :title="$t('wms.stockLocation.spu_name')"></vxe-column>+ <vxe-column field="sku_code" :title="$t('wms.stockLocation.sku_code')"></vxe-column>+ <vxe-column field="sku_name" :title="$t('wms.stockLocation.sku_name')"></vxe-column>+ <vxe-column field="series_number" :title="$t('wms.stockLocation.series_number')"></vxe-column>+ <vxe-column field="qty" :title="$t('wms.stockLocation.qty')"></vxe-column>+ <vxe-column field="qty_available" :title="$t('wms.stockLocation.qty_available')"></vxe-column>+ <vxe-column field="qty_locked" :title="$t('wms.stockLocation.qty_locked')"></vxe-column>+ <vxe-column field="qty_frozen" :title="$t('wms.stockLocation.qty_frozen')"></vxe-column>+ </vxe-table>+ <custom-pager+ :current-page="data.tablePage.pageIndex"+ :page-size="data.tablePage.pageSize"+ perfect+ :total="data.tablePage.total"+ :page-sizes="PAGE_SIZE"+ :layouts="PAGE_LAYOUT"+ @page-change="method.handlePageChange"+ >+ </custom-pager>+ </div>+ <skuInfo :show-dialog="data.showDialogShowInfo" :sku_id="data.sku_id" @close="method.closeDialogShowInfo" />+</template>++<script lang="ts" setup>+import { computed, ref, reactive, watch, onMounted } from 'vue'+import { VxePagerEvents } from 'vxe-table'+import { computedCardHeight, computedTableHeight } from '@/constant/style'+import { StockLocationVO } from '@/types/WMS/StockManagement'+import { PAGE_SIZE, PAGE_LAYOUT, DEFAULT_PAGE_SIZE } from '@/constant/vxeTable'+import { hookComponent } from '@/components/system'+import { DEBOUNCE_TIME } from '@/constant/system'+import { setSearchObject, getMenuAuthorityList } from '@/utils/common'+import { SearchObject, btnGroupItem } from '@/types/System/Form'+import { getStockLocationList } from '@/api/wms/stockManagement'+import i18n from '@/languages/i18n'+import customPager from '@/components/custom-pager.vue'+import skuInfo from './sku-info.vue'+import { exportData } from '@/utils/exportTable'+import BtnGroup from '@/components/system/btnGroup.vue'++const xTableStockLocation = ref()++const data = reactive({+ sku_id: 0,+ showDialog: false,+ showDialogShowInfo: false,+ searchForm: {+ location_name: ''+ },+ activeTab: null,+ tableData: ref<StockLocationVO[]>([]),+ tablePage: reactive({+ total: 0,+ pageIndex: 1,+ pageSize: DEFAULT_PAGE_SIZE,+ searchObjects: ref<Array<SearchObject>>([])+ }),+ timer: ref<any>(null),+ btnList: [] as btnGroupItem[],+ // Menu operation permissions+ authorityList: getMenuAuthorityList()+})++const method = reactive({+ closeDialogShowInfo: () => {+ data.showDialogShowInfo = false+ },+ showSkuInfo(row: StockLocationVO) {+ data.sku_id = row.sku_id+ data.showDialogShowInfo = true+ },+ // Refresh data+ refresh: () => {+ method.getStockLocationList()+ },+ getStockLocationList: async () => {+ const { data: res } = await getStockLocationList(data.tablePage)+ if (!res.isSuccess) {+ hookComponent.$message({+ type: 'error',+ content: res.errorMessage+ })+ return+ }+ data.tableData = res.data.rows+ data.tablePage.total = res.data.totals+ },+ handlePageChange: ref<VxePagerEvents.PageChange>(({ currentPage, pageSize }) => {+ data.tablePage.pageIndex = currentPage+ data.tablePage.pageSize = pageSize++ method.getStockLocationList()+ }),+ exportTable: () => {+ const $table = xTableStockLocation.value+ exportData({+ table: $table,+ filename: i18n.global.t('wms.stockManagement.stockLocation'),+ columnFilterMethod({ column }: any) {+ return !['checkbox'].includes(column?.type) && !['operate'].includes(column?.field)+ }+ })+ },+ sureSearch: () => {+ data.tablePage.searchObjects = setSearchObject(data.searchForm)+ method.getStockLocationList()+ }+})++onMounted(() => {+ data.btnList = [+ {+ name: i18n.global.t('system.page.refresh'),+ icon: 'mdi-refresh',+ code: '',+ click: method.refresh+ },+ {+ name: i18n.global.t('system.page.export'),+ icon: 'mdi-export-variant',+ code: 'stock-export',+ click: method.exportTable+ }+ ]+})++const cardHeight = computed(() => computedCardHeight({}))+const tableHeight = computed(() => computedTableHeight({}))++defineExpose({+ getStockLocationList: method.getStockLocationList+})+watch(+ () => data.searchForm,+ () => {+ // debounce+ if (data.timer) {+ clearTimeout(data.timer)+ }+ data.timer = setTimeout(() => {+ data.timer = null+ method.sureSearch()+ }, DEBOUNCE_TIME)+ },+ {+ deep: true+ }+)+</script>++<style lang="less" scoped>+.operateArea {+ width: 100%;+ min-width: 760px;+ display: flex;+ align-items: center;+ border-radius: 10px;+ padding: 0 10px;+}++.col {+ display: flex;+ align-items: center;+}+</style>diff --git a/frontend/src/vite-env.d.ts b/frontend/src/vite-env.d.tsnew file mode 100644index 0000000..11f02fe--- /dev/null+++ b/frontend/src/vite-env.d.ts@@ -0,0 +1 @@+/// <reference types="vite/client" />diff --git a/frontend/tsconfig.json b/frontend/tsconfig.jsonnew file mode 100644index 0000000..81a9b23--- /dev/null+++ b/frontend/tsconfig.json@@ -0,0 +1,27 @@+{+ "compilerOptions": {+ "target": "ESNext",+ "useDefineForClassFields": true,+ "module": "ESNext",+ "moduleResolution": "Node",+ "strict": true,+ "jsx": "preserve",+ "resolveJsonModule": true,+ "isolatedModules": true,+ "esModuleInterop": true,+ "lib": ["ESNext", "DOM"],+ "skipLibCheck": true,+ "noEmit": true,+ "noImplicitAny": false, // 屏蔽隐式any类型报错+ // 加入以下配置项+ // "suppressImplicitAnyIndexErrors":true, //对象可使用[]方式+ "baseUrl": ".", // 用于设置解析非相对模块名称的基本目录,相对模块不会受到baseUrl的影响+ "paths": {+ // 用于设置模块名到基于baseUrl的路径映射+ "@/*": ["src/*"]+ },+ "allowJs": true+ },+ "include": ["src/**/*.ts","src/**/*", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "src/api/sys/login.tsn.tssrc/api/sys/login.tslogisrc/api/sys/login.tssys/src/api/sys/login.tsapi/sys/login.ts","src/hiprint/etypes/default-etyps-provider.js","src/hiprint/plugins/jquery.hiwprint.js","src/hiprint/plugins/qrcode.js","src/hiprint/plugins/watermark.js","src/hiprint/hiprint.bundle.js","src/hiprint/hiprint.config.js","src/hiprint/index.js"],+ "references": [{ "path": "./tsconfig.node.json" }]+}diff --git a/frontend/tsconfig.node.json b/frontend/tsconfig.node.jsonnew file mode 100644index 0000000..9d31e2a--- /dev/null+++ b/frontend/tsconfig.node.json@@ -0,0 +1,9 @@+{+ "compilerOptions": {+ "composite": true,+ "module": "ESNext",+ "moduleResolution": "Node",+ "allowSyntheticDefaultImports": true+ },+ "include": ["vite.config.ts"]+}diff --git a/frontend/vite.config.ts b/frontend/vite.config.tsnew file mode 100644index 0000000..31901e9--- /dev/null+++ b/frontend/vite.config.ts@@ -0,0 +1,30 @@+import { defineConfig } from 'vite'+import vue from '@vitejs/plugin-vue'+import { resolve } from 'path'++// https://vitejs.dev/config/+export default defineConfig({+ plugins: [+ vue()+ ],+ resolve: {+ alias: {+ // 配置别名指向src目录+ '@': resolve(__dirname, 'src'),+ 'vue-i18n': 'vue-i18n/dist/vue-i18n.cjs.js'+ },+ // 使用别名的文件后缀+ extensions: ['.js', '.json', '.ts']+ },+ css: {+ preprocessorOptions: {+ less: {+ javascriptEnabled: true+ }+ }+ },+ // ...其他配置项+ optimizeDeps: {+ include: ['jquery']+ }+})diff --git a/frontend/yarn.lock b/frontend/yarn.locknew file mode 100644index 0000000..01dd173--- /dev/null+++ b/frontend/yarn.lock@@ -0,0 +1,3267 @@+# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.+# yarn lockfile v1+++"@antfu/install-pkg@^0.1.1":+ version "0.1.1"+ resolved "https://registry.npmjs.org/@antfu/install-pkg/-/install-pkg-0.1.1.tgz#157bb04f0de8100b9e4c01734db1a6c77e98bbb5"+ integrity sha512-LyB/8+bSfa0DFGC06zpCEfs89/XoWZwws5ygEa5D+Xsm3OfI+aXQ86VgVG7Acyef+rSZ5HE7J8rrxzrQeM3PjQ==+ dependencies:+ execa "^5.1.1"+ find-up "^5.0.0"++"@antfu/utils@^0.5.2":+ version "0.5.2"+ resolved "https://registry.npmjs.org/@antfu/utils/-/utils-0.5.2.tgz#8c2d931ff927be0ebe740169874a3d4004ab414b"+ integrity sha512-CQkeV+oJxUazwjlHD0/3ZD08QWKuGQkhnrKo3e6ly5pd48VUpXbb77q0xMU4+vc2CkJnDS02Eq/M9ugyX20XZA==++"@antfu/utils@^0.7.2":+ version "0.7.2"+ resolved "https://registry.npmjs.org/@antfu/utils/-/utils-0.7.2.tgz#3bb6f37a6b188056fe9e2f363b6aa735ed65d7ca"+ integrity sha512-vy9fM3pIxZmX07dL+VX1aZe7ynZ+YyB0jY+jE6r3hOK6GNY2t6W8rzpFC4tgpbXUYABkFQwgJq2XYXlxbXAI0g==++"@babel/code-frame@^7.0.0":+ version "7.18.6"+ resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a"+ integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==+ dependencies:+ "@babel/highlight" "^7.18.6"++"@babel/helper-validator-identifier@^7.18.6":+ version "7.19.1"+ resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2"+ integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==++"@babel/highlight@^7.18.6":+ version "7.18.6"+ resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf"+ integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==+ dependencies:+ "@babel/helper-validator-identifier" "^7.18.6"+ chalk "^2.0.0"+ js-tokens "^4.0.0"++"@babel/parser@^7.16.4":+ version "7.20.5"+ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.20.5.tgz#7f3c7335fe417665d929f34ae5dceae4c04015e8"+ integrity sha512-r27t/cy/m9uKLXQNWWebeCUHgnAZq0CpG1OwKRxzJMP1vpSU4bSIK2hq+/cp0bQxetkXx38n09rNu8jVkcK/zA==++"@esbuild/[email protected]":+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.16.4.tgz#4b31b9e3da2e4c12a8170bd682f713c775f68ab1"+ integrity sha512-VPuTzXFm/m2fcGfN6CiwZTlLzxrKsWbPkG7ArRFpuxyaHUm/XFHQPD4xNwZT6uUmpIHhnSjcaCmcla8COzmZ5Q==++"@esbuild/[email protected]":+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.16.4.tgz#057d3e8b0ee41ff59386c33ba6dcf20f4bedd1f7"+ integrity sha512-rZzb7r22m20S1S7ufIc6DC6W659yxoOrl7sKP1nCYhuvUlnCFHVSbATG4keGUtV8rDz11sRRDbWkvQZpzPaHiw==++"@esbuild/[email protected]":+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.16.4.tgz#62ccab8ac1d3e6ef1df3fa2e1974bc2b8528d74a"+ integrity sha512-MW+B2O++BkcOfMWmuHXB15/l1i7wXhJFqbJhp82IBOais8RBEQv2vQz/jHrDEHaY2X0QY7Wfw86SBL2PbVOr0g==++"@esbuild/[email protected]":+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.16.4.tgz#c19a6489d626c36fc611c85ccd8a3333c1f2a930"+ integrity sha512-a28X1O//aOfxwJVZVs7ZfM8Tyih2Za4nKJrBwW5Wm4yKsnwBy9aiS/xwpxiiTRttw3EaTg4Srerhcm6z0bu9Wg==++"@esbuild/[email protected]":+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.16.4.tgz#b726bbc84a1e277f6ec2509d10b8ee03f242b776"+ integrity sha512-e3doCr6Ecfwd7VzlaQqEPrnbvvPjE9uoTpxG5pyLzr2rI2NMjDHmvY1E5EO81O/e9TUOLLkXA5m6T8lfjK9yAA==++"@esbuild/[email protected]":+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.4.tgz#364568e6ca2901297f247de0681c9b14bbe658c8"+ integrity sha512-Oup3G/QxBgvvqnXWrBed7xxkFNwAwJVHZcklWyQt7YCAL5bfUkaa6FVWnR78rNQiM8MqqLiT6ZTZSdUFuVIg1w==++"@esbuild/[email protected]":+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.16.4.tgz#44701ba4a5497ba64eec0a6c9e221d8f46a25e72"+ integrity sha512-vAP+eYOxlN/Bpo/TZmzEQapNS8W1njECrqkTpNgvXskkkJC2AwOXwZWai/Kc2vEFZUXQttx6UJbj9grqjD/+9Q==++"@esbuild/[email protected]":+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.16.4.tgz#b58fb418ec9ac714d8dbb38c787ff2441eb1d9db"+ integrity sha512-2zXoBhv4r5pZiyjBKrOdFP4CXOChxXiYD50LRUU+65DkdS5niPFHbboKZd/c81l0ezpw7AQnHeoCy5hFrzzs4g==++"@esbuild/[email protected]":+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.16.4.tgz#b37f15ecddb53eeea466e5960e31a58f33e0e87e"+ integrity sha512-A47ZmtpIPyERxkSvIv+zLd6kNIOtJH03XA0Hy7jaceRDdQaQVGSDt4mZqpWqJYgDk9rg96aglbF6kCRvPGDSUA==++"@esbuild/[email protected]":+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.16.4.tgz#117e32a9680b5deac184ebee122f8575369fad1b"+ integrity sha512-uxdSrpe9wFhz4yBwt2kl2TxS/NWEINYBUFIxQtaEVtglm1eECvsj1vEKI0KX2k2wCe17zDdQ3v+jVxfwVfvvjw==++"@esbuild/[email protected]":+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.16.4.tgz#dd504fb83c280752d4b485d9acb3cf391cb7bf5b"+ integrity sha512-peDrrUuxbZ9Jw+DwLCh/9xmZAk0p0K1iY5d2IcwmnN+B87xw7kujOkig6ZRcZqgrXgeRGurRHn0ENMAjjD5DEg==++"@esbuild/[email protected]":+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.16.4.tgz#9ab77e31cf3be1e35572afff94b51df8149d15bd"+ integrity sha512-sD9EEUoGtVhFjjsauWjflZklTNr57KdQ6xfloO4yH1u7vNQlOfAlhEzbyBKfgbJlW7rwXYBdl5/NcZ+Mg2XhQA==++"@esbuild/[email protected]":+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.16.4.tgz#69d56c2a960808bee1c7b9b84a115220ec9ce05c"+ integrity sha512-X1HSqHUX9D+d0l6/nIh4ZZJ94eQky8d8z6yxAptpZE3FxCWYWvTDd9X9ST84MGZEJx04VYUD/AGgciddwO0b8g==++"@esbuild/[email protected]":+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.16.4.tgz#9fc23583f4a1508a8d352bd376340e42217e8a90"+ integrity sha512-97ANpzyNp0GTXCt6SRdIx1ngwncpkV/z453ZuxbnBROCJ5p/55UjhbaG23UdHj88fGWLKPFtMoU4CBacz4j9FA==++"@esbuild/[email protected]":+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.16.4.tgz#4cae1f70ac2943f076dd130c3c80d28f57bf75d1"+ integrity sha512-pUvPQLPmbEeJRPjP0DYTC1vjHyhrnCklQmCGYbipkep+oyfTn7GTBJXoPodR7ZS5upmEyc8lzAkn2o29wD786A==++"@esbuild/[email protected]":+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.16.4.tgz#fdf494de07cda23a2dc4b71ff1e0848e4ee6539c"+ integrity sha512-N55Q0mJs3Sl8+utPRPBrL6NLYZKBCLLx0bme/+RbjvMforTGGzFvsRl4xLTZMUBFC1poDzBEPTEu5nxizQ9Nlw==++"@esbuild/[email protected]":+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.16.4.tgz#b59ecb49087119c575c0f64d7e66001d52799e24"+ integrity sha512-LHSJLit8jCObEQNYkgsDYBh2JrJT53oJO2HVdkSYLa6+zuLJh0lAr06brXIkljrlI+N7NNW1IAXGn/6IZPi3YQ==++"@esbuild/[email protected]":+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.16.4.tgz#c51e36db875948b7b11d08bafa355605a1aa289c"+ integrity sha512-nLgdc6tWEhcCFg/WVFaUxHcPK3AP/bh+KEwKtl69Ay5IBqUwKDaq/6Xk0E+fh/FGjnLwqFSsarsbPHeKM8t8Sw==++"@esbuild/[email protected]":+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.16.4.tgz#0b50e941cd44f069e9f2573321aec984244ec228"+ integrity sha512-08SluG24GjPO3tXKk95/85n9kpyZtXCVwURR2i4myhrOfi3jspClV0xQQ0W0PYWHioJj+LejFMt41q+PG3mlAQ==++"@esbuild/[email protected]":+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.16.4.tgz#d1c93b20f17355ab2221cd18e13ae2f1b68013e3"+ integrity sha512-yYiRDQcqLYQSvNQcBKN7XogbrSvBE45FEQdH8fuXPl7cngzkCvpsG2H9Uey39IjQ6gqqc+Q4VXYHsQcKW0OMjQ==++"@esbuild/[email protected]":+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.16.4.tgz#df5910e76660e0acbbdceb8d4ae6bf1efeade6ae"+ integrity sha512-5rabnGIqexekYkh9zXG5waotq8mrdlRoBqAktjx2W3kb0zsI83mdCwrcAeKYirnUaTGztR5TxXcXmQrEzny83w==++"@esbuild/[email protected]":+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.16.4.tgz#6ec594468610c176933da1387c609558371d37e0"+ integrity sha512-sN/I8FMPtmtT2Yw+Dly8Ur5vQ5a/RmC8hW7jO9PtPSQUPkowxWpcUZnqOggU7VwyT3Xkj6vcXWd3V/qTXwultQ==++"@fast-csv/[email protected]":+ version "4.3.5"+ resolved "https://registry.npmmirror.com/@fast-csv/format/-/format-4.3.5.tgz#90d83d1b47b6aaf67be70d6118f84f3e12ee1ff3"+ integrity sha512-8iRn6QF3I8Ak78lNAa+Gdl5MJJBM5vRHivFtMRUWINdevNo00K7OXxS2PshawLKTejVwieIlPmK5YlLu6w4u8A==+ dependencies:+ "@types/node" "^14.0.1"+ lodash.escaperegexp "^4.1.2"+ lodash.isboolean "^3.0.3"+ lodash.isequal "^4.5.0"+ lodash.isfunction "^3.0.9"+ lodash.isnil "^4.0.0"++"@fast-csv/[email protected]":+ version "4.3.6"+ resolved "https://registry.npmmirror.com/@fast-csv/parse/-/parse-4.3.6.tgz#ee47d0640ca0291034c7aa94039a744cfb019264"+ integrity sha512-uRsLYksqpbDmWaSmzvJcuApSEe38+6NQZBUsuAyMZKqHxH0g1wcJgsKUvN3WC8tewaqFjBMMGrkHmC+T7k8LvA==+ dependencies:+ "@types/node" "^14.0.1"+ lodash.escaperegexp "^4.1.2"+ lodash.groupby "^4.6.0"+ lodash.isfunction "^3.0.9"+ lodash.isnil "^4.0.0"+ lodash.isundefined "^3.0.1"+ lodash.uniq "^4.5.0"++"@iconify/types@^2.0.0":+ version "2.0.0"+ resolved "https://registry.npmjs.org/@iconify/types/-/types-2.0.0.tgz#ab0e9ea681d6c8a1214f30cd741fe3a20cc57f57"+ integrity sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==++"@iconify/utils@^2.0.3":+ version "2.0.3"+ resolved "https://registry.npmjs.org/@iconify/utils/-/utils-2.0.3.tgz#87a6524348197d229b04bcc1db8ffebf31f3d09d"+ integrity sha512-kLpJ95/ZeT1+vIstjdeFnyfiEmmTJuekGb5SVykfKjLSJjmftTCzm7sxxzNHsd8i5mpKPl7Rws9sLGR3juKJ+g==+ dependencies:+ "@antfu/install-pkg" "^0.1.1"+ "@antfu/utils" "^0.5.2"+ "@iconify/types" "^2.0.0"+ debug "^4.3.4"+ kolorist "^1.6.0"+ local-pkg "^0.4.2"++"@intlify/[email protected]":+ version "9.2.2"+ resolved "https://registry.npmjs.org/@intlify/core-base/-/core-base-9.2.2.tgz#5353369b05cc9fe35cab95fe20afeb8a4481f939"+ integrity sha512-JjUpQtNfn+joMbrXvpR4hTF8iJQ2sEFzzK3KIESOx+f+uwIjgw20igOyaIdhfsVVBCds8ZM64MoeNSx+PHQMkA==+ dependencies:+ "@intlify/devtools-if" "9.2.2"+ "@intlify/message-compiler" "9.2.2"+ "@intlify/shared" "9.2.2"+ "@intlify/vue-devtools" "9.2.2"++"@intlify/[email protected]":+ version "9.2.2"+ resolved "https://registry.npmjs.org/@intlify/devtools-if/-/devtools-if-9.2.2.tgz#b13d9ac4b4e2fe6d2e7daa556517a8061fe8bd39"+ integrity sha512-4ttr/FNO29w+kBbU7HZ/U0Lzuh2cRDhP8UlWOtV9ERcjHzuyXVZmjyleESK6eVP60tGC9QtQW9yZE+JeRhDHkg==+ dependencies:+ "@intlify/shared" "9.2.2"++"@intlify/[email protected]":+ version "9.2.2"+ resolved "https://registry.npmjs.org/@intlify/message-compiler/-/message-compiler-9.2.2.tgz#e42ab6939b8ae5b3d21faf6a44045667a18bba1c"+ integrity sha512-IUrQW7byAKN2fMBe8z6sK6riG1pue95e5jfokn8hA5Q3Bqy4MBJ5lJAofUsawQJYHeoPJ7svMDyBaVJ4d0GTtA==+ dependencies:+ "@intlify/shared" "9.2.2"+ source-map "0.6.1"++"@intlify/[email protected]":+ version "9.2.2"+ resolved "https://registry.npmjs.org/@intlify/shared/-/shared-9.2.2.tgz#5011be9ca2b4ab86f8660739286e2707f9abb4a5"+ integrity sha512-wRwTpsslgZS5HNyM7uDQYZtxnbI12aGiBZURX3BTR9RFIKKRWpllTsgzHWvj3HKm3Y2Sh5LPC1r0PDCKEhVn9Q==++"@intlify/[email protected]":+ version "9.2.2"+ resolved "https://registry.npmjs.org/@intlify/vue-devtools/-/vue-devtools-9.2.2.tgz#b95701556daf7ebb3a2d45aa3ae9e6415aed8317"+ integrity sha512-+dUyqyCHWHb/UcvY1MlIpO87munedm3Gn6E9WWYdWrMuYLcoIoOEVDWSS8xSwtlPU+kA+MEQTP6Q1iI/ocusJg==+ dependencies:+ "@intlify/core-base" "9.2.2"+ "@intlify/shared" "9.2.2"++"@jridgewell/sourcemap-codec@^1.4.13":+ version "1.4.14"+ resolved "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24"+ integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==++"@mdi/[email protected]":+ version "7.1.96"+ resolved "https://registry.npmmirror.com/@mdi/font/-/font-7.1.96.tgz#211ca4acfa31964278e5085de595e8c73967d400"+ integrity sha512-Imag6npmfkBDi2Ze2jiZVAPTDIKLxhz2Sx82xJ2zctyAU5LYJejLI5ChnDwiD9bMkQfVuzEsI98Q8toHyC+HCg==++"@nodelib/[email protected]":+ version "2.1.5"+ resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"+ integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==+ dependencies:+ "@nodelib/fs.stat" "2.0.5"+ run-parallel "^1.1.9"++"@nodelib/[email protected]", "@nodelib/fs.stat@^2.0.2":+ version "2.0.5"+ resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b"+ integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==++"@nodelib/fs.walk@^1.2.3":+ version "1.2.8"+ resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a"+ integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==+ dependencies:+ "@nodelib/fs.scandir" "2.1.5"+ fastq "^1.6.0"++"@rollup/pluginutils@^5.0.2":+ version "5.0.2"+ resolved "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.0.2.tgz#012b8f53c71e4f6f9cb317e311df1404f56e7a33"+ integrity sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==+ dependencies:+ "@types/estree" "^1.0.0"+ estree-walker "^2.0.2"+ picomatch "^2.3.1"++"@types/estree@^1.0.0":+ version "1.0.0"+ resolved "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz#5fb2e536c1ae9bf35366eed879e827fa59ca41c2"+ integrity sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==++"@types/json-schema@^7.0.9":+ version "7.0.11"+ resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3"+ integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==++"@types/json5@^0.0.29":+ version "0.0.29"+ resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"+ integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==++"@types/[email protected]":+ version "18.11.13"+ resolved "https://registry.npmmirror.com/@types/node/-/node-18.11.13.tgz#dff34f226ec1ac0432ae3b136ec5552bd3b9c0fe"+ integrity sha512-IASpMGVcWpUsx5xBOrxMj7Bl8lqfuTY7FKAnPmu5cHkfQVWF8GulWS1jbRqA934qZL35xh5xN/+Xe/i26Bod4w==++"@types/node@^14.0.1":+ version "14.18.36"+ resolved "https://registry.npmmirror.com/@types/node/-/node-14.18.36.tgz#c414052cb9d43fab67d679d5f3c641be911f5835"+ integrity sha512-FXKWbsJ6a1hIrRxv+FoukuHnGTgEzKYGi7kilfMae96AL9UNkPFNWJEEYWzdRI9ooIkbr4AKldyuSTLql06vLQ==++"@types/semver@^7.3.12":+ version "7.3.13"+ resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.13.tgz#da4bfd73f49bd541d28920ab0e2bf0ee80f71c91"+ integrity sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==++"@typescript-eslint/[email protected]":+ version "5.46.0"+ resolved "https://registry.npmmirror.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.46.0.tgz#9a96a713b9616c783501a3c1774c9e2b40217ad0"+ integrity sha512-QrZqaIOzJAjv0sfjY4EjbXUi3ZOFpKfzntx22gPGr9pmFcTjcFw/1sS1LJhEubfAGwuLjNrPV0rH+D1/XZFy7Q==+ dependencies:+ "@typescript-eslint/scope-manager" "5.46.0"+ "@typescript-eslint/type-utils" "5.46.0"+ "@typescript-eslint/utils" "5.46.0"+ debug "^4.3.4"+ ignore "^5.2.0"+ natural-compare-lite "^1.4.0"+ regexpp "^3.2.0"+ semver "^7.3.7"+ tsutils "^3.21.0"++"@typescript-eslint/[email protected]":+ version "5.46.0"+ resolved "https://registry.npmmirror.com/@typescript-eslint/parser/-/parser-5.46.0.tgz#002d8e67122947922a62547acfed3347cbf2c0b6"+ integrity sha512-joNO6zMGUZg+C73vwrKXCd8usnsmOYmgW/w5ZW0pG0RGvqeznjtGDk61EqqTpNrFLUYBW2RSBFrxdAZMqA4OZA==+ dependencies:+ "@typescript-eslint/scope-manager" "5.46.0"+ "@typescript-eslint/types" "5.46.0"+ "@typescript-eslint/typescript-estree" "5.46.0"+ debug "^4.3.4"++"@typescript-eslint/[email protected]":+ version "5.46.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.46.0.tgz#60790b14d0c687dd633b22b8121374764f76ce0d"+ integrity sha512-7wWBq9d/GbPiIM6SqPK9tfynNxVbfpihoY5cSFMer19OYUA3l4powA2uv0AV2eAZV6KoAh6lkzxv4PoxOLh1oA==+ dependencies:+ "@typescript-eslint/types" "5.46.0"+ "@typescript-eslint/visitor-keys" "5.46.0"++"@typescript-eslint/[email protected]":+ version "5.46.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.46.0.tgz#3a4507b3b437e2fd9e95c3e5eea5ae16f79d64b3"+ integrity sha512-dwv4nimVIAsVS2dTA0MekkWaRnoYNXY26dKz8AN5W3cBFYwYGFQEqm/cG+TOoooKlncJS4RTbFKgcFY/pOiBCg==+ dependencies:+ "@typescript-eslint/typescript-estree" "5.46.0"+ "@typescript-eslint/utils" "5.46.0"+ debug "^4.3.4"+ tsutils "^3.21.0"++"@typescript-eslint/[email protected]":+ version "5.46.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.46.0.tgz#f4d76622a996b88153bbd829ea9ccb9f7a5d28bc"+ integrity sha512-wHWgQHFB+qh6bu0IAPAJCdeCdI0wwzZnnWThlmHNY01XJ9Z97oKqKOzWYpR2I83QmshhQJl6LDM9TqMiMwJBTw==++"@typescript-eslint/[email protected]":+ version "5.46.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.46.0.tgz#a6c2b84b9351f78209a1d1f2d99ca553f7fa29a5"+ integrity sha512-kDLNn/tQP+Yp8Ro2dUpyyVV0Ksn2rmpPpB0/3MO874RNmXtypMwSeazjEN/Q6CTp8D7ExXAAekPEcCEB/vtJkw==+ dependencies:+ "@typescript-eslint/types" "5.46.0"+ "@typescript-eslint/visitor-keys" "5.46.0"+ debug "^4.3.4"+ globby "^11.1.0"+ is-glob "^4.0.3"+ semver "^7.3.7"+ tsutils "^3.21.0"++"@typescript-eslint/[email protected]":+ version "5.46.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.46.0.tgz#600cd873ba471b7d8b0b9f35de34cf852c6fcb31"+ integrity sha512-4O+Ps1CRDw+D+R40JYh5GlKLQERXRKW5yIQoNDpmXPJ+C7kaPF9R7GWl+PxGgXjB3PQCqsaaZUpZ9dG4U6DO7g==+ dependencies:+ "@types/json-schema" "^7.0.9"+ "@types/semver" "^7.3.12"+ "@typescript-eslint/scope-manager" "5.46.0"+ "@typescript-eslint/types" "5.46.0"+ "@typescript-eslint/typescript-estree" "5.46.0"+ eslint-scope "^5.1.1"+ eslint-utils "^3.0.0"+ semver "^7.3.7"++"@typescript-eslint/[email protected]":+ version "5.46.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.46.0.tgz#36d87248ae20c61ef72404bcd61f14aa2563915f"+ integrity sha512-E13gBoIXmaNhwjipuvQg1ByqSAu/GbEpP/qzFihugJ+MomtoJtFAJG/+2DRPByf57B863m0/q7Zt16V9ohhANw==+ dependencies:+ "@typescript-eslint/types" "5.46.0"+ eslint-visitor-keys "^3.3.0"++"@vitejs/[email protected]":+ version "4.0.0"+ resolved "https://registry.npmmirror.com/@vitejs/plugin-vue/-/plugin-vue-4.0.0.tgz#93815beffd23db46288c787352a8ea31a0c03e5e"+ integrity sha512-e0X4jErIxAB5oLtDqbHvHpJe/uWNkdpYV83AOG2xo2tEVSzCzewgJMtREZM30wXnM5ls90hxiOtAuVU6H5JgbA==++"@volar/[email protected]":+ version "1.0.11"+ resolved "https://registry.npmmirror.com/@volar/language-core/-/language-core-1.0.11.tgz#14c17add91483f0a39a5ee3207a615bdc71c9db4"+ integrity sha512-YwUYKxIyDc+Fq3kQ6BGGfkrKCG5JzE2Yr6vMxrxEXW2rg/gsq3JgMk/4sI8ybRsaTirhCB4V8+AIVYsvcRxgig==+ dependencies:+ "@volar/source-map" "1.0.11"+ "@vue/reactivity" "^3.2.45"+ muggle-string "^0.1.0"++"@volar/[email protected]":+ version "1.0.11"+ resolved "https://registry.npmmirror.com/@volar/source-map/-/source-map-1.0.11.tgz#8db897b382ce13afde012ced2d9ca2acb85efe3a"+ integrity sha512-tkuV9MD+OuiZfHA0qZXrPdW6F7TvnpnuTan6Qe7UGUs9+sflezlMJdjaYdGgQObfP+06pcT1E3xdkOoi08ZyyQ==+ dependencies:+ muggle-string "^0.1.0"++"@volar/[email protected]":+ version "1.0.11"+ resolved "https://registry.npmmirror.com/@volar/typescript/-/typescript-1.0.11.tgz#e127e5598f9bc7e39cf69c8dd6e2f43070a3fd72"+ integrity sha512-mq7wDDAs0Eb43jev2FxbowuiwWqvL3kb+tar1we8VQbdabpyQ5dmbWPwo/IglevMmW3SKo1Et+6rqAeZpXNnPQ==+ dependencies:+ "@volar/language-core" "1.0.11"++"@volar/[email protected]":+ version "1.0.11"+ resolved "https://registry.npmmirror.com/@volar/vue-language-core/-/vue-language-core-1.0.11.tgz#e185b0d4e6bd1de8e350dfc396639034c5c02bff"+ integrity sha512-A3ODs0/ua7BcpSSnE7KtO8bzWsYsbOJRyW2Q/2uktxlfHj8srln3JdgK/mNlIgfnWtACbE5K+EfMJOgJKv864A==+ dependencies:+ "@volar/language-core" "1.0.11"+ "@volar/source-map" "1.0.11"+ "@vue/compiler-dom" "^3.2.45"+ "@vue/compiler-sfc" "^3.2.45"+ "@vue/reactivity" "^3.2.45"+ "@vue/shared" "^3.2.45"+ minimatch "^5.1.0"+ vue-template-compiler "^2.7.14"++"@volar/[email protected]":+ version "1.0.11"+ resolved "https://registry.npmmirror.com/@volar/vue-typescript/-/vue-typescript-1.0.11.tgz#5cbc021854186f1c3cdfc6305d4c3870df28c5a2"+ integrity sha512-jlnFPvBcTyPiAbGlgjhKK7fp3Q+Z7Z5eU1NTbTSS0lQC8Gog3sh2UxLAFG5Voe1gHIxasoOEPXzMR0CWF4bKbA==+ dependencies:+ "@volar/typescript" "1.0.11"+ "@volar/vue-language-core" "1.0.11"++"@vue/[email protected]":+ version "3.2.45"+ resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.2.45.tgz#d9311207d96f6ebd5f4660be129fb99f01ddb41b"+ integrity sha512-rcMj7H+PYe5wBV3iYeUgbCglC+pbpN8hBLTJvRiK2eKQiWqu+fG9F+8sW99JdL4LQi7Re178UOxn09puSXvn4A==+ dependencies:+ "@babel/parser" "^7.16.4"+ "@vue/shared" "3.2.45"+ estree-walker "^2.0.2"+ source-map "^0.6.1"++"@vue/[email protected]", "@vue/compiler-dom@^3.2.45":+ version "3.2.45"+ resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.2.45.tgz#c43cc15e50da62ecc16a42f2622d25dc5fd97dce"+ integrity sha512-tyYeUEuKqqZO137WrZkpwfPCdiiIeXYCcJ8L4gWz9vqaxzIQRccTSwSWZ/Axx5YR2z+LvpUbmPNXxuBU45lyRw==+ dependencies:+ "@vue/compiler-core" "3.2.45"+ "@vue/shared" "3.2.45"++"@vue/[email protected]", "@vue/compiler-sfc@^3.2.45":+ version "3.2.45"+ resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.2.45.tgz#7f7989cc04ec9e7c55acd406827a2c4e96872c70"+ integrity sha512-1jXDuWah1ggsnSAOGsec8cFjT/K6TMZ0sPL3o3d84Ft2AYZi2jWJgRMjw4iaK0rBfA89L5gw427H4n1RZQBu6Q==+ dependencies:+ "@babel/parser" "^7.16.4"+ "@vue/compiler-core" "3.2.45"+ "@vue/compiler-dom" "3.2.45"+ "@vue/compiler-ssr" "3.2.45"+ "@vue/reactivity-transform" "3.2.45"+ "@vue/shared" "3.2.45"+ estree-walker "^2.0.2"+ magic-string "^0.25.7"+ postcss "^8.1.10"+ source-map "^0.6.1"++"@vue/[email protected]":+ version "3.2.45"+ resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.2.45.tgz#bd20604b6e64ea15344d5b6278c4141191c983b2"+ integrity sha512-6BRaggEGqhWht3lt24CrIbQSRD5O07MTmd+LjAn5fJj568+R9eUD2F7wMQJjX859seSlrYog7sUtrZSd7feqrQ==+ dependencies:+ "@vue/compiler-dom" "3.2.45"+ "@vue/shared" "3.2.45"++"@vue/devtools-api@^6.0.0-beta.11", "@vue/devtools-api@^6.2.1", "@vue/devtools-api@^6.4.5":+ version "6.4.5"+ resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-6.4.5.tgz#d54e844c1adbb1e677c81c665ecef1a2b4bb8380"+ integrity sha512-JD5fcdIuFxU4fQyXUu3w2KpAJHzTVdN+p4iOX2lMWSHMOoQdMAcpFLZzm9Z/2nmsoZ1a96QEhZ26e50xLBsgOQ==++"@vue/[email protected]":+ version "3.2.45"+ resolved "https://registry.yarnpkg.com/@vue/reactivity-transform/-/reactivity-transform-3.2.45.tgz#07ac83b8138550c83dfb50db43cde1e0e5e8124d"+ integrity sha512-BHVmzYAvM7vcU5WmuYqXpwaBHjsS8T63jlKGWVtHxAHIoMIlmaMyurUSEs1Zcg46M4AYT5MtB1U274/2aNzjJQ==+ dependencies:+ "@babel/parser" "^7.16.4"+ "@vue/compiler-core" "3.2.45"+ "@vue/shared" "3.2.45"+ estree-walker "^2.0.2"+ magic-string "^0.25.7"++"@vue/[email protected]", "@vue/reactivity@^3.2.45":+ version "3.2.45"+ resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.2.45.tgz#412a45b574de601be5a4a5d9a8cbd4dee4662ff0"+ integrity sha512-PRvhCcQcyEVohW0P8iQ7HDcIOXRjZfAsOds3N99X/Dzewy8TVhTCT4uXpAHfoKjVTJRA0O0K+6QNkDIZAxNi3A==+ dependencies:+ "@vue/shared" "3.2.45"++"@vue/[email protected]":+ version "3.2.45"+ resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.2.45.tgz#7ad7ef9b2519d41062a30c6fa001ec43ac549c7f"+ integrity sha512-gzJiTA3f74cgARptqzYswmoQx0fIA+gGYBfokYVhF8YSXjWTUA2SngRzZRku2HbGbjzB6LBYSbKGIaK8IW+s0A==+ dependencies:+ "@vue/reactivity" "3.2.45"+ "@vue/shared" "3.2.45"++"@vue/[email protected]":+ version "3.2.45"+ resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.2.45.tgz#1a2ef6ee2ad876206fbbe2a884554bba2d0faf59"+ integrity sha512-cy88YpfP5Ue2bDBbj75Cb4bIEZUMM/mAkDMfqDTpUYVgTf/kuQ2VQ8LebuZ8k6EudgH8pYhsGWHlY0lcxlvTwA==+ dependencies:+ "@vue/runtime-core" "3.2.45"+ "@vue/shared" "3.2.45"+ csstype "^2.6.8"++"@vue/[email protected]":+ version "3.2.45"+ resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.2.45.tgz#ca9306a0c12b0530a1a250e44f4a0abac6b81f3f"+ integrity sha512-ebiMq7q24WBU1D6uhPK//2OTR1iRIyxjF5iVq/1a5I1SDMDyDu4Ts6fJaMnjrvD3MqnaiFkKQj+LKAgz5WIK3g==+ dependencies:+ "@vue/compiler-ssr" "3.2.45"+ "@vue/shared" "3.2.45"++"@vue/[email protected]", "@vue/shared@^3.2.45":+ version "3.2.45"+ resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.45.tgz#a3fffa7489eafff38d984e23d0236e230c818bc2"+ integrity sha512-Ewzq5Yhimg7pSztDV+RH1UDKBzmtqieXQlpTVm2AwraoRL/Rks96mvd8Vgi7Lj+h+TH8dv7mXD3FRZR3TUvbSg==++acorn-jsx@^5.2.0, acorn-jsx@^5.3.1, acorn-jsx@^5.3.2:+ version "5.3.2"+ resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937"+ integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==++acorn@^7.1.1, acorn@^7.4.0:+ version "7.4.1"+ resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa"+ integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==++acorn@^8.8.0, acorn@^8.8.1:+ version "8.8.1"+ resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.1.tgz#0a3f9cbecc4ec3bea6f0a80b66ae8dd2da250b73"+ integrity sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==++adler-32@~1.3.0:+ version "1.3.1"+ resolved "https://registry.npmmirror.com/adler-32/-/adler-32-1.3.1.tgz#1dbf0b36dda0012189a32b3679061932df1821e2"+ integrity sha512-ynZ4w/nUUv5rrsR8UUGoe1VC9hZj6V5hU9Qw1HlMDJGEJw5S7TfTErWTjMys6M7vr0YWcPqs3qAr4ss0nDfP+A==++ajv@^6.10.0, ajv@^6.10.2:+ version "6.12.6"+ resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4"+ integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==+ dependencies:+ fast-deep-equal "^3.1.1"+ fast-json-stable-stringify "^2.0.0"+ json-schema-traverse "^0.4.1"+ uri-js "^4.2.2"++ansi-escapes@^4.2.1:+ version "4.3.2"+ resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e"+ integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==+ dependencies:+ type-fest "^0.21.3"++ansi-regex@^4.1.0:+ version "4.1.1"+ resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.1.tgz#164daac87ab2d6f6db3a29875e2d1766582dabed"+ integrity sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==++ansi-regex@^5.0.1:+ version "5.0.1"+ resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304"+ integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==++ansi-styles@^3.2.0, ansi-styles@^3.2.1:+ version "3.2.1"+ resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"+ integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==+ dependencies:+ color-convert "^1.9.0"++ansi-styles@^4.1.0:+ version "4.3.0"+ resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937"+ integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==+ dependencies:+ color-convert "^2.0.1"++anymatch@~3.1.2:+ version "3.1.3"+ resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e"+ integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==+ dependencies:+ normalize-path "^3.0.0"+ picomatch "^2.0.4"++archiver-utils@^2.1.0:+ version "2.1.0"+ resolved "https://registry.npmmirror.com/archiver-utils/-/archiver-utils-2.1.0.tgz#e8a460e94b693c3e3da182a098ca6285ba9249e2"+ integrity sha512-bEL/yUb/fNNiNTuUz979Z0Yg5L+LzLxGJz8x79lYmR54fmTIb6ob/hNQgkQnIUDWIFjZVQwl9Xs356I6BAMHfw==+ dependencies:+ glob "^7.1.4"+ graceful-fs "^4.2.0"+ lazystream "^1.0.0"+ lodash.defaults "^4.2.0"+ lodash.difference "^4.5.0"+ lodash.flatten "^4.4.0"+ lodash.isplainobject "^4.0.6"+ lodash.union "^4.6.0"+ normalize-path "^3.0.0"+ readable-stream "^2.0.0"++archiver@^5.0.0:+ version "5.3.1"+ resolved "https://registry.npmmirror.com/archiver/-/archiver-5.3.1.tgz#21e92811d6f09ecfce649fbefefe8c79e57cbbb6"+ integrity sha512-8KyabkmbYrH+9ibcTScQ1xCJC/CGcugdVIwB+53f5sZziXgwUh3iXlAlANMxcZyDEfTHMe6+Z5FofV8nopXP7w==+ dependencies:+ archiver-utils "^2.1.0"+ async "^3.2.3"+ buffer-crc32 "^0.2.1"+ readable-stream "^3.6.0"+ readdir-glob "^1.0.0"+ tar-stream "^2.2.0"+ zip-stream "^4.1.0"++argparse@^1.0.7:+ version "1.0.10"+ resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911"+ integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==+ dependencies:+ sprintf-js "~1.0.2"++array-includes@^3.1.4:+ version "3.1.6"+ resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.6.tgz#9e9e720e194f198266ba9e18c29e6a9b0e4b225f"+ integrity sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==+ dependencies:+ call-bind "^1.0.2"+ define-properties "^1.1.4"+ es-abstract "^1.20.4"+ get-intrinsic "^1.1.3"+ is-string "^1.0.7"++array-union@^2.1.0:+ version "2.1.0"+ resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d"+ integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==++array.prototype.flat@^1.2.5:+ version "1.3.1"+ resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz#ffc6576a7ca3efc2f46a143b9d1dda9b4b3cf5e2"+ integrity sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==+ dependencies:+ call-bind "^1.0.2"+ define-properties "^1.1.4"+ es-abstract "^1.20.4"+ es-shim-unscopables "^1.0.0"++astral-regex@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9"+ integrity sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==++async@^3.2.3:+ version "3.2.4"+ resolved "https://registry.npmmirror.com/async/-/async-3.2.4.tgz#2d22e00f8cddeb5fde5dd33522b56d1cf569a81c"+ integrity sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==++asynckit@^0.4.0:+ version "0.4.0"+ resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"+ integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==++ version "1.2.1"+ resolved "https://registry.npmmirror.com/axios/-/axios-1.2.1.tgz#44cf04a3c9f0c2252ebd85975361c026cb9f864a"+ integrity sha512-I88cFiGu9ryt/tfVEi4kX2SITsvDddTajXTOFmt2uK1ZVA8LytjtdeyefdQWEf5PU8w+4SSJDoYnggflB5tW4A==+ dependencies:+ follow-redirects "^1.15.0"+ form-data "^4.0.0"+ proxy-from-env "^1.1.0"++balanced-match@^1.0.0:+ version "1.0.2"+ resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"+ integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==++base64-js@^1.3.1:+ version "1.5.1"+ resolved "https://registry.npmmirror.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a"+ integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==++big-integer@^1.6.17:+ version "1.6.51"+ resolved "https://registry.npmmirror.com/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686"+ integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==++binary-extensions@^2.0.0:+ version "2.2.0"+ resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d"+ integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==++binary@~0.3.0:+ version "0.3.0"+ resolved "https://registry.npmmirror.com/binary/-/binary-0.3.0.tgz#9f60553bc5ce8c3386f3b553cff47462adecaa79"+ integrity sha512-D4H1y5KYwpJgK8wk1Cue5LLPgmwHKYSChkbspQg5JtVuR5ulGckxfR62H3AE9UDkdMC8yyXlqYihuz3Aqg2XZg==+ dependencies:+ buffers "~0.1.1"+ chainsaw "~0.1.0"++bl@^4.0.3:+ version "4.1.0"+ resolved "https://registry.npmmirror.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a"+ integrity sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==+ dependencies:+ buffer "^5.5.0"+ inherits "^2.0.4"+ readable-stream "^3.4.0"++bluebird@~3.4.1:+ version "3.4.7"+ resolved "https://registry.npmmirror.com/bluebird/-/bluebird-3.4.7.tgz#f72d760be09b7f76d08ed8fae98b289a8d05fab3"+ integrity sha512-iD3898SR7sWVRHbiQv+sHUtHnMvC1o3nW5rAcqnq3uOn07DSAppZYUkIGslDz6gXC7HfunPe7YVBgoEJASPcHA==++brace-expansion@^1.1.7:+ version "1.1.11"+ resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"+ integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==+ dependencies:+ balanced-match "^1.0.0"+ concat-map "0.0.1"++brace-expansion@^2.0.1:+ version "2.0.1"+ resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae"+ integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==+ dependencies:+ balanced-match "^1.0.0"++braces@^3.0.2, braces@~3.0.2:+ version "3.0.2"+ resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107"+ integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==+ dependencies:+ fill-range "^7.0.1"++buffer-crc32@^0.2.1, buffer-crc32@^0.2.13:+ version "0.2.13"+ resolved "https://registry.npmmirror.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242"+ integrity sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==++buffer-indexof-polyfill@~1.0.0:+ version "1.0.2"+ resolved "https://registry.npmmirror.com/buffer-indexof-polyfill/-/buffer-indexof-polyfill-1.0.2.tgz#d2732135c5999c64b277fcf9b1abe3498254729c"+ integrity sha512-I7wzHwA3t1/lwXQh+A5PbNvJxgfo5r3xulgpYDB5zckTu/Z9oUK9biouBKQUjEqzaz3HnAT6TYoovmE+GqSf7A==++buffer@^5.5.0:+ version "5.7.1"+ resolved "https://registry.npmmirror.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0"+ integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==+ dependencies:+ base64-js "^1.3.1"+ ieee754 "^1.1.13"++buffers@~0.1.1:+ version "0.1.1"+ resolved "https://registry.npmmirror.com/buffers/-/buffers-0.1.1.tgz#b24579c3bed4d6d396aeee6d9a8ae7f5482ab7bb"+ integrity sha512-9q/rDEGSb/Qsvv2qvzIzdluL5k7AaJOTrw23z9reQthrbF7is4CtlT0DXyO1oei2DCp4uojjzQ7igaSHp1kAEQ==++call-bind@^1.0.0, call-bind@^1.0.2:+ version "1.0.2"+ resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c"+ integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==+ dependencies:+ function-bind "^1.1.1"+ get-intrinsic "^1.0.2"++callsites@^3.0.0:+ version "3.1.0"+ resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73"+ integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==++cfb@~1.2.1:+ version "1.2.2"+ resolved "https://registry.npmmirror.com/cfb/-/cfb-1.2.2.tgz#94e687628c700e5155436dac05f74e08df23bc44"+ integrity sha512-KfdUZsSOw19/ObEWasvBP/Ac4reZvAGauZhs6S/gqNhXhI7cKwvlH7ulj+dOEYnca4bm4SGo8C1bTAQvnTjgQA==+ dependencies:+ adler-32 "~1.3.0"+ crc-32 "~1.2.0"++chainsaw@~0.1.0:+ version "0.1.0"+ resolved "https://registry.npmmirror.com/chainsaw/-/chainsaw-0.1.0.tgz#5eab50b28afe58074d0d58291388828b5e5fbc98"+ integrity sha512-75kWfWt6MEKNC8xYXIdRpDehRYY/tNSgwKaJq+dbbDcxORuVrrQ+SEHoWsniVn9XPYfP4gmdWIeDk/4YNp1rNQ==+ dependencies:+ traverse ">=0.3.0 <0.4"++chalk@^2.0.0:+ version "2.4.2"+ resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"+ integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==+ dependencies:+ ansi-styles "^3.2.1"+ escape-string-regexp "^1.0.5"+ supports-color "^5.3.0"++chalk@^4.0.0, chalk@^4.1.0:+ version "4.1.2"+ resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01"+ integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==+ dependencies:+ ansi-styles "^4.1.0"+ supports-color "^7.1.0"++chardet@^0.7.0:+ version "0.7.0"+ resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e"+ integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==++chokidar@^3.5.3:+ version "3.5.3"+ resolved "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd"+ integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==+ dependencies:+ anymatch "~3.1.2"+ braces "~3.0.2"+ glob-parent "~5.1.2"+ is-binary-path "~2.1.0"+ is-glob "~4.0.1"+ normalize-path "~3.0.0"+ readdirp "~3.6.0"+ optionalDependencies:+ fsevents "~2.3.2"++cli-cursor@^3.1.0:+ version "3.1.0"+ resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307"+ integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==+ dependencies:+ restore-cursor "^3.1.0"++cli-width@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6"+ integrity sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==++codepage@~1.15.0:+ version "1.15.0"+ resolved "https://registry.npmmirror.com/codepage/-/codepage-1.15.0.tgz#2e00519024b39424ec66eeb3ec07227e692618ab"+ integrity sha512-3g6NUTPd/YtuuGrhMnOMRjFc+LJw/bnMp3+0r/Wcz3IXUuCosKRJvMphm5+Q+bvTVGcJJuRvVLuYba+WojaFaA==++color-convert@^1.9.0:+ version "1.9.3"+ resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"+ integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==+ dependencies:+ color-name "1.1.3"++color-convert@^2.0.1:+ version "2.0.1"+ resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3"+ integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==+ dependencies:+ color-name "~1.1.4"++ version "1.1.3"+ resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"+ integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==++color-name@~1.1.4:+ version "1.1.4"+ resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"+ integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==++combined-stream@^1.0.8:+ version "1.0.8"+ resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"+ integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==+ dependencies:+ delayed-stream "~1.0.0"++compress-commons@^4.1.0:+ version "4.1.1"+ resolved "https://registry.npmmirror.com/compress-commons/-/compress-commons-4.1.1.tgz#df2a09a7ed17447642bad10a85cc9a19e5c42a7d"+ integrity sha512-QLdDLCKNV2dtoTorqgxngQCMA+gWXkM/Nwu7FpeBhk/RdkzimqC3jueb/FDmaZeXh+uby1jkBqE3xArsLBE5wQ==+ dependencies:+ buffer-crc32 "^0.2.13"+ crc32-stream "^4.0.2"+ normalize-path "^3.0.0"+ readable-stream "^3.6.0"++ version "0.0.1"+ resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"+ integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==++confusing-browser-globals@^1.0.10:+ version "1.0.11"+ resolved "https://registry.yarnpkg.com/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz#ae40e9b57cdd3915408a2805ebd3a5585608dc81"+ integrity sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA==++copy-anything@^2.0.1:+ version "2.0.6"+ resolved "https://registry.yarnpkg.com/copy-anything/-/copy-anything-2.0.6.tgz#092454ea9584a7b7ad5573062b2a87f5900fc480"+ integrity sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==+ dependencies:+ is-what "^3.14.1"++core-util-is@~1.0.0:+ version "1.0.3"+ resolved "https://registry.npmmirror.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85"+ integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==++crc-32@^1.2.0, crc-32@~1.2.0, crc-32@~1.2.1:+ version "1.2.2"+ resolved "https://registry.npmmirror.com/crc-32/-/crc-32-1.2.2.tgz#3cad35a934b8bf71f25ca524b6da51fb7eace2ff"+ integrity sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==++crc32-stream@^4.0.2:+ version "4.0.2"+ resolved "https://registry.npmmirror.com/crc32-stream/-/crc32-stream-4.0.2.tgz#c922ad22b38395abe9d3870f02fa8134ed709007"+ integrity sha512-DxFZ/Hk473b/muq1VJ///PMNLj0ZMnzye9thBpmjpJKCc5eMgB95aK8zCGrGfQ90cWo561Te6HK9D+j4KPdM6w==+ dependencies:+ crc-32 "^1.2.0"+ readable-stream "^3.4.0"++cross-spawn@^7.0.2, cross-spawn@^7.0.3:+ version "7.0.3"+ resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"+ integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==+ dependencies:+ path-key "^3.1.0"+ shebang-command "^2.0.0"+ which "^2.0.1"++csstype@^2.6.8:+ version "2.6.21"+ resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.21.tgz#2efb85b7cc55c80017c66a5ad7cbd931fda3a90e"+ integrity sha512-Z1PhmomIfypOpoMjRQB70jfvy/wxT50qW08YXO5lMIJkrdq4yOTR+AW7FqutScmB9NkLwxo+jU+kZLbofZZq/w==++dayjs@^1.8.34:+ version "1.11.7"+ resolved "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.7.tgz#4b296922642f70999544d1144a2c25730fce63e2"+ integrity sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ==++de-indent@^1.0.2:+ version "1.0.2"+ resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d"+ integrity sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==++debug@^2.6.9:+ version "2.6.9"+ resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"+ integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==+ dependencies:+ ms "2.0.0"++debug@^3.2.6, debug@^3.2.7:+ version "3.2.7"+ resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a"+ integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==+ dependencies:+ ms "^2.1.1"++debug@^4.0.1, debug@^4.1.1, debug@^4.3.4:+ version "4.3.4"+ resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865"+ integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==+ dependencies:+ ms "2.1.2"++deep-is@^0.1.3:+ version "0.1.4"+ resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831"+ integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==++deepmerge@^4.2.2:+ version "4.2.2"+ resolved "https://registry.npmmirror.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955"+ integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==++define-properties@^1.1.3, define-properties@^1.1.4:+ version "1.1.4"+ resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.4.tgz#0b14d7bd7fbeb2f3572c3a7eda80ea5d57fb05b1"+ integrity sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==+ dependencies:+ has-property-descriptors "^1.0.0"+ object-keys "^1.1.1"++delayed-stream@~1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"+ integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==++dir-glob@^3.0.1:+ version "3.0.1"+ resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f"+ integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==+ dependencies:+ path-type "^4.0.0"++doctrine@^2.1.0:+ version "2.1.0"+ resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d"+ integrity sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==+ dependencies:+ esutils "^2.0.2"++doctrine@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961"+ integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==+ dependencies:+ esutils "^2.0.2"++duplexer2@~0.1.4:+ version "0.1.4"+ resolved "https://registry.npmmirror.com/duplexer2/-/duplexer2-0.1.4.tgz#8b12dab878c0d69e3e7891051662a32fc6bddcc1"+ integrity sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA==+ dependencies:+ readable-stream "^2.0.2"++emoji-regex@^7.0.1:+ version "7.0.3"+ resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156"+ integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==++emoji-regex@^8.0.0:+ version "8.0.0"+ resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"+ integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==++end-of-stream@^1.4.1:+ version "1.4.4"+ resolved "https://registry.npmmirror.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0"+ integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==+ dependencies:+ once "^1.4.0"++errno@^0.1.1:+ version "0.1.8"+ resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.8.tgz#8bb3e9c7d463be4976ff888f76b4809ebc2e811f"+ integrity sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==+ dependencies:+ prr "~1.0.1"++es-abstract@^1.19.0, es-abstract@^1.20.4:+ version "1.20.5"+ resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.20.5.tgz#e6dc99177be37cacda5988e692c3fa8b218e95d2"+ integrity sha512-7h8MM2EQhsCA7pU/Nv78qOXFpD8Rhqd12gYiSJVkrH9+e8VuA8JlPJK/hQjjlLv6pJvx/z1iRFKzYb0XT/RuAQ==+ dependencies:+ call-bind "^1.0.2"+ es-to-primitive "^1.2.1"+ function-bind "^1.1.1"+ function.prototype.name "^1.1.5"+ get-intrinsic "^1.1.3"+ get-symbol-description "^1.0.0"+ gopd "^1.0.1"+ has "^1.0.3"+ has-property-descriptors "^1.0.0"+ has-symbols "^1.0.3"+ internal-slot "^1.0.3"+ is-callable "^1.2.7"+ is-negative-zero "^2.0.2"+ is-regex "^1.1.4"+ is-shared-array-buffer "^1.0.2"+ is-string "^1.0.7"+ is-weakref "^1.0.2"+ object-inspect "^1.12.2"+ object-keys "^1.1.1"+ object.assign "^4.1.4"+ regexp.prototype.flags "^1.4.3"+ safe-regex-test "^1.0.0"+ string.prototype.trimend "^1.0.6"+ string.prototype.trimstart "^1.0.6"+ unbox-primitive "^1.0.2"++es-shim-unscopables@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz#702e632193201e3edf8713635d083d378e510241"+ integrity sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==+ dependencies:+ has "^1.0.3"++es-to-primitive@^1.2.1:+ version "1.2.1"+ resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a"+ integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==+ dependencies:+ is-callable "^1.1.4"+ is-date-object "^1.0.1"+ is-symbol "^1.0.2"++esbuild@^0.16.3:+ version "0.16.4"+ resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.16.4.tgz#06c86298d233386f5e41bcc14d36086daf3f40bd"+ integrity sha512-qQrPMQpPTWf8jHugLWHoGqZjApyx3OEm76dlTXobHwh/EBbavbRdjXdYi/GWr43GyN0sfpap14GPkb05NH3ROA==+ optionalDependencies:+ "@esbuild/android-arm" "0.16.4"+ "@esbuild/android-arm64" "0.16.4"+ "@esbuild/android-x64" "0.16.4"+ "@esbuild/darwin-arm64" "0.16.4"+ "@esbuild/darwin-x64" "0.16.4"+ "@esbuild/freebsd-arm64" "0.16.4"+ "@esbuild/freebsd-x64" "0.16.4"+ "@esbuild/linux-arm" "0.16.4"+ "@esbuild/linux-arm64" "0.16.4"+ "@esbuild/linux-ia32" "0.16.4"+ "@esbuild/linux-loong64" "0.16.4"+ "@esbuild/linux-mips64el" "0.16.4"+ "@esbuild/linux-ppc64" "0.16.4"+ "@esbuild/linux-riscv64" "0.16.4"+ "@esbuild/linux-s390x" "0.16.4"+ "@esbuild/linux-x64" "0.16.4"+ "@esbuild/netbsd-x64" "0.16.4"+ "@esbuild/openbsd-x64" "0.16.4"+ "@esbuild/sunos-x64" "0.16.4"+ "@esbuild/win32-arm64" "0.16.4"+ "@esbuild/win32-ia32" "0.16.4"+ "@esbuild/win32-x64" "0.16.4"++escape-string-regexp@^1.0.5:+ version "1.0.5"+ resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"+ integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==++escape-string-regexp@^5.0.0:+ version "5.0.0"+ resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz#4683126b500b61762f2dbebace1806e8be31b1c8"+ integrity sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==++ version "14.2.1"+ resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-14.2.1.tgz#8a2eb38455dc5a312550193b319cdaeef042cd1e"+ integrity sha512-GOrQyDtVEc1Xy20U7vsB2yAoB4nBlfH5HZJeatRXHleO+OS5Ot+MWij4Dpltw4/DyIkqUfqz1epfhVR5XWWQPA==+ dependencies:+ confusing-browser-globals "^1.0.10"+ object.assign "^4.1.2"+ object.entries "^1.1.2"++eslint-import-resolver-node@^0.3.6:+ version "0.3.6"+ resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz#4048b958395da89668252001dbd9eca6b83bacbd"+ integrity sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw==+ dependencies:+ debug "^3.2.7"+ resolve "^1.20.0"++eslint-module-utils@^2.7.3:+ version "2.7.4"+ resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.4.tgz#4f3e41116aaf13a20792261e61d3a2e7e0583974"+ integrity sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==+ dependencies:+ debug "^3.2.7"++ version "2.26.0"+ resolved "https://registry.npmmirror.com/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz#f812dc47be4f2b72b478a021605a59fc6fe8b88b"+ integrity sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==+ dependencies:+ array-includes "^3.1.4"+ array.prototype.flat "^1.2.5"+ debug "^2.6.9"+ doctrine "^2.1.0"+ eslint-import-resolver-node "^0.3.6"+ eslint-module-utils "^2.7.3"+ has "^1.0.3"+ is-core-module "^2.8.1"+ is-glob "^4.0.3"+ minimatch "^3.1.2"+ object.values "^1.1.5"+ resolve "^1.22.0"+ tsconfig-paths "^3.14.1"++ version "7.20.0"+ resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-7.20.0.tgz#98c21885a6bfdf0713c3a92957a5afeaaeed9253"+ integrity sha512-oVNDqzBC9h3GO+NTgWeLMhhGigy6/bQaQbHS+0z7C4YEu/qK/yxHvca/2PTZtGNPsCrHwOTgKMrwu02A9iPBmw==+ dependencies:+ eslint-utils "^2.1.0"+ natural-compare "^1.4.0"+ semver "^6.3.0"+ vue-eslint-parser "^7.10.0"++eslint-scope@^5.1.0, eslint-scope@^5.1.1:+ version "5.1.1"+ resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c"+ integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==+ dependencies:+ esrecurse "^4.3.0"+ estraverse "^4.1.1"++eslint-scope@^7.1.1:+ version "7.1.1"+ resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.1.1.tgz#fff34894c2f65e5226d3041ac480b4513a163642"+ integrity sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==+ dependencies:+ esrecurse "^4.3.0"+ estraverse "^5.2.0"++eslint-utils@^2.0.0, eslint-utils@^2.1.0:+ version "2.1.0"+ resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27"+ integrity sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==+ dependencies:+ eslint-visitor-keys "^1.1.0"++eslint-utils@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-3.0.0.tgz#8aebaface7345bb33559db0a1f13a1d2d48c3672"+ integrity sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==+ dependencies:+ eslint-visitor-keys "^2.0.0"++eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.2.0, eslint-visitor-keys@^1.3.0:+ version "1.3.0"+ resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e"+ integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==++eslint-visitor-keys@^2.0.0:+ version "2.1.0"+ resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303"+ integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==++eslint-visitor-keys@^3.3.0:+ version "3.3.0"+ resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826"+ integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==++ version "7.2.0"+ resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.2.0.tgz#d41b2e47804b30dbabb093a967fb283d560082e6"+ integrity sha512-B3BtEyaDKC5MlfDa2Ha8/D6DsS4fju95zs0hjS3HdGazw+LNayai38A25qMppK37wWGWNYSPOR6oYzlz5MHsRQ==+ dependencies:+ "@babel/code-frame" "^7.0.0"+ ajv "^6.10.0"+ chalk "^4.0.0"+ cross-spawn "^7.0.2"+ debug "^4.0.1"+ doctrine "^3.0.0"+ eslint-scope "^5.1.0"+ eslint-utils "^2.0.0"+ eslint-visitor-keys "^1.2.0"+ espree "^7.1.0"+ esquery "^1.2.0"+ esutils "^2.0.2"+ file-entry-cache "^5.0.1"+ functional-red-black-tree "^1.0.1"+ glob-parent "^5.0.0"+ globals "^12.1.0"+ ignore "^4.0.6"+ import-fresh "^3.0.0"+ imurmurhash "^0.1.4"+ inquirer "^7.0.0"+ is-glob "^4.0.0"+ js-yaml "^3.13.1"+ json-stable-stringify-without-jsonify "^1.0.1"+ levn "^0.4.1"+ lodash "^4.17.14"+ minimatch "^3.0.4"+ natural-compare "^1.4.0"+ optionator "^0.9.1"+ progress "^2.0.0"+ regexpp "^3.1.0"+ semver "^7.2.1"+ strip-ansi "^6.0.0"+ strip-json-comments "^3.1.0"+ table "^5.2.3"+ text-table "^0.2.0"+ v8-compile-cache "^2.0.3"++espree@^6.2.1:+ version "6.2.1"+ resolved "https://registry.yarnpkg.com/espree/-/espree-6.2.1.tgz#77fc72e1fd744a2052c20f38a5b575832e82734a"+ integrity sha512-ysCxRQY3WaXJz9tdbWOwuWr5Y/XrPTGX9Kiz3yoUXwW0VZ4w30HTkQLaGx/+ttFjF8i+ACbArnB4ce68a9m5hw==+ dependencies:+ acorn "^7.1.1"+ acorn-jsx "^5.2.0"+ eslint-visitor-keys "^1.1.0"++espree@^7.1.0:+ version "7.3.1"+ resolved "https://registry.yarnpkg.com/espree/-/espree-7.3.1.tgz#f2df330b752c6f55019f8bd89b7660039c1bbbb6"+ integrity sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==+ dependencies:+ acorn "^7.4.0"+ acorn-jsx "^5.3.1"+ eslint-visitor-keys "^1.3.0"++espree@^9.3.1:+ version "9.4.1"+ resolved "https://registry.yarnpkg.com/espree/-/espree-9.4.1.tgz#51d6092615567a2c2cff7833445e37c28c0065bd"+ integrity sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg==+ dependencies:+ acorn "^8.8.0"+ acorn-jsx "^5.3.2"+ eslint-visitor-keys "^3.3.0"++esprima@^4.0.0:+ version "4.0.1"+ resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"+ integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==++esquery@^1.2.0, esquery@^1.4.0:+ version "1.4.0"+ resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.4.0.tgz#2148ffc38b82e8c7057dfed48425b3e61f0f24a5"+ integrity sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==+ dependencies:+ estraverse "^5.1.0"++esrecurse@^4.3.0:+ version "4.3.0"+ resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921"+ integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==+ dependencies:+ estraverse "^5.2.0"++estraverse@^4.1.1:+ version "4.3.0"+ resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d"+ integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==++estraverse@^5.1.0, estraverse@^5.2.0:+ version "5.3.0"+ resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123"+ integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==++estree-walker@^2.0.2:+ version "2.0.2"+ resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac"+ integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==++esutils@^2.0.2:+ version "2.0.3"+ resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"+ integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==++ version "4.3.0"+ resolved "https://registry.npmmirror.com/exceljs/-/exceljs-4.3.0.tgz#939bc0d4c59c200acadb7051be34d25c109853c4"+ integrity sha512-hTAeo5b5TPvf8Z02I2sKIT4kSfCnOO2bCxYX8ABqODCdAjppI3gI9VYiGCQQYVcBaBSKlFDMKlAQRqC+kV9O8w==+ dependencies:+ archiver "^5.0.0"+ dayjs "^1.8.34"+ fast-csv "^4.3.1"+ jszip "^3.5.0"+ readable-stream "^3.6.0"+ saxes "^5.0.1"+ tmp "^0.2.0"+ unzipper "^0.10.11"+ uuid "^8.3.0"++execa@^5.1.1:+ version "5.1.1"+ resolved "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd"+ integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==+ dependencies:+ cross-spawn "^7.0.3"+ get-stream "^6.0.0"+ human-signals "^2.1.0"+ is-stream "^2.0.0"+ merge-stream "^2.0.0"+ npm-run-path "^4.0.1"+ onetime "^5.1.2"+ signal-exit "^3.0.3"+ strip-final-newline "^2.0.0"++external-editor@^3.0.3:+ version "3.1.0"+ resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495"+ integrity sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==+ dependencies:+ chardet "^0.7.0"+ iconv-lite "^0.4.24"+ tmp "^0.0.33"++fast-csv@^4.3.1:+ version "4.3.6"+ resolved "https://registry.npmmirror.com/fast-csv/-/fast-csv-4.3.6.tgz#70349bdd8fe4d66b1130d8c91820b64a21bc4a63"+ integrity sha512-2RNSpuwwsJGP0frGsOmTb9oUF+VkFSM4SyLTDgwf2ciHWTarN0lQTC+F2f/t5J9QjW+c65VFIAAu85GsvMIusw==+ dependencies:+ "@fast-csv/format" "4.3.5"+ "@fast-csv/parse" "4.3.6"++fast-deep-equal@^3.1.1:+ version "3.1.3"+ resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"+ integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==++fast-glob@^3.2.12, fast-glob@^3.2.9:+ version "3.2.12"+ resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80"+ integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==+ dependencies:+ "@nodelib/fs.stat" "^2.0.2"+ "@nodelib/fs.walk" "^1.2.3"+ glob-parent "^5.1.2"+ merge2 "^1.3.0"+ micromatch "^4.0.4"++fast-json-stable-stringify@^2.0.0:+ version "2.1.0"+ resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633"+ integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==++fast-levenshtein@^2.0.6:+ version "2.0.6"+ resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"+ integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==++fastq@^1.6.0:+ version "1.14.0"+ resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.14.0.tgz#107f69d7295b11e0fccc264e1fc6389f623731ce"+ integrity sha512-eR2D+V9/ExcbF9ls441yIuN6TI2ED1Y2ZcA5BmMtJsOkWOFRJQ0Jt0g1UwqXJJVAb+V+umH5Dfr8oh4EVP7VVg==+ dependencies:+ reusify "^1.0.4"++figures@^3.0.0:+ version "3.2.0"+ resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af"+ integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==+ dependencies:+ escape-string-regexp "^1.0.5"++file-entry-cache@^5.0.1:+ version "5.0.1"+ resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-5.0.1.tgz#ca0f6efa6dd3d561333fb14515065c2fafdf439c"+ integrity sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==+ dependencies:+ flat-cache "^2.0.1"++fill-range@^7.0.1:+ version "7.0.1"+ resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40"+ integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==+ dependencies:+ to-regex-range "^5.0.1"++find-up@^5.0.0:+ version "5.0.0"+ resolved "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc"+ integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==+ dependencies:+ locate-path "^6.0.0"+ path-exists "^4.0.0"++flat-cache@^2.0.1:+ version "2.0.1"+ resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-2.0.1.tgz#5d296d6f04bda44a4630a301413bdbc2ec085ec0"+ integrity sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==+ dependencies:+ flatted "^2.0.0"+ rimraf "2.6.3"+ write "1.0.3"++flatted@^2.0.0:+ version "2.0.2"+ resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138"+ integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==++flatted@^3.0.5:+ version "3.2.7"+ resolved "https://registry.npmmirror.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787"+ integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==++follow-redirects@^1.15.0:+ version "1.15.2"+ resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13"+ integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==++form-data@^4.0.0:+ version "4.0.0"+ resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452"+ integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==+ dependencies:+ asynckit "^0.4.0"+ combined-stream "^1.0.8"+ mime-types "^2.1.12"++frac@~1.1.2:+ version "1.1.2"+ resolved "https://registry.npmmirror.com/frac/-/frac-1.1.2.tgz#3d74f7f6478c88a1b5020306d747dc6313c74d0b"+ integrity sha512-w/XBfkibaTl3YDqASwfDUqkna4Z2p9cFSr1aHDt0WoMTECnRfBOv2WArlZILlqgWlmdIlALXGpM2AOhEk5W3IA==++fs-constants@^1.0.0:+ version "1.0.0"+ resolved "https://registry.npmmirror.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad"+ integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==++fs.realpath@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"+ integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==++fsevents@~2.3.2:+ version "2.3.2"+ resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"+ integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==++fstream@^1.0.12:+ version "1.0.12"+ resolved "https://registry.npmmirror.com/fstream/-/fstream-1.0.12.tgz#4e8ba8ee2d48be4f7d0de505455548eae5932045"+ integrity sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==+ dependencies:+ graceful-fs "^4.1.2"+ inherits "~2.0.0"+ mkdirp ">=0.5 0"+ rimraf "2"++function-bind@^1.1.1:+ version "1.1.1"+ resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"+ integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==++function.prototype.name@^1.1.5:+ version "1.1.5"+ resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.5.tgz#cce0505fe1ffb80503e6f9e46cc64e46a12a9621"+ integrity sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==+ dependencies:+ call-bind "^1.0.2"+ define-properties "^1.1.3"+ es-abstract "^1.19.0"+ functions-have-names "^1.2.2"++functional-red-black-tree@^1.0.1:+ version "1.0.1"+ resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327"+ integrity sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==++functions-have-names@^1.2.2:+ version "1.2.3"+ resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834"+ integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==++get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3:+ version "1.1.3"+ resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.3.tgz#063c84329ad93e83893c7f4f243ef63ffa351385"+ integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==+ dependencies:+ function-bind "^1.1.1"+ has "^1.0.3"+ has-symbols "^1.0.3"++get-stream@^6.0.0:+ version "6.0.1"+ resolved "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7"+ integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==++get-symbol-description@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6"+ integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==+ dependencies:+ call-bind "^1.0.2"+ get-intrinsic "^1.1.1"++glob-parent@^5.0.0, glob-parent@^5.1.2, glob-parent@~5.1.2:+ version "5.1.2"+ resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"+ integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==+ dependencies:+ is-glob "^4.0.1"++glob@^7.1.3, glob@^7.1.4:+ version "7.2.3"+ resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b"+ integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==+ dependencies:+ fs.realpath "^1.0.0"+ inflight "^1.0.4"+ inherits "2"+ minimatch "^3.1.1"+ once "^1.3.0"+ path-is-absolute "^1.0.0"++globals@^12.1.0:+ version "12.4.0"+ resolved "https://registry.yarnpkg.com/globals/-/globals-12.4.0.tgz#a18813576a41b00a24a97e7f815918c2e19925f8"+ integrity sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==+ dependencies:+ type-fest "^0.8.1"++globby@^11.1.0:+ version "11.1.0"+ resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b"+ integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==+ dependencies:+ array-union "^2.1.0"+ dir-glob "^3.0.1"+ fast-glob "^3.2.9"+ ignore "^5.2.0"+ merge2 "^1.4.1"+ slash "^3.0.0"++gopd@^1.0.1:+ version "1.0.1"+ resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c"+ integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==+ dependencies:+ get-intrinsic "^1.1.3"++graceful-fs@^4.1.2, graceful-fs@^4.2.0, graceful-fs@^4.2.2:+ version "4.2.10"+ resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c"+ integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==++has-bigints@^1.0.1, has-bigints@^1.0.2:+ version "1.0.2"+ resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.2.tgz#0871bd3e3d51626f6ca0966668ba35d5602d6eaa"+ integrity sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==++has-flag@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"+ integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==++has-flag@^4.0.0:+ version "4.0.0"+ resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"+ integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==++has-property-descriptors@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861"+ integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==+ dependencies:+ get-intrinsic "^1.1.1"++has-symbols@^1.0.2, has-symbols@^1.0.3:+ version "1.0.3"+ resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8"+ integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==++has-tostringtag@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25"+ integrity sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==+ dependencies:+ has-symbols "^1.0.2"++has@^1.0.3:+ version "1.0.3"+ resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"+ integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==+ dependencies:+ function-bind "^1.1.1"++he@^1.2.0:+ version "1.2.0"+ resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f"+ integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==++human-signals@^2.1.0:+ version "2.1.0"+ resolved "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"+ integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==++iconv-lite@^0.4.24:+ version "0.4.24"+ resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"+ integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==+ dependencies:+ safer-buffer ">= 2.1.2 < 3"++iconv-lite@^0.6.3:+ version "0.6.3"+ resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501"+ integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==+ dependencies:+ safer-buffer ">= 2.1.2 < 3.0.0"++ieee754@^1.1.13:+ version "1.2.1"+ resolved "https://registry.npmmirror.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352"+ integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==++ignore@^4.0.6:+ version "4.0.6"+ resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc"+ integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==++ignore@^5.2.0:+ version "5.2.1"+ resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.1.tgz#c2b1f76cb999ede1502f3a226a9310fdfe88d46c"+ integrity sha512-d2qQLzTJ9WxQftPAuEQpSPmKqzxePjzVbpAVv62AQ64NTL+wR4JkrVqR/LqFsFEUsHDAiId52mJteHDFuDkElA==++image-size@~0.5.0:+ version "0.5.5"+ resolved "https://registry.yarnpkg.com/image-size/-/image-size-0.5.5.tgz#09dfd4ab9d20e29eb1c3e80b8990378df9e3cb9c"+ integrity sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==++immediate@~3.0.5:+ version "3.0.6"+ resolved "https://registry.npmmirror.com/immediate/-/immediate-3.0.6.tgz#9db1dbd0faf8de6fbe0f5dd5e56bb606280de69b"+ integrity sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==++import-fresh@^3.0.0:+ version "3.3.0"+ resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b"+ integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==+ dependencies:+ parent-module "^1.0.0"+ resolve-from "^4.0.0"++imurmurhash@^0.1.4:+ version "0.1.4"+ resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"+ integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==++inflight@^1.0.4:+ version "1.0.6"+ resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"+ integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==+ dependencies:+ once "^1.3.0"+ wrappy "1"++inherits@2, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.0, inherits@~2.0.3:+ version "2.0.4"+ resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"+ integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==++inquirer@^7.0.0:+ version "7.3.3"+ resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.3.3.tgz#04d176b2af04afc157a83fd7c100e98ee0aad003"+ integrity sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==+ dependencies:+ ansi-escapes "^4.2.1"+ chalk "^4.1.0"+ cli-cursor "^3.1.0"+ cli-width "^3.0.0"+ external-editor "^3.0.3"+ figures "^3.0.0"+ lodash "^4.17.19"+ mute-stream "0.0.8"+ run-async "^2.4.0"+ rxjs "^6.6.0"+ string-width "^4.1.0"+ strip-ansi "^6.0.0"+ through "^2.3.6"++internal-slot@^1.0.3:+ version "1.0.3"+ resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.3.tgz#7347e307deeea2faac2ac6205d4bc7d34967f59c"+ integrity sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==+ dependencies:+ get-intrinsic "^1.1.0"+ has "^1.0.3"+ side-channel "^1.0.4"++is-bigint@^1.0.1:+ version "1.0.4"+ resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz#08147a1875bc2b32005d41ccd8291dffc6691df3"+ integrity sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==+ dependencies:+ has-bigints "^1.0.1"++is-binary-path@~2.1.0:+ version "2.1.0"+ resolved "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09"+ integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==+ dependencies:+ binary-extensions "^2.0.0"++is-boolean-object@^1.1.0:+ version "1.1.2"+ resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz#5c6dc200246dd9321ae4b885a114bb1f75f63719"+ integrity sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==+ dependencies:+ call-bind "^1.0.2"+ has-tostringtag "^1.0.0"++is-callable@^1.1.4, is-callable@^1.2.7:+ version "1.2.7"+ resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055"+ integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==++is-core-module@^2.8.1, is-core-module@^2.9.0:+ version "2.11.0"+ resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144"+ integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==+ dependencies:+ has "^1.0.3"++is-date-object@^1.0.1:+ version "1.0.5"+ resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f"+ integrity sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==+ dependencies:+ has-tostringtag "^1.0.0"++is-extglob@^2.1.1:+ version "2.1.1"+ resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"+ integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==++is-fullwidth-code-point@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f"+ integrity sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==++is-fullwidth-code-point@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d"+ integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==++is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1:+ version "4.0.3"+ resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084"+ integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==+ dependencies:+ is-extglob "^2.1.1"++is-negative-zero@^2.0.2:+ version "2.0.2"+ resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150"+ integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==++is-number-object@^1.0.4:+ version "1.0.7"+ resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.7.tgz#59d50ada4c45251784e9904f5246c742f07a42fc"+ integrity sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==+ dependencies:+ has-tostringtag "^1.0.0"++is-number@^7.0.0:+ version "7.0.0"+ resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b"+ integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==++is-regex@^1.1.4:+ version "1.1.4"+ resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958"+ integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==+ dependencies:+ call-bind "^1.0.2"+ has-tostringtag "^1.0.0"++is-shared-array-buffer@^1.0.2:+ version "1.0.2"+ resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz#8f259c573b60b6a32d4058a1a07430c0a7344c79"+ integrity sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==+ dependencies:+ call-bind "^1.0.2"++is-stream@^2.0.0:+ version "2.0.1"+ resolved "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077"+ integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==++is-string@^1.0.5, is-string@^1.0.7:+ version "1.0.7"+ resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd"+ integrity sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==+ dependencies:+ has-tostringtag "^1.0.0"++is-symbol@^1.0.2, is-symbol@^1.0.3:+ version "1.0.4"+ resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.4.tgz#a6dac93b635b063ca6872236de88910a57af139c"+ integrity sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==+ dependencies:+ has-symbols "^1.0.2"++is-weakref@^1.0.2:+ version "1.0.2"+ resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2"+ integrity sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==+ dependencies:+ call-bind "^1.0.2"++is-what@^3.14.1:+ version "3.14.1"+ resolved "https://registry.yarnpkg.com/is-what/-/is-what-3.14.1.tgz#e1222f46ddda85dead0fd1c9df131760e77755c1"+ integrity sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==++isarray@~1.0.0:+ version "1.0.0"+ resolved "https://registry.npmmirror.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"+ integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==++isexe@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"+ integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==++js-tokens@^4.0.0:+ version "4.0.0"+ resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"+ integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==++js-yaml@^3.13.1:+ version "3.14.1"+ resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537"+ integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==+ dependencies:+ argparse "^1.0.7"+ esprima "^4.0.0"++json-schema-traverse@^0.4.1:+ version "0.4.1"+ resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660"+ integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==++json-stable-stringify-without-jsonify@^1.0.1:+ version "1.0.1"+ resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651"+ integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==++json5@^1.0.1:+ version "1.0.1"+ resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.1.tgz#779fb0018604fa854eacbf6252180d83543e3dbe"+ integrity sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==+ dependencies:+ minimist "^1.2.0"++jsonc-parser@^3.2.0:+ version "3.2.0"+ resolved "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz#31ff3f4c2b9793f89c67212627c51c6394f88e76"+ integrity sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==++jszip@^3.5.0:+ version "3.10.1"+ resolved "https://registry.npmmirror.com/jszip/-/jszip-3.10.1.tgz#34aee70eb18ea1faec2f589208a157d1feb091c2"+ integrity sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==+ dependencies:+ lie "~3.3.0"+ pako "~1.0.2"+ readable-stream "~2.3.6"+ setimmediate "^1.0.5"++klona@^2.0.4:+ version "2.0.5"+ resolved "https://registry.yarnpkg.com/klona/-/klona-2.0.5.tgz#d166574d90076395d9963aa7a928fabb8d76afbc"+ integrity sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ==++kolorist@^1.6.0:+ version "1.6.0"+ resolved "https://registry.npmjs.org/kolorist/-/kolorist-1.6.0.tgz#f43ac794305b30032a5bedcae7799d0f91d2ff36"+ integrity sha512-dLkz37Ab97HWMx9KTes3Tbi3D1ln9fCAy2zr2YVExJasDRPGRaKcoE4fycWNtnCAJfjFqe0cnY+f8KT2JePEXQ==++lazystream@^1.0.0:+ version "1.0.1"+ resolved "https://registry.npmmirror.com/lazystream/-/lazystream-1.0.1.tgz#494c831062f1f9408251ec44db1cba29242a2638"+ integrity sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==+ dependencies:+ readable-stream "^2.0.5"++ version "11.1.0"+ resolved "https://registry.npmmirror.com/less-loader/-/less-loader-11.1.0.tgz#a452384259bdf8e4f6d5fdcc39543609e6313f82"+ integrity sha512-C+uDBV7kS7W5fJlUjq5mPBeBVhYpTIm5gB09APT9o3n/ILeaXVsiSFTbZpTJCJwQ/Crczfn3DmfQFwxYusWFug==+ dependencies:+ klona "^2.0.4"++ version "4.1.3"+ resolved "https://registry.npmmirror.com/less/-/less-4.1.3.tgz#175be9ddcbf9b250173e0a00b4d6920a5b770246"+ integrity sha512-w16Xk/Ta9Hhyei0Gpz9m7VS8F28nieJaL/VyShID7cYvP6IL5oHeL6p4TXSDJqZE/lNv0oJ2pGVjJsRkfwm5FA==+ dependencies:+ copy-anything "^2.0.1"+ parse-node-version "^1.0.1"+ tslib "^2.3.0"+ optionalDependencies:+ errno "^0.1.1"+ graceful-fs "^4.1.2"+ image-size "~0.5.0"+ make-dir "^2.1.0"+ mime "^1.4.1"+ needle "^3.1.0"+ source-map "~0.6.0"++levn@^0.4.1:+ version "0.4.1"+ resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade"+ integrity sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==+ dependencies:+ prelude-ls "^1.2.1"+ type-check "~0.4.0"++lie@~3.3.0:+ version "3.3.0"+ resolved "https://registry.npmmirror.com/lie/-/lie-3.3.0.tgz#dcf82dee545f46074daf200c7c1c5a08e0f40f6a"+ integrity sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==+ dependencies:+ immediate "~3.0.5"++listenercount@~1.0.1:+ version "1.0.1"+ resolved "https://registry.npmmirror.com/listenercount/-/listenercount-1.0.1.tgz#84c8a72ab59c4725321480c975e6508342e70937"+ integrity sha512-3mk/Zag0+IJxeDrxSgaDPy4zZ3w05PRZeJNnlWhzFz5OkX49J4krc+A8X2d2M69vGMBEX0uyl8M+W+8gH+kBqQ==++local-pkg@^0.4.2:+ version "0.4.2"+ resolved "https://registry.npmjs.org/local-pkg/-/local-pkg-0.4.2.tgz#13107310b77e74a0e513147a131a2ba288176c2f"+ integrity sha512-mlERgSPrbxU3BP4qBqAvvwlgW4MTg78iwJdGGnv7kibKjWcJksrG3t6LB5lXI93wXRDvG4NpUgJFmTG4T6rdrg==++locate-path@^6.0.0:+ version "6.0.0"+ resolved "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286"+ integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==+ dependencies:+ p-locate "^5.0.0"++lodash.defaults@^4.2.0:+ version "4.2.0"+ resolved "https://registry.npmmirror.com/lodash.defaults/-/lodash.defaults-4.2.0.tgz#d09178716ffea4dde9e5fb7b37f6f0802274580c"+ integrity sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==++lodash.difference@^4.5.0:+ version "4.5.0"+ resolved "https://registry.npmmirror.com/lodash.difference/-/lodash.difference-4.5.0.tgz#9ccb4e505d486b91651345772885a2df27fd017c"+ integrity sha512-dS2j+W26TQ7taQBGN8Lbbq04ssV3emRw4NY58WErlTO29pIqS0HmoT5aJ9+TUQ1N3G+JOZSji4eugsWwGp9yPA==++lodash.escaperegexp@^4.1.2:+ version "4.1.2"+ resolved "https://registry.npmmirror.com/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz#64762c48618082518ac3df4ccf5d5886dae20347"+ integrity sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw==++lodash.flatten@^4.4.0:+ version "4.4.0"+ resolved "https://registry.npmmirror.com/lodash.flatten/-/lodash.flatten-4.4.0.tgz#f31c22225a9632d2bbf8e4addbef240aa765a61f"+ integrity sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==++lodash.groupby@^4.6.0:+ version "4.6.0"+ resolved "https://registry.npmmirror.com/lodash.groupby/-/lodash.groupby-4.6.0.tgz#0b08a1dcf68397c397855c3239783832df7403d1"+ integrity sha512-5dcWxm23+VAoz+awKmBaiBvzox8+RqMgFhi7UvX9DHZr2HdxHXM/Wrf8cfKpsW37RNrvtPn6hSwNqurSILbmJw==++lodash.isboolean@^3.0.3:+ version "3.0.3"+ resolved "https://registry.npmmirror.com/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz#6c2e171db2a257cd96802fd43b01b20d5f5870f6"+ integrity sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==++lodash.isequal@^4.5.0:+ version "4.5.0"+ resolved "https://registry.npmmirror.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0"+ integrity sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==++lodash.isfunction@^3.0.9:+ version "3.0.9"+ resolved "https://registry.npmmirror.com/lodash.isfunction/-/lodash.isfunction-3.0.9.tgz#06de25df4db327ac931981d1bdb067e5af68d051"+ integrity sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw==++lodash.isnil@^4.0.0:+ version "4.0.0"+ resolved "https://registry.npmmirror.com/lodash.isnil/-/lodash.isnil-4.0.0.tgz#49e28cd559013458c814c5479d3c663a21bfaa6c"+ integrity sha512-up2Mzq3545mwVnMhTDMdfoG1OurpA/s5t88JmQX809eH3C8491iu2sfKhTfhQtKY78oPNhiaHJUpT/dUDAAtng==++lodash.isplainobject@^4.0.6:+ version "4.0.6"+ resolved "https://registry.npmmirror.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb"+ integrity sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==++lodash.isundefined@^3.0.1:+ version "3.0.1"+ resolved "https://registry.npmmirror.com/lodash.isundefined/-/lodash.isundefined-3.0.1.tgz#23ef3d9535565203a66cefd5b830f848911afb48"+ integrity sha512-MXB1is3s899/cD8jheYYE2V9qTHwKvt+npCwpD+1Sxm3Q3cECXCiYHjeHWXNwr6Q0SOBPrYUDxendrO6goVTEA==++lodash.union@^4.6.0:+ version "4.6.0"+ resolved "https://registry.npmmirror.com/lodash.union/-/lodash.union-4.6.0.tgz#48bb5088409f16f1821666641c44dd1aaae3cd88"+ integrity sha512-c4pB2CdGrGdjMKYLA+XiRDO7Y0PRQbm/Gzg8qMj+QH+pFVAoTp5sBpO0odL3FjoPCGjK96p6qsP+yQoiLoOBcw==++lodash.uniq@^4.5.0:+ version "4.5.0"+ resolved "https://registry.npmmirror.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"+ integrity sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==++lodash@^4.17.14, lodash@^4.17.19, lodash@^4.17.21:+ version "4.17.21"+ resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"+ integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==++ version "5.10.1"+ resolved "https://registry.npmmirror.com/lottie-web/-/lottie-web-5.10.1.tgz#fde8e6be374afc3906f78b4152ada9be44ce3ccf"+ integrity sha512-u17bVNf/vA3oK9Wkyb1Vpo83WUIEQwaT0GeEN0qcvaExizyJ/RjmcbjSDj0CnwQCtpGqTgYhqprCC7cTWuXMNw==++lru-cache@^6.0.0:+ version "6.0.0"+ resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94"+ integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==+ dependencies:+ yallist "^4.0.0"++magic-string@^0.25.7:+ version "0.25.9"+ resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.9.tgz#de7f9faf91ef8a1c91d02c2e5314c8277dbcdd1c"+ integrity sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==+ dependencies:+ sourcemap-codec "^1.4.8"++magic-string@^0.27.0:+ version "0.27.0"+ resolved "https://registry.npmjs.org/magic-string/-/magic-string-0.27.0.tgz#e4a3413b4bab6d98d2becffd48b4a257effdbbf3"+ integrity sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==+ dependencies:+ "@jridgewell/sourcemap-codec" "^1.4.13"++make-dir@^2.1.0:+ version "2.1.0"+ resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5"+ integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==+ dependencies:+ pify "^4.0.1"+ semver "^5.6.0"++ version "6.7.0"+ resolved "https://registry.npmmirror.com/material-design-icons-iconfont/-/material-design-icons-iconfont-6.7.0.tgz#55cf0f3d7e4c76e032855b7e810b6e30535eff3c"+ integrity sha512-lSj71DgVv20kO0kGbs42icDzbRot61gEDBLQACzkUuznRQBUYmbxzEkGU6dNBb5fRWHMaScYlAXX96HQ4/cJWA==++merge-stream@^2.0.0:+ version "2.0.0"+ resolved "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60"+ integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==++merge2@^1.3.0, merge2@^1.4.1:+ version "1.4.1"+ resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae"+ integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==++micromatch@^4.0.4:+ version "4.0.5"+ resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6"+ integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==+ dependencies:+ braces "^3.0.2"+ picomatch "^2.3.1"++ version "1.52.0"+ resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70"+ integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==++mime-types@^2.1.12:+ version "2.1.35"+ resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a"+ integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==+ dependencies:+ mime-db "1.52.0"++mime@^1.4.1:+ version "1.6.0"+ resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1"+ integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==++mimic-fn@^2.1.0:+ version "2.1.0"+ resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b"+ integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==++minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2:+ version "3.1.2"+ resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"+ integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==+ dependencies:+ brace-expansion "^1.1.7"++minimatch@^5.1.0, minimatch@^5.1.1:+ version "5.1.1"+ resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.1.tgz#6c9dffcf9927ff2a31e74b5af11adf8b9604b022"+ integrity sha512-362NP+zlprccbEt/SkxKfRMHnNY85V74mVnpUpNyr3F35covl09Kec7/sEFLt3RA4oXmewtoaanoIf67SE5Y5g==+ dependencies:+ brace-expansion "^2.0.1"++minimist@^1.2.0, minimist@^1.2.6:+ version "1.2.7"+ resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18"+ integrity sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==++ version "3.0.0"+ resolved "https://registry.npmmirror.com/mitt/-/mitt-3.0.0.tgz#69ef9bd5c80ff6f57473e8d89326d01c414be0bd"+ integrity sha512-7dX2/10ITVyqh4aOSVI9gdape+t9l2/8QxHrFmUXu4EEUpdlxl6RudZUPZoc+zuY2hk1j7XxVroIVIan/pD/SQ==++"mkdirp@>=0.5 0", mkdirp@^0.5.1:+ version "0.5.6"+ resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6"+ integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==+ dependencies:+ minimist "^1.2.6"++mlly@^1.0.0:+ version "1.0.0"+ resolved "https://registry.npmjs.org/mlly/-/mlly-1.0.0.tgz#d38ca6e33ab89b60654f71ef08931d51e83d3569"+ integrity sha512-QL108Hwt+u9bXdWgOI0dhzZfACovn5Aen4Xvc8Jasd9ouRH4NjnrXEiyP3nVvJo91zPlYjVRckta0Nt2zfoR6g==+ dependencies:+ acorn "^8.8.1"+ pathe "^1.0.0"+ pkg-types "^1.0.0"+ ufo "^1.0.0"++ version "2.0.0"+ resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"+ integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==++ version "2.1.2"+ resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"+ integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==++ms@^2.1.1:+ version "2.1.3"+ resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2"+ integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==++muggle-string@^0.1.0:+ version "0.1.0"+ resolved "https://registry.yarnpkg.com/muggle-string/-/muggle-string-0.1.0.tgz#1fda8a281c8b27bb8b70466dbc9f27586a8baa6c"+ integrity sha512-Tr1knR3d2mKvvWthlk7202rywKbiOm4rVFLsfAaSIhJ6dt9o47W4S+JMtWhd/PW9Wrdew2/S2fSvhz3E2gkfEg==++ version "0.0.8"+ resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d"+ integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==++nanoid@^3.3.4:+ version "3.3.4"+ resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab"+ integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==++natural-compare-lite@^1.4.0:+ version "1.4.0"+ resolved "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4"+ integrity sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==++natural-compare@^1.4.0:+ version "1.4.0"+ resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"+ integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==++needle@^3.1.0:+ version "3.2.0"+ resolved "https://registry.yarnpkg.com/needle/-/needle-3.2.0.tgz#07d240ebcabfd65c76c03afae7f6defe6469df44"+ integrity sha512-oUvzXnyLiVyVGoianLijF9O/RecZUf7TkBfimjGrLM4eQhXyeJwM6GeAWccwfQ9aa4gMCZKqhAOuLaMIcQxajQ==+ dependencies:+ debug "^3.2.6"+ iconv-lite "^0.6.3"+ sax "^1.2.4"++normalize-path@^3.0.0, normalize-path@~3.0.0:+ version "3.0.0"+ resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65"+ integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==++npm-run-path@^4.0.1:+ version "4.0.1"+ resolved "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea"+ integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==+ dependencies:+ path-key "^3.0.0"++object-inspect@^1.12.2, object-inspect@^1.9.0:+ version "1.12.2"+ resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.2.tgz#c0641f26394532f28ab8d796ab954e43c009a8ea"+ integrity sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==++object-keys@^1.1.1:+ version "1.1.1"+ resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e"+ integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==++object.assign@^4.1.2, object.assign@^4.1.4:+ version "4.1.4"+ resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.4.tgz#9673c7c7c351ab8c4d0b516f4343ebf4dfb7799f"+ integrity sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==+ dependencies:+ call-bind "^1.0.2"+ define-properties "^1.1.4"+ has-symbols "^1.0.3"+ object-keys "^1.1.1"++object.entries@^1.1.2:+ version "1.1.6"+ resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.6.tgz#9737d0e5b8291edd340a3e3264bb8a3b00d5fa23"+ integrity sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==+ dependencies:+ call-bind "^1.0.2"+ define-properties "^1.1.4"+ es-abstract "^1.20.4"++object.values@^1.1.5:+ version "1.1.6"+ resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.6.tgz#4abbaa71eba47d63589d402856f908243eea9b1d"+ integrity sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==+ dependencies:+ call-bind "^1.0.2"+ define-properties "^1.1.4"+ es-abstract "^1.20.4"++once@^1.3.0, once@^1.4.0:+ version "1.4.0"+ resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"+ integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==+ dependencies:+ wrappy "1"++onetime@^5.1.0, onetime@^5.1.2:+ version "5.1.2"+ resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e"+ integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==+ dependencies:+ mimic-fn "^2.1.0"++optionator@^0.9.1:+ version "0.9.1"+ resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.1.tgz#4f236a6373dae0566a6d43e1326674f50c291499"+ integrity sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==+ dependencies:+ deep-is "^0.1.3"+ fast-levenshtein "^2.0.6"+ levn "^0.4.1"+ prelude-ls "^1.2.1"+ type-check "^0.4.0"+ word-wrap "^1.2.3"++os-tmpdir@~1.0.2:+ version "1.0.2"+ resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"+ integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==++p-limit@^3.0.2:+ version "3.1.0"+ resolved "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b"+ integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==+ dependencies:+ yocto-queue "^0.1.0"++p-locate@^5.0.0:+ version "5.0.0"+ resolved "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834"+ integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==+ dependencies:+ p-limit "^3.0.2"++pako@~1.0.2:+ version "1.0.11"+ resolved "https://registry.npmmirror.com/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf"+ integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==++parent-module@^1.0.0:+ version "1.0.1"+ resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2"+ integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==+ dependencies:+ callsites "^3.0.0"++parse-node-version@^1.0.1:+ version "1.0.1"+ resolved "https://registry.yarnpkg.com/parse-node-version/-/parse-node-version-1.0.1.tgz#e2b5dbede00e7fa9bc363607f53327e8b073189b"+ integrity sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==++path-exists@^4.0.0:+ version "4.0.0"+ resolved "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3"+ integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==++path-is-absolute@^1.0.0:+ version "1.0.1"+ resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"+ integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==++path-key@^3.0.0, path-key@^3.1.0:+ version "3.1.1"+ resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375"+ integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==++path-parse@^1.0.7:+ version "1.0.7"+ resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"+ integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==++path-type@^4.0.0:+ version "4.0.0"+ resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b"+ integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==++pathe@^1.0.0:+ version "1.0.0"+ resolved "https://registry.npmjs.org/pathe/-/pathe-1.0.0.tgz#135fc11464fc57c84ef93d5c5ed21247e24571df"+ integrity sha512-nPdMG0Pd09HuSsr7QOKUXO2Jr9eqaDiZvDwdyIhNG5SHYujkQHYKDfGQkulBxvbDHz8oHLsTgKN86LSwYzSHAg==++picocolors@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c"+ integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==++picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1:+ version "2.3.1"+ resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"+ integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==++pify@^4.0.1:+ version "4.0.1"+ resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231"+ integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==++pkg-types@^1.0.0, pkg-types@^1.0.1:+ version "1.0.1"+ resolved "https://registry.npmjs.org/pkg-types/-/pkg-types-1.0.1.tgz#25234407f9dc63409af45ced9407625ff446a761"+ integrity sha512-jHv9HB+Ho7dj6ItwppRDDl0iZRYBD0jsakHXtFgoLr+cHSF6xC+QL54sJmWxyGxOLYSHm0afhXhXcQDQqH9z8g==+ dependencies:+ jsonc-parser "^3.2.0"+ mlly "^1.0.0"+ pathe "^1.0.0"++postcss@^8.1.10, postcss@^8.4.19:+ version "8.4.20"+ resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.20.tgz#64c52f509644cecad8567e949f4081d98349dc56"+ integrity sha512-6Q04AXR1212bXr5fh03u8aAwbLxAQNGQ/Q1LNa0VfOI06ZAlhPHtQvE4OIdpj4kLThXilalPnmDSOD65DcHt+g==+ dependencies:+ nanoid "^3.3.4"+ picocolors "^1.0.0"+ source-map-js "^1.0.2"++prelude-ls@^1.2.1:+ version "1.2.1"+ resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"+ integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==++process-nextick-args@~2.0.0:+ version "2.0.1"+ resolved "https://registry.npmmirror.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"+ integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==++progress@^2.0.0:+ version "2.0.3"+ resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"+ integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==++proxy-from-env@^1.1.0:+ version "1.1.0"+ resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"+ integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==++prr@~1.0.1:+ version "1.0.1"+ resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476"+ integrity sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==++punycode@^2.1.0:+ version "2.1.1"+ resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"+ integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==++qrcode.vue@^3.3.3:+ version "3.3.3"+ resolved "https://registry.npmmirror.com/qrcode.vue/-/qrcode.vue-3.3.3.tgz#00262244311a0ee1956fb7a0e238197ff7e14cfa"+ integrity sha512-OsD4tQjIbxg/K6D5ZkWjBdYI9eg9K2i8qeYILdEAX5mdAydSAxV7xKmmZSP/hA12olLqEMZ9ryqDQrwa9jEMgw==++queue-microtask@^1.2.2:+ version "1.2.3"+ resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243"+ integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==++readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@^2.0.5, readable-stream@~2.3.6:+ version "2.3.7"+ resolved "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57"+ integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==+ dependencies:+ core-util-is "~1.0.0"+ inherits "~2.0.3"+ isarray "~1.0.0"+ process-nextick-args "~2.0.0"+ safe-buffer "~5.1.1"+ string_decoder "~1.1.1"+ util-deprecate "~1.0.1"++readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.6.0:+ version "3.6.0"+ resolved "https://registry.npmmirror.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198"+ integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==+ dependencies:+ inherits "^2.0.3"+ string_decoder "^1.1.1"+ util-deprecate "^1.0.1"++readdir-glob@^1.0.0:+ version "1.1.2"+ resolved "https://registry.npmmirror.com/readdir-glob/-/readdir-glob-1.1.2.tgz#b185789b8e6a43491635b6953295c5c5e3fd224c"+ integrity sha512-6RLVvwJtVwEDfPdn6X6Ille4/lxGl0ATOY4FN/B9nxQcgOazvvI0nodiD19ScKq0PvA/29VpaOQML36o5IzZWA==+ dependencies:+ minimatch "^5.1.0"++readdirp@~3.6.0:+ version "3.6.0"+ resolved "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7"+ integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==+ dependencies:+ picomatch "^2.2.1"++regexp.prototype.flags@^1.4.3:+ version "1.4.3"+ resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz#87cab30f80f66660181a3bb7bf5981a872b367ac"+ integrity sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==+ dependencies:+ call-bind "^1.0.2"+ define-properties "^1.1.3"+ functions-have-names "^1.2.2"++regexpp@^3.1.0, regexpp@^3.2.0:+ version "3.2.0"+ resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2"+ integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==++resolve-from@^4.0.0:+ version "4.0.0"+ resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6"+ integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==++resolve@^1.20.0, resolve@^1.22.0, resolve@^1.22.1:+ version "1.22.1"+ resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177"+ integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==+ dependencies:+ is-core-module "^2.9.0"+ path-parse "^1.0.7"+ supports-preserve-symlinks-flag "^1.0.0"++restore-cursor@^3.1.0:+ version "3.1.0"+ resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e"+ integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==+ dependencies:+ onetime "^5.1.0"+ signal-exit "^3.0.2"++reusify@^1.0.4:+ version "1.0.4"+ resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76"+ integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==++rimraf@2:+ version "2.7.1"+ resolved "https://registry.npmmirror.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"+ integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==+ dependencies:+ glob "^7.1.3"++ version "2.6.3"+ resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab"+ integrity sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==+ dependencies:+ glob "^7.1.3"++rimraf@^3.0.0:+ version "3.0.2"+ resolved "https://registry.npmmirror.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a"+ integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==+ dependencies:+ glob "^7.1.3"++rollup@^3.7.0:+ version "3.7.3"+ resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.7.3.tgz#d440adff5f89099fd1f552e4e4333045e3bc71d4"+ integrity sha512-7e68MQbAWCX6mI4/0lG1WHd+NdNAlVamg0Zkd+8LZ/oXojligdGnCNyHlzXqXCZObyjs5FRc3AH0b17iJESGIQ==+ optionalDependencies:+ fsevents "~2.3.2"++run-async@^2.4.0:+ version "2.4.1"+ resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455"+ integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==++run-parallel@^1.1.9:+ version "1.2.0"+ resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee"+ integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==+ dependencies:+ queue-microtask "^1.2.2"++rxjs@^6.6.0:+ version "6.6.7"+ resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9"+ integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==+ dependencies:+ tslib "^1.9.0"++safe-buffer@~5.1.0, safe-buffer@~5.1.1:+ version "5.1.2"+ resolved "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"+ integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==++safe-buffer@~5.2.0:+ version "5.2.1"+ resolved "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6"+ integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==++safe-regex-test@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.0.tgz#793b874d524eb3640d1873aad03596db2d4f2295"+ integrity sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==+ dependencies:+ call-bind "^1.0.2"+ get-intrinsic "^1.1.3"+ is-regex "^1.1.4"++"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0":+ version "2.1.2"+ resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"+ integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==++sax@^1.2.4:+ version "1.2.4"+ resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"+ integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==++saxes@^5.0.1:+ version "5.0.1"+ resolved "https://registry.npmmirror.com/saxes/-/saxes-5.0.1.tgz#eebab953fa3b7608dbe94e5dadb15c888fa6696d"+ integrity sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==+ dependencies:+ xmlchars "^2.2.0"++scule@^1.0.0:+ version "1.0.0"+ resolved "https://registry.npmjs.org/scule/-/scule-1.0.0.tgz#895e6f4ba887e78d8b9b4111e23ae84fef82376d"+ integrity sha512-4AsO/FrViE/iDNEPaAQlb77tf0csuq27EsVpy6ett584EcRTp6pTDLoGWVxCD77y5iU5FauOvhsI4o1APwPoSQ==++semver@^5.6.0:+ version "5.7.1"+ resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"+ integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==++semver@^6.3.0:+ version "6.3.0"+ resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"+ integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==++semver@^7.2.1, semver@^7.3.6, semver@^7.3.7:+ version "7.3.8"+ resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798"+ integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==+ dependencies:+ lru-cache "^6.0.0"++setimmediate@^1.0.5, setimmediate@~1.0.4:+ version "1.0.5"+ resolved "https://registry.npmmirror.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285"+ integrity sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==++shebang-command@^2.0.0:+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea"+ integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==+ dependencies:+ shebang-regex "^3.0.0"++shebang-regex@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172"+ integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==++side-channel@^1.0.4:+ version "1.0.4"+ resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf"+ integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==+ dependencies:+ call-bind "^1.0.0"+ get-intrinsic "^1.0.2"+ object-inspect "^1.9.0"++signal-exit@^3.0.2, signal-exit@^3.0.3:+ version "3.0.7"+ resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9"+ integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==++slash@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"+ integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==++slice-ansi@^2.1.0:+ version "2.1.0"+ resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-2.1.0.tgz#cacd7693461a637a5788d92a7dd4fba068e81636"+ integrity sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==+ dependencies:+ ansi-styles "^3.2.0"+ astral-regex "^1.0.0"+ is-fullwidth-code-point "^2.0.0"++source-map-js@^1.0.2:+ version "1.0.2"+ resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c"+ integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==+[email protected], source-map@^0.6.1, source-map@~0.6.0:+ version "0.6.1"+ resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"+ integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==++sourcemap-codec@^1.4.8:+ version "1.4.8"+ resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4"+ integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==++sprintf-js@~1.0.2:+ version "1.0.3"+ resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c"+ integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==++ssf@~0.11.2:+ version "0.11.2"+ resolved "https://registry.npmmirror.com/ssf/-/ssf-0.11.2.tgz#0b99698b237548d088fc43cdf2b70c1a7512c06c"+ integrity sha512-+idbmIXoYET47hH+d7dfm2epdOMUDjqcB4648sTZ+t2JwoyBFL/insLfB/racrDmsKB3diwsDA696pZMieAC5g==+ dependencies:+ frac "~1.1.2"++string-width@^3.0.0:+ version "3.1.0"+ resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961"+ integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==+ dependencies:+ emoji-regex "^7.0.1"+ is-fullwidth-code-point "^2.0.0"+ strip-ansi "^5.1.0"++string-width@^4.1.0:+ version "4.2.3"+ resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"+ integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==+ dependencies:+ emoji-regex "^8.0.0"+ is-fullwidth-code-point "^3.0.0"+ strip-ansi "^6.0.1"++string.prototype.trimend@^1.0.6:+ version "1.0.6"+ resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz#c4a27fa026d979d79c04f17397f250a462944533"+ integrity sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==+ dependencies:+ call-bind "^1.0.2"+ define-properties "^1.1.4"+ es-abstract "^1.20.4"++string.prototype.trimstart@^1.0.6:+ version "1.0.6"+ resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz#e90ab66aa8e4007d92ef591bbf3cd422c56bdcf4"+ integrity sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==+ dependencies:+ call-bind "^1.0.2"+ define-properties "^1.1.4"+ es-abstract "^1.20.4"++string_decoder@^1.1.1:+ version "1.3.0"+ resolved "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e"+ integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==+ dependencies:+ safe-buffer "~5.2.0"++string_decoder@~1.1.1:+ version "1.1.1"+ resolved "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8"+ integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==+ dependencies:+ safe-buffer "~5.1.0"++strip-ansi@^5.1.0:+ version "5.2.0"+ resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae"+ integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==+ dependencies:+ ansi-regex "^4.1.0"++strip-ansi@^6.0.0, strip-ansi@^6.0.1:+ version "6.0.1"+ resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"+ integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==+ dependencies:+ ansi-regex "^5.0.1"++strip-bom@^3.0.0:+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3"+ integrity sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==++strip-final-newline@^2.0.0:+ version "2.0.0"+ resolved "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad"+ integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==++strip-json-comments@^3.1.0:+ version "3.1.1"+ resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006"+ integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==++strip-literal@^1.0.0:+ version "1.0.0"+ resolved "https://registry.npmjs.org/strip-literal/-/strip-literal-1.0.0.tgz#0a484ed5a978cd9d2becf3cf8f4f2cb5ab0e1e74"+ integrity sha512-5o4LsH1lzBzO9UFH63AJ2ad2/S2AVx6NtjOcaz+VTT2h1RiRvbipW72z8M/lxEhcPHDBQwpDrnTF7sXy/7OwCQ==+ dependencies:+ acorn "^8.8.1"++supports-color@^5.3.0:+ version "5.5.0"+ resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"+ integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==+ dependencies:+ has-flag "^3.0.0"++supports-color@^7.1.0:+ version "7.2.0"+ resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da"+ integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==+ dependencies:+ has-flag "^4.0.0"++supports-preserve-symlinks-flag@^1.0.0:+ version "1.0.0"+ resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09"+ integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==++table@^5.2.3:+ version "5.4.6"+ resolved "https://registry.yarnpkg.com/table/-/table-5.4.6.tgz#1292d19500ce3f86053b05f0e8e7e4a3bb21079e"+ integrity sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==+ dependencies:+ ajv "^6.10.2"+ lodash "^4.17.14"+ slice-ansi "^2.1.0"+ string-width "^3.0.0"++tar-stream@^2.2.0:+ version "2.2.0"+ resolved "https://registry.npmmirror.com/tar-stream/-/tar-stream-2.2.0.tgz#acad84c284136b060dc3faa64474aa9aebd77287"+ integrity sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==+ dependencies:+ bl "^4.0.3"+ end-of-stream "^1.4.1"+ fs-constants "^1.0.0"+ inherits "^2.0.3"+ readable-stream "^3.1.1"++text-table@^0.2.0:+ version "0.2.0"+ resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"+ integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==++through@^2.3.6:+ version "2.3.8"+ resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5"+ integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==++tmp@^0.0.33:+ version "0.0.33"+ resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9"+ integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==+ dependencies:+ os-tmpdir "~1.0.2"++tmp@^0.2.0:+ version "0.2.1"+ resolved "https://registry.npmmirror.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14"+ integrity sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==+ dependencies:+ rimraf "^3.0.0"++to-regex-range@^5.0.1:+ version "5.0.1"+ resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4"+ integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==+ dependencies:+ is-number "^7.0.0"++"traverse@>=0.3.0 <0.4":+ version "0.3.9"+ resolved "https://registry.npmmirror.com/traverse/-/traverse-0.3.9.tgz#717b8f220cc0bb7b44e40514c22b2e8bbc70d8b9"+ integrity sha512-iawgk0hLP3SxGKDfnDJf8wTz4p2qImnyihM5Hh/sGvQ3K37dPi/w8sRhdNIxYA1TwFwc5mDhIJq+O0RsvXBKdQ==++ version "1.3.1"+ resolved "https://registry.npmmirror.com/ts-md5/-/ts-md5-1.3.1.tgz#f5b860c0d5241dd9bb4e909dd73991166403f511"+ integrity sha512-DiwiXfwvcTeZ5wCE0z+2A9EseZsztaiZtGrtSaY5JOD7ekPnR/GoIVD5gXZAlK9Na9Kvpo9Waz5rW64WKAWApg==++tsconfig-paths@^3.14.1:+ version "3.14.1"+ resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz#ba0734599e8ea36c862798e920bcf163277b137a"+ integrity sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ==+ dependencies:+ "@types/json5" "^0.0.29"+ json5 "^1.0.1"+ minimist "^1.2.6"+ strip-bom "^3.0.0"++tslib@^1.8.1, tslib@^1.9.0:+ version "1.14.1"+ resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"+ integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==++tslib@^2.3.0:+ version "2.4.1"+ resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.1.tgz#0d0bfbaac2880b91e22df0768e55be9753a5b17e"+ integrity sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==++tsutils@^3.21.0:+ version "3.21.0"+ resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623"+ integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==+ dependencies:+ tslib "^1.8.1"++type-check@^0.4.0, type-check@~0.4.0:+ version "0.4.0"+ resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1"+ integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==+ dependencies:+ prelude-ls "^1.2.1"++type-fest@^0.21.3:+ version "0.21.3"+ resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37"+ integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==++type-fest@^0.8.1:+ version "0.8.1"+ resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d"+ integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==++ version "4.9.3"+ resolved "https://registry.npmmirror.com/typescript/-/typescript-4.9.3.tgz#3aea307c1746b8c384435d8ac36b8a2e580d85db"+ integrity sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==++ufo@^1.0.0:+ version "1.0.1"+ resolved "https://registry.npmjs.org/ufo/-/ufo-1.0.1.tgz#64ed43b530706bda2e4892f911f568cf4cf67d29"+ integrity sha512-boAm74ubXHY7KJQZLlXrtMz52qFvpsbOxDcZOnw/Wf+LS4Mmyu7JxmzD4tDLtUQtmZECypJ0FrCz4QIe6dvKRA==++unbox-primitive@^1.0.2:+ version "1.0.2"+ resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e"+ integrity sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==+ dependencies:+ call-bind "^1.0.2"+ has-bigints "^1.0.2"+ has-symbols "^1.0.3"+ which-boxed-primitive "^1.0.2"++unimport@^1.0.2:+ version "1.0.2"+ resolved "https://registry.npmjs.org/unimport/-/unimport-1.0.2.tgz#3d250dea0a441010f7e710c2031d6e334c7705ef"+ integrity sha512-DcYkDwl1XMZNmyEKUFzVzHAul0FZcj9m0OM/WRfaAtg6Gw1waYlypYJl6qAg31k57TnNPwGDCAxYPodYC5qomQ==+ dependencies:+ "@rollup/pluginutils" "^5.0.2"+ escape-string-regexp "^5.0.0"+ fast-glob "^3.2.12"+ local-pkg "^0.4.2"+ magic-string "^0.27.0"+ mlly "^1.0.0"+ pathe "^1.0.0"+ pkg-types "^1.0.1"+ scule "^1.0.0"+ strip-literal "^1.0.0"+ unplugin "^1.0.1"++ version "0.12.1"+ resolved "https://registry.npmmirror.com/unplugin-auto-import/-/unplugin-auto-import-0.12.1.tgz#eea943ff85e4230110a302451e7df1e584ecd480"+ integrity sha512-J/3ZORq5YGKG+8D5vLLOgqaHNK77izlVN07mQ752yRLqBNDbJiwPRSnUwwYqH5N6rDay1SqnJCHaUdbJ9QMI2w==+ dependencies:+ "@antfu/utils" "^0.7.2"+ "@rollup/pluginutils" "^5.0.2"+ local-pkg "^0.4.2"+ magic-string "^0.27.0"+ unimport "^1.0.2"+ unplugin "^1.0.1"++ version "0.14.15"+ resolved "https://registry.npmmirror.com/unplugin-icons/-/unplugin-icons-0.14.15.tgz#535605e25a34c6613888dca2094caf6ce2a5907c"+ integrity sha512-J6YBA+fUzVM2IZPXCK3Pnk36jYVwQ6lkjRgOnZaXNIxpMDsmwDqrE1AGJ0zUbfuEoOa90OBGc0OPfN1r+qlSIQ==+ dependencies:+ "@antfu/install-pkg" "^0.1.1"+ "@antfu/utils" "^0.7.2"+ "@iconify/utils" "^2.0.3"+ debug "^4.3.4"+ kolorist "^1.6.0"+ local-pkg "^0.4.2"+ unplugin "^1.0.1"++ version "0.22.12"+ resolved "https://registry.npmmirror.com/unplugin-vue-components/-/unplugin-vue-components-0.22.12.tgz#39013f77be72d32df9d6ca1599e592a484015612"+ integrity sha512-FxyzsuBvMCYPIk+8cgscGBQ345tvwVu+qY5IhE++eorkyvA4Z1TiD/HCiim+Kbqozl10i4K+z+NCa2WO2jexRA==+ dependencies:+ "@antfu/utils" "^0.7.2"+ "@rollup/pluginutils" "^5.0.2"+ chokidar "^3.5.3"+ debug "^4.3.4"+ fast-glob "^3.2.12"+ local-pkg "^0.4.2"+ magic-string "^0.27.0"+ minimatch "^5.1.1"+ resolve "^1.22.1"+ unplugin "^1.0.1"++unplugin@^1.0.1:+ version "1.0.1"+ resolved "https://registry.npmjs.org/unplugin/-/unplugin-1.0.1.tgz#83b528b981cdcea1cad422a12cd02e695195ef3f"+ integrity sha512-aqrHaVBWW1JVKBHmGo33T5TxeL0qWzfvjWokObHA9bYmN7eNDkwOxmLjhioHl9878qDFMAaT51XNroRyuz7WxA==+ dependencies:+ acorn "^8.8.1"+ chokidar "^3.5.3"+ webpack-sources "^3.2.3"+ webpack-virtual-modules "^0.5.0"++unzipper@^0.10.11:+ version "0.10.11"+ resolved "https://registry.npmmirror.com/unzipper/-/unzipper-0.10.11.tgz#0b4991446472cbdb92ee7403909f26c2419c782e"+ integrity sha512-+BrAq2oFqWod5IESRjL3S8baohbevGcVA+teAIOYWM3pDVdseogqbzhhvvmiyQrUNKFUnDMtELW3X8ykbyDCJw==+ dependencies:+ big-integer "^1.6.17"+ binary "~0.3.0"+ bluebird "~3.4.1"+ buffer-indexof-polyfill "~1.0.0"+ duplexer2 "~0.1.4"+ fstream "^1.0.12"+ graceful-fs "^4.2.2"+ listenercount "~1.0.1"+ readable-stream "~2.3.6"+ setimmediate "~1.0.4"++uri-js@^4.2.2:+ version "4.4.1"+ resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e"+ integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==+ dependencies:+ punycode "^2.1.0"++util-deprecate@^1.0.1, util-deprecate@~1.0.1:+ version "1.0.2"+ resolved "https://registry.npmmirror.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"+ integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==++uuid@^8.3.0:+ version "8.3.2"+ resolved "https://registry.npmmirror.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2"+ integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==++v8-compile-cache@^2.0.3:+ version "2.3.0"+ resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee"+ integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==++ version "4.0.0"+ resolved "https://registry.npmmirror.com/vite/-/vite-4.0.0.tgz#b81b88349a06b2faaa53ae14cf96c942548e3454"+ integrity sha512-ynad+4kYs8Jcnn8J7SacS9vAbk7eMy0xWg6E7bAhS1s79TK+D7tVFGXVZ55S7RNLRROU1rxoKlvZ/qjaB41DGA==+ dependencies:+ esbuild "^0.16.3"+ postcss "^8.4.19"+ resolve "^1.22.1"+ rollup "^3.7.0"+ optionalDependencies:+ fsevents "~2.3.2"++ version "9.1.0"+ resolved "https://registry.npmmirror.com/vue-eslint-parser/-/vue-eslint-parser-9.1.0.tgz#0e121d1bb29bd10763c83e3cc583ee03434a9dd5"+ integrity sha512-NGn/iQy8/Wb7RrRa4aRkokyCZfOUWk19OP5HP6JEozQFX5AoS/t+Z0ZN7FY4LlmWc4FNI922V7cvX28zctN8dQ==+ dependencies:+ debug "^4.3.4"+ eslint-scope "^7.1.1"+ eslint-visitor-keys "^3.3.0"+ espree "^9.3.1"+ esquery "^1.4.0"+ lodash "^4.17.21"+ semver "^7.3.6"++vue-eslint-parser@^7.10.0:+ version "7.11.0"+ resolved "https://registry.yarnpkg.com/vue-eslint-parser/-/vue-eslint-parser-7.11.0.tgz#214b5dea961007fcffb2ee65b8912307628d0daf"+ integrity sha512-qh3VhDLeh773wjgNTl7ss0VejY9bMMa0GoDG2fQVyDzRFdiU3L7fw74tWZDHNQXdZqxO3EveQroa9ct39D2nqg==+ dependencies:+ debug "^4.1.1"+ eslint-scope "^5.1.1"+ eslint-visitor-keys "^1.1.0"+ espree "^6.2.1"+ esquery "^1.4.0"+ lodash "^4.17.21"+ semver "^6.3.0"++ version "9.2.2"+ resolved "https://registry.npmmirror.com/vue-i18n/-/vue-i18n-9.2.2.tgz#aeb49d9424923c77e0d6441e3f21dafcecd0e666"+ integrity sha512-yswpwtj89rTBhegUAv9Mu37LNznyu3NpyLQmozF3i1hYOhwpG8RjcjIFIIfnu+2MDZJGSZPXaKWvnQA71Yv9TQ==+ dependencies:+ "@intlify/core-base" "9.2.2"+ "@intlify/shared" "9.2.2"+ "@intlify/vue-devtools" "9.2.2"+ "@vue/devtools-api" "^6.2.1"++ version "4.1.6"+ resolved "https://registry.npmmirror.com/vue-router/-/vue-router-4.1.6.tgz#b70303737e12b4814578d21d68d21618469375a1"+ integrity sha512-DYWYwsG6xNPmLq/FmZn8Ip+qrhFEzA14EI12MsMgVxvHFDYvlr4NXpVF5hrRH1wVcDP8fGi5F4rxuJSl8/r+EQ==+ dependencies:+ "@vue/devtools-api" "^6.4.5"++vue-template-compiler@^2.7.14:+ version "2.7.14"+ resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.7.14.tgz#4545b7dfb88090744c1577ae5ac3f964e61634b1"+ integrity sha512-zyA5Y3ArvVG0NacJDkkzJuPQDF8RFeRlzV2vLeSnhSpieO6LK2OVbdLPi5MPPs09Ii+gMO8nY4S3iKQxBxDmWQ==+ dependencies:+ de-indent "^1.0.2"+ he "^1.2.0"++ version "1.0.11"+ resolved "https://registry.npmmirror.com/vue-tsc/-/vue-tsc-1.0.11.tgz#b4d1a74dbdef79c0458839abf27c717f969a2e67"+ integrity sha512-lj+6dEroPsE4wmQOPtjCzAf8x363Km5/tuEvMEoQaoRnzs9myBM46FNvCGIIPStYUGuaqF1W1bORmP2KDQEORA==+ dependencies:+ "@volar/vue-language-core" "1.0.11"+ "@volar/vue-typescript" "1.0.11"++ version "3.2.45"+ resolved "https://registry.npmmirror.com/vue/-/vue-3.2.45.tgz#94a116784447eb7dbd892167784619fef379b3c8"+ integrity sha512-9Nx/Mg2b2xWlXykmCwiTUCWHbWIj53bnkizBxKai1g61f2Xit700A1ljowpTIM11e3uipOeiPcSqnmBg6gyiaA==+ dependencies:+ "@vue/compiler-dom" "3.2.45"+ "@vue/compiler-sfc" "3.2.45"+ "@vue/runtime-dom" "3.2.45"+ "@vue/server-renderer" "3.2.45"+ "@vue/shared" "3.2.45"++ version "3.0.4"+ resolved "https://registry.npmmirror.com/vuetify/-/vuetify-3.0.4.tgz#1d5b7ffe8edd673cf4053dd73fbbc097fd075180"+ integrity sha512-znJjQbOeVhPqtI7y50wepiq/jMWXhAXEl43FUIgrppWNWDDoL00NiGQiJMEkc5/GTTq1gxkpg4QlCUaHXAMpBg==++ version "3.1.3"+ resolved "https://registry.npmmirror.com/vuex-persist/-/vuex-persist-3.1.3.tgz#518c722a2ca3026bcee5732f99d24f75cee0f3b6"+ integrity sha512-QWOpP4SxmJDC5Y1+0+Yl/F4n7z27syd1St/oP+IYCGe0X0GFio0Zan6kngZFufdIhJm+5dFGDo3VG5kdkCGeRQ==+ dependencies:+ deepmerge "^4.2.2"+ flatted "^3.0.5"++ version "4.0.2"+ resolved "https://registry.npmmirror.com/vuex/-/vuex-4.0.2.tgz#f896dbd5bf2a0e963f00c67e9b610de749ccacc9"+ integrity sha512-M6r8uxELjZIK8kTKDGgZTYX/ahzblnzC4isU1tpmEuOIIKmV+TRdc+H4s8ds2NuZ7wpUTdGRzJRtoj+lI+pc0Q==+ dependencies:+ "@vue/devtools-api" "^6.0.0-beta.11"++ version "3.0.4"+ resolved "https://registry.npmmirror.com/vxe-table-plugin-export-xlsx/-/vxe-table-plugin-export-xlsx-3.0.4.tgz#35faabc0791b4e9aa516b78ea3fd45e67314afe4"+ integrity sha512-Og/NbXRIb+BS6sJ48oDNVrZnlkcpaCd/zS8JBAZjHLgioWr1Xoob6FEpaeXBebGPPgTumZNUrrBO57JhhYAerA==++ version "4.3.7"+ resolved "https://registry.npmmirror.com/vxe-table/-/vxe-table-4.3.7.tgz#138c402b1681f077f9fd93c7dafa1cc974ac3af4"+ integrity sha512-v+d7eEQ5uqtVTQCts4xkW0S15LZcIuEukYHGXI53SdoUj2gLFggPYAxQr1y659CM/ESRWPz9LNVHpd97KkjGHw==++webpack-sources@^3.2.3:+ version "3.2.3"+ resolved "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde"+ integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==++webpack-virtual-modules@^0.5.0:+ version "0.5.0"+ resolved "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.5.0.tgz#362f14738a56dae107937ab98ea7062e8bdd3b6c"+ integrity sha512-kyDivFZ7ZM0BVOUteVbDFhlRt7Ah/CSPwJdi8hBpkK7QLumUqdLtVfm/PX/hkcnrvr0i77fO5+TjZ94Pe+C9iw==++which-boxed-primitive@^1.0.2:+ version "1.0.2"+ resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6"+ integrity sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==+ dependencies:+ is-bigint "^1.0.1"+ is-boolean-object "^1.1.0"+ is-number-object "^1.0.4"+ is-string "^1.0.5"+ is-symbol "^1.0.3"++which@^2.0.1:+ version "2.0.2"+ resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1"+ integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==+ dependencies:+ isexe "^2.0.0"++wmf@~1.0.1:+ version "1.0.2"+ resolved "https://registry.npmmirror.com/wmf/-/wmf-1.0.2.tgz#7d19d621071a08c2bdc6b7e688a9c435298cc2da"+ integrity sha512-/p9K7bEh0Dj6WbXg4JG0xvLQmIadrner1bi45VMJTfnbVHsc7yIajZyoSoK60/dtVBs12Fm6WkUI5/3WAVsNMw==++word-wrap@^1.2.3:+ version "1.2.3"+ resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c"+ integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==++word@~0.3.0:+ version "0.3.0"+ resolved "https://registry.npmmirror.com/word/-/word-0.3.0.tgz#8542157e4f8e849f4a363a288992d47612db9961"+ integrity sha512-OELeY0Q61OXpdUfTp+oweA/vtLVg5VDOXh+3he3PNzLGG/y0oylSOC1xRVj0+l4vQ3tj/bB1HVHv1ocXkQceFA==++wrappy@1:+ version "1.0.2"+ resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"+ integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==++ version "1.0.3"+ resolved "https://registry.yarnpkg.com/write/-/write-1.0.3.tgz#0800e14523b923a387e415123c865616aae0f5c3"+ integrity sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==+ dependencies:+ mkdirp "^0.5.1"++ version "3.5.7"+ resolved "https://registry.npmmirror.com/xe-utils/-/xe-utils-3.5.7.tgz#2c885852dfadd5c8beeffdc1f884f8ceb962c669"+ integrity sha512-3H+fDBKBR2wLJgyA7k9C/w1Xljx6Maml5ukV0WDY06HjYyGs2FEz6XhcwRCLIDXX4pBP3Gu0nX9DbCeuuRA2Ew==++ version "0.18.5"+ resolved "https://registry.npmmirror.com/xlsx/-/xlsx-0.18.5.tgz#16711b9113c848076b8a177022799ad356eba7d0"+ integrity sha512-dmg3LCjBPHZnQp5/F/+nnTa+miPJxUXB6vtk42YjBBKayDNagxGEeIdWApkYPOf3Z3pm3k62Knjzp7lMeTEtFQ==+ dependencies:+ adler-32 "~1.3.0"+ cfb "~1.2.1"+ codepage "~1.15.0"+ crc-32 "~1.2.1"+ ssf "~0.11.2"+ wmf "~1.0.1"+ word "~0.3.0"++xmlchars@^2.2.0:+ version "2.2.0"+ resolved "https://registry.npmmirror.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb"+ integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==++yallist@^4.0.0:+ version "4.0.0"+ resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"+ integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==++yocto-queue@^0.1.0:+ version "0.1.0"+ resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"+ integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==++zip-stream@^4.1.0:+ version "4.1.0"+ resolved "https://registry.npmmirror.com/zip-stream/-/zip-stream-4.1.0.tgz#51dd326571544e36aa3f756430b313576dc8fc79"+ integrity sha512-zshzwQW7gG7hjpBlgeQP9RuyPGNxvJdzR8SUM3QhxCnLjWN2E7j3dOvpeDcQoETfHx0urRS7EtmVToql7YpU4A==+ dependencies:+ archiver-utils "^2.1.0"+ compress-commons "^4.1.0"+ readable-stream "^3.6.0"