sigo-package 1.2.29 → 1.2.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +11 -3
- package/dist/index.d.ts +11 -3
- package/dist/index.js +9 -8
- package/dist/index.mjs +8 -7
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as sigo_entities from 'sigo-entities';
|
|
1
2
|
import { ManoObraENTITY, ReservaENTITY, ItemDetalleLogisticaDTO, HomePassDTO, FlujoDocDTO, NodoDocDTO, DocumentacionPEXENTITY, ManoObraGlobalENTITY, PrecioEspecialidadENTITY, ObraChile9512ENTITY, ValorizacionManoObraDTO, ValorizacionDTO, PrecioContratistaMOAL02ENTITY, StockPersonalENTITY, StockAlmacenENTITY, TrabajoENTITY, ActividadesDTO, PreciosVigentesDTO, ContratoOTENTITY } from 'sigo-entities';
|
|
2
3
|
|
|
3
4
|
interface IenvSIGO$1 {
|
|
@@ -95,7 +96,7 @@ interface IMOAndMaterialsRules {
|
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
interface IMateriales {
|
|
98
|
-
|
|
99
|
+
key: string;
|
|
99
100
|
cantidad: number;
|
|
100
101
|
item: ItemDetalleLogisticaDTO;
|
|
101
102
|
material: IMOAndMaterialsRules;
|
|
@@ -316,9 +317,16 @@ declare function obtenerTipoYCodigoMO(codigoOriginal: string): {
|
|
|
316
317
|
CodigoMO: string;
|
|
317
318
|
};
|
|
318
319
|
|
|
319
|
-
declare function
|
|
320
|
+
declare function checkAndBuildMaterialsFromStock(Materiales: IMOAndMaterialsRules[], dataStockPersonal: StockPersonalENTITY[], dataStockAlmacen: StockAlmacenENTITY[], key: string, Controller: any): IMateriales[];
|
|
320
321
|
|
|
321
322
|
declare function buildDataMaterialsRule(Materiales: Map<string, IMOAndMaterialsRules>, dataStockPersonal: Pick<StockPersonalENTITY, 'ID_StockPersonal' | 'Item' | 'Lote'>[], dataStockAlmacen: Pick<StockAlmacenENTITY, 'ID_StockAlmacen' | 'Item' | 'Lote'>[], Controller: any): {
|
|
323
|
+
key: string;
|
|
324
|
+
cantidad: number;
|
|
325
|
+
item: sigo_entities.ItemDetalleLogisticaDTO;
|
|
326
|
+
material: IMOAndMaterialsRules;
|
|
327
|
+
stock: "Personal" | "Almacen";
|
|
328
|
+
ID: number;
|
|
329
|
+
lote: string;
|
|
322
330
|
id: number;
|
|
323
331
|
text: string;
|
|
324
332
|
}[];
|
|
@@ -513,4 +521,4 @@ declare function generateUniqueNumberArray(index: number): number;
|
|
|
513
521
|
|
|
514
522
|
declare function setContext(this: any, modules: __WebpackModuleApi.RequireContext): void;
|
|
515
523
|
|
|
516
|
-
export { ActualizarDataManoObra, ActualizarDataReserva, ActualizarDataResumenLiquidaciones, ActualizarDataResumenValorizacionesAlemania, ActualizarDataTrabajos, BuscarZonaContratista, CalcularResumenHPMOLiquidado, CalcularResumenLiquidaciones, CalcularResumenValorizacionesAlemania, CodigosMaterialDuctosAL02, CodigosMaterialDuctosAL04, CodigosMaterialSoplado, CodsMapeoMOMaterial, CodsMapeoMOMaterialNVT01, CodsMapeoMOMaterialSopladoClientes, CodsMapeoMOMaterialSopladoTroncal, CodsMapeoMO_Material_Arquertas, CompararFechas, CurrencyFormat, DocumentacionReplanteo, EstadoEspecialidad9612, GemeindeChangeNomenclatura, GetCodigoFechaActual, type IDocumentacion, type IMOAndMaterialsRules, type IMateriales, MOCantidadNVT01, MOHijasAL04, MOHijasDEPTH, MapeoEspecialidades9612, MapeoMOBOMAL04, MapeoMatBOMAL04, type MatRetiradosType, type MatStockAlmacenType, type MatStockPersonalType$1 as MatStockPersonalType, type MatUtilizadosType$1 as MatUtilizadosType, type MoUoType$1 as MoUoType, ModelDataFlujosDocumentacionReplanteo, ObtenerMONoReservada, ObtenerPrecioContratistaVigente, ObtenerZonaAsignada, type ResumenLiquidacionesType, type ResumenLiquidacionesTypeChile, SEGMENT_TY, type TARGET, UpdateNodosDocDP, buildDataMaterialsRule,
|
|
524
|
+
export { ActualizarDataManoObra, ActualizarDataReserva, ActualizarDataResumenLiquidaciones, ActualizarDataResumenValorizacionesAlemania, ActualizarDataTrabajos, BuscarZonaContratista, CalcularResumenHPMOLiquidado, CalcularResumenLiquidaciones, CalcularResumenValorizacionesAlemania, CodigosMaterialDuctosAL02, CodigosMaterialDuctosAL04, CodigosMaterialSoplado, CodsMapeoMOMaterial, CodsMapeoMOMaterialNVT01, CodsMapeoMOMaterialSopladoClientes, CodsMapeoMOMaterialSopladoTroncal, CodsMapeoMO_Material_Arquertas, CompararFechas, CurrencyFormat, DocumentacionReplanteo, EstadoEspecialidad9612, GemeindeChangeNomenclatura, GetCodigoFechaActual, type IDocumentacion, type IMOAndMaterialsRules, type IMateriales, MOCantidadNVT01, MOHijasAL04, MOHijasDEPTH, MapeoEspecialidades9612, MapeoMOBOMAL04, MapeoMatBOMAL04, type MatRetiradosType, type MatStockAlmacenType, type MatStockPersonalType$1 as MatStockPersonalType, type MatUtilizadosType$1 as MatUtilizadosType, type MoUoType$1 as MoUoType, ModelDataFlujosDocumentacionReplanteo, ObtenerMONoReservada, ObtenerPrecioContratistaVigente, ObtenerZonaAsignada, type ResumenLiquidacionesType, type ResumenLiquidacionesTypeChile, SEGMENT_TY, type TARGET, UpdateNodosDocDP, buildDataMaterialsRule, checkAndBuildMaterialsFromStock, codBalizaAL04, codClientes, codMOClientesAL02, codMOClientesAL02Asfaltado, codMOClientesAL02OC, codMOClientesAL02Soplado, codMOClientes_ReglaLiquidacion1, codMODROPAL04, codMODROPAL04OC, codMODROPAL04Soplado, codMOFTTFAL04, codMONoClientesAL02, codMONoClientesAL02Asfaltado, codMONoClientesAL02OC, codMONoClientesAL02Soplado, codMONoClientes_ReglaLiquidacion1, codMOOcultosAL04, codMOPublico, codMOTroncalAL02, codMOTroncalAL02Asfaltado, codMOTroncalAL02OC, codMOTroncalAL02Soplado, codMOTroncalAL04, codMOTroncalAL04Asfaltado, codMOTroncalAL04OC, codMOTroncalAL04Soplado, codMOTroncal_ReglaLiquidacion1, codNoCliente, codSopladoRD, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, consumirStockPersonal, convertDates, dataFlujosHomePass, esCadenaFechaISOValida, esObjetoFecha, generateUniqueNumber, generateUniqueNumberArray, getChannelName, getDateInTimeZone, getKeyRedisSortedSet, getModelDataAdicional, getNextID_Valorizacion, getQueueName, getQueueNameSaveOneNotification, isValidDate, isValidPartialEntity, logTiempoProceso, mapaEstadoObraFaseAL02, mapaMOMaterialAL02, mapaMOMaterialAL04, mapaReglaSopladoClientes, mapaReglaSopladoTroncal, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, obtenerPrecioManoObraAL02, obtenerPrecioManoObraAL04, obtenerTipoYCodigoMO, paisMap, searchCurrentContractorSpecialtyPrice, setContext, updatePriceContractorMOAL02, updatePriceContractorMOAL04, updatePriceMOAL02, updatePriceMOAL04, validateNoLookup };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as sigo_entities from 'sigo-entities';
|
|
1
2
|
import { ManoObraENTITY, ReservaENTITY, ItemDetalleLogisticaDTO, HomePassDTO, FlujoDocDTO, NodoDocDTO, DocumentacionPEXENTITY, ManoObraGlobalENTITY, PrecioEspecialidadENTITY, ObraChile9512ENTITY, ValorizacionManoObraDTO, ValorizacionDTO, PrecioContratistaMOAL02ENTITY, StockPersonalENTITY, StockAlmacenENTITY, TrabajoENTITY, ActividadesDTO, PreciosVigentesDTO, ContratoOTENTITY } from 'sigo-entities';
|
|
2
3
|
|
|
3
4
|
interface IenvSIGO$1 {
|
|
@@ -95,7 +96,7 @@ interface IMOAndMaterialsRules {
|
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
interface IMateriales {
|
|
98
|
-
|
|
99
|
+
key: string;
|
|
99
100
|
cantidad: number;
|
|
100
101
|
item: ItemDetalleLogisticaDTO;
|
|
101
102
|
material: IMOAndMaterialsRules;
|
|
@@ -316,9 +317,16 @@ declare function obtenerTipoYCodigoMO(codigoOriginal: string): {
|
|
|
316
317
|
CodigoMO: string;
|
|
317
318
|
};
|
|
318
319
|
|
|
319
|
-
declare function
|
|
320
|
+
declare function checkAndBuildMaterialsFromStock(Materiales: IMOAndMaterialsRules[], dataStockPersonal: StockPersonalENTITY[], dataStockAlmacen: StockAlmacenENTITY[], key: string, Controller: any): IMateriales[];
|
|
320
321
|
|
|
321
322
|
declare function buildDataMaterialsRule(Materiales: Map<string, IMOAndMaterialsRules>, dataStockPersonal: Pick<StockPersonalENTITY, 'ID_StockPersonal' | 'Item' | 'Lote'>[], dataStockAlmacen: Pick<StockAlmacenENTITY, 'ID_StockAlmacen' | 'Item' | 'Lote'>[], Controller: any): {
|
|
323
|
+
key: string;
|
|
324
|
+
cantidad: number;
|
|
325
|
+
item: sigo_entities.ItemDetalleLogisticaDTO;
|
|
326
|
+
material: IMOAndMaterialsRules;
|
|
327
|
+
stock: "Personal" | "Almacen";
|
|
328
|
+
ID: number;
|
|
329
|
+
lote: string;
|
|
322
330
|
id: number;
|
|
323
331
|
text: string;
|
|
324
332
|
}[];
|
|
@@ -513,4 +521,4 @@ declare function generateUniqueNumberArray(index: number): number;
|
|
|
513
521
|
|
|
514
522
|
declare function setContext(this: any, modules: __WebpackModuleApi.RequireContext): void;
|
|
515
523
|
|
|
516
|
-
export { ActualizarDataManoObra, ActualizarDataReserva, ActualizarDataResumenLiquidaciones, ActualizarDataResumenValorizacionesAlemania, ActualizarDataTrabajos, BuscarZonaContratista, CalcularResumenHPMOLiquidado, CalcularResumenLiquidaciones, CalcularResumenValorizacionesAlemania, CodigosMaterialDuctosAL02, CodigosMaterialDuctosAL04, CodigosMaterialSoplado, CodsMapeoMOMaterial, CodsMapeoMOMaterialNVT01, CodsMapeoMOMaterialSopladoClientes, CodsMapeoMOMaterialSopladoTroncal, CodsMapeoMO_Material_Arquertas, CompararFechas, CurrencyFormat, DocumentacionReplanteo, EstadoEspecialidad9612, GemeindeChangeNomenclatura, GetCodigoFechaActual, type IDocumentacion, type IMOAndMaterialsRules, type IMateriales, MOCantidadNVT01, MOHijasAL04, MOHijasDEPTH, MapeoEspecialidades9612, MapeoMOBOMAL04, MapeoMatBOMAL04, type MatRetiradosType, type MatStockAlmacenType, type MatStockPersonalType$1 as MatStockPersonalType, type MatUtilizadosType$1 as MatUtilizadosType, type MoUoType$1 as MoUoType, ModelDataFlujosDocumentacionReplanteo, ObtenerMONoReservada, ObtenerPrecioContratistaVigente, ObtenerZonaAsignada, type ResumenLiquidacionesType, type ResumenLiquidacionesTypeChile, SEGMENT_TY, type TARGET, UpdateNodosDocDP, buildDataMaterialsRule,
|
|
524
|
+
export { ActualizarDataManoObra, ActualizarDataReserva, ActualizarDataResumenLiquidaciones, ActualizarDataResumenValorizacionesAlemania, ActualizarDataTrabajos, BuscarZonaContratista, CalcularResumenHPMOLiquidado, CalcularResumenLiquidaciones, CalcularResumenValorizacionesAlemania, CodigosMaterialDuctosAL02, CodigosMaterialDuctosAL04, CodigosMaterialSoplado, CodsMapeoMOMaterial, CodsMapeoMOMaterialNVT01, CodsMapeoMOMaterialSopladoClientes, CodsMapeoMOMaterialSopladoTroncal, CodsMapeoMO_Material_Arquertas, CompararFechas, CurrencyFormat, DocumentacionReplanteo, EstadoEspecialidad9612, GemeindeChangeNomenclatura, GetCodigoFechaActual, type IDocumentacion, type IMOAndMaterialsRules, type IMateriales, MOCantidadNVT01, MOHijasAL04, MOHijasDEPTH, MapeoEspecialidades9612, MapeoMOBOMAL04, MapeoMatBOMAL04, type MatRetiradosType, type MatStockAlmacenType, type MatStockPersonalType$1 as MatStockPersonalType, type MatUtilizadosType$1 as MatUtilizadosType, type MoUoType$1 as MoUoType, ModelDataFlujosDocumentacionReplanteo, ObtenerMONoReservada, ObtenerPrecioContratistaVigente, ObtenerZonaAsignada, type ResumenLiquidacionesType, type ResumenLiquidacionesTypeChile, SEGMENT_TY, type TARGET, UpdateNodosDocDP, buildDataMaterialsRule, checkAndBuildMaterialsFromStock, codBalizaAL04, codClientes, codMOClientesAL02, codMOClientesAL02Asfaltado, codMOClientesAL02OC, codMOClientesAL02Soplado, codMOClientes_ReglaLiquidacion1, codMODROPAL04, codMODROPAL04OC, codMODROPAL04Soplado, codMOFTTFAL04, codMONoClientesAL02, codMONoClientesAL02Asfaltado, codMONoClientesAL02OC, codMONoClientesAL02Soplado, codMONoClientes_ReglaLiquidacion1, codMOOcultosAL04, codMOPublico, codMOTroncalAL02, codMOTroncalAL02Asfaltado, codMOTroncalAL02OC, codMOTroncalAL02Soplado, codMOTroncalAL04, codMOTroncalAL04Asfaltado, codMOTroncalAL04OC, codMOTroncalAL04Soplado, codMOTroncal_ReglaLiquidacion1, codNoCliente, codSopladoRD, codigosMOT1_F2, codigosMaterialDuctos, codigosMaterialUGG, consumirStockPersonal, convertDates, dataFlujosHomePass, esCadenaFechaISOValida, esObjetoFecha, generateUniqueNumber, generateUniqueNumberArray, getChannelName, getDateInTimeZone, getKeyRedisSortedSet, getModelDataAdicional, getNextID_Valorizacion, getQueueName, getQueueNameSaveOneNotification, isValidDate, isValidPartialEntity, logTiempoProceso, mapaEstadoObraFaseAL02, mapaMOMaterialAL02, mapaMOMaterialAL04, mapaReglaSopladoClientes, mapaReglaSopladoTroncal, obtenerDocumentacionClientes, obtenerDocumentacionNoClientes, obtenerPrecioManoObraAL02, obtenerPrecioManoObraAL04, obtenerTipoYCodigoMO, paisMap, searchCurrentContractorSpecialtyPrice, setContext, updatePriceContractorMOAL02, updatePriceContractorMOAL04, updatePriceMOAL02, updatePriceMOAL04, validateNoLookup };
|
package/dist/index.js
CHANGED
|
@@ -59,7 +59,7 @@ __export(index_exports, {
|
|
|
59
59
|
SEGMENT_TY: () => SEGMENT_TY,
|
|
60
60
|
UpdateNodosDocDP: () => UpdateNodosDocDP,
|
|
61
61
|
buildDataMaterialsRule: () => buildDataMaterialsRule,
|
|
62
|
-
|
|
62
|
+
checkAndBuildMaterialsFromStock: () => checkAndBuildMaterialsFromStock,
|
|
63
63
|
codBalizaAL04: () => codBalizaAL04,
|
|
64
64
|
codClientes: () => codClientes,
|
|
65
65
|
codMOClientesAL02: () => codMOClientesAL02,
|
|
@@ -5916,8 +5916,8 @@ function consumirStockPersonal(codDelegacion, codigoMaterial) {
|
|
|
5916
5916
|
}
|
|
5917
5917
|
__name(consumirStockPersonal, "consumirStockPersonal");
|
|
5918
5918
|
|
|
5919
|
-
// src/Programados/Alemania/
|
|
5920
|
-
function
|
|
5919
|
+
// src/Programados/Alemania/checkAndBuildMaterialsFromStock.ts
|
|
5920
|
+
function checkAndBuildMaterialsFromStock(Materiales, dataStockPersonal, dataStockAlmacen, key, Controller) {
|
|
5921
5921
|
const errores = [];
|
|
5922
5922
|
for (const element of Materiales) {
|
|
5923
5923
|
const stockPersonal = consumirStockPersonal(Controller.Delegacion.Codigo, element.Codigo);
|
|
@@ -5946,7 +5946,7 @@ function checkAndBuildMaterialsFromPersonalStock(Materiales, dataStockPersonal,
|
|
|
5946
5946
|
const cantidad = material.CantidadPadre ? 0 : material.CantidadFija ? material.Cantidad : 0;
|
|
5947
5947
|
materiales.push({
|
|
5948
5948
|
item: stock.Item,
|
|
5949
|
-
|
|
5949
|
+
key,
|
|
5950
5950
|
cantidad: cantidad * material.Factor,
|
|
5951
5951
|
material,
|
|
5952
5952
|
lote: stock.Lote,
|
|
@@ -5957,7 +5957,7 @@ function checkAndBuildMaterialsFromPersonalStock(Materiales, dataStockPersonal,
|
|
|
5957
5957
|
}
|
|
5958
5958
|
return materiales;
|
|
5959
5959
|
}
|
|
5960
|
-
__name(
|
|
5960
|
+
__name(checkAndBuildMaterialsFromStock, "checkAndBuildMaterialsFromStock");
|
|
5961
5961
|
|
|
5962
5962
|
// src/Programados/Alemania/buildDataMaterialsRule.ts
|
|
5963
5963
|
function buildDataMaterialsRule(Materiales, dataStockPersonal, dataStockAlmacen, Controller) {
|
|
@@ -5975,7 +5975,7 @@ function buildDataMaterialsRule(Materiales, dataStockPersonal, dataStockAlmacen,
|
|
|
5975
5975
|
const cantidad = material.CantidadPadre ? 0 : material.CantidadFija ? material.Cantidad : 0;
|
|
5976
5976
|
dataMaterialsRule.push({
|
|
5977
5977
|
cantidad,
|
|
5978
|
-
|
|
5978
|
+
key: crypto.randomUUID(),
|
|
5979
5979
|
item: e.Item,
|
|
5980
5980
|
lote: e.Lote,
|
|
5981
5981
|
material,
|
|
@@ -5986,7 +5986,8 @@ function buildDataMaterialsRule(Materiales, dataStockPersonal, dataStockAlmacen,
|
|
|
5986
5986
|
});
|
|
5987
5987
|
return dataMaterialsRule.map((e) => ({
|
|
5988
5988
|
id: e.ID,
|
|
5989
|
-
text: `${e.item.Codigo} - ${e.item.Nombre} ${e.lote ? `(Lote: ${e.lote})` : ""}`.trim()
|
|
5989
|
+
text: `${e.item.Codigo} - ${e.item.Nombre} ${e.lote ? `(Lote: ${e.lote})` : ""}`.trim(),
|
|
5990
|
+
...e
|
|
5990
5991
|
}));
|
|
5991
5992
|
}
|
|
5992
5993
|
__name(buildDataMaterialsRule, "buildDataMaterialsRule");
|
|
@@ -6664,7 +6665,7 @@ var getNextID_Valorizacion = /* @__PURE__ */ __name((valorizaciones) => {
|
|
|
6664
6665
|
SEGMENT_TY,
|
|
6665
6666
|
UpdateNodosDocDP,
|
|
6666
6667
|
buildDataMaterialsRule,
|
|
6667
|
-
|
|
6668
|
+
checkAndBuildMaterialsFromStock,
|
|
6668
6669
|
codBalizaAL04,
|
|
6669
6670
|
codClientes,
|
|
6670
6671
|
codMOClientesAL02,
|
package/dist/index.mjs
CHANGED
|
@@ -5789,8 +5789,8 @@ function consumirStockPersonal(codDelegacion, codigoMaterial) {
|
|
|
5789
5789
|
}
|
|
5790
5790
|
__name(consumirStockPersonal, "consumirStockPersonal");
|
|
5791
5791
|
|
|
5792
|
-
// src/Programados/Alemania/
|
|
5793
|
-
function
|
|
5792
|
+
// src/Programados/Alemania/checkAndBuildMaterialsFromStock.ts
|
|
5793
|
+
function checkAndBuildMaterialsFromStock(Materiales, dataStockPersonal, dataStockAlmacen, key, Controller) {
|
|
5794
5794
|
const errores = [];
|
|
5795
5795
|
for (const element of Materiales) {
|
|
5796
5796
|
const stockPersonal = consumirStockPersonal(Controller.Delegacion.Codigo, element.Codigo);
|
|
@@ -5819,7 +5819,7 @@ function checkAndBuildMaterialsFromPersonalStock(Materiales, dataStockPersonal,
|
|
|
5819
5819
|
const cantidad = material.CantidadPadre ? 0 : material.CantidadFija ? material.Cantidad : 0;
|
|
5820
5820
|
materiales.push({
|
|
5821
5821
|
item: stock.Item,
|
|
5822
|
-
|
|
5822
|
+
key,
|
|
5823
5823
|
cantidad: cantidad * material.Factor,
|
|
5824
5824
|
material,
|
|
5825
5825
|
lote: stock.Lote,
|
|
@@ -5830,7 +5830,7 @@ function checkAndBuildMaterialsFromPersonalStock(Materiales, dataStockPersonal,
|
|
|
5830
5830
|
}
|
|
5831
5831
|
return materiales;
|
|
5832
5832
|
}
|
|
5833
|
-
__name(
|
|
5833
|
+
__name(checkAndBuildMaterialsFromStock, "checkAndBuildMaterialsFromStock");
|
|
5834
5834
|
|
|
5835
5835
|
// src/Programados/Alemania/buildDataMaterialsRule.ts
|
|
5836
5836
|
function buildDataMaterialsRule(Materiales, dataStockPersonal, dataStockAlmacen, Controller) {
|
|
@@ -5848,7 +5848,7 @@ function buildDataMaterialsRule(Materiales, dataStockPersonal, dataStockAlmacen,
|
|
|
5848
5848
|
const cantidad = material.CantidadPadre ? 0 : material.CantidadFija ? material.Cantidad : 0;
|
|
5849
5849
|
dataMaterialsRule.push({
|
|
5850
5850
|
cantidad,
|
|
5851
|
-
|
|
5851
|
+
key: crypto.randomUUID(),
|
|
5852
5852
|
item: e.Item,
|
|
5853
5853
|
lote: e.Lote,
|
|
5854
5854
|
material,
|
|
@@ -5859,7 +5859,8 @@ function buildDataMaterialsRule(Materiales, dataStockPersonal, dataStockAlmacen,
|
|
|
5859
5859
|
});
|
|
5860
5860
|
return dataMaterialsRule.map((e) => ({
|
|
5861
5861
|
id: e.ID,
|
|
5862
|
-
text: `${e.item.Codigo} - ${e.item.Nombre} ${e.lote ? `(Lote: ${e.lote})` : ""}`.trim()
|
|
5862
|
+
text: `${e.item.Codigo} - ${e.item.Nombre} ${e.lote ? `(Lote: ${e.lote})` : ""}`.trim(),
|
|
5863
|
+
...e
|
|
5863
5864
|
}));
|
|
5864
5865
|
}
|
|
5865
5866
|
__name(buildDataMaterialsRule, "buildDataMaterialsRule");
|
|
@@ -6536,7 +6537,7 @@ export {
|
|
|
6536
6537
|
SEGMENT_TY,
|
|
6537
6538
|
UpdateNodosDocDP,
|
|
6538
6539
|
buildDataMaterialsRule,
|
|
6539
|
-
|
|
6540
|
+
checkAndBuildMaterialsFromStock,
|
|
6540
6541
|
codBalizaAL04,
|
|
6541
6542
|
codClientes,
|
|
6542
6543
|
codMOClientesAL02,
|