1650 - Melhorias e Alterações no Projeto TLK
This commit is contained in:
@@ -12,14 +12,15 @@ xsi:schemaLocation="http://www.davinti.com.br/vitruvio/form/panel https://bitbuc
|
||||
"nome" : "VEICULO" ,
|
||||
"sequence" : "VEICULO_SEQ" ,
|
||||
"idTabela" : "CODIGO",
|
||||
"campos" : ["CODIGO", "PLACA", "MODELO", "MARCA", "ANO" ],
|
||||
"camposTable" : ["CODIGO", "PLACA", "MODELO", "MARCA", "ANO" ]
|
||||
"campos" : ["CODIGO", "PLACA", "MODELO", "MARCA", "ANO", "PLACA_CARRETA" ],
|
||||
"camposTable" : ["CODIGO", "PLACA", "MODELO", "MARCA", "ANO", "PLACA_CARRETA" ]
|
||||
},
|
||||
"relaciona" : [ ["CODIGO","idChave","Number"] ,
|
||||
["PLACA","idPlaca","String"] ,
|
||||
["MODELO","idModelo","String"] ,
|
||||
["MARCA","idMarca","String"] ,
|
||||
["ANO","idAno","Number"]
|
||||
["ANO","idAno","Number"],
|
||||
["PLACA_CARRETA","idCarreta","String"]
|
||||
] ,
|
||||
"validacaoExclusao" : [ ["SELECT 0 AS CONTAR FROM VEICULO WHERE CODIGO = ", "Existem registros ligados a esta tabela."],
|
||||
["SELECT COUNT(CHAVE_VEICULO) AS CONTAR FROM CONTROLE_DESPESAS_OPERACIONAIS WHERE CHAVE_VEICULO = ", "Existem registros ligados a esta tabela."],
|
||||
@@ -222,14 +223,15 @@ xsi:schemaLocation="http://www.davinti.com.br/vitruvio/form/panel https://bitbuc
|
||||
"nome" : "VEICULO" ,
|
||||
"sequence" : "VEICULO_SEQ" ,
|
||||
"idTabela" : "CODIGO",
|
||||
"campos" : ["CODIGO", "PLACA", "MODELO", "MARCA", "ANO" ],
|
||||
"camposTable" : ["CODIGO", "PLACA", "MODELO", "MARCA", "ANO" ]
|
||||
"campos" : ["CODIGO", "PLACA", "MODELO", "MARCA", "ANO", "PLACA_CARRETA" ],
|
||||
"camposTable" : ["CODIGO", "PLACA", "MODELO", "MARCA", "ANO", "PLACA_CARRETA" ]
|
||||
},
|
||||
"relaciona" : [ ["CODIGO","idChave","Number"] ,
|
||||
["PLACA","idPlaca","String"] ,
|
||||
["MODELO","idModelo","String"] ,
|
||||
["MARCA","idMarca","String"] ,
|
||||
["ANO","idAno","Number"]
|
||||
["ANO","idAno","Number"],
|
||||
["PLACA_CARRETA","idCarreta","String"]
|
||||
] ,
|
||||
"validacaoExclusao" : [ ["SELECT 0 AS CONTAR FROM VEICULO WHERE CODIGO = ", "Existem registros ligados a esta tabela"],
|
||||
["SELECT COUNT(CHAVE_VEICULO) AS CONTAR FROM CONTROLE_DESPESAS_OPERACIONAIS WHERE CHAVE_VEICULO = ", "Existem registros ligados a esta tabela."],
|
||||
@@ -341,6 +343,7 @@ xsi:schemaLocation="http://www.davinti.com.br/vitruvio/form/panel https://bitbuc
|
||||
</generated>
|
||||
<column name="CODIGO" caption="Código"/>
|
||||
<column name="PLACA" caption="Placa"/>
|
||||
<column name="PLACA_CARRETA" caption="Placa carreta"/>
|
||||
<column name="MODELO" caption="Modelo"/>
|
||||
<column name="ANO" caption="Ano"/>
|
||||
</columns>
|
||||
@@ -392,13 +395,14 @@ xsi:schemaLocation="http://www.davinti.com.br/vitruvio/form/panel https://bitbuc
|
||||
</valueChange>
|
||||
</events>
|
||||
</DBSearchField>
|
||||
<HorizontalLayout width="60%" spacing="true">
|
||||
<HorizontalLayout width="70%" spacing="true">
|
||||
<TextField type="number" id="idChave" caption="Código" width="100%" expandRatio="0.08" />
|
||||
<TextField type="string" id="idPlaca" text-transform="uppercase" caption="Placa" maxLength="8" required="true" width="100%" expandRatio="0.15" />
|
||||
<TextField type="string" id="idCarreta" text-transform="uppercase" caption="Placa carreta" maxLength="7" required="false" width="100%" expandRatio="0.15" />
|
||||
<TextField type="string" id="idModelo" text-transform="uppercase" caption="Modelo" width="100%" expandRatio="1" />
|
||||
</HorizontalLayout>
|
||||
<HorizontalLayout width="60%" spacing="true" >
|
||||
<TextField type="string" id="idMarca" text-transform="uppercase" caption="Marca" width="100%" expandRatio="1" />
|
||||
<HorizontalLayout width="70%" spacing="true" >
|
||||
<TextField type="string" id="idMarca" text-transform="uppercase" caption="Marca" width="100%" expandRatio="0.5" />
|
||||
<TextField type="number" id="idAno" caption="Ano" expandRatio="0.15" maxLength="4" />
|
||||
</HorizontalLayout>
|
||||
</VerticalLayout>
|
||||
|
||||
Reference in New Issue
Block a user