@orbe-agro/client-core 5.6.63 → 5.6.65
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/@types/base/configs/endpoints.config/Ticket/Cadastros/vinculoUnidadeMedida.endpoint.config.d.ts +7 -0
- package/dist/@types/base/configs/endpoints.config/Ticket/Cadastros/vinculoUnidadeMedida.endpoint.config.d.ts.map +1 -0
- package/dist/@types/base/configs/endpoints.config/dm/config/user.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/dm/config/user.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/dm/dm.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/dm/dm.d.ts.map +1 -1
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts +4 -0
- package/dist/@types/base/configs/endpoints.config/endpoints.navigation.d.ts.map +1 -1
- package/dist/@types/base/configs/navigation.config/modules.submenu/Ticket/ticket.navigation.d.ts.map +1 -1
- package/dist/@types/base/locales/lang/ptBR/modules/Ticket/ticket.nav.d.ts +1 -0
- package/dist/@types/base/locales/lang/ptBR/modules/Ticket/ticket.nav.d.ts.map +1 -1
- package/dist/@types/base/services/modules/Ticket/Cadastros/VinculoUnidadeMedidaService.d.ts +4 -0
- package/dist/@types/base/services/modules/Ticket/Cadastros/VinculoUnidadeMedidaService.d.ts.map +1 -0
- package/dist/@types/base/services/modules/dm/user/UserService.d.ts +1 -0
- package/dist/@types/base/services/modules/dm/user/UserService.d.ts.map +1 -1
- package/dist/base/configs/endpoints.config/Ticket/Cadastros/vinculoUnidadeMedida.endpoint.config.js +10 -0
- package/dist/base/configs/endpoints.config/Ticket/Cadastros/vinculoUnidadeMedida.endpoint.config.js.map +1 -0
- package/dist/base/configs/endpoints.config/dm/config/user.js +4 -0
- package/dist/base/configs/endpoints.config/dm/config/user.js.map +1 -1
- package/dist/base/configs/navigation.config/modules.submenu/Ticket/ticket.navigation.js +10 -0
- package/dist/base/configs/navigation.config/modules.submenu/Ticket/ticket.navigation.js.map +1 -1
- package/dist/base/index.js +2 -1
- package/dist/base/locales/lang/ptBR/modules/Ticket/ticket.nav.js +2 -1
- package/dist/base/locales/lang/ptBR/modules/Ticket/ticket.nav.js.map +1 -1
- package/dist/base/services/index.js +2 -1
- package/dist/base/services/modules/Ticket/Cadastros/VinculoUnidadeMedidaService.js +28 -0
- package/dist/base/services/modules/Ticket/Cadastros/VinculoUnidadeMedidaService.js.map +1 -0
- package/dist/base/services/modules/dm/index.js +2 -1
- package/dist/base/services/modules/dm/user/UserService.js +8 -0
- package/dist/base/services/modules/dm/user/UserService.js.map +1 -1
- package/dist/base/services/modules/index.js +2 -1
- package/lib/base/configs/endpoints.config/Ticket/Cadastros/vinculoUnidadeMedida.endpoint.config.ts +9 -0
- package/lib/base/configs/endpoints.config/dm/config/user.ts +4 -0
- package/lib/base/configs/navigation.config/modules.submenu/Ticket/ticket.navigation.ts +10 -0
- package/lib/base/locales/lang/ptBR/modules/Ticket/ticket.nav.ts +2 -1
- package/lib/base/services/modules/Ticket/Cadastros/VinculoUnidadeMedidaService.ts +25 -0
- package/lib/base/services/modules/dm/user/UserService.tsx +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vinculoUnidadeMedida.endpoint.config.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/Ticket/Cadastros/vinculoUnidadeMedida.endpoint.config.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,kCAAkC;;;;CAIvC,CAAA;AAED,eAAe,kCAAkC,CAAA"}
|
|
@@ -15,6 +15,10 @@ declare const user: {
|
|
|
15
15
|
endpoint: string;
|
|
16
16
|
httpMethod: "get";
|
|
17
17
|
};
|
|
18
|
+
findVendedorIdByUserId: (userId: string | number) => {
|
|
19
|
+
endpoint: string;
|
|
20
|
+
httpMethod: "get";
|
|
21
|
+
};
|
|
18
22
|
verificaUserPossuiFuncionalidade: {
|
|
19
23
|
endpoint: string;
|
|
20
24
|
httpMethod: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/dm/config/user.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,IAAI;;;;;;;;;;;;;0BAIgB,MAAM,GAAG,MAAM;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/endpoints.config/dm/config/user.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,IAAI;;;;;;;;;;;;;0BAIgB,MAAM,GAAG,MAAM;;;;qCAIJ,MAAM,GAAG,MAAM;;;;;;;;;;;;CAYnD,CAAA;AAED,eAAe,IAAI,CAAA"}
|
|
@@ -268,6 +268,10 @@ declare const dm: {
|
|
|
268
268
|
endpoint: string;
|
|
269
269
|
httpMethod: "get";
|
|
270
270
|
};
|
|
271
|
+
findVendedorIdByUserId: (userId: string | number) => {
|
|
272
|
+
endpoint: string;
|
|
273
|
+
httpMethod: "get";
|
|
274
|
+
};
|
|
271
275
|
verificaUserPossuiFuncionalidade: {
|
|
272
276
|
endpoint: string;
|
|
273
277
|
httpMethod: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dm.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/dm/dm.ts"],"names":[],"mappings":"AA2BA,QAAA,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"dm.d.ts","sourceRoot":"","sources":["../../../../../../lib/base/configs/endpoints.config/dm/dm.ts"],"names":[],"mappings":"AA2BA,QAAA,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BP,CAAA;AAED,eAAe,EAAE,CAAC"}
|
|
@@ -762,6 +762,10 @@ declare const endpointNavigationConfig: {
|
|
|
762
762
|
endpoint: string;
|
|
763
763
|
httpMethod: "get";
|
|
764
764
|
};
|
|
765
|
+
findVendedorIdByUserId: (userId: string | number) => {
|
|
766
|
+
endpoint: string;
|
|
767
|
+
httpMethod: "get";
|
|
768
|
+
};
|
|
765
769
|
verificaUserPossuiFuncionalidade: {
|
|
766
770
|
endpoint: string;
|
|
767
771
|
httpMethod: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AAwDA,eAAO,MAAM,SAAS,SAAS,CAAA;AAE/B,QAAA,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"endpoints.navigation.d.ts","sourceRoot":"","sources":["../../../../../lib/base/configs/endpoints.config/endpoints.navigation.ts"],"names":[],"mappings":"AAwDA,eAAO,MAAM,SAAS,SAAS,CAAA;AAE/B,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,wBAAwB,CAAA"}
|
package/dist/@types/base/configs/navigation.config/modules.submenu/Ticket/ticket.navigation.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ticket.navigation.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/navigation.config/modules.submenu/Ticket/ticket.navigation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAOzD,QAAA,MAAM,sBAAsB,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"ticket.navigation.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/configs/navigation.config/modules.submenu/Ticket/ticket.navigation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAOzD,QAAA,MAAM,sBAAsB,EAAE,cAAc,EA0M3C,CAAA;AAED,eAAe,sBAAsB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ticket.nav.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/base/locales/lang/ptBR/modules/Ticket/ticket.nav.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ticket.nav.d.ts","sourceRoot":"","sources":["../../../../../../../../lib/base/locales/lang/ptBR/modules/Ticket/ticket.nav.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,wBAqBC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare function apiGetVinculosUnidadesMedidas(body: any): Promise<unknown>;
|
|
2
|
+
export declare function apiGetVinculoUnidadeMedida(id: any): Promise<unknown>;
|
|
3
|
+
export declare function apiAddVinculoUnidadeMedida(body: any): Promise<unknown>;
|
|
4
|
+
//# sourceMappingURL=VinculoUnidadeMedidaService.d.ts.map
|
package/dist/@types/base/services/modules/Ticket/Cadastros/VinculoUnidadeMedidaService.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VinculoUnidadeMedidaService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/Ticket/Cadastros/VinculoUnidadeMedidaService.ts"],"names":[],"mappings":"AAGA,wBAAsB,6BAA6B,CAAC,IAAI,KAAA,oBAMvD;AAED,wBAAgB,0BAA0B,CAAC,EAAE,KAAA,oBAK5C;AAED,wBAAsB,0BAA0B,CAAC,IAAI,KAAA,oBAMpD"}
|
|
@@ -8,5 +8,6 @@ export declare function apiGetIdsCentrosCustoByIdsUsuarios(idsUsuarios: number[]
|
|
|
8
8
|
idUsuario: number;
|
|
9
9
|
idsCentrosCusto: number[];
|
|
10
10
|
}[]>;
|
|
11
|
+
export declare function apiFindVendedorIdByUserId(userId: string | number): Promise<any>;
|
|
11
12
|
export declare function apiVerificaUserPossuiFuncionalidade(userId: string, nomeFuncionalidade: string): Promise<unknown>;
|
|
12
13
|
//# sourceMappingURL=UserService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/dm/user/UserService.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAK9D,wBAAsB,WAAW,CAAC,IAAI,CAAC,EAAE,aAAa,gCAMrD;AAED,wBAAsB,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,6BAKxD;AAED,wBAAsB,YAAY,CAAC,OAAO,CAAC,EAAE,aAAa,gCAMzD;AAED,wBAAsB,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,gCAOnE;AAED,wBAAsB,kCAAkC,CAAC,WAAW,EAAE,MAAM,EAAE;eACxB,MAAM;qBAAmB,MAAM,EAAE;KAKtF;AAED,wBAAsB,mCAAmC,CACrD,MAAM,EAAE,MAAM,EACd,kBAAkB,EAAE,MAAM,oBAQ7B"}
|
|
1
|
+
{"version":3,"file":"UserService.d.ts","sourceRoot":"","sources":["../../../../../../../lib/base/services/modules/dm/user/UserService.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAK9D,wBAAsB,WAAW,CAAC,IAAI,CAAC,EAAE,aAAa,gCAMrD;AAED,wBAAsB,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,6BAKxD;AAED,wBAAsB,YAAY,CAAC,OAAO,CAAC,EAAE,aAAa,gCAMzD;AAED,wBAAsB,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,gCAOnE;AAED,wBAAsB,kCAAkC,CAAC,WAAW,EAAE,MAAM,EAAE;eACxB,MAAM;qBAAmB,MAAM,EAAE;KAKtF;AAED,wBAAsB,yBAAyB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,gBAOtE;AAED,wBAAsB,mCAAmC,CACrD,MAAM,EAAE,MAAM,EACd,kBAAkB,EAAE,MAAM,oBAQ7B"}
|
package/dist/base/configs/endpoints.config/Ticket/Cadastros/vinculoUnidadeMedida.endpoint.config.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
const VINCULO_UNIDADE_MEDIDA_API_PATH = "/ticket/api/vinculo-unidade-medida";
|
|
2
|
+
const vinculoUnidadeMedidaEndpointConfig = {
|
|
3
|
+
add: `${VINCULO_UNIDADE_MEDIDA_API_PATH}`,
|
|
4
|
+
findAll: `${VINCULO_UNIDADE_MEDIDA_API_PATH}/find`,
|
|
5
|
+
findOne: `${VINCULO_UNIDADE_MEDIDA_API_PATH}/`
|
|
6
|
+
};
|
|
7
|
+
export {
|
|
8
|
+
vinculoUnidadeMedidaEndpointConfig as default
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=vinculoUnidadeMedida.endpoint.config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vinculoUnidadeMedida.endpoint.config.js","sources":["../../../../../../lib/base/configs/endpoints.config/Ticket/Cadastros/vinculoUnidadeMedida.endpoint.config.ts"],"sourcesContent":["const VINCULO_UNIDADE_MEDIDA_API_PATH = '/ticket/api/vinculo-unidade-medida'\n\nconst vinculoUnidadeMedidaEndpointConfig = {\n add: `${VINCULO_UNIDADE_MEDIDA_API_PATH}`,\n findAll: `${VINCULO_UNIDADE_MEDIDA_API_PATH}/find`,\n findOne: `${VINCULO_UNIDADE_MEDIDA_API_PATH}/`,\n}\n\nexport default vinculoUnidadeMedidaEndpointConfig\n"],"names":[],"mappings":"AAAA,MAAM,kCAAkC;AAExC,MAAM,qCAAqC;AAAA,EACvC,KAAK,GAAG,+BAA+B;AAAA,EACvC,SAAS,GAAG,+BAA+B;AAAA,EAC3C,SAAS,GAAG,+BAA+B;AAC/C;"}
|
|
@@ -7,6 +7,10 @@ const user = {
|
|
|
7
7
|
endpoint: `${USER_BASE_URL}/${userId}/centros`,
|
|
8
8
|
httpMethod: "get"
|
|
9
9
|
}),
|
|
10
|
+
findVendedorIdByUserId: (userId) => ({
|
|
11
|
+
endpoint: `${USER_BASE_URL}/find-vendedor-id-by-user-id/${userId}`,
|
|
12
|
+
httpMethod: "get"
|
|
13
|
+
}),
|
|
10
14
|
verificaUserPossuiFuncionalidade: {
|
|
11
15
|
endpoint: `${USER_BASE_URL}/{id}/{funcionalidade}`,
|
|
12
16
|
httpMethod: "get"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sources":["../../../../../../lib/base/configs/endpoints.config/dm/config/user.ts"],"sourcesContent":["const USER_BASE_URL = '/dados-mestres/api/user'\n\nconst user = {\n find: { endpoint: `${USER_BASE_URL}/find`, httpMethod: 'post' },\n findById: { endpoint: `${USER_BASE_URL}`, httpMethod: 'get' },\n findByIds: { endpoint: `${USER_BASE_URL}/find-by-ids`, httpMethod: 'post' },\n findCentros: (userId: string | number) => ({\n endpoint: `${USER_BASE_URL}/${userId}/centros`,\n httpMethod: 'get' as const,\n }),\n verificaUserPossuiFuncionalidade: {\n endpoint: `${USER_BASE_URL}/{id}/{funcionalidade}`,\n httpMethod: 'get',\n },\n idsCentrosCustoByIdsUsuarios: {\n endpoint: `${USER_BASE_URL}/ids-centros-custo-by-ids-usuarios`,\n httpMethod: 'post' as const,\n },\n}\n\nexport default user\n"],"names":[],"mappings":"AAAA,MAAM,gBAAgB;AAEtB,MAAM,OAAO;AAAA,EACT,MAAM,EAAE,UAAU,GAAG,aAAa,SAAS,YAAY,OAAA;AAAA,EACvD,UAAU,EAAE,UAAU,GAAG,aAAa,IAAI,YAAY,MAAA;AAAA,EACtD,WAAW,EAAE,UAAU,GAAG,aAAa,gBAAgB,YAAY,OAAA;AAAA,EACnE,aAAa,CAAC,YAA6B;AAAA,IACvC,UAAU,GAAG,aAAa,IAAI,MAAM;AAAA,IACpC,YAAY;AAAA,EAAA;AAAA,EAEhB,kCAAkC;AAAA,IAC9B,UAAU,GAAG,aAAa;AAAA,IAC1B,YAAY;AAAA,EAAA;AAAA,EAEhB,8BAA8B;AAAA,IAC1B,UAAU,GAAG,aAAa;AAAA,IAC1B,YAAY;AAAA,EAAA;AAEpB;"}
|
|
1
|
+
{"version":3,"file":"user.js","sources":["../../../../../../lib/base/configs/endpoints.config/dm/config/user.ts"],"sourcesContent":["const USER_BASE_URL = '/dados-mestres/api/user'\n\nconst user = {\n find: { endpoint: `${USER_BASE_URL}/find`, httpMethod: 'post' },\n findById: { endpoint: `${USER_BASE_URL}`, httpMethod: 'get' },\n findByIds: { endpoint: `${USER_BASE_URL}/find-by-ids`, httpMethod: 'post' },\n findCentros: (userId: string | number) => ({\n endpoint: `${USER_BASE_URL}/${userId}/centros`,\n httpMethod: 'get' as const,\n }),\n findVendedorIdByUserId: (userId: string | number) => ({\n endpoint: `${USER_BASE_URL}/find-vendedor-id-by-user-id/${userId}`,\n httpMethod: 'get' as const,\n }),\n verificaUserPossuiFuncionalidade: {\n endpoint: `${USER_BASE_URL}/{id}/{funcionalidade}`,\n httpMethod: 'get',\n },\n idsCentrosCustoByIdsUsuarios: {\n endpoint: `${USER_BASE_URL}/ids-centros-custo-by-ids-usuarios`,\n httpMethod: 'post' as const,\n },\n}\n\nexport default user\n"],"names":[],"mappings":"AAAA,MAAM,gBAAgB;AAEtB,MAAM,OAAO;AAAA,EACT,MAAM,EAAE,UAAU,GAAG,aAAa,SAAS,YAAY,OAAA;AAAA,EACvD,UAAU,EAAE,UAAU,GAAG,aAAa,IAAI,YAAY,MAAA;AAAA,EACtD,WAAW,EAAE,UAAU,GAAG,aAAa,gBAAgB,YAAY,OAAA;AAAA,EACnE,aAAa,CAAC,YAA6B;AAAA,IACvC,UAAU,GAAG,aAAa,IAAI,MAAM;AAAA,IACpC,YAAY;AAAA,EAAA;AAAA,EAEhB,wBAAwB,CAAC,YAA6B;AAAA,IAClD,UAAU,GAAG,aAAa,gCAAgC,MAAM;AAAA,IAChE,YAAY;AAAA,EAAA;AAAA,EAEhB,kCAAkC;AAAA,IAC9B,UAAU,GAAG,aAAa;AAAA,IAC1B,YAAY;AAAA,EAAA;AAAA,EAEhB,8BAA8B;AAAA,IAC1B,UAAU,GAAG,aAAa;AAAA,IAC1B,YAAY;AAAA,EAAA;AAEpB;"}
|
|
@@ -189,6 +189,16 @@ const ticketNavigationConfig = [
|
|
|
189
189
|
type: NAV_ITEM_TYPE_ITEM,
|
|
190
190
|
authority: [ADMIN],
|
|
191
191
|
subMenu: []
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
key: "ticket.cadastros.vinculoUnidadeMedida",
|
|
195
|
+
path: "/ticket/vinculo-unidade-medida",
|
|
196
|
+
title: "Vínculo de Unidade de Medida",
|
|
197
|
+
translateKey: "nav.modules.ticket.vinculoUnidadeMedida",
|
|
198
|
+
icon: "",
|
|
199
|
+
type: NAV_ITEM_TYPE_ITEM,
|
|
200
|
+
authority: [ADMIN],
|
|
201
|
+
subMenu: []
|
|
192
202
|
}
|
|
193
203
|
]
|
|
194
204
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ticket.navigation.js","sources":["../../../../../../lib/base/configs/navigation.config/modules.submenu/Ticket/ticket.navigation.ts"],"sourcesContent":["import type { NavigationTree } from '@/@types/navigation'\nimport {\n NAV_ITEM_TYPE_COLLAPSE,\n NAV_ITEM_TYPE_ITEM,\n} from '@/constants/navigation.constant'\nimport { ADMIN } from '@/constants/roles.constant'\n\nconst ticketNavigationConfig: NavigationTree[] = [\n {\n key: 'ticket',\n path: '',\n title: 'Ticket',\n translateKey: 'nav.modules.ticket.title',\n icon: '',\n type: NAV_ITEM_TYPE_COLLAPSE,\n authority: [ADMIN],\n subMenu: [\n {\n key: 'ticket.controleTicket',\n path: '/ticket/controle-ticket',\n title: 'Controle de ticket',\n translateKey: 'nav.modules.ticket.controleTicket',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.extratoProdutor',\n path: '/ticket/extrato-produtor',\n title: 'Extrato Produtor',\n translateKey: 'nav.modules.ticket.extratoProdutor',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.monitorCarregamento',\n path: '/transportadora/ticket/monitor-carregamento',\n title: 'Monitor de Carregamento',\n translateKey: 'nav.modules.ticket.monitorCarregamento',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.monitor.compraRemessaArmazemTerceiro',\n path: '/ticket/monitor/compra-remessa-armazem-terceiro',\n title: 'Monitor de Compra e Remessa/Armazem Terceiro',\n translateKey: 'nav.modules.ticket.monitorCompraRemessaArmazemTerceiro',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.motivoCancelamento',\n path: '/ticket/motivo-cancelamento',\n title: 'Motivo de Cancelamento',\n translateKey: 'nav.modules.ticket.motivoCancelamento',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.operacao',\n path: '/ticket/operacao',\n title: 'Operação',\n translateKey: 'nav.modules.ticket.operacao',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.operacoesMovimentacaoGraos',\n path: '/ticket/operacoes-movimentacao-graos',\n title: 'Operações Relatórios',\n translateKey: 'nav.modules.ticket.operacoesMovimentacaoGraos',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.recebimentoCentro',\n path: '/ticket/recebimento-centro',\n title: 'Recebimento por Centro',\n translateKey: 'nav.modules.ticket.recebimentoCentro',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.relatorioFisicoFiscal',\n path: '/ticket/relatorio-fisico-fiscal',\n title: 'Relatório Fisico Fiscal',\n translateKey: 'nav.modules.ticket.relatorioFisicoFiscal',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.rotaRomaneio',\n path: '/ticket/rota-romaneio',\n title: 'Rota do Romaneio',\n translateKey: 'nav.modules.ticket.rotaRomaneio',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.tabelaClassificacao',\n path: '/ticket/tabela-classificacao',\n title: 'Tabela de Classificação',\n translateKey: 'nav.modules.ticket.tabelaClassificacao',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.tabelaBiodiesel',\n path: '/ticket/tabela-biodiesel',\n title: 'Tabela Biodiesel',\n translateKey: 'nav.modules.ticket.tabelaBiodiesel',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.ticket',\n path: '/ticket/ticket',\n title: 'Ticket',\n translateKey: 'nav.modules.ticket.title',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.vinculoDepositoOperacao',\n path: '/ticket/vinculo-deposito-operacao',\n title: 'Vinculo de Depósito e Operação',\n translateKey: 'nav.modules.ticket.vinculoDepositoOperacao',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.vinculoProdutoOperacao',\n path: '/ticket/vinculo-produto-operacao',\n title: 'Vinculo de Produto e Operação',\n translateKey: 'nav.modules.ticket.vinculoProdutoOperacao',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.vinculoProdutorOperacao',\n path: '/ticket/vinculo-produtor-operacao',\n title: 'Vinculo de Produtor e Operação',\n translateKey: 'nav.modules.ticket.vinculoProdutorOperacao',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.vinculoSafraOperacao',\n path: '/ticket/vinculo-safra-operacao',\n title: 'Vinculo de Safra e Operação',\n translateKey: 'nav.modules.ticket.vinculoSafraOperacao',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.vinculoTransgeniaOperacao',\n path: '/ticket/vinculo-transgenia-operacao',\n title: 'Vinculo de Transgenia e Operação',\n translateKey: 'nav.modules.ticket.vinculoTransgeniaOperacao',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n 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AAAA,QACN,MAAM;AAAA,QACN,WAAW,CAAC,KAAK;AAAA,QACjB,SAAS,CAAA;AAAA,MAAC;AAAA,MAEd;AAAA,QACI,KAAK;AAAA,QACL,MAAM;AAAA,QACN,OAAO;AAAA,QACP,cAAc;AAAA,QACd,MAAM;AAAA,QACN,MAAM;AAAA,QACN,WAAW,CAAC,KAAK;AAAA,QACjB,SAAS,CAAA;AAAA,MAAC;AAAA,MAEd;AAAA,QACI,KAAK;AAAA,QACL,MAAM;AAAA,QACN,OAAO;AAAA,QACP,cAAc;AAAA,QACd,MAAM;AAAA,QACN,MAAM;AAAA,QACN,WAAW,CAAC,KAAK;AAAA,QACjB,SAAS,CAAA;AAAA,MAAC;AAAA,MAEd;AAAA,QACI,KAAK;AAAA,QACL,MAAM;AAAA,QACN,OAAO;AAAA,QACP,cAAc;AAAA,QACd,MAAM;AAAA,QACN,MAAM;AAAA,QACN,WAAW,CAAC,KAAK;AAAA,QACjB,SAAS,CAAA;AAAA,MAAC;AAAA,MAEd;AAAA,QACI,KAAK;AAAA,QACL,MAAM;AAAA,QACN,OAAO;AAAA,QACP,cAAc;AAAA,QACd,MAAM;AAAA,QACN,MAAM;AAAA,QACN,WAAW,CAAC,KAAK;AAAA,QACjB,SAAS,CAAA;AAAA,MAAC;AAAA,MAEd;AAAA,QACI,KAAK;AAAA,QACL,MAAM;AAAA,QACN,OAAO;AAAA,QACP,cAAc;AAAA,QACd,MAAM;AAAA,QACN,MAAM;AAAA,QACN,WAAW,CAAC,KAAK;AAAA,QACjB,SAAS,CAAA;AAAA,MAAC;AAAA,IACd;AAAA,EACJ;AAER;"}
|
|
1
|
+
{"version":3,"file":"ticket.navigation.js","sources":["../../../../../../lib/base/configs/navigation.config/modules.submenu/Ticket/ticket.navigation.ts"],"sourcesContent":["import type { NavigationTree } from '@/@types/navigation'\nimport {\n NAV_ITEM_TYPE_COLLAPSE,\n NAV_ITEM_TYPE_ITEM,\n} from '@/constants/navigation.constant'\nimport { ADMIN } from '@/constants/roles.constant'\n\nconst ticketNavigationConfig: NavigationTree[] = [\n {\n key: 'ticket',\n path: '',\n title: 'Ticket',\n translateKey: 'nav.modules.ticket.title',\n icon: '',\n type: NAV_ITEM_TYPE_COLLAPSE,\n authority: [ADMIN],\n subMenu: [\n {\n key: 'ticket.controleTicket',\n path: '/ticket/controle-ticket',\n title: 'Controle de ticket',\n translateKey: 'nav.modules.ticket.controleTicket',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.extratoProdutor',\n path: '/ticket/extrato-produtor',\n title: 'Extrato Produtor',\n translateKey: 'nav.modules.ticket.extratoProdutor',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.monitorCarregamento',\n path: '/transportadora/ticket/monitor-carregamento',\n title: 'Monitor de Carregamento',\n translateKey: 'nav.modules.ticket.monitorCarregamento',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.monitor.compraRemessaArmazemTerceiro',\n path: '/ticket/monitor/compra-remessa-armazem-terceiro',\n title: 'Monitor de Compra e Remessa/Armazem Terceiro',\n translateKey: 'nav.modules.ticket.monitorCompraRemessaArmazemTerceiro',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.motivoCancelamento',\n path: '/ticket/motivo-cancelamento',\n title: 'Motivo de Cancelamento',\n translateKey: 'nav.modules.ticket.motivoCancelamento',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.operacao',\n path: '/ticket/operacao',\n title: 'Operação',\n translateKey: 'nav.modules.ticket.operacao',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.operacoesMovimentacaoGraos',\n path: '/ticket/operacoes-movimentacao-graos',\n title: 'Operações Relatórios',\n translateKey: 'nav.modules.ticket.operacoesMovimentacaoGraos',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.recebimentoCentro',\n path: '/ticket/recebimento-centro',\n title: 'Recebimento por Centro',\n translateKey: 'nav.modules.ticket.recebimentoCentro',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.relatorioFisicoFiscal',\n path: '/ticket/relatorio-fisico-fiscal',\n title: 'Relatório Fisico Fiscal',\n translateKey: 'nav.modules.ticket.relatorioFisicoFiscal',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.rotaRomaneio',\n path: '/ticket/rota-romaneio',\n title: 'Rota do Romaneio',\n translateKey: 'nav.modules.ticket.rotaRomaneio',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.tabelaClassificacao',\n path: '/ticket/tabela-classificacao',\n title: 'Tabela de Classificação',\n translateKey: 'nav.modules.ticket.tabelaClassificacao',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.tabelaBiodiesel',\n path: '/ticket/tabela-biodiesel',\n title: 'Tabela Biodiesel',\n translateKey: 'nav.modules.ticket.tabelaBiodiesel',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.ticket',\n path: '/ticket/ticket',\n title: 'Ticket',\n translateKey: 'nav.modules.ticket.title',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.vinculoDepositoOperacao',\n path: '/ticket/vinculo-deposito-operacao',\n title: 'Vinculo de Depósito e Operação',\n translateKey: 'nav.modules.ticket.vinculoDepositoOperacao',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.vinculoProdutoOperacao',\n path: '/ticket/vinculo-produto-operacao',\n title: 'Vinculo de Produto e Operação',\n translateKey: 'nav.modules.ticket.vinculoProdutoOperacao',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.vinculoProdutorOperacao',\n path: '/ticket/vinculo-produtor-operacao',\n title: 'Vinculo de Produtor e Operação',\n translateKey: 'nav.modules.ticket.vinculoProdutorOperacao',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.vinculoSafraOperacao',\n path: '/ticket/vinculo-safra-operacao',\n title: 'Vinculo de Safra e Operação',\n translateKey: 'nav.modules.ticket.vinculoSafraOperacao',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.vinculoTransgeniaOperacao',\n path: '/ticket/vinculo-transgenia-operacao',\n title: 'Vinculo de Transgenia e Operação',\n translateKey: 'nav.modules.ticket.vinculoTransgeniaOperacao',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n {\n key: 'ticket.cadastros.vinculoUnidadeMedida',\n path: '/ticket/vinculo-unidade-medida',\n title: 'Vínculo de Unidade de Medida',\n translateKey: 'nav.modules.ticket.vinculoUnidadeMedida',\n icon: '',\n type: NAV_ITEM_TYPE_ITEM,\n authority: [ADMIN],\n subMenu: [],\n },\n ],\n },\n]\n\nexport default ticketNavigationConfig\n\n"],"names":[],"mappings":";;AAOA,MAAM,yBAA2C;AAAA,EAC7C;AAAA,IACI,KAAK;AAAA,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AK;AAAA,QACL,MAAM;AAAA,QACN,OAAO;AAAA,QACP,cAAc;AAAA,QACd,MAAM;AAAA,QACN,MAAM;AAAA,QACN,WAAW,CAAC,KAAK;AAAA,QACjB,SAAS,CAAA;AAAA,MAAC;AAAA,MAEd;AAAA,QACI,KAAK;AAAA,QACL,MAAM;AAAA,QACN,OAAO;AAAA,QACP,cAAc;AAAA,QACd,MAAM;AAAA,QACN,MAAM;AAAA,QACN,WAAW,CAAC,KAAK;AAAA,QACjB,SAAS,CAAA;AAAA,MAAC;AAAA,MAEd;AAAA,QACI,KAAK;AAAA,QACL,MAAM;AAAA,QACN,OAAO;AAAA,QACP,cAAc;AAAA,QACd,MAAM;AAAA,QACN,MAAM;AAAA,QACN,WAAW,CAAC,KAAK;AAAA,QACjB,SAAS,CAAA;AAAA,MAAC;AAAA,MAEd;AAAA,QACI,KAAK;AAAA,QACL,MAAM;AAAA,QACN,OAAO;AAAA,QACP,cAAc;AAAA,QACd,MAAM;AAAA,QACN,MAAM;AAAA,QACN,WAAW,CAAC,KAAK;AAAA,QACjB,SAAS,CAAA;AAAA,MAAC;AAAA,MAEd;AAAA,QACI,KAAK;AAAA,QACL,MAAM;AAAA,QACN,OAAO;AAAA,QACP,cAAc;AAAA,QACd,MAAM;AAAA,QACN,MAAM;AAAA,QACN,WAAW,CAAC,KAAK;AAAA,QACjB,SAAS,CAAA;AAAA,MAAC;AAAA,MAEd;AAAA,QACI,KAAK;AAAA,QACL,MAAM;AAAA,QACN,OAAO;AAAA,QACP,cAAc;AAAA,QACd,MAAM;AAAA,QACN,MAAM;AAAA,QACN,WAAW,CAAC,KAAK;AAAA,QACjB,SAAS,CAAA;AAAA,MAAC;AAAA,IACd;AAAA,EACJ;AAER;"}
|
package/dist/base/index.js
CHANGED
|
@@ -103,7 +103,7 @@ import { apiFindAllUfs, apiFindDmMunicipio, apiFindDmMunicipioByCodigo, apiFindM
|
|
|
103
103
|
import { apiFindAllveiculo } from "./services/modules/transportadora/Veiculo/VeiculoService.js";
|
|
104
104
|
import { apiFindBoleto } from "./services/modules/sap/boleto/BoletoService.js";
|
|
105
105
|
import { apiFindByCodigosProduto, apiFindByIdsProduto, apiFindDescricaoById, apiFindDmFindProdutosByCanalDistribuicaoAndOrganizacaoVenda, apiFindDmProduto, apiFindDmProdutoByCodigo, apiFindDmProdutoByGrupoProduto, apiFindDmProdutoIsPrecificadoRacao, apiFindDmValidaProdutoByEmissorPedidoVenda, apiFindMonitorProduto, apiFindNcmsByProdutoId, apiFindProdutoComItinerario, apiFindProdutosByDeposito, apiFindProdutosCultura, apiGetMultiplicadorUnidadeMedida, apiUpdateProduto } from "./services/modules/dm/produto/ProdutoService.js";
|
|
106
|
-
import { apiFindByIds, apiFindCentrosByUserId, apiFindUser, apiFindUserById, apiGetIdsCentrosCustoByIdsUsuarios, apiVerificaUserPossuiFuncionalidade } from "./services/modules/dm/user/UserService.js";
|
|
106
|
+
import { apiFindByIds, apiFindCentrosByUserId, apiFindUser, apiFindUserById, apiFindVendedorIdByUserId, apiGetIdsCentrosCustoByIdsUsuarios, apiVerificaUserPossuiFuncionalidade } from "./services/modules/dm/user/UserService.js";
|
|
107
107
|
import { apiFindByNomeOrCodigo } from "./services/modules/transportadora/NaturezaCarga/NaturezaCargaService.js";
|
|
108
108
|
import { apiFindByNotaFiscal } from "./services/modules/transportadora/NotaFiscal/NotaFiscalService.js";
|
|
109
109
|
import { apiFindDmBusinessPartner, apiFindDmBusinessPartnerByIds, apiFindDmBusinessPartnerCliente, apiFindDmBusinessPartnerFiliais, apiFindDmBusinessPartnerFornecedor, apiFindDmBusinessPartnerFuncoesParceirosClientes, apiFindDmBusinessPartnerFuncoesParceirosClientesPartidas, apiFindDmBusinessPartnerFuncoesParceirosClientesPedidoVenda, apiFindDmBusinessPartnerFuncoesParceirosFornecedores, apiFindDmBusinessPartnerMatrizes, apiFindDmFindSalesAreasByBusinessPartnerAndModulo, apiFindDmVendedoresAKARepresentantesVendas, apiFindEmpresasIdsByCnpj, apiFindFornecedorNfeByCnpj, apiFindMonitorFornecedor, apiFindMonitorTransportadora, apiGetDmBusinessPartner } from "./services/modules/dm/businessPartner/BusinessPartnerService.js";
|
|
@@ -630,6 +630,7 @@ export {
|
|
|
630
630
|
apiFindSeguradorasComCobertura,
|
|
631
631
|
apiFindUser,
|
|
632
632
|
apiFindUserById,
|
|
633
|
+
apiFindVendedorIdByUserId,
|
|
633
634
|
apiFindVerificaCadastroCompletoByCondicaoPagamento,
|
|
634
635
|
apiFindvalorBrutoContrato,
|
|
635
636
|
apiGeTIss,
|
|
@@ -16,7 +16,8 @@ const ticket = {
|
|
|
16
16
|
operacoesMovimentacaoGraos: "Operações Relatórios",
|
|
17
17
|
recebimentoCentro: "Recebimento por Centro",
|
|
18
18
|
tabelaClassificacao: "Tabela de Classificação",
|
|
19
|
-
relatorioFisicoFiscal: "Relatório Fisico Fiscal"
|
|
19
|
+
relatorioFisicoFiscal: "Relatório Fisico Fiscal",
|
|
20
|
+
vinculoUnidadeMedida: "Vínculo de Unidade de Medida"
|
|
20
21
|
}
|
|
21
22
|
};
|
|
22
23
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ticket.nav.js","sources":["../../../../../../../lib/base/locales/lang/ptBR/modules/Ticket/ticket.nav.ts"],"sourcesContent":["\nexport default {\n ticket: {\n title: 'Ticket',\n motivoCancelamento: 'Motivo de Cancelamento',\n vinculoSafraOperacao: 'Vínculo de Safra e Operação',\n vinculoTransgeniaOperacao: 'Vínculo de Transgenia e Operação',\n operacao: 'Operação',\n tabelaBiodiesel: 'Tabela do Biodiesel',\n rotaRomaneio: 'Rota do Romaneio',\n vinculoProdutoOperacao: 'Vínculo de Produto e Operação',\n monitorCompraRemessaArmazemTerceiro: 'Monitor de Compra e Remessa/Armazem Terceiro',\n vinculoProdutorOperacao: 'Vínculo de Produtor e Operação',\n extratoProdutor: 'Extrato Produtor',\n vinculoDepositoOperacao: 'Vínculo de Depósito e Operação',\n controleTicket: 'Controle de ticket',\n operacoesMovimentacaoGraos: 'Operações Relatórios',\n recebimentoCentro: 'Recebimento por Centro',\n tabelaClassificacao: 'Tabela de Classificação',\n relatorioFisicoFiscal: 'Relatório Fisico Fiscal', \n },\n}"],"names":[],"mappings":"AACA,MAAA,SAAe;AAAA,EACX,QAAQ;AAAA,IACJ,OAAO;AAAA,IACP,oBAAoB;AAAA,IACpB,sBAAsB;AAAA,IACtB,2BAA2B;AAAA,IAC3B,UAAU;AAAA,IACV,iBAAiB;AAAA,IACjB,cAAc;AAAA,IACd,wBAAwB;AAAA,IACxB,qCAAqC;AAAA,IACrC,yBAAyB;AAAA,IACzB,iBAAiB;AAAA,IACjB,yBAAyB;AAAA,IACzB,gBAAgB;AAAA,IAChB,4BAA4B;AAAA,IAC5B,mBAAmB;AAAA,IACnB,qBAAqB;AAAA,IACrB,uBAAuB;AAAA,EAAA;
|
|
1
|
+
{"version":3,"file":"ticket.nav.js","sources":["../../../../../../../lib/base/locales/lang/ptBR/modules/Ticket/ticket.nav.ts"],"sourcesContent":["\nexport default {\n ticket: {\n title: 'Ticket',\n motivoCancelamento: 'Motivo de Cancelamento',\n vinculoSafraOperacao: 'Vínculo de Safra e Operação',\n vinculoTransgeniaOperacao: 'Vínculo de Transgenia e Operação',\n operacao: 'Operação',\n tabelaBiodiesel: 'Tabela do Biodiesel',\n rotaRomaneio: 'Rota do Romaneio',\n vinculoProdutoOperacao: 'Vínculo de Produto e Operação',\n monitorCompraRemessaArmazemTerceiro: 'Monitor de Compra e Remessa/Armazem Terceiro',\n vinculoProdutorOperacao: 'Vínculo de Produtor e Operação',\n extratoProdutor: 'Extrato Produtor',\n vinculoDepositoOperacao: 'Vínculo de Depósito e Operação',\n controleTicket: 'Controle de ticket',\n operacoesMovimentacaoGraos: 'Operações Relatórios',\n recebimentoCentro: 'Recebimento por Centro',\n tabelaClassificacao: 'Tabela de Classificação',\n relatorioFisicoFiscal: 'Relatório Fisico Fiscal',\n vinculoUnidadeMedida: 'Vínculo de Unidade de Medida', \n },\n}"],"names":[],"mappings":"AACA,MAAA,SAAe;AAAA,EACX,QAAQ;AAAA,IACJ,OAAO;AAAA,IACP,oBAAoB;AAAA,IACpB,sBAAsB;AAAA,IACtB,2BAA2B;AAAA,IAC3B,UAAU;AAAA,IACV,iBAAiB;AAAA,IACjB,cAAc;AAAA,IACd,wBAAwB;AAAA,IACxB,qCAAqC;AAAA,IACrC,yBAAyB;AAAA,IACzB,iBAAiB;AAAA,IACjB,yBAAyB;AAAA,IACzB,gBAAgB;AAAA,IAChB,4BAA4B;AAAA,IAC5B,mBAAmB;AAAA,IACnB,qBAAqB;AAAA,IACrB,uBAAuB;AAAA,IACvB,sBAAsB;AAAA,EAAA;AAE9B;"}
|
|
@@ -104,7 +104,7 @@ import { apiFindAllUfs, apiFindDmMunicipio, apiFindDmMunicipioByCodigo, apiFindM
|
|
|
104
104
|
import { apiFindAllveiculo } from "./modules/transportadora/Veiculo/VeiculoService.js";
|
|
105
105
|
import { apiFindBoleto } from "./modules/sap/boleto/BoletoService.js";
|
|
106
106
|
import { apiFindByCodigosProduto, apiFindByIdsProduto, apiFindDescricaoById, apiFindDmFindProdutosByCanalDistribuicaoAndOrganizacaoVenda, apiFindDmProduto, apiFindDmProdutoByCodigo, apiFindDmProdutoByGrupoProduto, apiFindDmProdutoIsPrecificadoRacao, apiFindDmValidaProdutoByEmissorPedidoVenda, apiFindMonitorProduto, apiFindNcmsByProdutoId, apiFindProdutoComItinerario, apiFindProdutosByDeposito, apiFindProdutosCultura, apiGetMultiplicadorUnidadeMedida, apiUpdateProduto } from "./modules/dm/produto/ProdutoService.js";
|
|
107
|
-
import { apiFindByIds, apiFindCentrosByUserId, apiFindUser, apiFindUserById, apiGetIdsCentrosCustoByIdsUsuarios, apiVerificaUserPossuiFuncionalidade } from "./modules/dm/user/UserService.js";
|
|
107
|
+
import { apiFindByIds, apiFindCentrosByUserId, apiFindUser, apiFindUserById, apiFindVendedorIdByUserId, apiGetIdsCentrosCustoByIdsUsuarios, apiVerificaUserPossuiFuncionalidade } from "./modules/dm/user/UserService.js";
|
|
108
108
|
import { apiFindByNomeOrCodigo } from "./modules/transportadora/NaturezaCarga/NaturezaCargaService.js";
|
|
109
109
|
import { apiFindByNotaFiscal } from "./modules/transportadora/NotaFiscal/NotaFiscalService.js";
|
|
110
110
|
import { apiFindDmBusinessPartner, apiFindDmBusinessPartnerByIds, apiFindDmBusinessPartnerCliente, apiFindDmBusinessPartnerFiliais, apiFindDmBusinessPartnerFornecedor, apiFindDmBusinessPartnerFuncoesParceirosClientes, apiFindDmBusinessPartnerFuncoesParceirosClientesPartidas, apiFindDmBusinessPartnerFuncoesParceirosClientesPedidoVenda, apiFindDmBusinessPartnerFuncoesParceirosFornecedores, apiFindDmBusinessPartnerMatrizes, apiFindDmFindSalesAreasByBusinessPartnerAndModulo, apiFindDmVendedoresAKARepresentantesVendas, apiFindEmpresasIdsByCnpj, apiFindFornecedorNfeByCnpj, apiFindMonitorFornecedor, apiFindMonitorTransportadora, apiGetDmBusinessPartner } from "./modules/dm/businessPartner/BusinessPartnerService.js";
|
|
@@ -517,6 +517,7 @@ export {
|
|
|
517
517
|
apiFindSeguradorasComCobertura,
|
|
518
518
|
apiFindUser,
|
|
519
519
|
apiFindUserById,
|
|
520
|
+
apiFindVendedorIdByUserId,
|
|
520
521
|
apiFindVerificaCadastroCompletoByCondicaoPagamento,
|
|
521
522
|
apiFindvalorBrutoContrato,
|
|
522
523
|
apiGeTIss,
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import vinculoUnidadeMedidaEndpointConfig from "../../../../configs/endpoints.config/Ticket/Cadastros/vinculoUnidadeMedida.endpoint.config.js";
|
|
2
|
+
import ApiService from "../../../../../@ecme/services/ApiService.js";
|
|
3
|
+
async function apiGetVinculosUnidadesMedidas(body) {
|
|
4
|
+
return ApiService.fetchDataWithAxios({
|
|
5
|
+
url: vinculoUnidadeMedidaEndpointConfig.findAll,
|
|
6
|
+
method: "post",
|
|
7
|
+
data: body
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
function apiGetVinculoUnidadeMedida(id) {
|
|
11
|
+
return ApiService.fetchDataWithAxios({
|
|
12
|
+
url: vinculoUnidadeMedidaEndpointConfig.findOne + id,
|
|
13
|
+
method: "get"
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
async function apiAddVinculoUnidadeMedida(body) {
|
|
17
|
+
return ApiService.fetchDataWithAxios({
|
|
18
|
+
url: vinculoUnidadeMedidaEndpointConfig.add,
|
|
19
|
+
method: "post",
|
|
20
|
+
data: body
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
apiAddVinculoUnidadeMedida,
|
|
25
|
+
apiGetVinculoUnidadeMedida,
|
|
26
|
+
apiGetVinculosUnidadesMedidas
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=VinculoUnidadeMedidaService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VinculoUnidadeMedidaService.js","sources":["../../../../../../lib/base/services/modules/Ticket/Cadastros/VinculoUnidadeMedidaService.ts"],"sourcesContent":["import vinculoUnidadeMedidaEndpointConfig from '@base/configs/endpoints.config/Ticket/Cadastros/vinculoUnidadeMedida.endpoint.config'\nimport ApiService from '@/services/ApiService'\n\nexport async function apiGetVinculosUnidadesMedidas(body) {\n return ApiService.fetchDataWithAxios({\n url: vinculoUnidadeMedidaEndpointConfig.findAll,\n method: 'post',\n data: body,\n })\n}\n\nexport function apiGetVinculoUnidadeMedida(id) {\n return ApiService.fetchDataWithAxios({\n url: vinculoUnidadeMedidaEndpointConfig.findOne + id,\n method: 'get',\n })\n}\n\nexport async function apiAddVinculoUnidadeMedida(body) {\n return ApiService.fetchDataWithAxios({\n url: vinculoUnidadeMedidaEndpointConfig.add,\n method: 'post',\n data: body,\n })\n}"],"names":[],"mappings":";;AAGA,eAAsB,8BAA8B,MAAM;AACtD,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,mCAAmC;AAAA,IACxC,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;AAEO,SAAS,2BAA2B,IAAI;AAC3C,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,mCAAmC,UAAU;AAAA,IAClD,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,2BAA2B,MAAM;AACnD,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,mCAAmC;AAAA,IACxC,QAAQ;AAAA,IACR,MAAM;AAAA,EAAA,CACT;AACL;"}
|
|
@@ -20,7 +20,7 @@ import { apiFindDmSetorAtividade } from "./setorAtividade/SetorAtividadeService.
|
|
|
20
20
|
import { apiFindDmTipoDocumentoVenda, apiFindDmTipoDocumentoVendaByCodigo, apiFindMonitorTipoDocumentoVenda } from "./tipoDocumentoVenda/TipoDocumentoVendaService.js";
|
|
21
21
|
import { apiFindDmTipoOrdemVenda, apiFindDmTipoOrdemVendaByCodigo, apiFindMonitorTipoOrdemVenda } from "./tipoOrdemVenda/TipoOrdemVendaService.js";
|
|
22
22
|
import { apiFindDmTipoVeiculo, apiFindDmTipoVeiculoByCodigo, apiFindMonitorTipoVeiculo } from "./tipoVeiculo/TipoVeiculoService.js";
|
|
23
|
-
import { apiFindByIds, apiFindCentrosByUserId, apiFindUser, apiFindUserById, apiGetIdsCentrosCustoByIdsUsuarios, apiVerificaUserPossuiFuncionalidade } from "./user/UserService.js";
|
|
23
|
+
import { apiFindByIds, apiFindCentrosByUserId, apiFindUser, apiFindUserById, apiFindVendedorIdByUserId, apiGetIdsCentrosCustoByIdsUsuarios, apiVerificaUserPossuiFuncionalidade } from "./user/UserService.js";
|
|
24
24
|
export {
|
|
25
25
|
apiFindAllUfs,
|
|
26
26
|
apiFindByCodigosProduto,
|
|
@@ -99,6 +99,7 @@ export {
|
|
|
99
99
|
apiFindProdutosCultura,
|
|
100
100
|
apiFindUser,
|
|
101
101
|
apiFindUserById,
|
|
102
|
+
apiFindVendedorIdByUserId,
|
|
102
103
|
apiFindVerificaCadastroCompletoByCondicaoPagamento,
|
|
103
104
|
apiGetDmBusinessPartner,
|
|
104
105
|
apiGetIdsCentrosCustoByIdsUsuarios,
|
|
@@ -36,6 +36,13 @@ async function apiGetIdsCentrosCustoByIdsUsuarios(idsUsuarios) {
|
|
|
36
36
|
data: { idsUsuarios }
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
|
+
async function apiFindVendedorIdByUserId(userId) {
|
|
40
|
+
const { endpoint, httpMethod } = USER_ENDPOINT.findVendedorIdByUserId(userId);
|
|
41
|
+
return ApiService.fetchDataWithAxios({
|
|
42
|
+
url: endpoint,
|
|
43
|
+
method: httpMethod
|
|
44
|
+
});
|
|
45
|
+
}
|
|
39
46
|
async function apiVerificaUserPossuiFuncionalidade(userId, nomeFuncionalidade) {
|
|
40
47
|
return ApiService.fetchDataWithAxios({
|
|
41
48
|
url: USER_ENDPOINT.verificaUserPossuiFuncionalidade.endpoint.replace("{id}", userId).replace("{funcionalidade}", nomeFuncionalidade),
|
|
@@ -47,6 +54,7 @@ export {
|
|
|
47
54
|
apiFindCentrosByUserId,
|
|
48
55
|
apiFindUser,
|
|
49
56
|
apiFindUserById,
|
|
57
|
+
apiFindVendedorIdByUserId,
|
|
50
58
|
apiGetIdsCentrosCustoByIdsUsuarios,
|
|
51
59
|
apiVerificaUserPossuiFuncionalidade
|
|
52
60
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserService.js","sources":["../../../../../../lib/base/services/modules/dm/user/UserService.tsx"],"sourcesContent":["import ApiService from '@/services/ApiService'\nimport { IFilterParams, TQueryResponse } from '@base/@types/api'\nimport { TGetUserResponse } from '@base/@types/models/dm/user'\nimport { endpointsConfig } from '@base/configs'\n\nconst USER_ENDPOINT = endpointsConfig.dm.user\n\nexport async function apiFindUser(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: USER_ENDPOINT.find.endpoint,\n method: USER_ENDPOINT.find.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindUserById(id: string | number) {\n return ApiService.fetchDataWithAxios<TGetUserResponse>({\n url: USER_ENDPOINT.findById.endpoint + `/${id}`,\n method: USER_ENDPOINT.findById.httpMethod,\n })\n}\n\nexport async function apiFindByIds(filters?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: USER_ENDPOINT.findByIds.endpoint,\n method: USER_ENDPOINT.findByIds.httpMethod,\n data: filters,\n })\n}\n\nexport async function apiFindCentrosByUserId(userId: string | number) {\n const { endpoint, httpMethod } = USER_ENDPOINT.findCentros(userId)\n\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: endpoint,\n method: httpMethod,\n })\n}\n\nexport async function apiGetIdsCentrosCustoByIdsUsuarios(idsUsuarios: number[]) {\n return ApiService.fetchDataWithAxios<{ idUsuario: number; idsCentrosCusto: number[] }[]>({\n url: USER_ENDPOINT.idsCentrosCustoByIdsUsuarios.endpoint,\n method: USER_ENDPOINT.idsCentrosCustoByIdsUsuarios.httpMethod,\n data: { idsUsuarios },\n })\n}\n\nexport async function apiVerificaUserPossuiFuncionalidade(\n userId: string,\n nomeFuncionalidade: string,\n) {\n return ApiService.fetchDataWithAxios({\n url: USER_ENDPOINT.verificaUserPossuiFuncionalidade.endpoint\n .replace('{id}', userId)\n .replace('{funcionalidade}', nomeFuncionalidade),\n method: USER_ENDPOINT.verificaUserPossuiFuncionalidade.httpMethod,\n })\n}\n"],"names":["endpointsConfig"],"mappings":";;;AAKA,MAAM,gBAAgBA,yBAAgB,GAAG;AAEzC,eAAsB,YAAY,MAAsB;AACpD,SAAO,WAAW,mBAAwC;AAAA,IACtD,KAAK,cAAc,KAAK;AAAA,IACxB,QAAQ,cAAc,KAAK;AAAA,IAC3B,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,gBAAgB,IAAqB;AACvD,SAAO,WAAW,mBAAqC;AAAA,IACnD,KAAK,cAAc,SAAS,WAAW,IAAI,EAAE;AAAA,IAC7C,QAAQ,cAAc,SAAS;AAAA,EAAA,CAClC;AACL;AAEA,eAAsB,aAAa,SAAyB;AACxD,SAAO,WAAW,mBAAwC;AAAA,IACtD,KAAK,cAAc,UAAU;AAAA,IAC7B,QAAQ,cAAc,UAAU;AAAA,IAChC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,uBAAuB,QAAyB;AAClE,QAAM,EAAE,UAAU,WAAA,IAAe,cAAc,YAAY,MAAM;AAEjE,SAAO,WAAW,mBAAwC;AAAA,IACtD,KAAK;AAAA,IACL,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,mCAAmC,aAAuB;AAC5E,SAAO,WAAW,mBAAuE;AAAA,IACrF,KAAK,cAAc,6BAA6B;AAAA,IAChD,QAAQ,cAAc,6BAA6B;AAAA,IACnD,MAAM,EAAE,YAAA;AAAA,EAAY,CACvB;AACL;AAEA,eAAsB,oCAClB,QACA,oBACF;AACE,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,cAAc,iCAAiC,SAC/C,QAAQ,QAAQ,MAAM,EACtB,QAAQ,oBAAoB,kBAAkB;AAAA,IACnD,QAAQ,cAAc,iCAAiC;AAAA,EAAA,CAC1D;AACL;"}
|
|
1
|
+
{"version":3,"file":"UserService.js","sources":["../../../../../../lib/base/services/modules/dm/user/UserService.tsx"],"sourcesContent":["import ApiService from '@/services/ApiService'\nimport { IFilterParams, TQueryResponse } from '@base/@types/api'\nimport { TGetUserResponse } from '@base/@types/models/dm/user'\nimport { endpointsConfig } from '@base/configs'\n\nconst USER_ENDPOINT = endpointsConfig.dm.user\n\nexport async function apiFindUser(body?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: USER_ENDPOINT.find.endpoint,\n method: USER_ENDPOINT.find.httpMethod,\n data: body,\n })\n}\n\nexport async function apiFindUserById(id: string | number) {\n return ApiService.fetchDataWithAxios<TGetUserResponse>({\n url: USER_ENDPOINT.findById.endpoint + `/${id}`,\n method: USER_ENDPOINT.findById.httpMethod,\n })\n}\n\nexport async function apiFindByIds(filters?: IFilterParams) {\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: USER_ENDPOINT.findByIds.endpoint,\n method: USER_ENDPOINT.findByIds.httpMethod,\n data: filters,\n })\n}\n\nexport async function apiFindCentrosByUserId(userId: string | number) {\n const { endpoint, httpMethod } = USER_ENDPOINT.findCentros(userId)\n\n return ApiService.fetchDataWithAxios<TQueryResponse<any>>({\n url: endpoint,\n method: httpMethod,\n })\n}\n\nexport async function apiGetIdsCentrosCustoByIdsUsuarios(idsUsuarios: number[]) {\n return ApiService.fetchDataWithAxios<{ idUsuario: number; idsCentrosCusto: number[] }[]>({\n url: USER_ENDPOINT.idsCentrosCustoByIdsUsuarios.endpoint,\n method: USER_ENDPOINT.idsCentrosCustoByIdsUsuarios.httpMethod,\n data: { idsUsuarios },\n })\n}\n\nexport async function apiFindVendedorIdByUserId(userId: string | number) {\n const { endpoint, httpMethod } = USER_ENDPOINT.findVendedorIdByUserId(userId)\n\n return ApiService.fetchDataWithAxios<any>({\n url: endpoint,\n method: httpMethod,\n })\n}\n\nexport async function apiVerificaUserPossuiFuncionalidade(\n userId: string,\n nomeFuncionalidade: string,\n) {\n return ApiService.fetchDataWithAxios({\n url: USER_ENDPOINT.verificaUserPossuiFuncionalidade.endpoint\n .replace('{id}', userId)\n .replace('{funcionalidade}', nomeFuncionalidade),\n method: USER_ENDPOINT.verificaUserPossuiFuncionalidade.httpMethod,\n })\n}\n"],"names":["endpointsConfig"],"mappings":";;;AAKA,MAAM,gBAAgBA,yBAAgB,GAAG;AAEzC,eAAsB,YAAY,MAAsB;AACpD,SAAO,WAAW,mBAAwC;AAAA,IACtD,KAAK,cAAc,KAAK;AAAA,IACxB,QAAQ,cAAc,KAAK;AAAA,IAC3B,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,gBAAgB,IAAqB;AACvD,SAAO,WAAW,mBAAqC;AAAA,IACnD,KAAK,cAAc,SAAS,WAAW,IAAI,EAAE;AAAA,IAC7C,QAAQ,cAAc,SAAS;AAAA,EAAA,CAClC;AACL;AAEA,eAAsB,aAAa,SAAyB;AACxD,SAAO,WAAW,mBAAwC;AAAA,IACtD,KAAK,cAAc,UAAU;AAAA,IAC7B,QAAQ,cAAc,UAAU;AAAA,IAChC,MAAM;AAAA,EAAA,CACT;AACL;AAEA,eAAsB,uBAAuB,QAAyB;AAClE,QAAM,EAAE,UAAU,WAAA,IAAe,cAAc,YAAY,MAAM;AAEjE,SAAO,WAAW,mBAAwC;AAAA,IACtD,KAAK;AAAA,IACL,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,mCAAmC,aAAuB;AAC5E,SAAO,WAAW,mBAAuE;AAAA,IACrF,KAAK,cAAc,6BAA6B;AAAA,IAChD,QAAQ,cAAc,6BAA6B;AAAA,IACnD,MAAM,EAAE,YAAA;AAAA,EAAY,CACvB;AACL;AAEA,eAAsB,0BAA0B,QAAyB;AACrE,QAAM,EAAE,UAAU,WAAA,IAAe,cAAc,uBAAuB,MAAM;AAE5E,SAAO,WAAW,mBAAwB;AAAA,IACtC,KAAK;AAAA,IACL,QAAQ;AAAA,EAAA,CACX;AACL;AAEA,eAAsB,oCAClB,QACA,oBACF;AACE,SAAO,WAAW,mBAAmB;AAAA,IACjC,KAAK,cAAc,iCAAiC,SAC/C,QAAQ,QAAQ,MAAM,EACtB,QAAQ,oBAAoB,kBAAkB;AAAA,IACnD,QAAQ,cAAc,iCAAiC;AAAA,EAAA,CAC1D;AACL;"}
|
|
@@ -96,7 +96,7 @@ import { apiFindAllUfs, apiFindDmMunicipio, apiFindDmMunicipioByCodigo, apiFindM
|
|
|
96
96
|
import { apiFindAllveiculo } from "./transportadora/Veiculo/VeiculoService.js";
|
|
97
97
|
import { apiFindBoleto } from "./sap/boleto/BoletoService.js";
|
|
98
98
|
import { apiFindByCodigosProduto, apiFindByIdsProduto, apiFindDescricaoById, apiFindDmFindProdutosByCanalDistribuicaoAndOrganizacaoVenda, apiFindDmProduto, apiFindDmProdutoByCodigo, apiFindDmProdutoByGrupoProduto, apiFindDmProdutoIsPrecificadoRacao, apiFindDmValidaProdutoByEmissorPedidoVenda, apiFindMonitorProduto, apiFindNcmsByProdutoId, apiFindProdutoComItinerario, apiFindProdutosByDeposito, apiFindProdutosCultura, apiGetMultiplicadorUnidadeMedida, apiUpdateProduto } from "./dm/produto/ProdutoService.js";
|
|
99
|
-
import { apiFindByIds, apiFindCentrosByUserId, apiFindUser, apiFindUserById, apiGetIdsCentrosCustoByIdsUsuarios, apiVerificaUserPossuiFuncionalidade } from "./dm/user/UserService.js";
|
|
99
|
+
import { apiFindByIds, apiFindCentrosByUserId, apiFindUser, apiFindUserById, apiFindVendedorIdByUserId, apiGetIdsCentrosCustoByIdsUsuarios, apiVerificaUserPossuiFuncionalidade } from "./dm/user/UserService.js";
|
|
100
100
|
import { apiFindByNomeOrCodigo } from "./transportadora/NaturezaCarga/NaturezaCargaService.js";
|
|
101
101
|
import { apiFindByNotaFiscal } from "./transportadora/NotaFiscal/NotaFiscalService.js";
|
|
102
102
|
import { apiFindDmBusinessPartner, apiFindDmBusinessPartnerByIds, apiFindDmBusinessPartnerCliente, apiFindDmBusinessPartnerFiliais, apiFindDmBusinessPartnerFornecedor, apiFindDmBusinessPartnerFuncoesParceirosClientes, apiFindDmBusinessPartnerFuncoesParceirosClientesPartidas, apiFindDmBusinessPartnerFuncoesParceirosClientesPedidoVenda, apiFindDmBusinessPartnerFuncoesParceirosFornecedores, apiFindDmBusinessPartnerMatrizes, apiFindDmFindSalesAreasByBusinessPartnerAndModulo, apiFindDmVendedoresAKARepresentantesVendas, apiFindEmpresasIdsByCnpj, apiFindFornecedorNfeByCnpj, apiFindMonitorFornecedor, apiFindMonitorTransportadora, apiGetDmBusinessPartner } from "./dm/businessPartner/BusinessPartnerService.js";
|
|
@@ -490,6 +490,7 @@ export {
|
|
|
490
490
|
apiFindSeguradorasComCobertura,
|
|
491
491
|
apiFindUser,
|
|
492
492
|
apiFindUserById,
|
|
493
|
+
apiFindVendedorIdByUserId,
|
|
493
494
|
apiFindVerificaCadastroCompletoByCondicaoPagamento,
|
|
494
495
|
apiFindvalorBrutoContrato,
|
|
495
496
|
apiGeTIss,
|
package/lib/base/configs/endpoints.config/Ticket/Cadastros/vinculoUnidadeMedida.endpoint.config.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const VINCULO_UNIDADE_MEDIDA_API_PATH = '/ticket/api/vinculo-unidade-medida'
|
|
2
|
+
|
|
3
|
+
const vinculoUnidadeMedidaEndpointConfig = {
|
|
4
|
+
add: `${VINCULO_UNIDADE_MEDIDA_API_PATH}`,
|
|
5
|
+
findAll: `${VINCULO_UNIDADE_MEDIDA_API_PATH}/find`,
|
|
6
|
+
findOne: `${VINCULO_UNIDADE_MEDIDA_API_PATH}/`,
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export default vinculoUnidadeMedidaEndpointConfig
|
|
@@ -8,6 +8,10 @@ const user = {
|
|
|
8
8
|
endpoint: `${USER_BASE_URL}/${userId}/centros`,
|
|
9
9
|
httpMethod: 'get' as const,
|
|
10
10
|
}),
|
|
11
|
+
findVendedorIdByUserId: (userId: string | number) => ({
|
|
12
|
+
endpoint: `${USER_BASE_URL}/find-vendedor-id-by-user-id/${userId}`,
|
|
13
|
+
httpMethod: 'get' as const,
|
|
14
|
+
}),
|
|
11
15
|
verificaUserPossuiFuncionalidade: {
|
|
12
16
|
endpoint: `${USER_BASE_URL}/{id}/{funcionalidade}`,
|
|
13
17
|
httpMethod: 'get',
|
|
@@ -195,6 +195,16 @@ const ticketNavigationConfig: NavigationTree[] = [
|
|
|
195
195
|
authority: [ADMIN],
|
|
196
196
|
subMenu: [],
|
|
197
197
|
},
|
|
198
|
+
{
|
|
199
|
+
key: 'ticket.cadastros.vinculoUnidadeMedida',
|
|
200
|
+
path: '/ticket/vinculo-unidade-medida',
|
|
201
|
+
title: 'Vínculo de Unidade de Medida',
|
|
202
|
+
translateKey: 'nav.modules.ticket.vinculoUnidadeMedida',
|
|
203
|
+
icon: '',
|
|
204
|
+
type: NAV_ITEM_TYPE_ITEM,
|
|
205
|
+
authority: [ADMIN],
|
|
206
|
+
subMenu: [],
|
|
207
|
+
},
|
|
198
208
|
],
|
|
199
209
|
},
|
|
200
210
|
]
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
operacoesMovimentacaoGraos: 'Operações Relatórios',
|
|
18
18
|
recebimentoCentro: 'Recebimento por Centro',
|
|
19
19
|
tabelaClassificacao: 'Tabela de Classificação',
|
|
20
|
-
relatorioFisicoFiscal: 'Relatório Fisico Fiscal',
|
|
20
|
+
relatorioFisicoFiscal: 'Relatório Fisico Fiscal',
|
|
21
|
+
vinculoUnidadeMedida: 'Vínculo de Unidade de Medida',
|
|
21
22
|
},
|
|
22
23
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import vinculoUnidadeMedidaEndpointConfig from '@base/configs/endpoints.config/Ticket/Cadastros/vinculoUnidadeMedida.endpoint.config'
|
|
2
|
+
import ApiService from '@/services/ApiService'
|
|
3
|
+
|
|
4
|
+
export async function apiGetVinculosUnidadesMedidas(body) {
|
|
5
|
+
return ApiService.fetchDataWithAxios({
|
|
6
|
+
url: vinculoUnidadeMedidaEndpointConfig.findAll,
|
|
7
|
+
method: 'post',
|
|
8
|
+
data: body,
|
|
9
|
+
})
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export function apiGetVinculoUnidadeMedida(id) {
|
|
13
|
+
return ApiService.fetchDataWithAxios({
|
|
14
|
+
url: vinculoUnidadeMedidaEndpointConfig.findOne + id,
|
|
15
|
+
method: 'get',
|
|
16
|
+
})
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export async function apiAddVinculoUnidadeMedida(body) {
|
|
20
|
+
return ApiService.fetchDataWithAxios({
|
|
21
|
+
url: vinculoUnidadeMedidaEndpointConfig.add,
|
|
22
|
+
method: 'post',
|
|
23
|
+
data: body,
|
|
24
|
+
})
|
|
25
|
+
}
|
|
@@ -45,6 +45,15 @@ export async function apiGetIdsCentrosCustoByIdsUsuarios(idsUsuarios: number[])
|
|
|
45
45
|
})
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
export async function apiFindVendedorIdByUserId(userId: string | number) {
|
|
49
|
+
const { endpoint, httpMethod } = USER_ENDPOINT.findVendedorIdByUserId(userId)
|
|
50
|
+
|
|
51
|
+
return ApiService.fetchDataWithAxios<any>({
|
|
52
|
+
url: endpoint,
|
|
53
|
+
method: httpMethod,
|
|
54
|
+
})
|
|
55
|
+
}
|
|
56
|
+
|
|
48
57
|
export async function apiVerificaUserPossuiFuncionalidade(
|
|
49
58
|
userId: string,
|
|
50
59
|
nomeFuncionalidade: string,
|