{ "title": "Linha Vale Transporte", "version": "1.0", "identifier": "TransportLine", "fields": [ { "layoutDefinition": [ { "visible": false, "componentType": "TableLayout" }, { "visible": false, "componentType": "EditLayout" }, { "visible": false, "componentType": "DetailLayout" } ], "key": true, "property": "codColigada", "label": "Coligada", "disabled": true, "type": "string", "componentType": "Input" }, { "quickFilter": true, "required": true, "maxLength": 20, "layoutDefinition": [ { "componentType": "TableLayout" }, { "gridColumns": 4, "componentType": "EditLayout" }, { "gridColumns": 4, "componentType": "DetailLayout" } ], "key": true, "property": "codigo", "label": "Codigo", "type": "string", "componentType": "Input" }, { "required": true, "maxLength": 50, "layoutDefinition": [ { "componentType": "TableLayout" }, { "gridColumns": 8, "componentType": "EditLayout" }, { "gridColumns": 8, "componentType": "DetailLayout" } ], "property": "nomeLinha", "label": "Descrição de vale transporte", "type": "string", "componentType": "Input" }, { "quickFilter": true, "columns": [ { "fieldLabel": false, "label": "Código", "property": "codigo" }, { "fieldLabel": false, "label": "Descrição", "property": "descricao" }, { "fieldLabel": false, "format": "dd/MM/yyyy", "label": "Início Vigência", "property": "inicioVigencia", "type": "date" }, { "fieldLabel": false, "format": "dd/MM/yyyy", "label": "Final Vigência", "property": "finalVigencia", "type": "date" } ], "searchService": "/api/rh/v1/tarifaTransporte", "format": [ "codigo", "descricao" ], "fieldLabel": "descricao", "fieldValue": "codigo", "layoutDefinition": [ { "gridColumns": 3, "componentType": "EditLayout" }, { "gridColumns": 3, "componentType": "DetailLayout" }, { "visible": false, "componentType": "TableLayout" } ], "clean": true, "noAutoComplete": true, "searchServiceFilter": "lookup", "property": "codTarifa", "label": "Código Tarifa", "componentType": "Lookup" }, { "layoutDefinition": [ { "visible": false, "componentType": "EditLayout" }, { "visible": false, "componentType": "DetailLayout" }, { "widthColumnTable": 120, "componentType": "TableLayout" }, { "visible": false, "componentType": "AdvancedFilterLayout" } ], "property": "nomeCodTarifa", "label": "Tarifa", "type": "string", "componentType": "Input" }, { "quickFilter": true, "columns": [ { "fieldLabel": false, "label": "Código", "property": "codCliente" }, { "fieldLabel": false, "label": "Descrição", "property": "descricao" } ], "required": true, "searchService": "/api/rh/v1/itinerario", "format": [ "codCliente", "descricao" ], "fieldLabel": "descricao", "fieldValue": "codCliente", "layoutDefinition": [ { "gridColumns": 3, "componentType": "EditLayout" }, { "gridColumns": 3, "componentType": "DetailLayout" }, { "visible": false, "componentType": "TableLayout" } ], "clean": true, "noAutoComplete": true, "property": "codItinerario", "label": "Código Itinerario", "componentType": "Lookup" }, { "layoutDefinition": [ { "visible": false, "componentType": "EditLayout" }, { "visible": false, "componentType": "DetailLayout" }, { "widthColumnTable": 120, "componentType": "TableLayout" }, { "visible": false, "componentType": "AdvancedFilterLayout" } ], "property": "nomeCodItinerario", "label": "Itinerario", "type": "string", "componentType": "Input" }, { "quickFilter": true, "columns": [ { "fieldLabel": false, "label": "Código", "property": "codCliente" }, { "fieldLabel": false, "label": "Descrição", "property": "descricao" } ], "required": true, "searchService": "/api/rh/v1/grupoTransporte", "format": [ "codCliente", "descricao" ], "fieldLabel": "descricao", "fieldValue": "codCliente", "layoutDefinition": [ { "gridColumns": 3, "componentType": "EditLayout" }, { "gridColumns": 3, "componentType": "DetailLayout" }, { "visible": false, "componentType": "TableLayout" } ], "clean": true, "noAutoComplete": true, "property": "grupoTransp", "label": "Grupo Transporte", "componentType": "Lookup" }, { "layoutDefinition": [ { "visible": false, "componentType": "EditLayout" }, { "visible": false, "componentType": "DetailLayout" }, { "widthColumnTable": 120, "componentType": "TableLayout" }, { "visible": false, "componentType": "AdvancedFilterLayout" } ], "property": "nomeGrupoTransp", "label": "Grupo Transporte", "type": "string", "componentType": "Input" }, { "quickFilter": true, "required": true, "options": [ { "value": "B", "label": "Barca" }, { "value": "I", "label": "Integração" }, { "value": "M", "label": "Metrô" }, { "value": "N", "label": "Bonde" }, { "value": "O", "label": "Ônibus" }, { "value": "T", "label": "Trem" } ], "layoutDefinition": [ { "visible": false, "componentType": "TableLayout" }, { "gridColumns": 3, "componentType": "EditLayout" }, { "gridColumns": 3, "componentType": "DetailLayout" } ], "forceOptionsComponentType": "select", "property": "tipoTransp", "label": "Tipo Transporte", "componentType": "Select" }, { "layoutDefinition": [ { "visible": false, "componentType": "EditLayout" }, { "visible": false, "componentType": "DetailLayout" }, { "widthColumnTable": 120, "componentType": "TableLayout" }, { "visible": false, "componentType": "AdvancedFilterLayout" } ], "property": "nomeTipoTransp", "label": "Tipo Transporte", "type": "string", "componentType": "Input" }, { "booleanTrue": "Sim", "booleanFalse": "Não", "layoutDefinition": [ { "gridColumns": 2, "componentType": "EditLayout" } ], "property": "unico", "label": "Apenas um vale transporte", "type": "boolean", "componentType": "Switch" }, { "booleanTrue": "Sim", "booleanFalse": "Não", "layoutDefinition": [ { "gridColumns": 2, "componentType": "EditLayout" } ], "property": "ativo", "label": "Ativo", "type": "boolean", "componentType": "Switch" } ], "groups": [] } |